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
BooleanSign
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
BooleanRecalculateCopied
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
VariantSign
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
IntegerReturns
Decimal
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
EOS Labs -