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 :
Microsoft Dynamics AX (Archived)

Report Dialog Batch Tab

(0) ShareShare
ReportReport
Posted on by 181

In AX2009 SP1, I cannot find any standard reports that display the batch tab on the report dialog box.  The batch processor runs as it should and processes other kinds of batches without error.  I have admin permissions, so I don't think it is a security issue.  We have no modifications to runbase or runbasebatch classes. 

Should I have a batch tab that allows me to send a report to the batch processor?  If so, does anyone have any ideas about why I don't?

Thanks,

LJ

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

     Hi,

    I dug around a little bit to see if I could help (never heard of this problem before).  This might not be the solution but can you check \Classes\Batchable\showBatchTab method?

     

    The _showBatchTab boolean variable should be set to true.  I am not sure if this framework is for use with classes or reports however.  Give it a shot and let us know.

     

    Regards.

  • Community Member Profile Picture
    on at

    Also, run a search on your reports and forms for:

    runBaseBatch.showBatchTab(false);

  • lispyj Profile Picture
    181 on at

    I did the search and find the Batchable class is unmodified and the boolean set to true.  There are no instances of runBaseBatch.showBatchTab(false) in any reports. 

    I have found the the RunbaseReportStd.hideBatchTab method is returning true. 

    boolean hideBatchTab()
    {
        // show the batch tab if we are using the server bound runbase batch framework
        // or if we have the Bath Report security key enabling scheduling a report using the old
        // runbase batch framework (runs at the elevated permissions of the batch user)
        return !(hasSecuritykeyAccess(securitykeynum(BatchReport), AccessType::View) ||
            this.runsImpersonated());
    }

    Does you know how I can find the BatchReport Security Key?

  • Community Member Profile Picture
    on at
    The batchReport security key has its own node in the tree (where you set permissions from user groups) but if you are admin, you should have full control.
  • lispyj Profile Picture
    181 on at

    I do not have a BatchReport node in the security tree that I can find.  I am an Admin, and have debugged to code to make sure that the evaluation of the security key (permission >= view) is coming back false.  If I hard code the evaluation to true, the batch tab appears when I run the dialog, so this is definately my problem. 

    We are not on business ready licensing, so there are some of the business essential license codes that we do not have.(business analysis and AIF Basic, for example). Is there a license code that would effect the visibility of this security key? 

     

    LJ

     

  • lispyj Profile Picture
    181 on at

    I have found Hotfix 980247 that addresses the issue of "You cannot run reports in a batch if you do not have the Business Analysis license in Microsoft Dynamics AX 2009".  The hotfix installed the missing BatchReport security key, but I am still unable to set access permissions to it. 

    LJ

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans