Codeunit 99000818 Mfg. Carry Out Action

Base Application, Microsoft.Inventory.Requisition

Source AL, 1,032 lines

src/Layers/W1/BaseApp/Manufacturing/Inventory/Requisition/MfgCarryOutAction.Codeunit.allines 18 to 33 of 1,032, Copyright (c) Microsoft Corporation. MIT

codeunit 99000818 "Mfg. Carry Out Action"{    Permissions = TableData "Prod. Order Capacity Need" = rid;    var#if not CLEAN27        CarryOutAction: Codeunit "Carry Out Action";#endif        CalculateProdOrder: Codeunit "Calculate Prod. Order";        PlngComponentReserve: Codeunit "Plng. Component-Reserve";        ProdOrderLineReserve: Codeunit "Prod. Order Line-Reserve";        ReservationManagement: Codeunit "Reservation Management";        ReqLineReserve: Codeunit "Req. Line-Reserve";        PrintOrder: Boolean;        CouldNotChangeSupplyTxt: Label 'The supply type could not be changed in order %1, order line %2.', Comment = '%1 - Production Order No. or Assembly Header No. or Purchase Header No., %2 - Production Order Line or Assembly Line No. or Purchase Line No.';        ProdBomErr: Label 'The maximum number of BOM levels %1, was exceeded. The process stopped at %2 %3.', Comment = '%1 = max number of levels; %2 = BOM Type; %3 = BOM No.';

All 1,032 lines

Events 36 in 29

[IntegrationEvent] OnBeforeSetProdOrderLineBinCodeFromPlanningRtngLines(ProdOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; ReqLine: Record "Requisition Line"; Item: Record Item; var IsHandled: Boolean)new in 27
[IntegrationEvent] OnBeforeUpdateProdOrderLineQuantity(var ProdOrderLine: Record "Prod. Order Line"; ReqLine: Record "Requisition Line"; Item: Record Item; var IsHandled: Boolean)new in 27
[IntegrationEvent] OnCollectProdOrderForPrinting(var ProductionOrder: Record "Production Order")new in 27
[IntegrationEvent] OnInsertProdOrderOnBeforeProdOrderInit(var ReqLine: Record "Requisition Line")new in 27
[IntegrationEvent] OnProdOrderChgAndResheduleOnBeforeProdOrderModify(var ProductionOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; RequisitionLine: Record "Requisition Line")new in 27
[IntegrationEvent] OnCarryOutActionsFromProdOrderOnAfterCalcPrintOrder(var PrintOrder: Boolean; ProdOrderChoice: Option)new in 27
[IntegrationEvent] OnProdOrderChgAndResheduleOnAfterValidateQuantity(var ProdOrderLine: Record "Prod. Order Line"; var RequisitionLine: Record "Requisition Line")new in 27

All 37 events in 27-29

Public procedures 9 in 29

CarryOutActionsFromProdOrder(RequisitionLine: Record "Requisition Line"; ProdOrderChoice: Enum "Planning Create Prod. Order"; ProdWkshTempl: Code[10]; ProdWkshName: Code[10]; var TempDocumentEntry: Record "Document Entry" temporary; var sender: Codeunit "Carry Out Action"): Booleannew in 27
ProdOrderChgAndReshedule(RequisitionLine: Record "Requisition Line"): Booleannew in 27
InsertProductionOrder(RequisitionLine: Record "Requisition Line"; ProdOrderChoice: Enum "Planning Create Prod. Order"; var TempDocumentEntry: Record "Document Entry" temporary)new in 27
InsertProdOrderLine(RequisitionLine: Record "Requisition Line"; ProductionOrder: Record "Production Order"; Item: Record Item)new in 27
ReserveBindingOrderToProd(var ProdOrderLine: Record "Prod. Order Line"; var RequisitionLine: Record "Requisition Line")new in 27
TransferRouting(RequisitionLine: Record "Requisition Line"; ProductionOrder: Record "Production Order"; RoutingNo: Code[20]; RoutingRefNo: Integer): Booleannew in 27

All 9 procedures

Changes 4 in 29

List17181920212223242526272829
Events14
[IntegrationEvent] OnInsertProductionOrderOnProdOrderChoiceCaseElse(ProdOrderChoice: Enum "Planning Create Prod. Order")27 to 28
gone
[IntegrationEvent] OnInsertProdOrderOnProdOrderChoiceNotFirmPlannedPrint(var ProdOrder: Record "Production Order"; ProdOrderChoice: Enum "Planning Create Prod. Order"; var IsHandled: Boolean)new in 27
marked Pending, tag 29.0: Condition for calling this event has been changed. Use event OnBeforeSetProdOrderStatus instead.
[IntegrationEvent] OnInsertProductionOrderOnProdOrderChoiceCaseElse(ProdOrderChoice: Enum "Planning Create Prod. Order"; ManufacturingSetup: Record "Manufacturing Setup")new in 29
added
[IntegrationEvent] OnBeforeSetProdOrderStatus(var ProductionOrder: Record "Production Order"; ProdOrderChoice: Enum "Planning Create Prod. Order"; var IsHandled: Boolean)new in 29
added

All 5 changes in 27-29