Hi all,
In po if we define discount at line level then net amount is on purchase order report ( ap>all po > Purchase tab >journals> puchase order confirmations > select any version > preview/ print
In this report following are the observations..
> Price = (unit price * qty) - discount amount
It will calculate gst for each line and that will be applicable to above Price. So sum of gst for all po lines posted will be less than gst amount which is calculated without any discount. So there is mismatch in invoices reports one report is showing the po amount where they are calculating gst on price which excludes the discount and it shows this discount as rebate.
Now my question is
1. Is there any way by which gst will get calculated on price ( unit price * qty) and discount will get posted to discount ledger by doing some configuration?
2. Using x++ how we can post any custom amount to discount or any particular journal?
Any sample code or any pointers pls.