Codeunit 18008296 EOS Commission Journal Mgt.
Codeunit 18008296 EOS Commission Journal Mgt.
Gathers all functions used to handle journals
Methods
OpenJnlBatch
procedure OpenJnlBatch(var GenJnlBatch: Record "EOS Commission Jnl. Batch")
Parameters / Return Value
- GenJnlBatch
Record "EOS Commission Jnl. Batch"
TemplateSelection
procedure TemplateSelection(PageID: Integer; PageTemplate: Option; var GenJnlLine: Record "EOS Commission Jnl. Line"; var JnlSelected: Boolean)
Parameters / Return Value
PageID
IntegerPageTemplate
OptionGenJnlLine
Record "EOS Commission Jnl. Line"JnlSelected
Boolean
TemplateSelectionFromBatch
procedure TemplateSelectionFromBatch(var GenJnlBatch: Record "EOS Commission Jnl. Batch")
Parameters / Return Value
- GenJnlBatch
Record "EOS Commission Jnl. Batch"
OpenJnl
procedure OpenJnl(var CurrentJnlBatchName: Code[10]; var GenJnlLine: Record "EOS Commission Jnl. Line")
Parameters / Return Value
CurrentJnlBatchName
Code[10]GenJnlLine
Record "EOS Commission Jnl. Line"
CheckName
procedure CheckName(CurrentJnlBatchName: Code[10]; var GenJnlLine: Record "EOS Commission Jnl. Line")
Parameters / Return Value
CurrentJnlBatchName
Code[10]GenJnlLine
Record "EOS Commission Jnl. Line"
SetName
procedure SetName(CurrentJnlBatchName: Code[10]; var GenJnlLine: Record "EOS Commission Jnl. Line")
Parameters / Return Value
CurrentJnlBatchName
Code[10]GenJnlLine
Record "EOS Commission Jnl. Line"
LookupName
procedure LookupName(var CurrentJnlBatchName: Code[10]; var GenJnlLine: Record "EOS Commission Jnl. Line")
Parameters / Return Value
CurrentJnlBatchName
Code[10]GenJnlLine
Record "EOS Commission Jnl. Line"
CheckTemplateName
procedure CheckTemplateName(CurrentJnlTemplateName: Code[10]; var CurrentJnlBatchName: Code[10])
Parameters / Return Value
CurrentJnlTemplateName
Code[10]CurrentJnlBatchName
Code[10]
FilterCommEntriesForSettlement
procedure FilterCommEntriesForSettlement(var EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry")
Parameters / Return Value
- EOSCommissionLedgerEntry
Record "EOS Commission Ledger Entry"
SelectCommLedgerEntryToApply
procedure SelectCommLedgerEntryToApply(var EOSCommissionJnlLine: Record "EOS Commission Jnl. Line"; Single: Boolean; CommPeriodCode: Code[10]; FilterSalesPRole: Text; FilterSalesP: Text)
Parameters / Return Value
EOSCommissionJnlLine
Record "EOS Commission Jnl. Line"Single
BooleanCommPeriodCode
Code[10]FilterSalesPRole
Text[]FilterSalesP
Text[]
AddCommissionLedgerEntryToJournalBatch
procedure AddCommissionLedgerEntryToJournalBatch(var CommissionLedgerEntry: Record "EOS Commission Ledger Entry";CommissionTemplateName: Code[10];CommissionBatchName: Code[10];CommPeriodCode: Code[10])
This method allows you to enter ‘Commission Jnl. Line’ based on a filtered ‘Commission Ledger Entry.’ It is your responsibility to correctly filter commission accounting entries.
Parameters / Return Value
CommissionLedgerEntry
Record "EOS Commission Ledger Entry"Source Entries to process
CommissionTemplateName
Code[10]Journal Template Name
CommissionBatchName
Code[10]Journal Batch Name
CommPeriodCode
Code[10]Commission Period Code
CheckJnlLineFromSettlEntry
procedure CheckJnlLineFromSettlEntry(EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry"; EOSCommissionJnlLine: Record "EOS Commission Jnl. Line")
Parameters / Return Value
EOSCommissionLedgerEntry
Record "EOS Commission Ledger Entry"EOSCommissionJnlLine
Record "EOS Commission Jnl. Line"
UpdateJnlLineFromEntry
procedure UpdateJnlLineFromEntry(var EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry";varEOSCommissionJnlLine: Record "EOS Commission Jnl. Line")
Parameters / Return Value
EOSCommissionLedgerEntry
Record "EOS Commission Ledger Entry"EOSCommissionJnlLine
Record "EOS Commission Jnl. Line"
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.