Codeunit 99000868 Prod. Order Comp. Invt.Profile

Base Application, Microsoft.Manufacturing.Document

Source AL, 205 lines

src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderCompInvtProfile.Codeunit.allines 12 to 27 of 205, Copyright (c) Microsoft Corporation. MIT

codeunit 99000868 "Prod. Order Comp. Invt.Profile"{    // Inventory Profile    procedure TransferInventoryProfileFromProdOrderComponent(var InventoryProfile: Record "Inventory Profile"; var ProdOrderComponent: Record "Prod. Order Component"; var TrackingReservationEntry: Record "Reservation Entry")    var        ReservationEntry: Record "Reservation Entry";        AutoReservedQty: Decimal;    begin        InventoryProfile.SetSource(          Database::"Prod. Order Component", ProdOrderComponent.Status.AsInteger(), ProdOrderComponent."Prod. Order No.",          ProdOrderComponent."Line No.", '', ProdOrderComponent."Prod. Order Line No.");        InventoryProfile."Ref. Order Type" := InventoryProfile."Ref. Order Type"::"Prod. Order";        InventoryProfile."Ref. Order No." := ProdOrderComponent."Prod. Order No.";        InventoryProfile."Ref. Line No." := ProdOrderComponent."Prod. Order Line No.";        InventoryProfile."Item No." := ProdOrderComponent."Item No.";

All 205 lines

Events 4 in 29

[IntegrationEvent] OnAfterTransferInventoryProfileFromProdOrderComponent(var InventoryProfile: Record "Inventory Profile"; var ProdOrderComponent: Record "Prod. Order Component")new in 25
[IntegrationEvent] OnBeforeTransProdOrderCompToProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnTransProdOrderCompToProfileOnBeforeProcessLine(ProdOrderComp: Record "Prod. Order Component"; var ShouldProcess: Boolean)new in 25
[IntegrationEvent] OnTransProdOrderCompToProfileOnBeforeInvProfileInsert(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item; var LineNo: Integer)new in 25

Public procedures 1 in 29

TransferInventoryProfileFromProdOrderComponent(var InventoryProfile: Record "Inventory Profile"; var ProdOrderComponent: Record "Prod. Order Component"; var TrackingReservationEntry: Record "Reservation Entry")new in 25