Codeunit 18123713 EOS066 EX041 CDW

Codeunit 18123713 EOS066 EX041 CDW

Methods

Raise_GetReasonCodeWithNoLedgerEntries

procedure Raise_GetReasonCodeWithNoLedgerEntries(var ReasonCode: Record "Reason Code")

Event to query the EX041 and get ReasonCodes with the “No Ledger Entries” value for the “Posting Policy”.

Parameters / Return Value

  • ReasonCode Record "Reason Code"

Raise_GetReasonCodeWithNoLedgerEntries

procedure Raise_GetReasonCodeWithNoLedgerEntries(var ReasonCode: Record "Reason Code"; var IsHandled: Boolean)

Event to query the EX041 and get ReasonCodes with the “No Ledger Entries” value for the “Posting Policy”.

Parameters / Return Value

  • ReasonCode Record "Reason Code"

    “Reason Code” table filtered with ReasonCodes without Ledger Entries

  • IsHandled Boolean


RaiseOnGetIsNoInvoicing2

procedure RaiseOnGetIsNoInvoicing2(ValueEntryNo: Integer; var isNoInvocing: Boolean)

Parameters / Return Value

  • ValueEntryNo Integer

  • isNoInvocing Boolean


Raise_GetReasonCodeWithNoItemEntries

procedure Raise_GetReasonCodeWithNoItemEntries(var ReasonCode: Record "Reason Code")

Parameters / Return Value

  • ReasonCode Record "Reason Code"

Raise_GetReasonCodeWithNoItemEntries

procedure Raise_GetReasonCodeWithNoItemEntries(var ReasonCode: Record "Reason Code"; var IsHandled: Boolean)

Parameters / Return Value

  • ReasonCode Record "Reason Code"

  • IsHandled Boolean


RaiseOnGetIsNoInvoicingValueEntryList

procedure RaiseOnGetIsNoInvoicingValueEntryList(PostingDateFilter: Text; var NoInvocingEntryList: Dictionary of [Integer, Integer]; var IsHandled: Boolean)

Event to query the EX041 and get a list of Value Entry No with a EX041 posting Policy.

Parameters / Return Value

  • PostingDateFilter Text[]

  • NoInvocingEntryList Dictionary[Integer,Integer]

    Dictionary or [Value Entry No, PostingPolicy (as integer)]

  • IsHandled Boolean


Events

OnGetIsNoInvoicing

internal procedure OnGetIsNoInvoicing(ValueEntry: Record "Value Entry"; var isNoInvocing: Boolean)

Event to query the EX041 and get the posting policy.

Parameters / Return Value

  • ValueEntry Record "Value Entry"

    The value entry as parameter.

  • isNoInvocing Boolean

    Return if the ValueEntry has been posted as “No Invoicing and Ledger Entries”.


GetReasonCodeWithNoLedgerEntries

local procedure GetReasonCodeWithNoLedgerEntries(var ReasonCode: Record "Reason Code"; var IsHandled: Boolean)

Event raised by the function Raise_GetReasonCodeWithNoLedgerEntries. This is needed for EMA WI9738 in order to retrieve ReasonCode with the “No Ledger Entries” value for the “Posting Policy”.

Parameters / Return Value

  • ReasonCode Record "Reason Code"

    The ReasonCode that will be returned filtered.

  • IsHandled Boolean


OnGetIsNoInvoicing2

local procedure OnGetIsNoInvoicing2(ValueEntryNo: Integer; var isNoInvocing: Boolean)

Event to query the EX041 and get the posting policy for a single Value Entry No.

Parameters / Return Value

  • ValueEntryNo Integer

  • isNoInvocing Boolean

    Return if the ValueEntry has been posted as “No Invoicing and Ledger Entries”.


GetReasonCodeWithNoItemEntries

local procedure GetReasonCodeWithNoItemEntries(var ReasonCode: Record "Reason Code"; var IsHandled: Boolean)

Event raised by the function Raise_GetReasonCodeWithNoItemEntries. This is needed for EMA WI9738 in order to retrieve ReasonCode with the “No Item Entries” value for the ““Item Entries Policy”".

Parameters / Return Value

  • ReasonCode Record "Reason Code"

    The ReasonCode that will be returned filtered.

  • IsHandled Boolean


OnGetIsNoInvoicingValueEntryList

local procedure OnGetIsNoInvoicingValueEntryList(PostingDateFilter: Text; var NoInvocingEntryList: Dictionary of [Integer, Integer]; var IsHandled: Boolean)

Event to query the EX041 and get a list of Value Entry No with a EX041 posting Policy.

Parameters / Return Value

  • PostingDateFilter Text[]

  • NoInvocingEntryList Dictionary[Integer,Integer]

    Dictionary or [Value Entry No, PostingPolicy (as integer)]

  • IsHandled Boolean



EOS Labs -