1.Functional Description
1.1Purpose
This business function will adjust the quantity on Work Order in the Primary location of the Item
Location table (F41021). Please note that the Quantity to be adjusted can be Positve or Negative.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
1. Using the business function (B4000520) convert the quantity to be adjusted into Wk Quantity into
primary unit of measure.
2. Read the Item Location Master table (F41021) using Short Item Number (ITM), Branch (MCU) and
Primary Bin (PBIN) as the key fields. Add the Wk Quantity to the Quantity on Work Order Receipt (QWBO).
The User Id (USER), Program Id (PID), Job Number (JOBN), Date Last Changed (UPMJ) and Time of Day
(TDAY) must be updated to the current value. Then update the row in the Item Location table.
The function will return '0' in the Error Code field if successful and '1' in case of failure.
^
D3100160 - Adjust Quantity Work Order
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | 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
| ||||
szCostCenter | 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
| ||||
mnQuantityOnWOReceipt | QWBO | MATH_NUMERIC | NONE | NONE |
The number of units on work orders in primary units of measure. | ||||
cErrorCode | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szUnitOfMeasure | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). |
B4000460 Free Ptr To Data Structure | ||||
B4000520 Get Item UoM Conversion Factor | ||||
B9800100 Get Audit Information | ||||
X4101 Validate and Retrieve Item Master |
F4101 Item Master | ||||
F41021 Item Location File |