Source AL, 108 lines
src/Layers/W1/BaseApp/Service/Document/ServiceLineInvtProfile.Codeunit.allines 10 to 25 of 108, Copyright (c) Microsoft Corporation. MIT
codeunit 99000863 "Service Line Invt. Profile"{ // Inventory Profile procedure TransferInventoryProfileFromServLine(var InventoryProfile: Record "Inventory Profile"; var ServiceLine: Record "Service Line"; var TrackingReservationEntry: Record "Reservation Entry") var ReservationEntry: Record "Reservation Entry"; AutoReservedQty: Decimal; begin ServiceLine.TestField(Type, ServiceLine.Type::Item); InventoryProfile.SetSource(Database::"Service Line", ServiceLine."Document Type".AsInteger(), ServiceLine."Document No.", ServiceLine."Line No.", '', 0); InventoryProfile."Item No." := ServiceLine."No."; InventoryProfile."Variant Code" := ServiceLine."Variant Code"; InventoryProfile."Location Code" := ServiceLine."Location Code"; ServiceLine.CalcFields("Reserved Qty. (Base)"); ServiceLine.SetReservationFilters(ReservationEntry);
All 108 lines
Events 2 in 29
Public procedures 1 in 29
| TransferInventoryProfileFromServLine(var InventoryProfile: Record "Inventory Profile"; var ServiceLine: Record "Service Line"; var TrackingReservationEntry: Record "Reservation Entry") | new in 25 |