Automatic import data

julkifli33
Member Posts: 1,092
hi all... i want to import data (txt file) automatically
for example i set it at 12.00Am everyday will import from specific folder
either using report or codeunit
so what module should i need?
is it must have job module? NAS?
for example i set it at 12.00Am everyday will import from specific folder
either using report or codeunit
so what module should i need?
is it must have job module? NAS?
0
Comments
-
Search the forum..i am sure this has been discussed before..0
-
julkifli33 wrote:so what module should i need? is it must have job module? NAS?
Exactly.0 -
rhpnt wrote:julkifli33 wrote:so what module should i need? is it must have job module? NAS?
Exactly.
is there any other way for automatic?0 -
This means that you need to use the NAV Job Queue functionality (included in BE license) and NAS (1 instance also included in BE license).0
-
you could use a form and the timer but you would be spending a client license session.
It depends on the situation0 -
rhpnt wrote:This means that you need to use the NAV Job Queue functionality (included in BE license) and NAS (1 instance also included in BE license).0
-
SPost29 wrote:you could use a form and the timer but you would be spending a client license session.
It depends on the situation
it should use for developer license,is it?
can user execute that?0 -
1. Create a process only report to import the file (or codeunit, whatever you like)
2. Setup NAS (Job queue) to run that report
Done.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 -
Alex Chow wrote:1. Create a process only report to import the file (or codeunit, whatever you like)
2. Setup NAS (Job queue) to run that report
Done.
the problem is .... i think our customer doesnt have job module0 -
If your customer has NAS, then you could use it for automatic job processing. Find the simple example below:
Codeunit 1 Application Management, trigger ID 99NASHandler(ATASID : Text[260]) IF GenSetupL."Run Scheduler" THEN BEGIN GenSetupL.TESTFIELD("Scheduler Interval (H)"); CREATE(NTimer); NTimer.Interval := 1000 * 60 * 60 * GenSetupL."Scheduler Interval (H)"; NTimer.Enabled := TRUE; END; NTimer::Timer(Milliseconds : Integer) MESSAGE(RunScheduler, FORMAT(TODAY), TIME); CalculateBonus.RUN;
where:
Run Sheduler - additional field in setup table,
NTimer is Navision Timer automation component,
Scheduler Interval - is additional field, where interval is defined,
CalculateBonus - is a link to the report you wish to run.
Hope, it helps!Sincerely yours, GRIZZLY
Follow my blog at http://x-dynamics.blogspot.com0 -
julkifli33 wrote:the problem is .... i think our customer doesnt have job module
One thing is what you think and the other what you know about your customer. By the way, you don't need the Job module for the NAV Job Queue functionality.0 -
julkifli33 wrote:the problem is .... i think our customer doesnt have job module
You don't need job module. You need the application server module, which comes standard with the purchase of BRL.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 -
so... let's say i created codeunit 50001 to import data
what is the steps to use NAS to execute this CU 50001?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