Report 18008293 EOS Commission Cost Allocation

Report 18008293 EOS Commission Cost Allocation

Calculates journal lines realted to cost allocation management. Called from menu

LanguageCaption
da-DKFordeling af provisionsomkostninger
de-DEKostenzuweisung der Kommission (CMS)
es-ESAsignación de costes de la Comisión (CMS)
fi-FIKomission kustannusten kohdentaminen (CMS)
fr-FRRépartition des coûts de la Commission (CMS)
en-USCommission Cost Allocation (CMS)
it-ITStanziamento costi provvigione (CMS)
nb-NOTildeling av provisjonskostnader (CMS)
nl-NLToewijzing van commissiekosten (CMS)
sv-SEProvisionskostnadsallokering (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 Date

    Request Page Starting Date

  • EndingDate Date

    Request 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 Integer

    Dimension 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.



EOS Labs -