baanprog
21st March 2003, 16:12
Hi,

Iam trying to use this dll.It has got arrays declared.Please write how to use this dll to get an amount converted into Home currency in general and specifically what to pass and how to declare these arrays.

Very Urgent

Thanks

Paul P
25th March 2003, 03:45
Dear baanprog,

You can use the DLL function
tcemm.dll5010.calculate.amounts.in.home.currency.utc(
domain tcamnt i.transaction.amount,
domain tcccur i.transaction.currency,
domain tcncmp i.company,
domain tcdate i.utc.date,
domain tcrtyp i.exch.rate.type,
ref domain tcratc o.rate(),
ref domain tcratf o.ratf(),
ref domain tccrnd o.crnd(),
ref domain tcamnt o.amounts())
All arrays have 3 components as BaanERP supports 3 currencies per company

Rgds,
Paul