merian
17th September 2008, 14:17
We print order acknowledgement (tdsls4401m000) every 2 hours in each of our 4 companies, this session is getting slower and slower since we have more and more sales orders, and we are experimenting bad performance because of that.
We only print the acknowledgement as a confirmation for new orders automatically as a task, so we put "excl. printed lines" in the field "order line types to print". I have seen in the program that the session "ignore" this field when executing the main query, it only exclude the records when printing. This makes the session to go along each and every sales order line positions (a huge lot).
Any sugestion?
sushil
17th September 2008, 15:09
Hello,
Try usingh Boosters tcmcs0197m000 & tcmcs0198m000 for the tables tdsls040,tdsls041,tdsls045 and for the session tdsls4401m000 .
Regards,
Sushil Kumar Mudaliar
merian
18th September 2008, 11:48
We have no experience with boosters. i can`t find clear documentation. Could tell me how implement this?
regards
zardoz
18th September 2008, 12:05
Table boosters in this case are useless...
You can use them when you have to read many times some master tables (warehouses, item groups, etc) but if you try to use in the transaction tables you can even have worst performances and a waste of memory to read all tables...
sushil
18th September 2008, 12:25
Hi Zardoz,
Logically , you are true - i had similar issues long back with "maintain transactions " (tfgld1101m000) getting worser and worser (only session open used to take 20-40 min).
I tried boosters for tfgld102 , tfacp200 .
It gradually increased the speed and performance.
Even though tfgld102 and tfacp200 are transaction tables not masters - no reason and idea how it boosted the performance and speed.
in case , if some other could throw some light on the same shall be appreciated.
Regards,
Sushil Kumar Mudaliar
zardoz
18th September 2008, 12:49
About boosters, there is an important remark...
If the session isn't written to make use of table boosters (I don't remember the name of the DLL, but refers to all functions calls like idb*), there is no difference at all... simply they arent used in the session.
Using table boosters in a session designed to use them can increase the performances slightly, because the table is loaded in memory (all at the start of session or incrementally when a new record is read).
For performance boosters (specially 'number of servers') the same applies... you can use it in some session, like MRP or PRP but again is useless if the session isn't designed to meke use of it. Again, the use of performance boosters in MRP by example can icrease performances.
Order Ack printing doesnt use tabel or performance boosters at all...
shah_bs
18th September 2008, 20:40
If I understand correctly, from what you say in the first post, you do NOT really need to run the Print Order Acknowledgment report - it is being done just because it is part of the order steps. [If my understanding is wrong, ignore this suggestion.]
SO, here is another possibiliy - but first (because this is not really a 'programming' issue but a 'process change' issue), you must consult with the functional persons responsible for Sales Orders to make sure they agree and then run a test run to make sure everything works correctly.
HERE is the suggestion: In standard BAAN Demo company, there is a Sales Order Type SN2 that does not have Print Order Acknowledment as an Order Step. SO, if it is possible to create the Sales Orders in future with SN2 (or create a new code according to how your company has standards for such things) as the Order Type, then you do not even have to run the Print Order Acknowledgment.
I am attaching the screen image of the Order Step for ready reference.
merian
19th September 2008, 10:00
That could be a solution, but we do send this confirmation to the customers automatically via a fax server (rightfax) so we should do many changes if we don't print the acknowledgement.
zardoz
19th September 2008, 11:57
Another solution for you is to customize sales order session to keep track if a new order or some line changes, and call the print order acknowledge from this session.
The print has a order number, so the select is done by index and it takes no so much time to print.