Hi
My client does not want tax to be added at Opportunity product line item level. I have hidden the field on opportunity product form.
Now, the revenue is selected as System Calculated. Everything went well but now he wants to Calculate tax as 10% of (Detail Amount+Freight Amount-Discount) and update that in Tax field on opportunity form and then used it in calculation of Extended Amount.
I tried javascript on form on change of Detail Amount, Freight Amount and Discount but tax fields is disabled and nothing happened.
Do I have to write a plugin on pre stage of Update on Opportunity to update Tax. Will that work?