Dear Gurus
I have come across another issue to which I can't find an answer. According to HELP, Line Discount Amount Field in The Sales Line Table is
This field contains the amount of the discount that will be given on the invoice line. The program uses the Line Discount %, Quantity and Unit Price tables to calculate the amount.
Attention
If you change the line discount amount, the program will update the contents of the Line Discount % and Line Amount fields. The contents of the Inv. Discount Amount field will be deleted if the line discount amount is changed. This means that the invoice discount amount will have to be recalculated.
If we give any discount less than 100%, this field contains a correct value and posted as it is. But, in case of a 100% discount which our company sometime gives as free issues, then the value in this field becomes 0 which we feel wrong.
Is there any reason behind making Line Discount Amount Field in The Sales Invoice Line Table to 0, when the Line Discount % is 100. ?
UPDATE
My original question is confusing and not correct. The problem is actually, when we have "Line Discount %" as 100, after posting, in the Sales Invoice Line table, the "Line Discount Amount" becomes 0.
Comments
I just tried this in a 2009 R2 DE and the field Line Discount Amount is correct even if Line Disc. % is 100.
FD Consulting
hope this helps
http://www.BiloBeauty.com
http://www.autismspeaks.org
No. Its not the case. I was asking about "Line Discount Amount" field in Sales Invoice Line table. Not "Line Discount %" field.
When we enter, the discount % as 100, I expected the "Line Discount Amount" in Sales Invoice Line table to contain full value (Unit Price * Quantity).
But, in my case, if I enter a Discount % less than 100, the "Line Discount Amount" filled with correct amount. If we enter 100 and post, then "Line Discount Amount" is 0.
I found this code in CU 80.
DivideAmount(QtyType : 'General,Invoicing,Shipping';SalesLineQty : Decimal) I found the following piece of code. Does it related to this? because, in "Sales Invoice Line" table, the "Line Discount Amount" becomes 0.
Is there any reason to make "Line Discount Amount" in Sales Invoice Line table to zero in this case?
Thank you again.