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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Automatically Created ...
Finance forum

Automatically Created Batch Jobs

(0) ShareShare
ReportReport
Posted on by

Hi there,

We have a number of D365FO batch jobs that are automatically created :

Security Role Access

Diagnostics Rule Validation

Named user license count reports

Scan for orphaned document references

Document routing history cleanup

I could not readily find content on these batch jobs and wondered if anyone could explain what they all do.  The document routing history cleanup has been created by a non admin system user, and wondered how the user created is derived from  (first user to print from D365FO?)

Thanks for your help.

Categories:
I have the same question (0)
  • Sukrut Parab Profile Picture
    71,741 Moderator on at

    Named user license batch job generates data needed by  Named user license count reports . for more information  use this link.

    Scan for orphaned document references - Looks like this is used for  cleaning docuref where no references are present.

    Document routing history cleanup - This is used to clean up data you see on document routing status form. 

  • Community Member Profile Picture
    on at

    Hi NatashaN ,

    There are some content about these batch jobs:

    1)Security Role Access

    The security roles that are assigned to a user determine the duties that the user can perform and the parts of the user interface that the user can view,

    The batch framework will execute the job as this user. So it will use the security role of this user.

    2)Named user license count reports

    D365FO contains a report, which compares number and types of owned licenses with permissions of users defined in the system. For example, if ten users have access to functions requiring some one license and just eight licenses were obtained, it is necessary to buy two additional  licenses or restrict permissions for two users. Just don’t forget that the report doesn’t include device licenses.

    The report can be run in Dynamics AX from System administration > Reports > Licensing > Named User License Counts

    3)Scan for orphaned document references

    In D365FO clean up of records in DocuRef is handled by a recurring batch job. The batch job is automatically created during AX initialization when you deploy a new solution. The batch job is listed as "Scan for orphaned document references" and it is scheduled to run every sixth hour. you can add it by calling the loadData method of the class DocumentManagementSetup.

    4)Document routing history cleanup

    Document routing agent is used for printing in D365FO. When you print any document in D365FO its gets stored in azure blob and from there its fetched by DRA for printing.

    Best Regards

    Tom Cai

  • Community Member Profile Picture
    on at

    How do you mean:

    you can add it by calling the loadData method of the class DocumentManagementSetup.

    Im missing this batch job and would like to recreate Scan for orphaned document references batch job.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans