TableExtension "Mfg. Planning Component"

ID 99000829
Namespace: Microsoft.Inventory.Planning

Fields

Name Type Description
"Routing Link Code" Code[10]
"Scrap %" Decimal

Methods

PlanningNeeds

procedure PlanningNeeds(): Decimal

Returns

Type Description
Decimal

TransferFromComponent

procedure TransferFromComponent(var ProdOrderComp: Record "Prod. Order Component")

Parameters

Name Type Description
ProdOrderComp Table Microsoft.Manufacturing.Document."Prod. Order Component"

GetRefOrderTypeBin

procedure GetRefOrderTypeBin(): Code[20]

Returns

Type Description
Code[20]

UpdateExpectedQuantityForPlanningNeeds

procedure UpdateExpectedQuantityForPlanningNeeds()

Events

OnAfterPlanningNeeds

[IntegrationEvent(False,False)]
local procedure OnAfterPlanningNeeds(PlanningComponent: Record "Planning Component", RequisitionLine: Record "Requisition Line", PlanningRoutingLine: Record "Planning Routing Line", var NeededQty: Decimal)

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
PlanningRoutingLine Table Microsoft.Manufacturing.Routing."Planning Routing Line"
NeededQty Decimal

OnAfterTransferFromComponent

[IntegrationEvent(False,False)]
local procedure OnAfterTransferFromComponent(var PlanningComponent: Record "Planning Component", var ProdOrderComp: Record "Prod. Order Component")

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
ProdOrderComp Table Microsoft.Manufacturing.Document."Prod. Order Component"

OnValidateRoutingLinkCodeOnBeforeValidateDueDate

[IntegrationEvent(False,False)]
local procedure OnValidateRoutingLinkCodeOnBeforeValidateDueDate(var PlanningComponent: Record "Planning Component", RequisitionLine: Record "Requisition Line", var PlanningRoutingLine: Record "Planning Routing Line")

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
PlanningRoutingLine Table Microsoft.Manufacturing.Routing."Planning Routing Line"

OnBeforeGetRefOrderTypeBin

[IntegrationEvent(False,False)]
local procedure OnBeforeGetRefOrderTypeBin(PlanningComponent: Record "Planning Component", RequisitionLine: Record "Requisition Line", Location: Record Location, var BinCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
Location Table Microsoft.Inventory.Location.Location
BinCode Code[20]
IsHandled Boolean

OnGetRefOrderTypeBinOnAfterGetBinCodeFromRoutingLine

[IntegrationEvent(False,False)]
local procedure OnGetRefOrderTypeBinOnAfterGetBinCodeFromRoutingLine(var PlanningComponent: Record "Planning Component", var PlanningRoutingLine: Record "Planning Routing Line", var RequisitionLine: Record "Requisition Line", var BinCode: Code[20])

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
PlanningRoutingLine Table Microsoft.Manufacturing.Routing."Planning Routing Line"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
BinCode Code[20]

OnBeforePlanningNeeds

[IntegrationEvent(False,False)]
local procedure OnBeforePlanningNeeds(var PlanningComponent: Record "Planning Component", var NeededQty: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
NeededQty Decimal
IsHandled Boolean

OnBeforeUpdateExpectedQuantityForPlanningNeeds

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateExpectedQuantityForPlanningNeeds(var PlanningComponent: Record "Planning Component", var IsHandled: Boolean)

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
IsHandled Boolean

See also