Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify BOM QTY for Multiple Model / Rep

  • Thread starter Thread starter NASAg03
  • Start date Start date
N

NASAg03

Guest
WF4.0 user here.



I have a drawing with multiple dash numbers, and I have created a repeat
region with quantity columns for each of the dash numbers. Everything
shows up great, the quantities are correct, my other relations for
sorting and showing material information all works amazingly.



However, some of the items in my assembly are bulk type, or are used as required, and I'd like the BOM QTY to report "AR".



For a repeat region involving only one assembly, I report
&rpt.rel.qty in the quantity column and add the following code to my
table relations:



if ASM_MBR_TYPE=="BULK ITEM" | ASM_MBR_QTY_UNIT=="AR"

qty="AR"

else

qty=rpt_pty

endif





Now I'm trying to do the same thing with multiple dash numbers (assemblies), and I can't figure it out.



For the two dash numbers, ProE changes the table quantity columns from
&rpt.qty to &qty.m1r0 and &qty.m5r0. The hard part is
integrating those values into my relations.



Here is what I tried. I reported &rpt.rel.qty301 and
&rpt.rel.qty302 in my two quantity columns, and added the following
code to my relations:



if ASM_MBR_TYPE=="BULK ITEM" | ASM_MBR_QTY_UNIT=="AR"


qty301="AR"

qty302="AR"


else


qty301=qty_m1r0


qty302=qty_m5r0
endif



When I update my table, some quantity values get blanked and my other relations no longer work. Suggestions???
 
Can you share the table setup you used to report qty for
different dash number?

Thanks
 
Any answer to original question? I am trying to do the exact same thing with the same result. Any help would be appreciated.
 

Part and Inventory Search

Sponsor

Back
Top