Показать сообщение отдельно
Старый 05.08.2008, 12:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
C# and AX Development: Running batch jobs automatically in Dynamics AX
Источник: http://olondono.blogspot.com/2008/08...ically-in.html
==============

For learning how to create and launch batch jobs in Dynamics AX, please take a look to all topics in http://msdn.microsoft.com/en-us/libr...82(AX.10).aspx.

If we want to configure an automatic batch job server, we need to modify the class SysStartupCmdBatchRun, method infoRun, as follows:

void infoRun() { batchRun batchRun = new batchRun(); ; batchRun.parmUseForm(true); batchRun.parmGroupId(parm); // added batchRun.run(); }

And for a batch group named "myGroup" for example, we can use the Microsoft Dynamics AX Configuration Utility to specify the "Command to run at application startup:" as Batch_myGroup. This enable the AX client to run every batch job in this group.



We can also use the command line as {path}\ax32.exe startupcmd=batch_myGroup.



Источник: http://olondono.blogspot.com/2008/08...ically-in.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.