web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to get args in service class using batch job?

(0) ShareShare
ReportReport
Posted on by 61
Hello Everyone,

Could you please help me get the args in a service class when using a batch job?
Categories:
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    235,987 Most Valuable Professional on at
    How to get args in service class using batch job?
    I'm assuming you're talking about SysOperation framework in either AX 2012 or F&O. Please confirm that and be more specific next time.
     
    The service class has no information about Args that the controller class was called with. Nevertheless the controller class can extract necessary data from Args and pass it to the contract class. The service operation can then get the data from the contract.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 844 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 752 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 553

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans