Is't Possible to Auto Schedule the XMLport for IMPORT data??

pskannaa
Member Posts: 138
Hi,
Im working on NAV 4.0
I have couple of questions regarding Imporing XMLport in NAV 4.0..
1. Is't possible to schedule the XMLport in the system ??
Reason: i need to execute the particular XMLport for the particular intervel period eg. Every 10min it's should be execute.
2. Is there any option to RUN the NAV4.0 XMLport(my xmlport) through .Net ?
3. How can i import the XML file from .NET or other appl to NAV 4.0 ?
eg: like to import "ITEM" details through XML file via myApplication to NAV 4.0..Solution Plz...
Regards,
Psk
Im working on NAV 4.0
I have couple of questions regarding Imporing XMLport in NAV 4.0..
1. Is't possible to schedule the XMLport in the system ??
Reason: i need to execute the particular XMLport for the particular intervel period eg. Every 10min it's should be execute.
2. Is there any option to RUN the NAV4.0 XMLport(my xmlport) through .Net ?
3. How can i import the XML file from .NET or other appl to NAV 4.0 ?
eg: like to import "ITEM" details through XML file via myApplication to NAV 4.0..Solution Plz...
Regards,
Psk
0
Comments
-
1 - I can't remember if the job scheduler allows you to run an XMLport. I don't think it does, you have to run a codeunit instead. And I think that codeunit can call an XMLport.
2 - Search for how to build your own .NET automations here on the forum or on msdn. I believe there's also a solutions for exposing a codeunit via .NET for download on one of the NAV support sites.
3 - You'll have to be more specific about your application. How's it built0 -
Thanks for responce..
I have tried to schedule the "Codeunit" as per your suggestion, but it's not Running the codeunit for the specified intervel...
what i did that..
Job Schedule:
ID : MYXMLPORT
Enabled : YES
Unit of Measure : Second
Time between check : 30
Object Setup:
Object type: codeunit
Object No: 50000(my codeunit)
Error Handling:
Mark as Error and Stop
All Days are Enabled
Starting Time: 10 AM
Ending Time: 10 PM
Management Setup:
Log schedule action: enabled
shutdown date: 04/11/09
shutdown time: 10PM
Intrv check sec: 15
.........I did't get error log and not getting 'message' which is fired 'Imported'. but manually RUN and it's working fine.
anything missing for 'Job scheduler' ????0 -
-
everything is possible in navision under where we have to explore...Thanks & Regards
Santosh
Where Stones can be transformed to Gold0 -
we do it this way:
We start a codeunit witch calls a XML Port.
Infile.OPEN(filenamepath);
Infile.CREATEINSTREAM(Stream);
XMLPORT.IMPORT(XMLPortNr,Stream);
Infile.CLOSE;Rallnus (Yamaha FJ1200 - '89 / 25th anniversary was great!)0 -
I hav done, started the job scheduler management.
.....thank you all for kind responce ..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