Source AL, 121 lines
src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningInvtProfile.Codeunit.allines 11 to 26 of 121, Copyright (c) Microsoft Corporation. MIT
codeunit 1035 "Job Planning Invt. Profile"{ // Inventory Profile procedure TransferInventoryProfileFromJobPlanningLine(var InventoryProfile: Record "Inventory Profile"; var JobPlanningLine: Record "Job Planning Line"; var TrackingReservationEntry: Record "Reservation Entry") var ReservationEntry: Record "Reservation Entry"; AutoReservedQty: Decimal; begin JobPlanningLine.TestField(Type, JobPlanningLine.Type::Item); InventoryProfile.SetSource( Database::"Job Planning Line", JobPlanningLine.Status.AsInteger(), JobPlanningLine."Job No.", JobPlanningLine."Job Contract Entry No.", '', 0); InventoryProfile."Item No." := JobPlanningLine."No."; InventoryProfile."Variant Code" := JobPlanningLine."Variant Code"; InventoryProfile."Location Code" := JobPlanningLine."Location Code";
All 121 lines
Events 2 in 29
Public procedures 1 in 29