Codeunit "Mfg. Invt. Profile Offsetting"

ID 99000869
Namespace: Microsoft.Inventory.Tracking

Properties

Name Value
Permissions TableData "Reservation Entry" = id, TableData "Prod. Order Capacity Need" = rmd

Methods

GetRouting

procedure GetRouting(var ReqLine: Record "Requisition Line", var sender: Codeunit "Inventory Profile Offsetting")

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
sender Codeunit Microsoft.Inventory.Tracking."Inventory Profile Offsetting"

Events

OnBeforeTransProdOrderToProfile

[IntegrationEvent(False,False)]
local procedure OnBeforeTransProdOrderToProfile(var InventoryProfile: Record "Inventory Profile", var Item: Record Item, ToDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
InventoryProfile Table Microsoft.Inventory.Tracking."Inventory Profile"
Item Table Microsoft.Inventory.Item.Item
ToDate Date
IsHandled Boolean

OnTransProdOrderToProfileOnBeforeProcessLine

[IntegrationEvent(False,False)]
local procedure OnTransProdOrderToProfileOnBeforeProcessLine(ProdOrderLine: Record "Prod. Order Line", var ShouldProcess: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ShouldProcess Boolean

OnAfterSetProdOrder

[IntegrationEvent(False,False)]
local procedure OnAfterSetProdOrder(var ReqLine: Record "Requisition Line", var ProdOrderLine: Record "Prod. Order Line", var InventoryProfile: Record "Inventory Profile")

Parameters

Name Type Description
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
InventoryProfile Table Microsoft.Inventory.Tracking."Inventory Profile"

OnAfterGetRoutingFromProdOrder

[IntegrationEvent(False,False)]
local procedure OnAfterGetRoutingFromProdOrder(var RequisitionLine: Record "Requisition Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"

OnFindCombinationOnBeforeCreateTempSKUForLocation

[IntegrationEvent(False,False)]
local procedure OnFindCombinationOnBeforeCreateTempSKUForLocation(var Item: Record Item, var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

OnTransProdOrderToProfileOnBeforeInsertSupplyInvtProfile

[IntegrationEvent(False,False)]
local procedure OnTransProdOrderToProfileOnBeforeInsertSupplyInvtProfile(var InventoryProfile: Record "Inventory Profile", ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
InventoryProfile Table Microsoft.Inventory.Tracking."Inventory Profile"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

See also