Codeunit 928 Assembly Line Invt. Profile

Base Application, Microsoft.Assembly.Document

Source AL, 223 lines

src/Layers/W1/BaseApp/Assembly/Document/AssemblyLineInvtProfile.Codeunit.allines 13 to 28 of 223, Copyright (c) Microsoft Corporation. MIT

codeunit 928 "Assembly Line Invt. Profile"{    // Inventory Profile    procedure TransferInventoryProfileFromAsmLine(var InventoryProfile: Record "Inventory Profile"; var AssemblyLine: Record "Assembly Line"; var TrackingReservationEntry: Record "Reservation Entry")    var        ReservationEntry: Record "Reservation Entry";        AutoReservedQty: Decimal;    begin        AssemblyLine.TestField(Type, AssemblyLine.Type::Item);        InventoryProfile.SetSource(            Database::"Assembly Line", AssemblyLine."Document Type".AsInteger(), AssemblyLine."Document No.", AssemblyLine."Line No.", '', 0);        InventoryProfile."Ref. Order Type" := InventoryProfile."Ref. Order Type"::Assembly;        InventoryProfile."Ref. Order No." := AssemblyLine."Document No.";        InventoryProfile."Ref. Line No." := AssemblyLine."Line No.";        InventoryProfile."Item No." := AssemblyLine."No.";

All 223 lines

Events 1 in 29

[IntegrationEvent] OnAfterTransferInventoryProrileFromAssemblyLine(var InventoryProfile: Record "Inventory Profile"; var AssemblyLine: Record "Assembly Line")new in 25

Public procedures 1 in 29

TransferInventoryProfileFromAsmLine(var InventoryProfile: Record "Inventory Profile"; var AssemblyLine: Record "Assembly Line"; var TrackingReservationEntry: Record "Reservation Entry")new in 25