Compiling Objects.

Seemab07
Member Posts: 32
How can i compile objects through code in navision 2013r2.
0
Answers
-
You cannot I'm afraid. Not directly.
But there is a command line option available in finsql.exe. You can leverage it, by building in NAV a command firing prepared finsql.exe with command line parameters forcing compilation iof all (or selected) objects
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Actually i want on action button from RTC as i click on button the table should be compiled.0
-
May be this can be helpful
https://blogs.msdn.microsoft.com/nav/2014/11/27/how-to-compile-a-database-twice-as-fast-or-faster/Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Compile-NAVApplicationObject was added in NAV2015Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Actually i want on action button from RTC as i click on button the table should be compiled.
It is a very strange request in my opinion. What sort of problems are you trying to solve? What is the root cause for the request to letting someone to compile a table from the client UI? Bear in mind that a table compilation may have quite dramatic effect on other users, thet may be forced to restart their sessions.Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
I am facing the same problem as earlier, My navision get closed when i select the variant code in production order line0
-
I am facing the same problem as earlier, My navision get closed when i select the variant code in production order line
and certain table compilation helps? For how long then?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
YES...! For 1-2 days0
-
What is changing in the database, object-wise, within the 1-2 day time?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
No when i compile the table my navision work properly after that same issue, then again i have to compile the table0
-
Somethinng must have changed in your system if it used to work and then after some time it stopped, and recompilation helps wit the issue. Question is what and how.
Do you restart the NST in the meantime? Is the failure related in any way to the SQL or NST service restarts?
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
I don't know what is NST and how to restart it.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