This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Change Part BoM Sort Order Numbering

jsnosal - Thursday, July 11, 2013 1:30 PM:

Is there a way to change the way the sort order for the part BoM sort order? I would like it to sequence step by 10 instead of 1. So if I enter a part today the sort order is 1, 2, 3, 4. What I would like it look like is 10, 20, 30, 40. Is this possible? Thank you



zahar - Thursday, July 11, 2013 1:57 PM:

Check "Increment Sequence Number" method:

line 17: 

thisRel.setProperty("sort_order",Number(maxVal)+1);

replace +1 with +10



jsnosal - Thursday, July 11, 2013 2:07 PM:

Thank you. That is exactly what I was looking for.