AXForum  
Zurück   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Kennwort vergessen?
Registrieren Forum Rules Hilfe Benutzerliste Heutige Beiträge Suchen

 
 
Themen-Optionen Thema durchsuchen Ansicht
Alt 28.10.2006, 16:47   #1  
Blog bot ist offline
Blog bot
Участник
 
25.644 / 848 (80) +++++++
Registriert seit: 28.10.2006
MS Dynamics Ax and More: How to start a specific Batch Group during Startup
Источник: http://DynamicsAndMore.spaces.live.c...4CB0!305.entry
==============
Right now it is not possible to start a specific batch group with a startup command. You certainly can start the batch processing, but within the standard applications it is not possible to start one or more specific batch groups. The problem is caused by a missing parameter within the "SysStartupCmdBatchRun" class.

Now we add a new method to this class:

container CMHParmInCont()
{
container conParm;
int i, j;
str parmString;
;
conparm = conNull();

for (i = 1; i 0)
{
parmString = substr(parm, i, j-i);
}
else
{
parmString = substr(parm, i, strlen(parm) -i +1);
j = i + strlen(parmString);
}

conParm += parmString;
}
return conParm;
}


This method extracts the given batchgroupids from the startup command.

The second and last step is to modify the existing infoRun() method in a way that it starts the different batch jobs:

void infoRun()
{
batchRun batchRun = new batchRun();
BatchGroupId groupId;
container conParm;
int i;
;
batchRun.parmUseForm(true);

if (parm)
{
parm = strrem(parm, ' ');
conParm = this.KBSParmInCont();


Источник: http://DynamicsAndMore.spaces.live.c...4CB0!305.entry
 

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Inside Dynamics AX 4.0: The Security Framework Blog bot DAX Blogs 0 31.10.2007 11:40
Inside Dynamics AX 4.0: Usage Scenarios Blog bot DAX Blogs 0 04.10.2007 05:15
axaptabuilder: How to make Dynamics AX interface more user friendly with Tabax? Blog bot DAX Blogs 0 12.04.2007 16:10
axaptabuilder: How to make Dynamics AX interface more user friendly with Tabax? Blog bot DAX Blogs 0 28.10.2006 16:47

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Gehe zu

Рейтинг@Mail.ru
Alle Zeitangaben in WEZ +3. Es ist jetzt 13:59 Uhr.
Powered by vBulletin® Version 3.8.5 (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.