Hi expert, I have lines of code for the sales invoice printing form. In the printout, I want to show the items which are charged for TAX as YES, but even though there are taxes charged, it still shows as NO. Below is the code. Thank you!
If ("Sales Invoice Line"."Amount Including VAT" - "Sales Invoice Line".Amount) <> 0 THEN
Tax := 'Y'
ELSE
Tax := 'N';
0
Comments
What trigger is your code & your sourceexp of a textbox is tax correct?
did you check if every line that has tax also has a tax% value?
then you could use that... if Tax% <> 0 the tax := 'y' else tax := 'n';
http://www.BiloBeauty.com
http://www.autismspeaks.org
Do you want to skip the the untaxed lines in your report?
then use CURRREPORT.SKIP;
http://msdn.microsoft.com/en-us/library/dd339042.aspx
http://www.BiloBeauty.com
http://www.autismspeaks.org