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
Public procedures 1 in 29