Report "Calculate Subcontracts"

ID 99001015
Namespace: Microsoft.Manufacturing.Planning

Properties

Name Value
Caption Calculate Subcontracts
ProcessingOnly True

Methods

SetWkShLine

procedure SetWkShLine(NewReqLine: Record "Requisition Line")

Parameters

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

Events

OnAfterCalcQtyToPurch

[IntegrationEvent(False,False)]
local procedure OnAfterCalcQtyToPurch(ProdOrderLine: Record "Prod. Order Line", var QtyToPurch: Decimal)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
QtyToPurch Decimal

OnAfterTransferProdOrderRoutingLine

[IntegrationEvent(False,False)]
local procedure OnAfterTransferProdOrderRoutingLine(var RequisitionLine: Record "Requisition Line", ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnBeforeInsertReqWkshLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertReqWkshLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var WorkCenter: Record "Work Center", var ReqLine: Record "Requisition Line", var IsHandled: Boolean, ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
ReqLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnBeforeValidateUnitCost

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUnitCost(var RequisitionLine: Record "Requisition Line", var WorkCenter: Record "Work Center", var IsHandled: Boolean, ProdOrderLine: Record "Prod. Order Line", ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
WorkCenter Table Microsoft.Manufacturing.WorkCenter."Work Center"
IsHandled Boolean
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnBeforeReqWkshLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeReqWkshLineInsert(var RequisitionLine: Record "Requisition Line", ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnDeleteRepeatedReqLinesOnAfterRequisitionLineSetFilters

[IntegrationEvent(False,False)]
local procedure OnDeleteRepeatedReqLinesOnAfterRequisitionLineSetFilters(var RequisitionLine: Record "Requisition Line", ProdOrderLine: Record "Prod. Order Line", ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnProdOrderRoutingLineOnAfterGetRecordOnAfterProdOrderLineSetFilters

[IntegrationEvent(False,False)]
local procedure OnProdOrderRoutingLineOnAfterGetRecordOnAfterProdOrderLineSetFilters(var ProdOrderLine: Record "Prod. Order Line", ProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

OnAfterSetVendorItemNo

[IntegrationEvent(False,False)]
local procedure OnAfterSetVendorItemNo(var RequisitionLine: Record "Requisition Line", ItemVendor: Record "Item Vendor", Item: Record Item)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ItemVendor Table Microsoft.Inventory.Item.Catalog."Item Vendor"
Item Table Microsoft.Inventory.Item.Item

OnProdOrderRoutingLineOnBeforeCalculateSubContractRequirements

[IntegrationEvent(False,False)]
local procedure OnProdOrderRoutingLineOnBeforeCalculateSubContractRequirements(var TempProdOrderRoutingLine: Record "Prod. Order Routing Line" temporary)

Parameters

Name Type Description
TempProdOrderRoutingLine Table Microsoft.Manufacturing.Document."Prod. Order Routing Line"

See also