Codeunit 18006545 EOS Quality Event Handlers

Codeunit 18006545 EOS Quality Event Handlers

Events

OnBeforeFindInspOrderOnBeforeDeleteSalesHeader

local procedure OnBeforeFindInspOrderOnBeforeDeleteSalesHeader(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)

Raised in the event “OnBeforeDeleteEvent” of the Sales Header. It is raised before finding the Inspection Orders linked to the document.

Parameters / Return Value

  • SalesHeader Record "Sales Header"

    Sales Header to delete

  • IsHandled Boolean

    if true, no following app code will be executed


OnBeforeFindInspOrderOnBeforeDeleteSalesLine

local procedure OnBeforeFindInspOrderOnBeforeDeleteSalesLine(var SalesLine: Record "Sales Line"; var IsHandled: Boolean)

Raised in the event “OnBeforeDeleteEvent” of the Sales Line. It is raised before finding the Inspection Orders linked to the document line.

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Sales Line to delete

  • IsHandled Boolean

    if true, no following app code will be executed


OnBeforeFindInspOrderOnBeforeDeletePurchaseHeader

local procedure OnBeforeFindInspOrderOnBeforeDeletePurchaseHeader(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)

Raised in the event “OnBeforeDeleteEvent” of the Purchase Header. It is raised before finding the Inspection Orders linked to the document.

Parameters / Return Value

  • PurchaseHeader Record "Purchase Header"

    Purchase Header to delete

  • IsHandled Boolean

    if true, no following app code will be executed


OnBeforeFindInspOrderOnBeforeDeletePurchaseLine

local procedure OnBeforeFindInspOrderOnBeforeDeletePurchaseLine(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)

Raised in the event “OnBeforeDeleteEvent” of the Purchase Line. It is raised before finding the Inspection Orders linked to the document line.

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

    Purchase Line to delete

  • IsHandled Boolean

    if true, no following app code will be executed


OnAfterPostItemJnlLine_OnBeforePostInspectionTransfer

local procedure OnAfterPostItemJnlLine_OnBeforePostInspectionTransfer(var ItemJournalLine: Record "Item Journal Line"; ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)

Raised in the event OnAfterPostItemJnlLine of codeunit “Item Jnl.-Post Line” (22), before posting the transfer to the quality bin.

Parameters / Return Value

  • ItemJournalLine Record "Item Journal Line"

    Item Journal Line posted from the standard

  • ItemLedgerEntry Record "Item Ledger Entry"

    Item Ledger Entry

  • IsHandled Boolean

    if true, skip the transfer to the quality bin



EOS Labs -