Calling Functions in Reports

Kowa
Member Posts: 926
When calling a modified version of the report 25 account schedule we get an error
"Report state information cannot be transferred to Microsoft Dynamics NAV client report from the Role Tailored Client...." (see jpg) under the RTC.
Only the same two functions from the standard report are called in the OnAction-Trigger of the page, no new functions have been added to this report. Calling the standard report works, calling the modified report does not. ](*,)
"Report state information cannot be transferred to Microsoft Dynamics NAV client report from the Role Tailored Client...." (see jpg) under the RTC.
Only the same two functions from the standard report are called in the OnAction-Trigger of the page, no new functions have been added to this report. Calling the standard report works, calling the modified report does not. ](*,)
Kai Kowalewski
0
Comments
-
I had this happen to me... but I am racking my brain to remember what it was and how I fixed it....
Mine was running some processes (that used some reports) and not reports in the usual UI sense...
Damn its frustrating that I can't remember what it was... If it pops into my head I will let you know.0 -
how many time i've waited to use this link!!!finally the time has come
http://www.lmgtfy.com/?q="report+state+information+cannot"0 -
Belias wrote:how many time i've waited to use this link!!!finally the time has come
http://www.lmgtfy.com/?q="report+state+information+cannot"
That was awesome, I have never seen that before.... =D>0 -
I was aware of the msdn article, but as I pointed out, the standard report 25 has two public functions too, and works. There are some new columns in the modified report, but no new functions are called before this is run. It makes no sense to me why calling the same functions
AccSchedName.GET("Schedule Name"); AccSched.SetAccSchedName(AccSchedName.Name); AccSched.SetColumnLayoutName(AccSchedName."Default Column Layout"); AccSched.RUN;
(this is is standard code behind the print button)
suddenly lead to this error.
And, in a broader sense, what is wrong with calling functions in reports before you run these?Kai Kowalewski0 -
Belias wrote::-k :-k
what about processingonly property?true or false?
i'm wondering why nav tries to render your report in classic client...(as stated in the error)
ProcessOnly reports does not have layout [-X only request page.-Mihail- [MCTS]0 -
mihail_kolev wrote:Belias wrote::-k :-k
what about processingonly property?true or false?
i'm wondering why nav tries to render your report in classic client...(as stated in the error)
ProcessOnly reports does not have layout [-X only request page.0 -
If a report has layout, the layout is called in rtc.
If your report has layout and rtc try to run the classic version, the rtc is connected to database different from the one classic client is connected.
(i guess :whistle: )-Mihail- [MCTS]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