Scenario: Get Quantity for Item(s)
- Used to identify configuration
- Required, used for linking items
- Note: Item can be passed multiple times.
Step 1: Process Inventory Control Settings
This method provides support for the following Commerce5 settings to keep inventory calculations consistent with those that are being synchronized through Commerce5.
A for Qty Available
H for Qty on Hand
S = Stocking Location
A = All Locations
G = Location Group
Location Group (only used if QTY_LOC_METH = G)
Stocking Location (Only used if QTY_LOC_METH = S)
The Commerce5 configured settings at the time of this writing are:
- ITEM_QTY_METH = A
- QTY_LOC_METH = S
- STK_LOC_ID = 01
Step 2: Calculate Inventory Quantity
Input Item(s) are linked to IM_INV.ITEM_NO and inventory is summarized based on the settings in Step 1.
Step 3: Return Quantities
Duplicate items will be removed.
"Error": "Error Message."