shah_bs
21st June 2007, 20:30
This session was running extremely slow, even for a small range of Item Codes.
After some experimentation, I found that the following change improves performance by orders of magnitude (in my test sample, runtime went down from about 525 seconds to about 10 seconds, for the same selection parameters on the form.)
[NOTE: In our environment, we do not use Containerized Items nor do we ever intend to, so I was able to take this approach - ... ]
Original code:
and tdinv700.cmba refers to tiitm001 path tiitm100.item
Modified code:
and tiitm001._index1 = {tdinv700.item}
I was wondering if there is another way of doing this, without giving up the functionality of Containerized Items [just to keep within the 'BAAN standard functionality'].
After some experimentation, I found that the following change improves performance by orders of magnitude (in my test sample, runtime went down from about 525 seconds to about 10 seconds, for the same selection parameters on the form.)
[NOTE: In our environment, we do not use Containerized Items nor do we ever intend to, so I was able to take this approach - ... ]
Original code:
and tdinv700.cmba refers to tiitm001 path tiitm100.item
Modified code:
and tiitm001._index1 = {tdinv700.item}
I was wondering if there is another way of doing this, without giving up the functionality of Containerized Items [just to keep within the 'BAAN standard functionality'].