Codeunit 99000773 Calculate Prod. Order

Base Application, Microsoft.Manufacturing.Document

Source AL, 1,307 lines

src/Layers/W1/BaseApp/Manufacturing/Document/CalculateProdOrder.Codeunit.allines 22 to 37 of 1,307, Copyright (c) Microsoft Corporation. MIT

codeunit 99000773 "Calculate Prod. Order"{    Permissions = TableData Item = r,                  TableData "Prod. Order Line" = rimd,                  TableData "Prod. Order Component" = rimd,                  TableData "Manufacturing Setup" = r,                  TableData "Production BOM Line" = rimd,                  TableData "Production BOM Comment Line" = rimd,                  TableData "Production Order" = rimd,                  TableData "Prod. Order Comp. Cmt Line" = rimd;    trigger OnRun()    begin    end;    var

All 1,307 lines

Events 59 in 29

[IntegrationEvent] OnAfterCalculate(ProdOrderLine: Record "Prod. Order Line"; var ErrorOccured: Boolean)17-29
[IntegrationEvent] OnAfterInsertProdRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line")17-29
[IntegrationEvent] OnAfterTransferBOM(ProdOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdBOMNo: Code[20]; Level: Integer; LineQtyPerUOM: Decimal; ItemQtyPerUOM: Decimal; Blocked: Boolean; var ErrorOccured: Boolean)17-29
[IntegrationEvent] OnAfterTransferTaskInfo(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; VersionCode: Code[20])17-29
[IntegrationEvent] OnAfterTransferRouting(var ProdOrderLine: Record "Prod. Order Line")17-29
[IntegrationEvent] OnAfterTransferRoutingLine(var ProdOrderLine: Record "Prod. Order Line"; var RoutingLine: Record "Routing Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")17-29
[IntegrationEvent] OnAfterTransferBOMComponent(var ProdOrderLine: Record "Prod. Order Line"; var ProductionBOMLine: Record "Production BOM Line"; var ProdOrderComponent: Record "Prod. Order Component"; LineQtyPerUOM: Decimal; ItemQtyPerUOM: Decimal)17-29

All 65 events in 17-29

Public procedures 15 in 29

TransferTaskInfo(var FromProdOrderRoutingLine: Record "Prod. Order Routing Line"; VersionCode: Code[20])17-29
CalculateComponents()17-29
CalculateRoutingFromActual(ProdOrderRoutingLine: Record "Prod. Order Routing Line"; Direction: Option Forward,Backward; CalcStartEndDate: Boolean)17-29
CalculateProdOrderDates(var ProdOrderLine: Record "Prod. Order Line"; LetDueDateDecrease: Boolean)17-29
Calculate(ProdOrderLine2: Record "Prod. Order Line"; Direction: Option Forward,Backward; CalcRouting: Boolean; CalcComponents: Boolean; DeleteRelations: Boolean; LetDueDateDecrease: Boolean): Boolean17-29
Recalculate(var ProdOrderLine2: Record "Prod. Order Line"; Direction: Option Forward,Backward; LetDueDateDecrease: Boolean)17-29

All 16 procedures in 17-29

Changes 3 in 28

List17181920212223242526272829
Procedures21
Events748134213
[IntegrationEvent] OnTransferBOMOnAfterProcessProdBOM(var ProductionBOMLine: Record "Production BOM Line"; LineQtyPerUOM: Decimal; ItemQtyPerUOM: Decimal; var ReqQty: Decimal; ProdOrderLine: Record "Prod. Order Line")new in 28
added
[IntegrationEvent] OnTransferBOMOnBeforeTransferNestedProdBOM(ProductionBOMLine: Record "Production BOM Line"; LineQtyPerUOM: Decimal; ItemQtyPerUOM: Decimal; var ReqQty: Decimal; var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)new in 28
added
[IntegrationEvent] OnCalculateOnAfterCapLedgEntrySetFilters(var ProdOrderLine: Record "Prod. Order Line"; var CapacityLedgerEntry: Record "Capacity Ledger Entry")new in 28
added

All 36 changes in 17-29