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 :
Small and medium business | Business Central, N...
Answered

how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

(0) ShareShare
ReportReport
Posted on by

how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral 

I have the same question (0)
  • Alexey Finogenov Profile Picture
    1,659 on at

    maybe useful: To create a job queue entry for batch posting of sales orders

  • mohamed gamal Profile Picture
    on at

    But i need to create this queue on customized codeunit , not related to sales pr purchase or general ledger (background posting) .?

  • Verified answer
    keoma Profile Picture
    32,729 on at

    within the job queue entry you can select the type (codeunit or report). in the objectid field you can select also your custom codeunit.

  • mohamed gamal Profile Picture
    on at

    but sir job queue doesn't work or doesn't execute the customized  codeunit  and i select start and end date time

  • Verified answer
    keoma Profile Picture
    32,729 on at

    maybe there is a bug in the codeunit. does it start, when run directly?

    the codeunit property tableno should be "Job Queue Entry".

  • mohamed gamal Profile Picture
    on at

    yes it works fine 5518.Capture.PNG this img about adding codeunit to job queue.

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Verify if there are issues logged in the application event log file.

    Thanks,.

  • Community Member Profile Picture
    on at

    I use Windows Scheduled Task to fire it off. Point it to a Navision form and inside the form it fires the report off.

    When the form opens up in the On Open Form Section

    REPORT.RUNMODAL(50152, FALSE, FALSE);

    On Close Form Section

    CloseIt.RUN();

  • mohamed gamal Profile Picture
    on at

    thanks sir it works thanks alot.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans