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 158
I am executing codeunit through job queue but facing an error.
 
How can I resolve this issue?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,981 Super User 2025 Season 1 on at
    Executing codeunit but facing an error
    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
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 15,731 Super User 2025 Season 1 on at
    Executing codeunit but facing an error
    Hi,
     
    Can you please share with us the code of codeunit ?
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 8,840 Super User 2025 Season 1 on at
  • Suggested answer
    Ramiz Profile Picture
    Ramiz 507 on at
    Executing codeunit but facing an error
    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
    Kamal Khakhkhar Profile Picture
    Kamal Khakhkhar 335 on at
    Executing codeunit but facing an error
    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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans