Page Not Open Error

st0328
Member Posts: 97
Hi All,
From the customized page we are calling one new Report from there we are calling New CU here.,
we are inserting two records in T81, T81 is taken as Global Variable.
After inserting the records we are running Page 255(Cash Receipt Journal).
The page is running but, a strange error is coming.
The below is the Error
Microsoft Dynamics NAV
Page is not open.
Page View - Cash Receipt Journal - STANDARD ∙ TESTCASH ∙ 10000 must close.
OK
After this page is closing
Please give me suggestions...
From the customized page we are calling one new Report from there we are calling New CU here.,
we are inserting two records in T81, T81 is taken as Global Variable.
After inserting the records we are running Page 255(Cash Receipt Journal).
The page is running but, a strange error is coming.
The below is the Error
Microsoft Dynamics NAV
Page is not open.
Page View - Cash Receipt Journal - STANDARD ∙ TESTCASH ∙ 10000 must close.
OK
After this page is closing
Please give me suggestions...
0
Comments
-
Hi,
I am not sure, try to use commit after insert (Insert/modify).0 -
Journals have C/AL code in the OnOpenPage trigger. Maybe your code structure has a conflict with this standard code.0
-
Check the values in the fields Type , Sub Type of General Journal templates for Cash receipt Journal.0
-
sunmorningindia wrote:Hi,
I am not sure, try to use commit after insert (Insert/modify).
Thanks for the Reply..
we already tried with Commit. But, no use..0 -
Mark Brummel wrote:Journals have C/AL code in the OnOpenPage trigger. Maybe your code structure has a conflict with this standard code.
Thanks For the reply,..
we are not filtering the T81 ..
jus used PAGE.RUN(255)0 -
chengalasettyvsrao wrote:Check the values in the fields Type , Sub Type of General Journal templates for Cash receipt Journal.
Can you explain it more briefly. I am not getting your view.0 -
Normally you would debug such a thing but since that is difficult on the RTC I would put some message boxed in the code. My guess is that you have a conflict with the onopenpage code.0
-
Hi Mark Brummel,
As u said, i kept the messages in OnINIT & OnOpenPage Triggers of the page.
The message from OnInit is only executing. And the Page is opening with an error message.
The Trigger OnOpenpage is Not Executing .0 -
There must be more code than just page.run(255).
I just tried to run that in a Cronus database and it works fine.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