web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • mohamed gamal Profile Picture
    on at
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

    thanks sir it works thanks alot.

  • Community Member Profile Picture
    on at
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

    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();

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

    Hello,

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

    Thanks,.

  • mohamed gamal Profile Picture
    on at
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

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

  • Verified answer
    keoma Profile Picture
    32,729 on at
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

    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
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

    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
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

    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
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

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

  • Alexey Finogenov Profile Picture
    1,659 on at
    RE: how to Use Job Queues to Schedule Tasks to run report or codeunit in specific time in business centeral

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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,132

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,615

#3
Sumit Singh Profile Picture

Sumit Singh 2,912

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans