It is not common, but some Deduction rules need this use case:
First, Calculate Gross commission x some %. OR
First, Calculate Gross commission - 8% off the top THEN x some %
so far, this is a normal calculation.
But what if, after that calculation is complete, there's a rule that need to then subtract some previously calculated value (like contribution to Charity or contribution to an Advertising bank)
In that case, do this formula:
The first calculation is in () to identify that this multiplication should be done first:
=( [Gross Commission] * .92)
Then the next multiplication is times the % from the Agent profile
=( [Gross Commission] *0.92) * [Agent profile - Company $ (%)])
Finally, a value from the screen is subtracted. In formulas it is standard that multiplication happens before subtraction so in this case, the result of the part in () is multiplied time the Agent profile % - and then finally, the value from the screen [Ad bank list] is subtracted after all the multiplication is complete:
=( [Gross Commission] *0.92) * [Agent profile - Company $ (%)]) - [Charity]
To add this:
From the popup window
Step 1: choose deduction type is automatically filled
Step 2: choose name and sort order
Step 3: apply this rule for only one side OR select ALL if this rule applies when Agent is on either side
Step 4: only apply this rule to agents where the commission plans or subplans meet these criteria
Step 5: apply these additional filters that are based on Side and subplan on the Property screen
Step 6: apply this rule when the transaction type and accounting codes match these settings
Step 7: apply these rule criteria for the lead generation and the source of the lead
Step 8: apply this rule only to agents in these offices
Step 9: apply additional complex criteria for this rule
Step 10: formula type
Step 11: apply this formula for this rule
Step 11: apply this formula for this rule
Step 11: apply this formula for this rule
Step 12: CAP definition - if there is a CAP, which Total should be used to evaluate if Agent has reached CAP