Functional Description
Purpose
This function deletes all Item Location records (F41021) that are related to an Item Branch record
(F4102).
Setup Notes and Prerequisites
The Short Item Number (ITM) and Branch/Plant (MCU) fields are required parameters.
If the Save PBIN parameter = '1', the primary bin will not be deleted from the Item Location table.
If the Delete Zero Qty Location parameter = '1', only the locations with zero quantities will be
deleted.
Technical Specification
This function deletes all Item Location records for the Item Branch key passed in. The logic flows
as follows:
If Delete Zero Qty Location parameter not equal '1'
While record exists in F41021
end
end
D4100201 - Delete All Related Locations
Parameters:
Data Item Data Structure DescriptionI/ORequired
ITMShort Item NumberIY
MCUBranch/PlantIY
EV01Save PBININ
EV02Delete Zero Qty LocationIN
^
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
| ||||
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
| ||||
cSavePrimaryBin | EV01 | char | NONE | NONE |
'1' = Do not delete Primary Bin
| ||||
cDeleteZeroQtyLocationOnly | EV02 | char | NONE | NONE |
1' = Delete only the Location with Zero Qty
|
N7000950 B4100201 - Plug and Play - 41 |
F41021 Item Location File |