Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

[AX 2012] Externally Running Batch Jobs

$
0
0

Hello,

I'm interested in running batch jobs from C# code I will be writing. I can't seem to "get it" though. First, I looked at the easiest thing for me: web services. There doesn't SEEM to be such a web service (correct me if I'm wrong). After playing around with that for a while, I moved onto the .NET Business Connector. There're a pair of functions in the "Axapta" class called "CallJob." When I saw this, I thought to myself "Nice, I found it." So I go to use it. The input is "jobName." OK, cool. I went looking for a "Job Name."

.... what's this? Batch Jobs don't have a name associated with them? (or, at least, I don't know where to find them)

Using the batch jobs' IDs didn't work either.

I'm kind of running out of options here. It would seem this can be done, but I haven't found an OUNCE of documentation about how to run batch jobs from an external source (my C# code, for example).

Any ideas???????? I'm at a total loss!

Thanks!

 

P.S.> What's this "CallJob" function supposed to actually call, anyway?


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>