Functional Description
Purpose
To accumulate the total quantity on hand based on the inventory cost level for an item. If the cost
level is '1', all locations/lots, for all branches are accumulated. If the cost level is '2', all
locations/lots are accumulated for a specific branch. If the cost level is '3', the location/lot is
accumulated.
Technical Specification
Edits:
Initialize OUTPUT parm.
IFCLEV = '1'
Fetch (F41021) by key ITM
While no more records
PQOH = PQOH + LIPQOH
END
END
IFCLEV = '2'
Fetch (F41021) by key ITM, MCU
While no more records
PQOH = PQOH + LIPQOH
END
END
IFCLEV = '3'
Fetch (F41021) by key ITM, MCU, LOCN, LOTN
While no more records
PQOH = PQOH + LIPQOH
END
END
D4000940 - CalcQtyOnHandForInvCostLevel
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cInventoryCostLevel | CLEV | char | NONE | NONE |
A code that indicates whether the system maintains one overall inventory cost for the item, a different cost for each branch/plant, or a
| ||||
mnItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szBranch | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szLot | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
mnPrimaryQuantityOnHand | PQOH | MATH_NUMERIC | NONE | NONE |
The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure. | ||||
mnMatchQuantity | QTY | MATH_NUMERIC | NONE | NONE |
The number of units associated with an asset. | ||||
cMatchQtyExceeded | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
F41021 Item Location File |