Hello!
I am trying to take a calculated field value (with many variables) within Order Products and copy the value into another simple field within the same Order Product, that can be used in a roll-up for the Order entity.
What I am trying to do is calculate a commission value for each product, based on a custom salesperson field (user lookup) where users are assigned a custom field of commission level, then roll that value up to the order as a total commission amount for the order. A calculated field cannot be rolled-up, so my solution was to copy the calculated value into a simple text field, then sum them in the order, but I can't figure out a way to copy the value.
I am willing to try JavaScript but am not experienced in this and would need step by step, detailed instructions.
Any suggestions would be helpful.
Thanks!
*This post is locked for comments
I have the same question (0)