Hi,
One of our customers has a speeding problem when Posting Inventory Cost to G/L (report 1002). They are using version 3.70. I checked the ocde of this report and it seems to work fine regarding keys. However, what they do is adding an additional filterfield to the ValueEntry tab: 'Inventory Posting Group'. Might that slow down things?
Thanks,
Roelof.
0
Comments
Plus we do adjust costs about every 2 to 3 weeks. so there is a build up.
2)we never filter anything.
3) we have about 7000 items and 16 GIG DB.
Can you explain the speed problem. Is it way too slow for the database size?
PS) it's significatly faster when we run it from the server instead of a client.
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I mean the native is an ISAM database engine - I think it's a derivation of the popular RAIMA engine of the eighties. The point is with all ISAM databases that they maintain index tables for all keys and therefore filtering for a key is a fast binary search. Filtering for something not in the current key makes the engine read all records and decide whether it is included in the records set or not one by one.
SQL might cope better with it - OK it's also an ISAM somewhere deep below, but somewhat better suited for non-indexed queries.
I would suggest to create an appropriate key and customize the batch job to use that.
Do It Yourself is they key. Standard code might work - your code surely works.