and make your own startupcommand class. This class can start the batchgroup.
The at last call axapta from a schedule or something
This example starts a batchgroup and a form
void infoRun()
{
batchRun batchRun = new batchRun();
formrun formrun;
args args;
;
batchRun.parmUseForm(true);
batchrun.parmGroupId(GatewayParameters::find().SPA_BatchGroup);
if(GatewayParameters::find().SPA_BatchGroup == "")
warning("Det er ikke spesifisert noen batch gruppe for kj�ring av
Commercegateway k�er.");
args = new args();
args.object(new form(formstr(SPA_PostenBatchConsole)));
formRun = classFactory.formRunClass(Args);
formRun.init();
formrun.run();
formRun.detach();
batchRun.run();
}
Best regards
Jacob
At 08:45 07.05.2004, you wrote:
>Hi all,
> I try to auto logon to axapta and automate to start a batch processing
>because our AOS need to shutdown once a day at mid-night. Is there any way
>to do it ? Many Thanks for your kindly help.
>
>
>
>Best Regards,
>
>
>Tony.
>
>
>[Non-text portions of this message have been removed]
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://rd.yahoo.com/SIG=1298042gn/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1083998748/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com>
>4361d04.jpg
>
>[]
>
>
>
>----------
>Yahoo! Groups Links
> * To visit your group on the web, go to:
> *
> <http://groups.yahoo.com/group/development-axapta/>http://groups.yahoo.com/group/development-axapta/
>
> *
> * To unsubscribe from this group, send an email to:
> *
> <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>
> *
> * Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

