I guess something like this:

    TestBatch           testBatch;
    Batch               batch;
    ;

    testBatch = new TestBatch();

    if (testBatch.batchInfo())
    {
        testBatch.batchInfo().parmBatchExecute(NoYes::Yes);
        testBatch.batchInfo().parmGroupId('MyGroup');
        testBatch.batchInfo().doBatch();
    }

    testBatch.run();

//Lars


-----Original Message-----
From: caeptniglo [mailto:[EMAIL PROTECTED]
Sent: 3. august 2004 10:28
To: [EMAIL PROTECTED]
Subject: [development-axapta] Run a class in batch


Hi all,

Is it possible to run a RunBaseBatch-Class in Batch by Code?
if yes can you provide me a code-example?

thanks.



Yahoo! Groups Sponsor     

ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=129q6ven0/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1091608157/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com> click here     
  <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=255220821>      


  _____ 

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:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
 

*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to