Prev: The data table '$ndo$srvproperty' in master Database
Next: Problems when generating HTML content in the body of the E-mail
From: Andy on 1 Feb 2008 12:53 Hello, it is not so simple. I have a great problem now. I have created 10 complex dataports but job scheduler can schedule only report or codeunit. So I create e codeunit that calls my dataport but job scheduler understand that there are dataport variables involved and fails This is the error message: "You cannot use C/AL variables of type DATAPORT when running the Microsoft Dynamics NAV Application Server." Please have a look also at this post :http://www.mibuso.com/forum/viewtopic.php?t=20011&postdays=0&postorder=asc&start=0 So do I have to rewrite all my dataports as codeunit or report (without a dataport). It is a real extra work. Is there some workaround? Thank you very much "Savatage" wrote: > 1) goto Navision Help & look up "Job Scheduler" - It will give you all the > info you need. You can use the job scheduler to run jobs automatically at > user-defined intervals. For the job you want the scheduler to run, you must > specify which object (report, dataport or codeunit) carries out the job and > when you want to run it. > > 2)Using the FileName Property of the dataport you can specify where you want > your file saved & the name you want your file saved as. > > > "bony_tony" wrote: > > > Hi, > > Is there any way I can automatically run a Dataport each day, saving > > the export to a specific location? > > Any help appreciated. > > Thanks > > Tony > > > >
From: Andy on 1 Feb 2008 12:55
a "Andy" wrote: > Hello, > > it is not so simple. > I have a great problem now. > I have created 10 complex dataports but job scheduler can schedule only > report or codeunit. > So I create e codeunit that calls my dataport but job scheduler understand > that there are dataport variables involved and fails > > This is the error message: > "You cannot use C/AL variables of type DATAPORT when running the Microsoft > Dynamics NAV Application Server." > > Please have a look also at this post > :http://www.mibuso.com/forum/viewtopic.php?t=20011&postdays=0&postorder=asc&start=0 > > So do I have to rewrite all my dataports as codeunit or report (without a > dataport). > It is a real extra work. > Is there some workaround? > > Thank you very much > > > > > "Savatage" wrote: > > > 1) goto Navision Help & look up "Job Scheduler" - It will give you all the > > info you need. You can use the job scheduler to run jobs automatically at > > user-defined intervals. For the job you want the scheduler to run, you must > > specify which object (report, dataport or codeunit) carries out the job and > > when you want to run it. > > > > 2)Using the FileName Property of the dataport you can specify where you want > > your file saved & the name you want your file saved as. > > > > > > "bony_tony" wrote: > > > > > Hi, > > > Is there any way I can automatically run a Dataport each day, saving > > > the export to a specific location? > > > Any help appreciated. > > > Thanks > > > Tony > > > > > > |