Can I access the BOM fields and perform conditional checks on them?
For example; above, I would like to stop a transition to released if these values haven't been filled out. I think you are going to tell me these checks should occur on a Revisioning Workspace Item? However, I want to see these values/checkboxes summarised in the BOM like this if possible. Otherwise the users will be jumping back and forth to find the information.
Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Design & Manufacturing Technical Services Manager at Cadpro New Zealand
Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project
Solved! Go to Solution.
Solved by jpiggee. Go to Solution.
Scott,
Your concern has been addressed and is in the works, We hope to see this released soon.
As always thank-you for your continual input on the PLM product functionality.
ok cool cheers
Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Design & Manufacturing Technical Services Manager at Cadpro New Zealand
Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project
Was really hoping for some scripting love here. Thought it would help my current puzzle.
Scott,
This is a bit late but I'm trying to close the loop on some of these scripting items.
Yes you can write a condition script for checking BOM items:
BOM features supported:
item.boms -- A list of boms
item.boms.addRelated({ RELATED: target, QUANTITY: decimal, CUSTOM_FIELDS: [key,value], ITEM_NUMBER: int, QUOTE: item}) – Adds item to bom list
item.boms.addRelated(target, quantity, fields[],lineNumber, quote) – Adds relationship to list
fields is optional
lineNumber is optional, if omitted then autonumbering should be used
quote is optional
item.boms[i] has the following properties:
item.boms[i].id – DMS ID of target item
item.boms[i].descriptor – Descriptor of target item
item.boms[i].item – Target item
item.boms[i].item.FIELD – Field on target item
item.boms[i].lineNumber – The bom items line number (may not be needed, maybe the same as the index)
item.boms[i].fields – access to bom custom fields
item.boms[i].fields.FIELD – Field in the custom bom fields
item.boms[i].qty – Quanity
item.boms[i].quote - access to the line items quote
item.boms[i].setQuote(quoteItem) – Sets the default quote
item.boms[i].remove() – Removes relationship i from the list