Codeunit 18008301 EOS Commission Doc. Posting

Codeunit 18008301 EOS Commission Doc. Posting

Gathers all functions used to handle document posting process

Methods

PostCommissionLine

procedure PostCommissionLine(FromBuffer: Record "EOS Record Ident. Buffer"; ToBuffer: Record "EOS Record Ident. Buffer")

Parameters / Return Value

  • FromBuffer Record "EOS Record Ident. Buffer"

  • ToBuffer Record "EOS Record Ident. Buffer"


fillRelatedDoc

procedure fillRelatedDoc(var CommissionLedgerEntry: Record "EOS Commission Ledger Entry"; Sign: Integer)

Parameters / Return Value

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

  • Sign Integer


CalcCommissionAmount

procedure CalcCommissionAmount(var DetailCommLedgerEntry: Record "EOS Detail Comm. Ledger Entry";CommissionLedgerEntry: Record "EOS Commission Ledger Entry";CustLedgerEntry: Record "Cust. Ledger Entry"; UnapplyEntry: Boolean;ToDetEntryNo: Integer)

Parameters / Return Value

  • DetailCommLedgerEntry Record "EOS Detail Comm. Ledger Entry"

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

  • CustLedgerEntry Record "Cust. Ledger Entry"

  • UnapplyEntry Boolean

  • ToDetEntryNo Integer


OnLinkCustLdgEntriesToCommEntries

procedure OnLinkCustLdgEntriesToCommEntries(CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters / Return Value

  • CustLedgerEntry Record "Cust. Ledger Entry"


EOS Labs -