Source AL, 79 lines
src/Layers/W1/BaseApp/Inventory/Tracking/AllocateReservBasic.Codeunit.allines 7 to 22 of 79, Copyright (c) Microsoft Corporation. MIT
codeunit 301 "Allocate Reserv. Basic" implements "Allocate Reservation"{ var DescriptionTxt: Label 'Basic distribution. If the current stock is enough to satisfy all demands, the program will automatically do that. However, if the quantity falls short, the user is required to manually input the quantity to be allocated to each demand.'; procedure Allocate(var ReservationWkshLine: Record "Reservation Wksh. Line") var ReservWkshLine: Record "Reservation Wksh. Line"; IsHandled: Boolean; begin ReservWkshLine.Copy(ReservationWkshLine); ReservWkshLine.FilterGroup := 2; ReservWkshLine.SetFilter("Item No.", ReservationWkshLine.GetFilter("Item No.")); ReservWkshLine.SetFilter("Variant Code", ReservationWkshLine.GetFilter("Variant Code")); ReservWkshLine.SetFilter("Location Code", ReservationWkshLine.GetFilter("Location Code"));
All 79 lines
Events 1 in 29
Public procedures 4 in 29
Changes 1 in 26
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | | | | | | 1 | | | |
|---|
All 1 changes in 23-29