List Info

Thread: How to call a job




How to call a job
country flaguser name
Denmark
2007-02-09 00:22:03
Anyone who knows how to call a Job from code?
 
/William


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



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:development-axapta-digest@yahoogroups.com 
    mailto:development-axapta-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    development-axapta-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: How to call a job
country flaguser name
United States
2007-02-09 04:18:46
Hi,
 Try this

treeNode treeNode;
xInfo xInfo = new xInfo();
;
treeNode = xInfo.rootNode();
treeNode =
treeNode::findNode("jobs").AOTfindChild("Job1
");
treeNode.AOTrun();


Cheers
Arijit Basu
http://daxguy.blogspot.co
m/

On 2/9/07, William S. Jacobsen <maillistswsj.dk> wrote:
>
>   Anyone who knows how to call a Job from code?
>
> /William
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 


Arijit Basu


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



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:development-axapta-digest@yahoogroups.com 
    mailto:development-axapta-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    development-axapta-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: How to call a job
country flaguser name
United States
2007-02-09 04:34:00
Hi William,

>From the following code u can call another job...

static void runJob(Args _args)
{
    TreeNode tr;
    XInfo xInfo = new xInfo();
    ;
    tr = xInfo.rootNode();
    tr =
treeNode::findNode("jobs").AOTfindChild("Job2
"); //job2 is the Name
of the jobs which u want to call
    tr.AOTrun();
   }

Regards
Nitesh


On 2/9/07, William S. Jacobsen <maillistswsj.dk> wrote:
>
>   Anyone who knows how to call a Job from code?
>
> /William
>
> [Non-text portions of this message have been removed]
>
> 
>


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



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:development-axapta-digest@yahoogroups.com 
    mailto:development-axapta-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    development-axapta-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: How to call a job
country flaguser name
United States
2007-02-09 04:50:12
Make a menuitem of Job and then run that menuitem through
code.

"William S. Jacobsen" <maillistswsj.dk> wrote:
          Anyone who knows how to call a Job from code?

/William

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



         

 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the
US (and 30+ countries) for 2¢/min or less.

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



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:development-axapta-digest@yahoogroups.com 
    mailto:development-axapta-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    development-axapta-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: How to call a job
country flaguser name
United States
2007-02-09 04:20:44
Here is an example:

    TreeNodeName jobName = "Job1";
    ;
    TreeNode::findNode(strFmt("Jobs\%1",
jobName)).AOTrun();

Also, you can create a menu item that opens a job and call
the 
menuitem from code.

--- In development-axapta@yahoogroups.com, "William S.
Jacobsen" 
<maillists...> wrote:
>
> Anyone who knows how to call a Job from code?
>  
> /William
> 
> 
> [Non-text portions of this message have been removed]
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:development-axapta-digest@yahoogroups.com 
    mailto:development-axapta-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    development-axapta-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: How to call a job
country flaguser name
United States
2007-02-09 05:58:16
static void runJob(Args _args)
{
TreeNode tr;
XInfo xInfo = new xInfo();
;
tr = xInfo.rootNode();
tr =
treeNode::findNode("jobs").AOTfindChild("Job2
"); //job2 is the Name
of the jobs which u want to call
tr.AOTrun();
}

On 2/9/07, William S. Jacobsen <maillistswsj.dk> wrote:
>
>   Anyone who knows how to call a Job from code?
>
> /William
>
> [Non-text portions of this message have been removed]
>
> 
>



-- 
Regards,
Vijay Lad


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



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:development-axapta-digest@yahoogroups.com 
    mailto:development-axapta-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    development-axapta-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )