neilkidds
15th August 2008, 05:13
I need to print out VAT added price.
So I modified the "Print Expression" of tdpur401.pric field as followed:
tdpur401.pric -> tdpur401.pric*tcmcs302.pvat
but it does not work. System print out price 0.

If I modified as tdpur401.pric->tdpur401.pric*1.17, it works.

I'd like to use the former one ,what should I write?

Hitesh Shah
15th August 2008, 08:13
In the report input field there should be a variable containg the vat rate . If u use the same in the expression , it will work.

Alternatively ad tdpur302.pvat to input field , recompile the report and check it may work .

Last if that too does not work , u may need to write a code in report script to get the code VAT rate and then use the same in print expression .

neilkidds
19th August 2008, 07:39
It works now.
Really thank you for help