NAS problem with table data
K_Piotrowski
Member Posts: 11
I have recently installed NAS and have some strange problem. In CU1 I call a function that have endless loop. In loop I call 3 other CUs, every of them is created for another stuff... In 2nd and 3rd CU NAS cheks tables for entries, does some actions on them and then deletes them. The problem is that in first loop NAS sees data in tables, but in next loops doesn't see any data in the tables... even if I put it there. I created some messages and checked in event entries that tbl.COUNT gives 0.
What can it be??
What can it be??
0
Comments
-
Hello,
maybe the data is not comitted to the database? Use Commit.
Or you need to use selectlatestversion to retrieve an updated set of data.
/Anders0 -
My guess would be that when you delete the entries, you delete everything, maybe by using another variable without copying the filters over. You probably need to debug it step by step and look at all the filters while the processing is going on.0
-
I did use COMMIT, CLEARALL but with no effect. SELECTLATESTVERSION did help! Thanks a lot!0
-
Do not use the endless loop in NAS else you will be not able to terminate the service without using the task manager and killing the service directly. And yes, you need to use the SELECTLATESTVERSION to read the actual data, because you are in one BIG neverending transaction without point for refreshing data cache...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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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

