Forum Discussion
eli_donahue
9 years agoCommunity Manager
Hi Jasbir,
I would probably approach this problem with a server action or a report that uses a server method. The pseudocode for the method would be something like:
Eli Donahue Aras Labs Software Engineer
- Get all Parts where the modified_on property is within the last 6 months and the major_rev property is not "A" (redline mode only works when a previous version was released).
- For each selected Part (Part A):
- Get the child Parts of the selected Part (Part A children).
- Get the previous version of the selected Part (Part B).
- Get the child Parts from the previous version (Part B children).
- Compare the config_ids of the Part A children to the config_ids of the Part B children. If the Part A children contain one or more config_ids that are not in the Part B children, one or more child items were removed from Part A's BOM since the previous version.
Eli Donahue Aras Labs Software Engineer