Skip to main content

Notifications

Announcements

No record found.

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 75,942 Super User 2024 Season 2 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 10,863 Super User 2024 Season 2 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. 6,394 Moderator on at
  • Suggested answer
    Ramiz Profile Picture
    Ramiz 463 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 303 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans