Dialog Box won't disappear
Iqbal_Febriano
Member Posts: 66
Hello guys, need little help here, I've stuck already ](*,)
I made a form, and then from the form I call a codeunit to post the data. During the posting process, I transfer the data to Gen. Journal Line table and posting it using Gen. Jnl Batch Post codeunit. The only problem is, after all posting process, the dialog box from Gen. Jnl Batch Post won't disappear. It still on the screen, and the only way to wipe it off is by pressing the cancel button, although the process is work fine.
Thanx for the help
I made a form, and then from the form I call a codeunit to post the data. During the posting process, I transfer the data to Gen. Journal Line table and posting it using Gen. Jnl Batch Post codeunit. The only problem is, after all posting process, the dialog box from Gen. Jnl Batch Post won't disappear. It still on the screen, and the only way to wipe it off is by pressing the cancel button, although the process is work fine.
Thanx for the help
Be fast, be straight, be quiet
0
Comments
-
How do you perform the call? :-k
In codeunit 231 the posting is called with:VAR GenJnlPostBatch : Codeunit Gen. Jnl.-Post Batch GenJnlPostBatch.RUN(GenJnlLine);
In the batch posting there are alot WINDOW calls but no WINDOW.CLOSE.
I guess it is because, when posting, the code in the codeunit 231 ends and it is unloaded and so is the variable WINDOW.0 -
I call it just exactly the same as codeunit 231 call it.
Here is my codeFromMyTable2GenJnlLine; GenJnlPostBatch.RUN(GenJnlLine);
If the problem is because no Window.CLOSE command, then why it's ok (the dialog box automatically disappear) when you post normally from Gen. Journal Line table ?
:-kBe fast, be straight, be quiet0 -
Thanks fb, it works =D>Be fast, be straight, be quiet0
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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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
