- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to generate a script that sorts and renumbers an assembly BOM, based on the iProperty for part number with each row.
The part numbers for "Make" items are structured differently than those for "Buy" items. "Make Items" part numbers start with 3 numbers, then have "-D-M" and then three or sometimes four numbers after that. All other part numbers are "buy" items.
I'd like to run the script and have both "Make" and "Buy" items sorted by part number within their groups, but then re-numbered so the "Make" items are 1-99 and the "Buy" items are 100-[end]. There will never be 99 "make" items in an assembly, so I think 100 is enough.
Then I think I'm supposed to save the changed Structured BOM item numbers back to the BOM, but I'm not sure.
The goal is to have a numerical separation in the parts list numbers, so you see a balloon value less than 100, you know it's a "make" item, without having to ask anyone to manually take care of numbering.
Is this a challenging script to write?
Solved! Go to Solution.