Codeunit 18008293 EOS Commission Calculation Mgt

Codeunit 18008293 EOS Commission Calculation Mgt

Gathers all functions used to handle calculation routines

Methods

getCommissionFrom

procedure getCommissionFrom(var EOSCommDocLedgerEntry: Record "EOS Comm. Doc. Ledger Entry"; UpdateRelEntries: Boolean; Sign: Integer)

Parameters / Return Value

  • EOSCommDocLedgerEntry Record "EOS Comm. Doc. Ledger Entry"

  • UpdateRelEntries Boolean

  • Sign Integer


GetCommissionFor

procedure GetCommissionFor(var DocCommissionLine: Record "EOS Doc. Commission Line"; RecalculateModified: Boolean; RecalculateCopied: Boolean)

Parameters / Return Value

  • DocCommissionLine Record "EOS Doc. Commission Line"

  • RecalculateModified Boolean

  • RecalculateCopied Boolean


UpdateCommBaseAmountOnPosting

procedure UpdateCommBaseAmountOnPosting(var CommissionLedgerEntry: Record "EOS Commission Ledger Entry"; PostedDocLine: Variant)

Parameters / Return Value

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

  • PostedDocLine Variant


UpdateCommBaseAmountOnPosting

procedure UpdateCommBaseAmountOnPosting(var CommissionLedgerEntry: Record "EOS Commission Ledger Entry"; PostedDocLine: Variant; Sign: Integer)

Parameters / Return Value

  • CommissionLedgerEntry Record "EOS Commission Ledger Entry"

  • PostedDocLine Variant

  • Sign Integer


UpdateCashedOnCommLedgerEntry

procedure UpdateCashedOnCommLedgerEntry(var EOSCommDocLedgerEntry: Record "EOS Comm. Doc. Ledger Entry")

Parameters / Return Value

  • EOSCommDocLedgerEntry Record "EOS Comm. Doc. Ledger Entry"

GetRemainingAmountAtDetEntry

procedure GetRemainingAmountAtDetEntry(CustLedgerEntry: Record "Cust. Ledger Entry"; ToDetEntryNo: Integer): Decimal

Parameters / Return Value

  • CustLedgerEntry Record "Cust. Ledger Entry"

  • ToDetEntryNo Integer

  • Returns Decimal



EOS Labs -