Codeunit 18004174 EOS076 MBT Integration

Codeunit 18004174 EOS076 MBT Integration

Events

OnBeforeReserveItemLedgerEntryOnAfterTransferFromItemLedgerEntry

local procedure OnBeforeReserveItemLedgerEntryOnAfterTransferFromItemLedgerEntry(var InventoryProfile: Record "Inventory Profile"; ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)

Raised before set reservation filters on item ledger entry.

Parameters / Return Value

  • InventoryProfile Record "Inventory Profile"

    The inventory profile

  • ItemLedgerEntry Record "Item Ledger Entry"

    The item ledger entry

  • IsHandled Boolean

    If true, skips standard code


OnBeforeReserveSalesLineOnAfterTransferFromSalesLine

local procedure OnBeforeReserveSalesLineOnAfterTransferFromSalesLine(var InventoryProfile: Record "Inventory Profile"; SalesLine: Record "Sales Line"; var IsHandled: Boolean)

Raised before set reservation filters on sales line.

Parameters / Return Value

  • InventoryProfile Record "Inventory Profile"

    The inventory profile

  • SalesLine Record "Sales Line"

    The sales line

  • IsHandled Boolean

    If true, skips standard code


OnBeforeReserveProdOrderLineOnAfterTransferFromProdOrderLine

local procedure OnBeforeReserveProdOrderLineOnAfterTransferFromProdOrderLine(var InventoryProfile: Record "Inventory Profile"; ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)

Raised before set reservation filters on prod. order line.

Parameters / Return Value

  • InventoryProfile Record "Inventory Profile"

    The inventory profile

  • ProdOrderLine Record "Prod. Order Line"

    The prod. order line

  • IsHandled Boolean

    If true, skips standard code


OnBeforeInitRemainingQuantitiesTemporarilyTerminatedOnAfterValidateEvent

local procedure OnBeforeInitRemainingQuantitiesTemporarilyTerminatedOnAfterValidateEvent(CurrFieldNo: Integer; var Rec: Record "Prod. Order Line"; var xRec: Record "Prod. Order Line"; var IsHandled: Boolean)

Raised before initializing remaining quantities on Prod. Order Line when Temporarily Terminated is validated.

Parameters / Return Value

  • CurrFieldNo Integer

    The current field no.

  • Rec Record "Prod. Order Line"

    The prod. order line

  • xRec Record "Prod. Order Line"

    The old prod. order line

  • IsHandled Boolean

    If true, skips standard code


OnBeforeResetRemainingQuantitiesOnPostConsumptionOnBeforeFindSetProdOrderComp

local procedure OnBeforeResetRemainingQuantitiesOnPostConsumptionOnBeforeFindSetProdOrderComp(var ProdOrderComponent: Record "Prod. Order Component"; var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)

Raised before resetting remaining quantities on temporarily terminated components before posting consumption.

Parameters / Return Value

  • ProdOrderComponent Record "Prod. Order Component"

    The prod. order component

  • ItemJournalLine Record "Item Journal Line"

    The item journal line

  • IsHandled Boolean

    If true, skips standard code


OnBeforeClearRemainingQuantitiesOnAfterPostConsumption

local procedure OnBeforeClearRemainingQuantitiesOnAfterPostConsumption(var ProdOrderComp: Record "Prod. Order Component"; var ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)

Raised before clearing remaining quantities on temporarily terminated components after posting consumption.

Parameters / Return Value

  • ProdOrderComp Record "Prod. Order Component"

    The prod. order component

  • ItemJnlLine Record "Item Journal Line"

    The item journal line

  • IsHandled Boolean

    If true, skips standard code


OnBeforeClearRemainingQuantitiesOnBeforeProdOrderLineModify

local procedure OnBeforeClearRemainingQuantitiesOnBeforeProdOrderLineModify(var ProdOrderLine: Record "Prod. Order Line"; ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)

Raised before clearing remaining quantities on temporarily terminated Prod. Order Line.

Parameters / Return Value

  • ProdOrderLine Record "Prod. Order Line"

    The prod. order line

  • ItemJournalLine Record "Item Journal Line"

    The item journal line

  • IsHandled Boolean

    If true, skips standard code


OnBeforeSetReservationFilterOnAfterTransferInventoryProfileFromProdOrderComponent

local procedure OnBeforeSetReservationFilterOnAfterTransferInventoryProfileFromProdOrderComponent(var InventoryProfile: Record "Inventory Profile"; var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)

Integration event triggered before setting the reservation filter after transferring inventory profile from production order component.

Parameters / Return Value

  • InventoryProfile Record "Inventory Profile"

    The inventory profile record to be processed.

  • ProdOrderComponent Record "Prod. Order Component"

    The production order component record involved in the transfer.

  • IsHandled Boolean

    Boolean flag indicating whether the event has been handled.


OnBeforeInitRemainingQtyProdOrderComp

local procedure OnBeforeInitRemainingQtyProdOrderComp(var ProdOrderComp: Record "Prod. Order Component"; xProdOrderComp: Record "Prod. Order Component"; var IsHandled: Boolean)

Integration event triggered before initializing remaining quantities on a production order component.

Parameters / Return Value

  • ProdOrderComp Record "Prod. Order Component"

    The current production order component record.

  • xProdOrderComp Record "Prod. Order Component"

    The previous (before modification) production order component record.

  • IsHandled Boolean

    Boolean flag indicating whether the event has been handled. If true, standard code is skipped.


OnBeforeDeleteReservEntriesOnInitRemainingQtyPOC

local procedure OnBeforeDeleteReservEntriesOnInitRemainingQtyPOC(var ProdOrderComp: Record "Prod. Order Component"; xProdOrderComp: Record "Prod. Order Component"; var IsHandled: Boolean)

Raised before deleting reservation entries when initializing remaining quantities on temporarily terminated component.

Parameters / Return Value

  • ProdOrderComp Record "Prod. Order Component"

    The current prod. order component

  • xProdOrderComp Record "Prod. Order Component"

    The old prod. order component

  • IsHandled Boolean

    If true, skips deletion of reservation entries


OnBeforeVerifyQuantityOnInitRemainingQtyPOC

local procedure OnBeforeVerifyQuantityOnInitRemainingQtyPOC(var ProdOrderComp: Record "Prod. Order Component"; xProdOrderComp: Record "Prod. Order Component"; var IsHandled: Boolean)

Raised before verifying quantity when re-enabling temporarily terminated component.

Parameters / Return Value

  • ProdOrderComp Record "Prod. Order Component"

    The current prod. order component

  • xProdOrderComp Record "Prod. Order Component"

    The old prod. order component

  • IsHandled Boolean

    If true, skips quantity verification and reservation recreation



EOS Labs -