Codeunit 5510 Production Journal Mgt

Base Application, Microsoft.Manufacturing.Journal

Source AL, 825 lines

src/Layers/W1/BaseApp/Manufacturing/Journal/ProductionJournalMgt.Codeunit.allines 18 to 33 of 825, Copyright (c) Microsoft Corporation. MIT

codeunit 5510 "Production Journal Mgt"{    trigger OnRun()    begin    end;    var        MfgSetup: Record "Manufacturing Setup";        ItemJnlLine: Record "Item Journal Line";        ItemJnlTemplate: Record "Item Journal Template";        ItemJnlBatch: Record "Item Journal Batch";        UOMMgt: Codeunit "Unit of Measure Management";        PostingDate: Date;        CalcBasedOn: Option "Actual Output","Expected Output";        PresetOutputQuantity: Option "Expected Quantity","Zero on All Operations","Zero on Last Operation";

All 825 lines

Events 35 in 29

[IntegrationEvent] OnAfterDataHasChanged(var ItemJournalLine: Record "Item Journal Line"; ProdOrderLineNo: Integer; var HasChanged: Boolean)17-29
[IntegrationEvent] OnAfterInitSetupValues(var PostingDate: Date; var CalcBasedOn: Option "Actual Output","Expected Output")17-29
[IntegrationEvent] OnAfterInsertConsumptionJnlLine(var ItemJournalLine: Record "Item Journal Line")17-29
[IntegrationEvent] OnAfterInsertOutputJnlLine(var ItemJournalLine: Record "Item Journal Line")17-29
[IntegrationEvent] OnAfterIsLastOperation(ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsLastOperation: Boolean)17-29
[IntegrationEvent] OnAfterSetTemplateAndBatchName(var ItemJournalTemplate: Record "Item Journal Template"; var User: Text)17-29
[IntegrationEvent] OnBeforeInsertConsumptionJnlLine(var ItemJournalLine: Record "Item Journal Line"; ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; Level: Integer)17-29

All 41 events in 17-29

Public procedures 13 in 29

Handling(ProdOrder: Record "Production Order"; ActualLineNo: Integer)17-29
CreateJnlLines(ProdOrder: Record "Production Order"; ProdOrderLineNo: Integer)17-29
InsertComponents(ProdOrderLine: Record "Prod. Order Line"; CheckRoutingLink: Boolean; Level: Integer)17-29
RoutingLinkValid(ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"): Boolean17-29
InsertConsumptionItemJnlLine(ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; Level: Integer)17-29
InsertOutputItemJnlLine(ProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line")17-29

All 13 procedures

Changes 2 in 25

List17181920212223242526272829
Procedures11
Events9411462
[IntegrationEvent] OnBeforeRunProductionJnl(ToTemplateName: Code[10]; ToBatchName: Code[10]; ProdOrder: Record "Production Order"; ActualLineNo: Integer; PostingDate: Date; var IsHandled: Boolean)gone after 24
gone
[IntegrationEvent] OnBeforeRunProductionJnl(ToTemplateName: Code[10]; ToBatchName: Code[10]; ProdOrder: Record "Production Order"; ActualLineNo: Integer; var PostingDate: Date; var IsHandled: Boolean)new in 25
added

All 29 changes in 17-29