Marioth
27th April 2007, 16:19
Hi all,
Does anyone know the syntax to use within the scripts to get the right prices and discounts from the price books within LN6.1?
I use the tables tdsls400 and tdsls401 in my script.
Thanks,
Mario
en@frrom
2nd May 2007, 13:58
I don't know about LN, but in Baan ERP (5.0) I didn't find a quick and easy way. I only managed programming this manually, following the pricebooks/pricematrics logic. If you have access to the source codes... I use the following standard Baan DLL's in my logic to fetch the price (in same order):
- tdpcgdll0010 (DLL for Pricing Initialization Methods)
- tcibddll0003 (Handle Conversion Factor)
- tccomdll0000 (General functions)
- tdpcgdll0001 (DLL for Price/Discount Methods)
- tccomdll0001 (Round values)
Hope this helps you..
Good luck,
Eli Nager
Marioth
2nd May 2007, 14:19
Hi Eli,
Thanks, I knew that already.
I don't have access to the sources how ever I can programm my own scripts etc. The only thing I wanted to know it the syntax to put that in the source, to get the right price and discount. For example tdpcg.dll0001.get.prices.and.discount(tdsls401.orno etc.)
Thanks,
Mario
en@frrom
2nd May 2007, 14:28
You can get the dll-usage input and output variables etc. by using bic.infox.x (x.x is your version). For instance bic.info6.2 otdpcgdll0010 -u gives you the usage.. For more detaled info on that search the Wiki pages or the board...
Regards,
Eli Nager