You can use "Invoice Disc. Code" on a Sales Header.
You can setup Discount % on table Cust. Invoice Disc.
It will fill the total discount on a sales header.
but the invoice discount amount is editable on the statistics window... So you can change the discount amount. Doing this via a percent field will need some code, yes. I'm not sure if I would want such a change, but it's doable.
No code needed if you the table Cust. Inv. Discount the right way.
Create code 1 and use percentage 1. Code 2 for percentage 2. Etc.
When you fill in this code on sales header and calculatie invoice discount, it will calculate the discount.
Comments
You can setup Discount % on table Cust. Invoice Disc.
It will fill the total discount on a sales header.
Check out the help (F1) on these fields/tables.
So no code needed.
Tino Ruijs
Microsoft Dynamics NAV specialist
this will not allow me to decide on the discount Percentage on the Sales header.
Best
HAYAN
but the invoice discount amount is editable on the statistics window... So you can change the discount amount. Doing this via a percent field will need some code, yes. I'm not sure if I would want such a change, but it's doable.
with best regards
Jens
Create code 1 and use percentage 1. Code 2 for percentage 2. Etc.
When you fill in this code on sales header and calculatie invoice discount, it will calculate the discount.
Tino Ruijs
Microsoft Dynamics NAV specialist