ok i have a published valve with different sizes, different materials, and each size has an open and closed configurations. Now in a bill of material we want a valve that is the same size and material but let’s say one is open and closed. Now we want that to show up as one item number. We tried putting the stock number exactly the same so it will be the same line in a bom and that worked, but its still assigning two different balloon numbers. I tried writing the code to say if the stock numbers are the same, but I don’t know how to say if they are the same in two different ipart configurations. I keep getting the error that "this expression is expected" which makes sense because of course the stock number value is going to be the same as its self within one configuration.
to sum it up I want the bom to clump all the same size and same material valves together regardless of the fact if they are open or closed. I’m new to ilogic, but its becoming necessary to make our published iparts work they way we need them to
thank you
You can get the parts list on the drawing to group your valves together.
RMB on the parts list and edit the parts list
click on the group settings icon
select STOCK NUMBER in the first drop down box
click on ok
This groups all components with the same stock number to one line in the parts list and updates the quantity.
However it does NOT use one unique item number for the grouped components, which seems crazy to me!
so the problem of having different balloons and item numbers remain