Source AL, 121 lines
src/Layers/W1/BaseApp/Inventory/Tracking/AllocateReservEqually.Codeunit.allines 7 to 22 of 121, Copyright (c) Microsoft Corporation. MIT
codeunit 302 "Allocate Reserv. Equally" implements "Allocate Reservation"{ var DescriptionTxt: Label 'Even distribution. If the quantity on hand is ample enough to fulfill all demands, the program will do so. In case of insufficiency, it will equitably distribute the remaining quantity among the demands.'; procedure Allocate(var ReservationWkshLine: Record "Reservation Wksh. Line") var ReservWkshLine: Record "Reservation Wksh. Line"; AverageQty: Decimal; QtyToReserveBase: Decimal; LeftToAllocateEntries: Integer; IsHandled: Boolean; begin ReservWkshLine.Copy(ReservationWkshLine); ReservWkshLine.FilterGroup := 2;
All 121 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