Program Task

NASi
Member Posts: 48
I'm working in a program to comunicate Navision 5.0 (Navision database, not SQL) with another software that controls a warehouse.
Navision generates XML files through XMLPort in a configured directory and in the other side XML files are generated and saved in a directory to be read by Navision and update the database.
The comunication between Navision and Warehouse should be done i.e. every 'n' minuts and I think that these work can be done with the Job Queue (3810). For me this is the easy way, but I don't know if this work can be done easily with another tool, like NAS.
I had not ever used NAS and I'm completely clueless about using this tool.
Which level of dificulty I will find, licence, setup, can it work with XMLPorts?, etc.
I will be grateful if someone has a good idea for this and can help me.
Navision generates XML files through XMLPort in a configured directory and in the other side XML files are generated and saved in a directory to be read by Navision and update the database.
The comunication between Navision and Warehouse should be done i.e. every 'n' minuts and I think that these work can be done with the Job Queue (3810). For me this is the easy way, but I don't know if this work can be done easily with another tool, like NAS.
I had not ever used NAS and I'm completely clueless about using this tool.
Which level of dificulty I will find, licence, setup, can it work with XMLPorts?, etc.
I will be grateful if someone has a good idea for this and can help me.
Thanks a lot.
0
Answers
-
There are some howto's for NAS.
And there is one generic hint: NAS is common NAV client, but without GUI (user interface). It means you are working like with common NAV client. The difference is, that whole process working on NAS is started in CU 1, in NASHandler function. What you run there, will be running on the NAS. In most cases it is some Single instance codeunit with some automation like timer, etc...0 -
Thanks Kine.
I have the how's to for NAS and it is very useful for me.
A question : can I run de NAS without the granule Job Queue?.
I think that it is possible adding an instruction to the codeunit 1 procedure NASHandler, right?Thanks a lot.0 -
Yes, if you have NAS session in the license, you can use the NAS as you wish, if it will not call some object which is not in your license. It means you add own parameter, calling own codeunit and you are done...0
-
Thanks Kine. The next step is that it works!. If not I will post again.Thanks a lot.0
-
I believe the new Job Queue actually uses a NAS to run itself and any of the Jobs that are setup for it. If you wrapped your XML port functionality in a codeunit you should be able to easily take what you've built so far and have it run every 'n' minutes.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