BOM TABLE WITH FLEXIBLE QTY AND UOM II
- September 20, 2012
- 1 reply
- 5865 views
God Father - "Just when I think I am out, they pull me back in!"
For back ground purposes, you can find the original discussion here.
Here is the relation set up in the BOM TABLE:
IF EXISTS ("ASM_MBR_BOMQTY")
BOMQTY=asm_mbr_bomqty
ELSE
BOMQTY=rpt_qty
ENDIF
So, just when I think I was all done setting up the my new BOM TABLE so that I could use FLEXIBLE parts and use the LENGTH (or similar) as the qty for said component in the BOM REPEAT REGION...I run into an issue with the BOMQTY of the "FLEXIBLE" components not totaling 
Components/Models:
MET-EA-1 is a "RIGID" part, that has BOMUOM="EA" and does not contain the BOMQTY parameter
MET-1 is a FLEXIBLE solid model BOMUOM="MM" and BOMQTY=d0 (length) through a RELATION, currently d0=25.4 (mm)
ENG-1 is a FLEXIBLE solid model BOMUOM="IN" and BOMQTY=d0 (length) through RELATION, currently d0=1 (in)
BULK_PART is a bulk item model, BOMUOM="IN" and does notcontain the BOMQTY parameter. As all "BULK" items in Pro/E, it contains a parameter called BOM_REPORT_QUANTITY,which is set for USER INPUT
Assembly:
The assembly has the following components and quantities...
MET-EA-1: two models assembled, therefore Qty=2 EA
MET-1: one model assembled, the length of the model is 25.4 mm, therefore Qty=25.4 MM total.
ENG-1: two models assembled, the length of each model is 1 in, therefore the Qty=2 IN total (at least it should be!)
BULK_item: this bulk item was added to the assembly twice, with the user input for the BOM_REPORT_QTY set to 1 (IN) each time, therefore the Qty=2 IN total. I did this on purpose because I wanted multiple instances.
Notice below all of the quantities total up correctly except for the ENG-1 part. The BOMQTY is not totaling correctly. The Qty should be 2 IN since there are 2 instances, each at 1 IN length.
FIGURE 1

Below is what happens when I take one of the ENG-1 parts and make it flexible, and change the length to 1.5 IN.
The total qty for the ENG-1 part should be 1 IN + 1.5 IN = 2.5 IN. The items are not totaled. They are instead listed separately.
I do have No Duplicates/Level set for the REGION.
FIGURE 2

So it looks like "BULK ITEMS" and "RIGID" components total up just fine,even if you have assemble multiple times (instances).
However, for the "FLEXIBLE" components if the length is the same for multiple instances, then it treats the two instances as "the same" or "a duplicate" and lists one row, however the QTY is not "totaled".
If the instances are of different lengths then it treats them as "not the same" or "not a duplicate" and lists them separately, as above.
I am once again blind-sided by PTC. Yet another quirk...
Any ideas folks? All files are attached.
Mike
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.


