|  23.10.2013, 02:11 | #1 | 
| Участник | bojensen: Create batch job through X++ code ~ IT Pro Ramblings 
			
			Источник: http://blogs.bojensen.eu/?p=4749 ============== If you need to execute code in batch, here is an example of how to add a batch job for the corresponding RunBaseBatch class. Solution public static void scheduleBatch() { BatchHeader batchHeader; BatchInfo localBatchInfo; YourRunBaseBatchClass yourRunBaseBatchClass; SysRecurrenceData sysRecurrenceData = SysRecurrence::defaultRecurrence(); ; yourRunBaseBatchClass = YourRunBaseBatchClass::construct(); // retry 3 times sysRecurrenceData = SysRecurrence::setRecurrenceEndAfter( sysRecurrenceData, 3); // retry [...] Источник: http://blogs.bojensen.eu/?p=4749 
				__________________ Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. | 
|  | 
|  | 
| 
 |