Codeunit 18122726 EOS066 EX023 EMA

Codeunit 18122726 EOS066 EX023 EMA

Methods

CalculateCINValueFrom

procedure CalculateCINValueFrom(CAAnalysisCode: Code[20]; FunctionCode: Code[20]; ValueEntry: Record "Value Entry"; var IsHandled: Boolean; var Amount: Decimal)

Parameters / Return Value

  • CAAnalysisCode Code[20]

  • FunctionCode Code[20]

  • ValueEntry Record "Value Entry"

  • IsHandled Boolean

  • Amount Decimal


RaiseOnCalculateCINValueFromSalesInvoice

procedure RaiseOnCalculateCINValueFromSalesInvoice(CAAnalysisCode: Code[20]; FunctionCode: Code[20]; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var Amount: Decimal)

Parameters / Return Value

  • CAAnalysisCode Code[20]

  • FunctionCode Code[20]

  • SalesInvoiceLine Record "Sales Invoice Line"

  • IsHandled Boolean

  • Amount Decimal


RaiseOnCalculateCINValueFromSalesCrMemo

procedure RaiseOnCalculateCINValueFromSalesCrMemo(CAAnalysisCode: Code[20]; FunctionCode: Code[20]; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var Amount: Decimal)

Parameters / Return Value

  • CAAnalysisCode Code[20]

  • FunctionCode Code[20]

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • IsHandled Boolean

  • Amount Decimal


Events

OnCalculateCINValueFrom

local procedure OnCalculateCINValueFrom(CAAnalysisCode: Code[20]; FunctionCode: Code[20]; ValueEntry: Record "Value Entry"; var IsHandled: Boolean; var Amount: Decimal)

Add Custom values to CIN Calculations

Parameters / Return Value

  • CAAnalysisCode Code[20]

    Parameter of type Code[20].

  • FunctionCode Code[20]

    Parameter of type Code[20].

  • ValueEntry Record "Value Entry"

    Parameter of type Record “Value Entry”.

  • IsHandled Boolean

    If true will use the value returned by the parameter Amount

  • Amount Decimal

    The return value


OnCalculateCINValueFromSalesInvoice

local procedure OnCalculateCINValueFromSalesInvoice(CAAnalysisCode: Code[20]; FunctionCode: Code[20]; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean; var Amount: Decimal)

Add Custom values to CIN Calculations

Parameters / Return Value

  • CAAnalysisCode Code[20]

    Parameter of type Code[20].

  • FunctionCode Code[20]

    Parameter of type Code[20].

  • SalesInvoiceLine Record "Sales Invoice Line"

    Parameter of type Record “Sales Invoice Line”.

  • IsHandled Boolean

    If true will use the value returned by the parameter Amount

  • Amount Decimal

    The return value


OnCalculateCINValueFromSalesCrMemo

local procedure OnCalculateCINValueFromSalesCrMemo(CAAnalysisCode: Code[20]; FunctionCode: Code[20]; SalesCrMemoLine: Record "Sales Cr.Memo Line"; var IsHandled: Boolean; var Amount: Decimal)

Add Custom values to CIN Calculations

Parameters / Return Value

  • CAAnalysisCode Code[20]

    Parameter of type Code[20].

  • FunctionCode Code[20]

    Parameter of type Code[20].

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

    Parameter of type Record “Sales Cr. Memo Line”.

  • IsHandled Boolean

    If true will use the value returned by the parameter Amount

  • Amount Decimal

    The return value



EOS Labs -