We have a below requirement:
We are raising an Invoice to ISU customer with below components :
Energy Charge : X rs - Refund to Customer Y Rs. = Net Amount Z Rs.
This Z Rs. is being posted to FPL9.
Now, when customer is paying at that time, he should be allowed 1% discount while taking payment from FP25. This 1% discount should be calculated on X Rs. and not on Z Rs.
So cash discount to be posted = 1% of X Rs.
Currently as per payment terms system is calculating discount on Z Rs. that is system is posting 1% of Z Rs as cash discount from FP25.