Codeunit 18123132 EOS Zero Inv. Amnt. Mgt.

Codeunit 18123132 EOS Zero Inv. Amnt. Mgt.

Events

OnBeforePurchCheckZeroLines

local procedure OnBeforePurchCheckZeroLines(var PurchaseHeader: Record "Purchase Header"; var ZeroInvAmntSetup: Record "EOS Zero Inv. Amnt. Setup"; var IsHandled: Boolean)

Raised before app checks purchase document

Parameters / Return Value

  • PurchaseHeader Record "Purchase Header"

    Reference document

  • ZeroInvAmntSetup Record "EOS Zero Inv. Amnt. Setup"

    Current ZAI setup

  • IsHandled Boolean

    If TRUE, no standard app code will be executed


OnAfterPurchCheckZeroLines

local procedure OnAfterPurchCheckZeroLines(var PurchaseHeader: Record "Purchase Header"; ZeroInvAmntSetup: Record "EOS Zero Inv. Amnt. Setup")

Raised after app checks purchase document

Parameters / Return Value

  • PurchaseHeader Record "Purchase Header"

    Reference document

  • ZeroInvAmntSetup Record "EOS Zero Inv. Amnt. Setup"

    Current ZAI setup


OnFilterZeroPurchLineToCheck

local procedure OnFilterZeroPurchLineToCheck(var PurchaseHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line")

Raised after system has filtered document lines to check

Parameters / Return Value

  • PurchaseHeader Record "Purchase Header"

    Reference document

  • PurchLine Record "Purchase Line"

    Filtered documetn line recordset


OnBeforeSalesCheckZeroLines

local procedure OnBeforeSalesCheckZeroLines(var SalesHeader: Record "Sales Header"; var ZeroInvAmntSetup: Record "EOS Zero Inv. Amnt. Setup"; var IsHandled: Boolean)

Raised before app checks sales document

Parameters / Return Value

  • SalesHeader Record "Sales Header"

    Reference document

  • ZeroInvAmntSetup Record "EOS Zero Inv. Amnt. Setup"

    Current ZAI setup

  • IsHandled Boolean

    If TRUE, no standard app code will be executed


OnAfterSalesCheckZeroLines

local procedure OnAfterSalesCheckZeroLines(var SalesHeader: Record "Sales Header"; ZeroInvAmntSetup: Record "EOS Zero Inv. Amnt. Setup")

Raised after app checks sales document

Parameters / Return Value

  • SalesHeader Record "Sales Header"

    Reference document

  • ZeroInvAmntSetup Record "EOS Zero Inv. Amnt. Setup"

    Current ZAI setup


OnFilterZeroSalesLineToCheck

local procedure OnFilterZeroSalesLineToCheck(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")

Raised after system has filtered document lines to check

Parameters / Return Value

  • SalesHeader Record "Sales Header"

    Reference document

  • SalesLine Record "Sales Line"

    Filtered documetn line recordset


OnBeforeThrowZeroSalesLineError

local procedure OnBeforeThrowZeroSalesLineError(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var IsHandled: Boolean)

Raised before for a single document line zero amount error is raised

Parameters / Return Value

  • SalesHeader Record "Sales Header"

    Reference document

  • SalesLine Record "Sales Line"

    Filtered documetn line recordset

  • IsHandled Boolean

    If TRUE, no standard app code will be executed


OnBeforeThrowZeroPurchLineError

local procedure OnBeforeThrowZeroPurchLineError(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; var IsHandled: Boolean)

Raised before for a single document line zero amount error is raised

Parameters / Return Value

  • PurchHeader Record "Purchase Header"

    Reference document

  • PurchLine Record "Purchase Line"

    Filtered documetn line recordset

  • IsHandled Boolean

    If TRUE, no standard app code will be executed



EOS Labs -