Functional Description
Purpose
This function updates all of the Item Location records (F41021) with the lot status passed in.
Setup Notes and Prerequisites
The Short Item Number (ITM), Lot Number (LOTN), Branch/Plant (MCU) and Lot Status (LOTS) are required
parameters.
Special Logic
Technical Specification
This function fetches all Item Location records (F41021) for the Short Item Number, Branch/Plant and
Lot Number passed in and loads the lot status passed in into the lot status field in the Item Location
record and updates the Item Location record.
Edits:
1.) Call GetAuditInfo and store the information retruned
2.) Fetch the Item Location(F41021) records by 3 keys (ITM,MCU,LOTN)
(only retrieve a partial table containing the parameters listed above)
Need to read every record in the file equal to the key.
For every record found do the following:
Load the GetAuditInfo fields into the corrisponding Item Location
fields
Load the Lot Status passed in into the Item Location lot status field
Update the record.
^
D4100100 - Location Status Update
Parameters:
Data Item Data Structure DescriptionI/ORequired
ITMmnShortItemNumberI
LOTNszLotNumberI
MCUszBranchPlantI
LOTScLotStatusI
^
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
| ||||
szLotNumber | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
szBranchPlant | 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
| ||||
cLotStatus | LOTS | char | NONE | NONE |
A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes
|
B9800100 Get Audit Information |
F41021 Item Location File |