Routine for conditions after tax
We created a routine such that after doing some calculation, the condition amount of the discount will be changed. it is working for discounts whose value (percentage) is based on the net value before tax. But the routine does not work for those discounts whose value (percentage) is calculated after tax (net value + tax).
is there any special routine requirement for this?