Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Job Queue to schedule running of planning worksheet

(1) ShareShare
ReportReport
Posted on by 87
 Hello, 
 
I am trying to schedule running of planning worksheet (Object ID to Run - 99001017 - Calculate plan-plan. wksh).
 
but i keep getting the following error,
 
 
 
Please help. 
  • Suggested answer
    Valentin Castravet Profile Picture
    28,272 Super User 2025 Season 1 on at
    Job Queue to schedule running of planning worksheet
    Its a very simple customization for a Business Central developer. For example - How do I: Create a Report Extension to add a field to the dataset of a Report? – think about IT 
     
  • Amrit Profile Picture
    87 on at
    Job Queue to schedule running of planning worksheet
    Thank you @Valentin Castravet,
     
    Can you please walk me through how to procced with the solution you proposed? 
     
    Please recommend the reference material, if you have any. 
  • Suggested answer
    Valentin Castravet Profile Picture
    28,272 Super User 2025 Season 1 on at
    Job Queue to schedule running of planning worksheet
    I tried and it didn't work for me either. The job queue runs successfully, but if I looked at the planning worksheet errors I had the same errors.
     
    Next I looked at the code of report 99001017. The report has the function SetTemplAndWorksheet, what this means is that when you run the report from the planning worksheet page it will take the template name from the current page you're on. When you run the report from the job queue, there is no where to take the template name from; so this is why you get an error message. 
     
    Running the out of the box report in the job queue won't work. You can create a copy of the report and add the template name as a filter field to the report request page. This way in the job queue you can filter on a specific template. 

     
  • Amrit Profile Picture
    87 on at
    Job Queue to schedule running of planning worksheet
    I checked the Requisition worksheet templates are setup properly. Please find below, 
     
    Also the Requisition worksheet names,
     
     
    I still get the same error.
     
    is there any other setup required for this? 
    Please help!
     
     
  • Suggested answer
    Jun Wang Profile Picture
    7,761 Super User 2025 Season 1 on at
    Job Queue to schedule running of planning worksheet
    check below if set up properly, also check the requisition worksheet names to ensure a batch has been set up. 
     
     
    Jun Wang
     
     
  • Amrit Profile Picture
    87 on at
    Job Queue to schedule running of planning worksheet
    Hello ZHU, 
     
    I am following all the steps that you mentioned below, but i still see the same error. 
    The requisition worksheet templates are also setup properly.
     
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    84,350 Super User 2025 Season 1 on at
    Job Queue to schedule running of planning worksheet
    Hi, I simply tested it and didn't encounter your problem.
     
    Please check your Requisition Worksheet Templates page settings again.
     
    Hope this helps.
    Thanks
    ZHU

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans