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

Announcements

No record found.

News and Announcements icon
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 

  • Alexey Finogenov Profile Picture
    1,659 on at
  • 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 631 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 409 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 222 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans