Dataport on NAS Server

anjumi
Member Posts: 10
Hello Developers
Can you tell me if a dataport can be run on NAS.
If not, what is the solution?
Regards
Ikram
Can you tell me if a dataport can be run on NAS.
If not, what is the solution?
Regards
Ikram
Ikram Anjum
0
Comments
-
Hi Ikram,
No directly but can be called from a codeunit called by NAS.
Have a search there's loads of posts on this.0 -
Thanks a lot Dave
Regards
IkramIkram Anjum0 -
-
Are you planning on running the dataport on a regular/recurring schedule?
You may want to consider using the Job Queue to control when your dataport fires off. That would be a good solution to control your data import/export process without having to modify a lot of code.0 -
Yes, Please
I want dataport to be run on a particular date and time defined by the user on a setup form.
The database is running on NAV 5.01 Server on SQL platform.
I added Next Date Run and Next Time Run fields on a setup form for users.
Please tell me in detail all the components required and how to instal/Setup.
Regards
IkramIkram Anjum0 -
Well the way I see it there's a few changes you will need to build and a NAV Module you may have to purchase.
The Job Queue is a new NAV component that supports these kinds of automated tasks and use a Navision Application server to execute. The Job Queue forms are in the 670 range and Tables are in the 470 range. All of this is orchestrated by codeunit 448 (Job Queue Dispatcher) that is executed by a Navision Application Server (NAS) instance.
I'm not sure which granule you need to purchase from Microsoft but you can look that up on the microsoft price list (or you can ask your partner). So to get all this setup there's no code changes required just some out of the box granules and a NAS, plus some setup of the Job Queue Entry records that contorl when the job starts.
The only thing you'll have to do to is build a codeunit that executes the data port you've built. This is because Job Queue will only run Codeunits and Report objects. building a codeunit to wrap the dataport you've built should be a fairly simple task and shouldn't take a lot of effort.
This is the approach that I would take as it requires a minimum amount of effort and maximuizes re-use of base components.0 -
There is still one problem : the NAS refuses to run dataports!
Don't ask me why but it is not possible.
The only way is to convert your dataport into a codeunit (or a report) and to run that in the NAS.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi anjumi,
Finally were you able to run Dataport called by Codeunit using NAS?0 -
ramasettipeta wrote:Hi anjumi,
Finally were you able to run Dataport called by Codeunit using NAS?
Dataport cannot run on NAS, no matter how you call it.0 -
The work around is to change the import process so it's using a report instead of a dataport.
Another alternative is to use XMLports.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
thankfully I don't think it should be a huge task to convert a dataport to a report.
I also find that XML ports can be a great way of working with data imports/exports.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