Auto load text files JobQueue? NAS? Nothing Works so far
eagle_eye
Member Posts: 130
I need to import a text file every morning at 6am (I am using NAV 2009)
I installed NAS and was going to schedule using JobQueue. I created a report that called a dataport. However, I received errors in the JobQueue log stating you cannot call dataports with NAS.
So - then I decided I would use an XMLPORT since an XMLPort can pick up text files in 2009. (I know you can't run them in the Classic client, but they run great in RTC). Anyway ... so I tried that. And that did not work either.
Has any scheduled a job (in any fashion) to import a text file automatically?
Any advice would be greatly appreciated.
I installed NAS and was going to schedule using JobQueue. I created a report that called a dataport. However, I received errors in the JobQueue log stating you cannot call dataports with NAS.
So - then I decided I would use an XMLPORT since an XMLPort can pick up text files in 2009. (I know you can't run them in the Classic client, but they run great in RTC). Anyway ... so I tried that. And that did not work either.
Has any scheduled a job (in any fashion) to import a text file automatically?
Any advice would be greatly appreciated.
0
Comments
-
Create a codeunit to launch your xmlport then call the codeunit from the NAS (with single instance property). Or make a report :P0
-
I did create a report to call the XMLPort. The XMLPort is loading a TXT file not an XML file.
Does anyone know if this is an issue if I don't run it through the RTC? It seems the only way the XMLPort works with a text file is in the RTC.
Basically I am trying to figure out if I am trying to get a scenario to work that just will never work (i.e. having the JobQueue scheudle a report to run that is trying to run the XMLPort with a text file).
I know the XMLPort works - I ran it sucessfull manually through the RTC. What I am unsure of is if I can schedule it through NAS.
Has anyone auto scheduled a text file to import successfully in any way?0 -
In fact, i said to create a report to read the .txt file not to launch the xmlport.0
-
XMLPort import only XML files under CC or NAS. It could import txt file only under RTC...0
-
I can use a dataport no problem. However, you cannot schedule a report to run that calls a dataport. "You cannot use C/AL variables of type DATAPORT when running the Application Server"
I realize that you can only run an XMLPort for txt files in the RTC.
So ... is there anyway to schedule an import of a txt file - or is NAV incapable of this task with the toolset ity has?0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 327 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
