DotNet error?
Tiwaz
Member Posts: 98
Hi guys.
I keep getting this error when I try to call Update function in 485 Business Chart Buffer table.
Does anyone know how to fix this?
I keep getting this error when I try to call Update function in 485 Business Chart Buffer table.
Does anyone know how to fix this?
0
Best Answer
-
I am to inform you that I have found the solution for this problem.
Or, at least, some kind of workaround.
Problem was, obviously, that source table for my CardPart page (that holds the chart) was Item and not T485 Business Chart Buffer...
0
Answers
-
Did you write this on the top of your code
IF ISNULL(DotNetVariable) THEN
DotNetVariable := DotnetVariable.Constructor.
Make the RunOnClient Property of the DotNetVariable to Yes.
Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
I already tried this with dotNetChartData AND with dotNetChartAddIn in Update function of Chart Buffer but that yielded no results...
0 -
-
Hi Hannes,
In debugger it breaks on Update function
0 -
The function "Initialize()" fills data in the variable "dotNetDataTable" which is used by the "update()"-function.

Following the advise from RockWithNAV and calling the Initialize()-function before the update-function solves your problem maybe (you don't get the error and you see data).
If this does not work, trace where the function "update()" is in use and take the code as a blueprint for your modification.
Cheers,
My blog - https://www.HannesHolst.com/0 -
Thank you Hannes and RockWithNAV.
I tried to call Initialize before calling Update. I also tried to call initialize in function Update before the line on which it breaks.
Both yielded no results...
I am sooooo frustrated. No normal solutions work
0 -
I also tried putting RunOnClient to Yes on dotNetDataTable, dotNetChartData, separately, then on both.
Always errors...
0 -
I am to inform you that I have found the solution for this problem.
Or, at least, some kind of workaround.
Problem was, obviously, that source table for my CardPart page (that holds the chart) was Item and not T485 Business Chart Buffer...
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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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

