Functional Description
Purpose
This function deletes the lot master row from the Lot Master table (F4108).
Setup Notes and Prerequisites
None
Special Logic
Delete the row in the F4108 with the keys passed in.
Technical Specification
This function checks the quantities in the Item Location table (F41021) for the Item, Branch and
Location passed in. If any quantity is not equal to zero, an error is returned. If all quantities are
zero, the Lot Master record is deleted.
Processing
*Call CheckForZeroQuantity(...) with Index = 2 and Keys = 3 for all ITM, MCU, and
LOTN:
If ZeroQuantityFlag = '0'; set an error to "2309"
If ZeroQuantityFlag = '1';
Delete the F4108 record with the LOTN, ITM, MCU passed in
^
DX4108B - Delete Lot Master
Parameters:
Data Item Data Structure DescriptionI/ORequired
ITMItem NumberIY
MCUBranch/PlantIY
LOTNLot NumberIY
EV01Suppress Error MessageIN
DTAIError Message IDON
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
Parameters:
| ||||
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
| ||||
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. | ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
|
B4100110 Check For Zero Quantity | ||||
B9800100 Get Audit Information | ||||
X0005 Get User Defined Codes |
F4108 Lot Master |