Codeunit 99000772 Prod. Order Route Management

Base Application, Microsoft.Manufacturing.Document

Source AL, 627 lines

src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderRouteManagement.Codeunit.allines 7 to 22 of 627, Copyright (c) Microsoft Corporation. MIT

codeunit 99000772 "Prod. Order Route Management"{    trigger OnRun()    begin    end;    var        CannotCalculateRoutingNumberErr: Label 'Cannot calculate routing number %3 %4 in %1 production order %2, because sequence number %5 is higher than the maximum sequence number, %6.', Comment = '%1: Status Text; %2: Field(Prod. Order No.); %3: Field(Routing No.); %4: Direction Text; %5: Field(Actual Sequence); %6: Field (Max. Sequences)';#pragma warning disable AA0074        Text001: Label 'Back';        Text002: Label 'back';#pragma warning disable AA0470        Text003: Label 'Actual number of termination processes in prod. order %1 route %2  is %3. They should be 1. Check %4.';        Text004: Label 'Actual Number of start processes in prod. order %1 route %2 is %3. They should be 1. Check %4.';        Text005: Label 'Not all routing lines are sequenced backwards on routing %1. Check %2.';

All 627 lines

Events 7 in 29

[IntegrationEvent] OnBeforeCalcPreviousOperations(ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeSetNextOperations(ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeUpdateComponentsBin(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var SkipUpdate: Boolean; var ErrorOccured: Boolean; var AutoUpdateCompBinCode: Boolean)17-29
[IntegrationEvent] OnCalculateOnAfterCalcScrapQtyAndFactor(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ScrapQty: Decimal; var ScrapFactor: Decimal)17-29
[IntegrationEvent] OnCalculateOnBeforeProdOrderRtngLineLoopIteration(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnNeedsCalculationOnBeforeFindProdOrderRtngLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")new in 23
[IntegrationEvent] OnBeforeCheckProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)new in 24

Public procedures 6 in 29

NeedsCalculation(ProductionOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; RoutingRefNo: Integer; RoutingNo: Code[20]): Boolean17-29
SetNextOperations(ProdOrderLine: Record "Prod. Order Line")17-29
CalcSequenceFromActual(ProdOrderRtngLine: Record "Prod. Order Routing Line"; Direction: Option Forward,Backward)17-29
Calculate(ProdOrderLine: Record "Prod. Order Line")17-29
Check(ProdOrderLine: Record "Prod. Order Line")17-29
UpdateComponentsBin(var FilteredProdOrderRtngLineSet: Record "Prod. Order Routing Line"; IgnoreErrors: Boolean): Boolean17-29

All 7 procedures in 17-29

Changes 1 in 24

List17181920212223242526272829
Procedures1
Events111
[IntegrationEvent] OnBeforeCheckProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)new in 24
added

All 4 changes in 17-29