Problem while posting general journals with NAS

ajaybabuCh
Member Posts: 208
Hi
I am working with integration between Oracle and Navision.
My task is I have to import the records from oracle, have to create
General Journals and I have to post them through Nas.
while I am posting if any error , NAS just throws them into Event Viewer.
and its saying that
"The Local computer may not have the necessary registry information
or message DLL files to display messages from a remote computer."
Could anybody please help me, I want to popup the messages, and confirmations and posting status window.
Kind Regards
Ajay
I am working with integration between Oracle and Navision.
My task is I have to import the records from oracle, have to create
General Journals and I have to post them through Nas.
while I am posting if any error , NAS just throws them into Event Viewer.
and its saying that
"The Local computer may not have the necessary registry information
or message DLL files to display messages from a remote computer."
Could anybody please help me, I want to popup the messages, and confirmations and posting status window.
Kind Regards
Ajay
Ajay
0
Comments
-
Hi
EventLog: Normally the last sentence in an entry is the important one. Many of the events start with "The local computer may not have...".
Messages and Errormessages: They also write in the EventLog. Remember, NAS is a basically a client without GUI.
Status Windows and Confirm Dialogs: You have to avoid them by programming with "if guiallowed then..."
Hope this helps
Thomas0 -
Yes, please, send us whole message you see in the event log, this part is useless..0
-
With the above message which is marked in red it saying that
You can not use C/AL variables of type FORM When running the Microsoft
Business Solutions-Navision Application ServerAjay0 -
I think that the message is answer to your question. You are not able to use FORM variable in code which is running under NAS. If there are just used some function from some FORM (for example Item tracking etc.) you need to mofe the functions into codeunit or somewhere and call them from there...0
-
If your posting routine is trying to use a form object, then someone modified the posting routine. You should be able to post through NAS fine, with a few adjustments to the visual parts of the code. What you would need to do is program it to only display information IF GUIALLOWED, so that NAS doesn't get confused. Of course you will have to program it also to set default values in case of user input. Then you also need to write a caller codeunit that you can use to evaluate the return value of the posting routine, so you can develop logging or error messaging capabilities. It's very advanced stuff though, I would not want to do this as my first project.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