Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello (sorry for my english)
I want to know the total price of my assembly
For that i have introduce a parameter in each part call "prix"with a value
I put the colum in the bom table in the drw
I put a line a the end of the table to display the result of the total price
I do a summation in repeat region on the parameter "prix" , ask to put the result in a cell call "total"
YOUPI!!! it works well.......not exactly
I have the summ of all parameter call "price" but if i have qty more than "1" it's wrong.
I don't know how to do to have for each part the relation price= price* qty.
Somebody can help me ????????????????
Thanks for your help
Roger
Solved! Go to Solution.
Glad to help! I hear there is a thing you should do at this point, which is marking the answer as correct. I understand this will help future people with the same question easily find the right technique.
In Repeat Region > Relations, open the 'local parameters' section at the bottom, add a variable 'total'. In the relations section, enter 'total = asm_mbr_prix' (presuming you are using asm.mbr.prix to get at the price). In the table, use rpt.rel.(User Defined) total to call out this calculated value, and sum that column.
Thanks for your answer
I have apply that you say and it's ok for me
Your help was great
Thanks again
Roger
Glad to help! I hear there is a thing you should do at this point, which is marking the answer as correct. I understand this will help future people with the same question easily find the right technique.