Report 18008293 EOS Commission Cost Allocation
Report 18008293 EOS Commission Cost Allocation
Calculates journal lines realted to cost allocation management. Called from menu
| Language | Caption |
|---|---|
| da-DK | Fordeling af provisionsomkostninger |
| de-DE | Kostenzuweisung der Kommission (CMS) |
| es-ES | Asignación de costes de la Comisión (CMS) |
| fi-FI | Komission kustannusten kohdentaminen (CMS) |
| fr-FR | Répartition des coûts de la Commission (CMS) |
| en-US | Commission Cost Allocation (CMS) |
| it-IT | Stanziamento costi provvigione (CMS) |
| nb-NO | Tildeling av provisjonskostnader (CMS) |
| nl-NL | Toewijzing van commissiekosten (CMS) |
| sv-SE | Provisionskostnadsallokering (CMS) |
Methods
SetHideValidationDialog
procedure SetHideValidationDialog(HideDialog: Boolean)
Parameters / Return Value
- HideDialog
Boolean
GetHideValidationDialog
procedure GetHideValidationDialog(): Boolean
Parameters / Return Value
- Returns
Boolean
Events
OnComposeJournalLineDescription
local procedure OnComposeJournalLineDescription(EOSCommissionLedgerEntry: Record "EOS Comm. Doc. Ledger Entry"; SalespersonPurchaser: Record "Salesperson/Purchaser"; StartingDate: Date; EndingDate: Date; DocumentNo: Code[20]; var JournalDescription: Text[100])
This event is raised after composing the journal line description. Changing the JournalDescription parameter (passed as reference) you can append texts or override the standard description.
Parameters / Return Value
EOSCommissionLedgerEntry
Record "EOS Comm. Doc. Ledger Entry"Current “EOS Comm. Doc. Ledger Entry”
SalespersonPurchaser
Record "Salesperson/Purchaser"Current “Salesperson/Purchaser”
StartingDate
DateRequest Page Starting Date
EndingDate
DateRequest Page Ending Date
DocumentNo
Code[20]Request Page Document No.
JournalDescription
Text[100]Journal line description already populated with the default value but you can return a custom string pattern
OnAfterAccountNoBalAccountNoAssigned
local procedure OnAfterAccountNoBalAccountNoAssigned(var AccountNo: Code[20]; var BalAccountNo: Code[20]; SalespersonPurchaser: Record "Salesperson/Purchaser"; EOSCommissionLedgerEntry: Record "EOS Comm. Doc. Ledger Entry")
Raised after assigning the AccountNo and BalAccountNo variables. You can change the values of these variables to assign different G/L Accounts to the journal line.
Parameters / Return Value
AccountNo
Code[20]G/L Account No being processed
BalAccountNo
Code[20]Balance G/L Account No being processed
SalespersonPurchaser
Record "Salesperson/Purchaser"Salesperson being processed
EOSCommissionLedgerEntry
Record "EOS Comm. Doc. Ledger Entry"Commission Ledger Entry being processed
OnAfterFilteringTempGenJnlLineBuffer
local procedure OnAfterFilteringTempGenJnlLineBuffer(var TempGenJournalLine: Record "Gen. Journal Line"; CommissionLedgerEntry: Record "EOS Comm. Doc. Ledger Entry"; var UpdatedDimensionSetID: Integer)
Raised after filtering the TempGenJournalLine buffer and before checking for existing lines. You can change the filters to customize the search.
Parameters / Return Value
TempGenJournalLine
Record "Gen. Journal Line"Temporary Buffer
CommissionLedgerEntry
Record "EOS Comm. Doc. Ledger Entry"UpdatedDimensionSetID
IntegerDimension Set ID being processed, you can change it for customization. Note that the TempGenJournalLine.‘Dimension Set ID’ variable is already filtered by this value. Update the filter accordingly.
OnAfterGroupKeyCreation
local procedure OnAfterGroupKeyCreation(CommDocLedgerEntry: Record "EOS Comm. Doc. Ledger Entry"; UpdatedDimensionSetID: Integer; var GroupKey: Text)
Raised after creating the GroupKey variable for grouping commission ledger entries. You can change the GroupKey value to customize grouping behavior.
Parameters / Return Value
CommDocLedgerEntry
Record "EOS Comm. Doc. Ledger Entry"Current Comm. Doc. Ledger Entry being processed
UpdatedDimensionSetID
IntegerDimension Set ID being processed
GroupKey
Text[]GroupKey variable used for grouping, it can be modified to customize grouping behavior
OnPostReportSimulation
Internal procedure OnPostReportSimulation()
OnAfterSimulationWriteJnlLines
Internal procedure OnAfterSimulationWriteJnlLines(var GenJournalLine: Record "Gen. Journal Line"; var ProcessedJnlLines: Integer)
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"ProcessedJnlLines
Integer
OnBeforeSimulationGenJournalLineModify
Internal procedure OnBeforeSimulationGenJournalLineModify(var GenJournalLine: Record "Gen. Journal Line"; var TempGenJournalLine: Record "Gen. Journal Line")
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"TempGenJournalLine
Record "Gen. Journal Line"
OnAfterInitTemplateBatch
Internal procedure OnAfterInitTemplateBatch(var AllocationOnSim: Boolean; var TemplateName: Code[10]; var BatchName: Code[10])
Parameters / Return Value
AllocationOnSim
BooleanTemplateName
Code[10]BatchName
Code[10]
OnSimulationSetNullWriteOffRegisters
Internal procedure OnSimulationSetNullWriteOffRegisters(ProcessedCommAllRegisterNoList: List of [Integer])
Parameters / Return Value
- ProcessedCommAllRegisterNoList
List[Integer]
OnSimulationBeforeLinkRegisterEntry
Internal procedure OnSimulationBeforeLinkRegisterEntry(GenJnlLine: Record "Gen. Journal Line"; AllRegEntryNo: Integer; AllocationOnSim: Boolean)
Parameters / Return Value
GenJnlLine
Record "Gen. Journal Line"AllRegEntryNo
IntegerAllocationOnSim
Boolean
OnFindSimulationTemplate
Internal procedure OnFindSimulationTemplate(var GenJournalTemplate: Record "Gen. Journal Template")
Parameters / Return Value
- GenJournalTemplate
Record "Gen. Journal Template"
OnSimulationWriteSimRegister
Internal procedure OnSimulationWriteSimRegister(var TempGenJournalLine: Record "Gen. Journal Line"; var ProcessedCommAllRegisterNoList: List of [Integer])
Parameters / Return Value
TempGenJournalLine
Record "Gen. Journal Line"ProcessedCommAllRegisterNoList
List[Integer]
OnSimulationUpdateCommissionLedgerEntryRegister
Internal procedure OnSimulationUpdateCommissionLedgerEntryRegister(var EOSCommissionLedgerEntry: Record "EOS Comm. Doc. Ledger Entry"; AllRegEntryNo: Integer)
Parameters / Return Value
EOSCommissionLedgerEntry
Record "EOS Comm. Doc. Ledger Entry"AllRegEntryNo
Integer
OnBeforeSimulationTempJournalLineInsert
Internal procedure OnBeforeSimulationTempJournalLineInsert(var TempGenJournalLine: Record "Gen. Journal Line"; AllRegEntryNo: Integer)
Parameters / Return Value
TempGenJournalLine
Record "Gen. Journal Line"AllRegEntryNo
Integer
OnSimulationOnInitReport
Internal procedure OnSimulationOnInitReport(var AllocationOnSim: Boolean; var AllocationOnSimEnabled: Boolean; var TemplateName: Code[10]; var BatchName: Code[10])
Parameters / Return Value
AllocationOnSim
BooleanAllocationOnSimEnabled
BooleanTemplateName
Code[10]BatchName
Code[10]
OnSimulationOpenPage
Internal procedure OnSimulationOpenPage(var AllocationOnSim: Boolean; var AllocationOnSimEnabled: Boolean; var TemplateName: Code[10]; var BatchName: Code[10])
Parameters / Return Value
AllocationOnSim
BooleanAllocationOnSimEnabled
BooleanTemplateName
Code[10]BatchName
Code[10]
OnCheckUpdatedSimulationApp
Internal procedure OnCheckUpdatedSimulationApp(var SimulationBridgeAppInstalled: Boolean)
Parameters / Return Value
- SimulationBridgeAppInstalled
Boolean
OnSimulationCommissionLedgerEntryOnPreDataItem
internal procedure OnSimulationCommissionLedgerEntryOnPreDataItem(EOSCommissionLedgerEntry: Record "EOS Comm. Doc. Ledger Entry")
Parameters / Return Value
- EOSCommissionLedgerEntry
Record "EOS Comm. Doc. Ledger Entry"
OnAddNewSimulationTempRegisterEntry
internal procedure OnAddNewSimulationTempRegisterEntry(CommDocLedgerEntry: Record "EOS Comm. Doc. Ledger Entry"; AllRegEntryNo: Integer)
Parameters / Return Value
CommDocLedgerEntry
Record "EOS Comm. Doc. Ledger Entry"AllRegEntryNo
Integer
OnLockSimAllocationRegister
internal procedure OnLockSimAllocationRegister(var SimAllocationRegisterNo: Integer)
Parameters / Return Value
- SimAllocationRegisterNo
Integer
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.