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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to get the recurrence details of batch job in X++

(0) ShareShare
ReportReport
Posted on by 5

I want to filter the batches which run daily, monthly, etc. I don't see a table which holds the recurrence details of batches.

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi Drisyapprabhakaran,

    I guess your question is related to D365 FO.

    You can see the batch detail information in the below path.

    System administration >> Inquiries >> Batch jobs.

    Also refer to the Data entity >> "BatchJobEntity" and "BatchJobHistoryEntity". entities will have details of the batches.

    Refer to the below link for detailed explnation.

    https://dynamics365musings.com/manage-d365-batch-jobs/

    Thanks,

    Girish S.

  • Drisyapprabhakaran Profile Picture
    5 on at

    Hi Girish,

    Thanks for the response. I want to use the recurrence details to categorize the batch job executed monthly or daily. I could not find a table that holds these fields of information in AOT.

    Thanks,

    Drisya

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi Drisya,

    There won't be any table that will be saving batch recurrence details. Refer to the form "SysRecurrence" - This is the form which shows recurrence details for the batch job - This form doesn't have any DataSource and controls -They will be using "SysRecurrenceBuild" class to build the form at runtime.

    Refer to the table "BatchJob" - There will be a field "recurrenceData" of type container - This is the field which is having the recurrence details as a container type.

    So, there won't be any direct tables available for getting recurrence data.  Also, it will be difficult to get the actual data present in container to more readable format.

    Thanks,

    Girish S.

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Also, for getting the container values - Refer to the method update on "SysRecurrenceBuild" class - Here they will get the actual values from the container and update the values to the form controls.

    Thanks,

    Girish S.

  • Drisyapprabhakaran Profile Picture
    5 on at

    Hi Girish,

    alright.  thanks for the information.

    Br,

    Drisya

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans