Source AL, 140 lines
src/Layers/W1/BaseApp/Purchases/Document/PurchaseLineInvtProfile.Codeunit.allines 10 to 25 of 140, Copyright (c) Microsoft Corporation. MIT
codeunit 99000864 "Purchase Line Invt. Profile"{ // Inventory Profile procedure TransferInventoryProfileFromPurchaseLine(var InventoryProfile: Record "Inventory Profile"; var PurchaseLine: Record "Purchase Line"; var TrackingReservationEntry: Record "Reservation Entry") var ReservationEntry: Record "Reservation Entry"; AutoReservedQty: Decimal; begin PurchaseLine.TestField(Type, PurchaseLine.Type::Item); InventoryProfile.SetSource( Database::"Purchase Line", PurchaseLine."Document Type".AsInteger(), PurchaseLine."Document No.", PurchaseLine."Line No.", '', 0); InventoryProfile."Item No." := PurchaseLine."No."; InventoryProfile."Variant Code" := PurchaseLine."Variant Code"; InventoryProfile."Location Code" := PurchaseLine."Location Code"; InventoryProfile."Bin Code" := PurchaseLine."Bin Code";
All 140 lines
Events 3 in 29
Public procedures 1 in 29