Haggis
7th April 2003, 13:53
Hi
Had a consultant on site who wrote a session but the total amount appearing on the report is wrong so trying to figure out why. His calculation in the script is:
amth.l = tfgld106.amth(attr.rotate) * (tfgld106.dbcr = tfgld.dbcr.credit ? -1 : 1)
I realise it getting the home currency but what is the rest doing, the ? and the :1 etc? Any ideas?
Thanks
Haggis
Had a consultant on site who wrote a session but the total amount appearing on the report is wrong so trying to figure out why. His calculation in the script is:
amth.l = tfgld106.amth(attr.rotate) * (tfgld106.dbcr = tfgld.dbcr.credit ? -1 : 1)
I realise it getting the home currency but what is the rest doing, the ? and the :1 etc? Any ideas?
Thanks
Haggis