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...
Suggested Answer

Executing codeunit but facing an error

(1) ShareShare
ReportReport
Posted on by 194
I am executing codeunit through job queue but facing an error.
 
How can I resolve this issue?
I have the same question (0)
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,282 on at
    Hii there,
    as per your snapshot its not got full error reason, so as per advise please check codeunit as per its job queue entry code is contain some error. please check it.
     
     
    Thank You.
    Kamal Khakhkhar
  • Suggested answer
    Ramiz Profile Picture
    597 on at
    Hi,

    It looks like you are running the codeunit with Job Que Entry table (472) but the codeunit is setup to run on table Currency (4).

    Check the codeunit TableNo property and pass the correct table record.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,443 Super User 2025 Season 2 on at
  • Mohamed Amine Mahmoudi Profile Picture
    26,428 Super User 2025 Season 2 on at
    Hi,
     
    Can you please share with us the code of codeunit ?
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Agree with Ramiz, and you can debug with the following method.
    Dynamics 365 Business Central: How to run Job Queue via AL (Debug Job Queue in Sandbox???)
     
    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

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,362

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans