Purchase Return Order Line Insert Issue: falls into a loop
fazlehasan
Member Posts: 71
If “Tax Area Code” is mentioned, even if there is 0 tax, when user tries to insert a purchase return line (strangely the issue only starts at 4th line), the underlying code starts from OnNewRecord Trigger, then after some time control goes to OnAfterGetCurrentRecord, here code attempts to modify existing purchase lines in an attempt to redistribute tax among them; but when Purchase lines are modified, eventually OnAfterGetRecord Trigger gets triggered, so the process falls into a loop, between OnAfterGetRecord and OnNewRecord. When Tax Area Code in Purchase Return Order was made blank, the 4th line could be entered without any issue.
This I saw through debugger. Client is using Nav 2018.
This seems very strange to me. Have anyone came across this kind of issue. It doesn’t look like issue from any customization.
This I saw through debugger. Client is using Nav 2018.
This seems very strange to me. Have anyone came across this kind of issue. It doesn’t look like issue from any customization.
0
Comments
-
Good to see the coding language :)
In standard behavior, it shouldn’t work like this. So the question is — did we add any custom code or make any changes?
It must have been working earlier, and if it started causing issues later, then the only culprit is the additional changes.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/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
- 322 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
