Hi,
momentanly we run Daily follow Periodic Activities:
Adjust Costs - Item Entries
Post Inventory Costs to G/L
Its Possible Automatize the Run of this two things ?
We don't have Automatisation Server or Modul for Automatize any Reports etc...
Perhaps it exists other way to do it
Thanks
(Oo)=*=(oO)
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Where we can buy one of this Schedulers?
Or any Tipps in what way i must look for create one?
All that can do self does fixed the job
Thanks
You need only codeunit which will in given time start the reports (and log the start and end of the job - for example with help of Navision Timer automation)
And you need to add some function into the reports to be able to pass parameters into them (to be able to run them without request form).
And you can add some table with setup for the jobs (date and time when run, with which parameters etc.)
And if you make this to be able to run it from Application Server, you have automatic scheduler with logging of errors etc... :-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks for you answers.
Now I will go to look how i can make the Automation.
It's right that with C/Front isn't Possible execute a Codeunit?
Thanks.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Hmm. i try understand this :oops: ...
Apart from my CU that i make , i need other CU set as SingleInstance with one Variable of type Automation Navision Timer?
Can it be that we don't have Licence for Automation Variables ? Because i don't see that Type when i look in DataTypes from C/AL Global Vars, or i look in wrong place. :-k
Now im reading the Online help (in englisch ](*,) ) because i think i have not understand right how are used this automation things.
And for Running the CU (After set Automation Var) i can do this from NAV Client and i don't need Application Server?
Thanks for you patience
2) May be that you need only one CU, set as singleinstance. It depend, how you will call the code. I used two, because I need run the code through run function of the CU (because I used if codeunit.run then... statement to not have error messages), but it is not needed.
You can go around the problem with the granule, if your NSC create the variable for you in the codeunit...
3) and Yes, you do not need Application server to run the codeunit. You can run it in client... application server is actually only client without GUI frontend...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
But i don't understand because i don't see DataType Automation Variable
I Have yet ask our NSC what is wrong, but how ever, i'm still wait for the answer...
Well, we see if today we can do anything.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Perhaps you can se me what GranuleId is required, i think so i see better if we have it or not.
Thanks.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Perhaps i have now understand better after get more infos
The Application Server Alone isn't enough for run an Automation?
For run Automation Server we need Granule ID 1,750 C/OCX ?
I Have now the NAS running. But i don't check for what i can it need.
In Codeunit 1 is a Trigger(Function?) NASHandler with ID 99.
In what Documentation i can find examples ?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.