Slow processing after creating a new button

johnson_alonso
Member Posts: 690
Dear All,
It has taken 21.0 seconds to run a report form that I've created in Navision from a button. What I write in the button C/AL code is:
xxx:= Rec;
xxx.SETRECFILTER;
REPORT.RUNMODAL(REPORT::"aaaa",TRUE,FALSE,xxx);
Meanwhile in the report itself contains 2 dataitems:
1. xxxx
The xxx is a record from table xxxx
2. yyyy
The yyyy is a record of table yyyyy
The report will be processed by system then the result is a form like warehouse shipment or create pick. Actually I want the button to create it automatically the header and the line of the new form (similar with warehouse shipment creating from sales order) based on what I set in the option tab of the report I've created.
Last night was very fast but today it isn't fast anymore. I have expanded the database until 200000 KB but still not work good. How to solve this problem ? Any answers are welcome and tks in advance.
Rgds,
Johnson
It has taken 21.0 seconds to run a report form that I've created in Navision from a button. What I write in the button C/AL code is:
xxx:= Rec;
xxx.SETRECFILTER;
REPORT.RUNMODAL(REPORT::"aaaa",TRUE,FALSE,xxx);
Meanwhile in the report itself contains 2 dataitems:
1. xxxx
The xxx is a record from table xxxx
2. yyyy
The yyyy is a record of table yyyyy
The report will be processed by system then the result is a form like warehouse shipment or create pick. Actually I want the button to create it automatically the header and the line of the new form (similar with warehouse shipment creating from sales order) based on what I set in the option tab of the report I've created.
Last night was very fast but today it isn't fast anymore. I have expanded the database until 200000 KB but still not work good. How to solve this problem ? Any answers are welcome and tks in advance.
Rgds,
Johnson
subscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com
0
Comments
-
Dear All,
I will admit and explain what I've done, because I've got headache why it's gonna be take 21 seconds since last 12 hours ago (from 00.00 am to 12.53 pm today) to run it. Actually, I've created a button in the sales order to create a transfer order automatically contains item in the sales line. I put 2 location codes in the sales line i.e. location from code and location to code but the second location is from customer card. So the sales order officer only fill location from code. Transfer ship date and receipt date are also automatically created. It took 2 days ((spent 3 hours a day) for me to design itI am not a skilled developer, still learning autodidactic (using manual), (I never ask our developer here and will never ever). But today, the navision system run slower rather than last night (after finished create the button) when I use it. Pls let me know your answer to my problems asap. tks in advance
Rgds,
Johnsonsubscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com0 -
1) You need to check CPU, Memory, HDD performance, the source of performance problems can be many things.
2) Check running processes, which one is utilizing the CPU etc..0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions