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
0
Comments
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 built
My Blog - nav.education
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' ????
My Blog - nav.education
Santosh
Where Stones can be transformed to Gold
We start a codeunit witch calls a XML Port.
Infile.OPEN(filenamepath);
Infile.CREATEINSTREAM(Stream);
XMLPORT.IMPORT(XMLPortNr,Stream);
Infile.CLOSE;
.....thank you all for kind responce ..