Fixed
Details
Assignee
Heng Sin LowHeng Sin LowReporter
Heng Sin LowHeng Sin LowComponents
Fix versions
Priority
Minor
Details
Details
Assignee
Heng Sin Low
Heng Sin LowReporter
Heng Sin Low
Heng Sin LowComponents
Fix versions
Priority
Created December 22, 2021 at 8:40 AM
Updated February 1, 2022 at 12:53 PM
Resolved December 23, 2021 at 9:14 AM
Add "public static boolean add (Properties ctx, int M_Locator_ID, int M_Product_ID, int M_AttributeSetInstance_ID, BigDecimal diffQtyOnHand,Timestamp dateMPolicy, String trxName)" and deprecate "public static boolean add (Properties ctx, int M_Warehouse_ID, int M_Locator_ID, int M_Product_ID, int M_AttributeSetInstance_ID, BigDecimal diffQtyOnHand,Timestamp dateMPolicy, String trxName)". The new method drop the M_Warehouse_ID parameter which is not use.
Add "public static MStorageOnHand[] getAll (Properties ctx, int M_Product_ID, int M_Locator_ID, boolean locatorPriority, boolean fifo, String trxName, boolean forUpdate, int timeout) method. The new method added option to sort by M_Locator.PriorityNo (locatorPriority=true), use LIFO instead of FIFO (fifo=false) and get storage records from all locator (M_Locator_ID=0).
Support the use of -1 for M_AttributeSetInstance_ID parameter for the "public static int getM_Locator_ID (int M_Warehouse_ID, int M_Product_ID, int M_AttributeSetInstance_ID, BigDecimal Qty, String trxName)" method to check all storage records regardless of a storage record's M_AttributesetInstance_ID value.