Cost Adjustement Batch , Performance in 4.1
ouredp
Member Posts: 56
Hello, this topic is just to share my experience. May be it can be helpfull for someone else. O:)
Navision Version 4.1
SQL Server 2000
We have experienced a great performance issue of our Cost Adjustement Routine (Report 795). Suddenly it move from 2 hours normal runtime to over 50 Hours during a week-end !
The reason was that for any productionorder value entry the routine goes thru the Item Journal Line table. This one was full of hundreds of Inventory transactions ready to be posted.
Our Solution Partner gave us the new code for the function "Checkwarehouse" in Codeunit 21 , Version 5.0. That didn´t only solve the actual problem but the cost adjustment is much faster now.
Navision Version 4.1
SQL Server 2000
We have experienced a great performance issue of our Cost Adjustement Routine (Report 795). Suddenly it move from 2 hours normal runtime to over 50 Hours during a week-end !
The reason was that for any productionorder value entry the routine goes thru the Item Journal Line table. This one was full of hundreds of Inventory transactions ready to be posted.
Our Solution Partner gave us the new code for the function "Checkwarehouse" in Codeunit 21 , Version 5.0. That didn´t only solve the actual problem but the cost adjustment is much faster now.
0
Comments
-
The cahnge of the speed is obvious. The function in NAV 5.0 begins with:
IF (ItemJnlLine.Quantity = 0) OR (ItemJnlLine."Item Charge No." <> '') OR (ItemJnlLine."Value Entry Type" IN [ItemJnlLine."Value Entry Type"::Revaluation,ItemJnlLine."Value Entry Type"::Rounding]) OR ItemJnlLine.Adjustment THEN EXIT;
It means that the rest of the function is skipped if called from Adjustment... :-)0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
