Codeunit 18008300 EOS Commission Jnl. Post Line

Codeunit 18008300 EOS Commission Jnl. Post Line

Gathers all functions used to handle journal post

Methods

RunWithCheck

procedure RunWithCheck(var GenJnlLine2: Record "EOS Commission Jnl. Line"): Integer

Parameters / Return Value

  • GenJnlLine2 Record "EOS Commission Jnl. Line"

  • Returns Integer


RunWithoutCheck

procedure RunWithoutCheck(var GenJnlLine2: Record "EOS Commission Jnl. Line"): Integer

Parameters / Return Value

  • GenJnlLine2 Record "EOS Commission Jnl. Line"

  • Returns Integer


Code

procedure Code(var GenJnlLine: Record "EOS Commission Jnl. Line"; CheckLine: Boolean)

Parameters / Return Value

  • GenJnlLine Record "EOS Commission Jnl. Line"

  • CheckLine Boolean


Events

OnBeforeInsertCommissionLedgerEntry_PayableImportPosting

local procedure OnBeforeInsertCommissionLedgerEntry_PayableImportPosting(CommJnlLine: Record "EOS Commission Jnl. Line"; var CommissionLedgerEntry: Record "EOS Commission Ledger Entry")

Raised before inserting Commission Ledger Entry during the posting of a Commission Import Journal Lines

Parameters / Return Value

  • CommJnlLine Record "EOS Commission Jnl. Line"

    Commission Import Journal Lines that is being posted

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

    Commission Ledger Entry that is about to be inserted


OnBeforeInsertCommissionLedgerEntry_PayableEntryPosting

local procedure OnBeforeInsertCommissionLedgerEntry_PayableEntryPosting(CommJnlLine: Record "EOS Commission Jnl. Line"; var CommissionLedgerEntry: Record "EOS Commission Ledger Entry")

Raised before inserting Commission Ledger Entry during the posting of a Commission Payable Journal Lines

Parameters / Return Value

  • CommJnlLine Record "EOS Commission Jnl. Line"

    Commission Payable Journal Lines that is being posted

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

    Commission Ledger Entry that is about to be inserted


OnBeforeInsertDetailedCommissionLedgerEntry_SettlementEntryPosting

local procedure OnBeforeInsertDetailedCommissionLedgerEntry_SettlementEntryPosting(CommJnlLine: Record "EOS Commission Jnl. Line"; var DetailCommLedgerEntry: Record "EOS Detail Comm. Ledger Entry")

Raised before inserting Detailed Commission Ledger Entry during the posting of a Commission Settlement Journal Lines

Parameters / Return Value

  • CommJnlLine Record "EOS Commission Jnl. Line"

    Commission Settlement Journal Line

  • DetailCommLedgerEntry Record "EOS Detail Comm. Ledger Entry"

    Detailed Commission Journal Line about to be inserted


OnBeforePostEntryImport

local procedure OnBeforePostEntryImport(var EOSCommJnlLine: Record "EOS Commission Jnl. Line"; var Handled: Boolean)

Raised before creating commission ledger entry from journal line

Parameters / Return Value

  • EOSCommJnlLine Record "EOS Commission Jnl. Line"

    Journal line to post

  • Handled Boolean

    No following standard code will be executed


OnAfterPostEntryImport

local procedure OnAfterPostEntryImport(var EOSCommJnlLine: Record "EOS Commission Jnl. Line"; var CommissionLedgerEntry: Record "EOS Commission Ledger Entry"; var DetailCommLedgerEntry: Record "EOS Detail Comm. Ledger Entry")

Raised after creating commission ledger entry from journal line

Parameters / Return Value

  • EOSCommJnlLine Record "EOS Commission Jnl. Line"

    Journal line to post

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

    Commission ledger entry inserted

  • DetailCommLedgerEntry Record "EOS Detail Comm. Ledger Entry"

    Detailed commission ledger entry inserted


OnBeforePostEntryPayable

local procedure OnBeforePostEntryPayable(var EOSCommJnlLine: Record "EOS Commission Jnl. Line"; var Handled: Boolean)

Raised before creating commission ledger entry from journal line

Parameters / Return Value

  • EOSCommJnlLine Record "EOS Commission Jnl. Line"

    Journal line to post

  • Handled Boolean

    No following standard code will be executed


OnAfterPostEntryPayable

local procedure OnAfterPostEntryPayable(var EOSCommJnlLine: Record "EOS Commission Jnl. Line"; var CommissionLedgerEntry: Record "EOS Commission Ledger Entry"; var DetailCommLedgerEntry: Record "EOS Detail Comm. Ledger Entry")

Raised after creating commission ledger entry from journal line

Parameters / Return Value

  • EOSCommJnlLine Record "EOS Commission Jnl. Line"

    Journal line to post

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

    Commission ledger entry inserted

  • DetailCommLedgerEntry Record "EOS Detail Comm. Ledger Entry"

    Detailed commission ledger entry inserted


OnBeforePostEntrySettlement

procedure OnBeforePostEntrySettlement(var EOSCommJnlLine: Record "EOS Commission Jnl. Line"; var Handled: Boolean)

Raised before creating commission ledger entry from journal line

Parameters / Return Value

  • EOSCommJnlLine Record "EOS Commission Jnl. Line"

    Journal line to post

  • Handled Boolean

    No following standard code will be executed


OnAfterPostEntrySettlement

procedure OnAfterPostEntrySettlement(var EOSCommJnlLine: Record "EOS Commission Jnl. Line"; var CommissionLedgerEntry: Record "EOS Commission Ledger Entry"; var DetailCommLedgerEntry: Record "EOS Detail Comm. Ledger Entry")

Raised after creating commission ledger entry from journal line

Parameters / Return Value

  • EOSCommJnlLine Record "EOS Commission Jnl. Line"

    Journal line to post

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

    Commission ledger entry inserted

  • DetailCommLedgerEntry Record "EOS Detail Comm. Ledger Entry"

    Detailed commission ledger entry inserted



EOS Labs -