OnAfterGetCurrRecord does not fire

Toddy_Boy
Member Posts: 232
I'm trying to update a factbox from a list using the OnAfterGetCurrRecord however this seems to fire very intermittently - I can see this through code coverage but cannot work out why the record will not fire when it gets focus.
Any advice?
Any advice?
Life is for enjoying ... if you find yourself frowning you're doing something wrong
0
Best Answer
-
A flow field on the main list page has a field size of 40 characters where as the field being flowed from has a size of 50. This was not raising an error unless said field is clicked on in the list. Once the list field size has been amended to 50 characters then all works fine.
Life is for enjoying ... if you find yourself frowning you're doing something wrong5
Answers
-
which version and CU?0
-
NAV 2013Life is for enjoying ... if you find yourself frowning you're doing something wrong0
-
Hi,
Per definition factbox is supposed to be used only to show the data. If you look at Microsoft website it says.A FactBox displays additional information to the user in a pane located on the right of the main page display area.
when you say in your emailI'm trying to update a factbox fr
If you really want to update the factbox, then use a subpage or you can write a controladdin that will allow you to do this.
In general if you setup the fact box correctly it will update when the record changes.
Have a look at the providerID property
https://msdn.microsoft.com/en-us/library/dd338635.aspx
I hope this helps.0 -
A flow field on the main list page has a field size of 40 characters where as the field being flowed from has a size of 50. This was not raising an error unless said field is clicked on in the list. Once the list field size has been amended to 50 characters then all works fine.
Life is for enjoying ... if you find yourself frowning you're doing something wrong5
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