Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Add Batch Job Processing in exisitng form (AX 2012)

Posted on by Microsoft Employee

Hi All,

Is it possible to add a batch job processing to an exisitng  AOT form object? or I need to convert it to a runnable batch class?

Thanks!

  • Martin Dráb Profile Picture
    Martin Dráb 225,513 Super User on at
    RE: Add Batch Job Processing in exisitng form (AX 2012)

    You can't process a form in batch, because a form isn't a process. It's just something displaying data to users. Focus on the process that you want to run in batch.

    The batch processing tab is used in dialogs of RunBaseBatch and SysOperations frameworks, which sole purpose is to collect input parameters for a process. It's not the case of normal, stand-alone forms.

    If this is what you mean, note that the usual approach isn't designing a form for a dialog. Dialogs are created at runtime, either in RunBase.dialog() or - in case of SysOperation framework - generated automatically from a data contract definition. Using a form as such a dialog is possible, but normally you should do it only when your requirements can't be met by normal dialogs.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add Batch Job Processing in exisitng form (AX 2012)

    Hi Nikolaos,

    I have this requirement where I need to add a batch job processing tab in a existing form, If it is not feasible I guess I can recreate it via runnable class. Thanks for confirming!

  • nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: Add Batch Job Processing in exisitng form (AX 2012)

    Only classes can be run as batches, not forms.

    Could you tell us more details about what you are trying to achieve?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans