How to export Items to File automatically!?
 
            
                
                    nara                
                
                    Member Posts: 37                
            
                        
            
                    Hi!
I am not very experienced in Navision.
I have a Dataport that can make a file of Content from Items.
My question is the following, is it possible that make some kind automatic job that this Dataport can runs periodically.
Example: creating a file every day.
Some how a RECURRENT JOB, is it possible!?
                I am not very experienced in Navision.
I have a Dataport that can make a file of Content from Items.
My question is the following, is it possible that make some kind automatic job that this Dataport can runs periodically.
Example: creating a file every day.
Some how a RECURRENT JOB, is it possible!?
0                
            Comments
- 
            You can use the job scheduler to run dataports
 look under the menu Administration --> It Administration --> job schedular0
- 
            Hi!
 Thanks for your advise.
 I did it, but how can I define the time/period for runing the job?
 I can't see any options to do that.
 Thanks again0
- 
            setup of the schedular is done
 administration --> Application Setup --> job Schedular
 the important item on the management setup form is the
 interval check(sec) this setting is how often the job queue is checked
 the Job Schedular setup is the actual jobs you want to run.
 on the general tab is the frequence you want it to run, it can be day, hour minute, and month. and then the frequence of days, hours, minutes, ect.
 on the scheduling detail tab is where you set what days you want it to run
 on the admin menu for the job schedular management is where you start the job schedular running0
- 
            i cannot find the job schedular
 where is it?
 what id?0
- 
            
 This is true for NAV 4.0, but starting from NAV 5.0, this has been replaced with "Job Queue". And as the "Job Queue" module runs through the NAS, you cannot schedule the execution of Dataports. Only Codeunits and Reports are supported.themave wrote:setup of the schedular is done
 administration --> Application Setup --> job SchedularNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
- 
            thanks luc
 but i after i compared job scheduler and job queue
 job scheduler can execute dataport, how about job queue?
 i think there are only 2 options.... report and codeunit only?
 how i execute for dataport?0
- 
            
 That's what I said. Using NAS, there is no way to schedule the execution of Dataports. You'll have to rewrite your dataport using a codeunit and FILE.OPEN, FILE.READ instructions. Or you'll have to use a NAV client which stays open all the time, and use a OnTimer-trigger to execute your dataport from that client.julkifli33 wrote:i think there are only 2 options.... report and codeunit only?No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
- 
            Luc Van Dyck wrote:
 That's what I said. Using NAS, there is no way to schedule the execution of Dataports. You'll have to rewrite your dataport using a codeunit and FILE.OPEN, FILE.READ instructions. Or you'll have to use a NAV client which stays open all the time, and use a OnTimer-trigger to execute your dataport from that client.julkifli33 wrote:i think there are only 2 options.... report and codeunit only?
 do you have any idea how to separate delimeter like in dataport?
 example data : 70000,5000,1
 field (customer no,item no,quantity)0
- 
            
 Use STRPOS to find the delimiter, and COPYSTR to copy the field value to your variables.julkifli33 wrote:do you have any idea how to separate delimeter like in dataport?No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)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
- 322 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


