Skip to main content

Notifications

Community site session details

Community site session details

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

Any way to find all batch jobs that use a particular class?

(0) ShareShare
ReportReport
Posted on by 17

Any system tables or other ways that can be used for this? Thanks!

  • JMajcen Profile Picture
    17 on at
    RE: Any way to find all batch jobs that use a particular class?

    This worked perfect. I coupled it with a join on the CLASSIDTABLE and got exactly what I was looking for.

    SELECT
    	a.BATCHJOBID 
    	, a.CAPTION
    	, b.NAME 
    FROM
    	AxDB.dbo.BATCH a
    JOIN dbo.CLASSIDTABLE b ON a.CLASSNUMBER = b.ID 
    WHERE b.NAME = 'CLASS_NAME'

  • Verified answer
    André Arnaud de Calavon Profile Picture
    294,060 Super User 2025 Season 1 on at
    RE: Any way to find all batch jobs that use a particular class?

    Hi JMajcen,

    The information is stored in the table 'Batch'. The class number is stored in this table. This is a number which correspondents to a class name in the application, but can be different per environment. You can use the DictClass class to get the number for a given class object name.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans