As business grows, the data from the Item Master may grow. This document will provide guidance on how to maintain a compact item master file by purging it regularly.
R4101P is to be run after R4102P has run successfully; as R4102P has a routine to check whether there is any open transaction across EnterpriseOne. So R4102P validates a transactional file based on the master file, whereas R4101P validates against master files.
What tables will be validated before data from the Item Master (F4101) gets deleted?
Below are tables to be validated:
F4102 - Item Branch File
F41021 - Item Location File
F4105 - Item Cost File
F4108 - Lot Master
F3002 - Bill of Material Master File
F3003 - Routing Master File
F43090 - Supplier/Item Relationships
Note: Above information reflects validation sequence. So if F4102 contains item number to delete, it will exit from routine.
How does R4101P validate data from above tables?
It validates data through Business Functions to be listed below. This way we can minimize conflicts between F4101 and tables related.
B4100210 - CheckItemBranch (F4102 Get Item Branch Row)
XF41021 - VerifyAndGetItemLocation (F41021 Get Item Location Row)
B4100190 - VerifyItemInRoutingFile (F3003 Verify Existence of Item)
Note: If all the validation is successful (there is no data from tables listed above based on item number in F4101) data from F4101 gets deleted and not to have orphaned data from Item Units of Measure Conversion Factors (F41002).