Is it possible to run Navision client as an NT service ?
So we can :
- define a new NT user 'BATCH' as Logon account for this service,
- enable the UnifiedLogin option
- create a form with an TimeInterval property to launch a report or to scan a cron table
- give the BATCH user this form as "Main menu ID" in user setup
- stop the service before night backup and start it again on the morning
What are the commands to register this service ?
Do you know a better and simple solution for batch processing with Navision ?
Thank's for help
0
Comments
depends on the version: <2.65: no; >= 3.0 yes but not Navision itselfes and not as NT service.
>>- define a new NT user 'BATCH' as Logon account for this service, <<
Yes, that's what I'm doing frequently.
>>- enable the UnifiedLogin option<<
yes
>>- create a form with an TimeInterval property to launch a report or to scan a cron table<<
yes
>>- give the BATCH user this form as "Main menu ID" in user setup<<
yes
<<- stop the service before night backup and start it again on the morning<<
no
>>Do you know a better and simple solution for batch processing with Navision ?<<
The above says it (almost) all: There is no possibility to control Navision from outside for all versions prior to 3.0. What you can do is to start NF on a dedicated client, log-on as user "BATCH" and have NF perform things you want it to do in an onTimer trigger of a form (could be the main form of BATCH user). This works reliable for one customer I have for more than 15 months.
Marcus
[This message has been edited by fabian (edited 14-02-2001).]
Marcus Fabian