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 :
Business Central forum

Where to start with multiple "<Object> <Object ID>" is missing" messages

(0) ShareShare
ReportReport
Posted on by 22

We have a vertical C/AL extension consisting of a few hundred objects. We have converted them all to AL using the PowerShell scripts and Text2AL.exe. In any given object file in VSCode, there may be multiple "Object x is missing" messages because no objects have been successfully compiled--because all objects contain similar mutually referential messages.

What is the method for resolving these missing object messages so that we can reach a point where we can otherwise debug, compile, and publish?

Thanks,

Categories:
I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: Where to start with multiple "<Object> <Object ID>" is missing" messages

    If you don't have all the symbols downloaded then you will get that kind of message, the object ID the error message is referring, are those are std objects or your custom objects.

  • buzzwick Profile Picture
    22 on at
    RE: Where to start with multiple "<Object> <Object ID>" is missing" messages

    Hi Suresh,

    Thanks for responding. I should have been more clear—we have all the base symbols downloaded, that is not a problem. What we have are several hundred non-base or custom objects, which we need to compile into an Extension. Since all of these objects are new, and all reference each other, none will compile, so it seems like a stalemate. 

    Thanks,

    David

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,241 Super User 2025 Season 2 on at
    RE: Where to start with multiple "<Object> <Object ID>" is missing" messages

    Is that object ID exist on other extension ? If yes, you will need to create dependencies to the other extensions. You can only download the symbol from other extension if you have dependencies.

  • buzzwick Profile Picture
    22 on at
    RE: Where to start with multiple "<Object> <Object ID>" is missing" messages

    Hi, 

    None of the objects exist in the base application yet. This is a first-time compile of a set of new objects making up a custom extension.

    David

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,241 Super User 2025 Season 2 on at
    RE: Where to start with multiple "<Object> <Object ID>" is missing" messages

    The Text2AL.exe doesn't give you a perfect conversion from the CAL. You will need to go through all the missing objects ID and identify the issues.

  • Suggested answer
    buzzwick Profile Picture
    22 on at
    RE: Where to start with multiple "<Object> <Object ID>" is missing" messages

    Teddy,

    Turns out you are absolutely correct. Here is the problem:

    The Text2AL.exe tool produces object references that look like this: Record "37031309".  This gives rise to the “Record ‘37031309’ is missing” error.

    What the compiler is looking for is an object reference that looks like this:  Record 37031309. Or alternatively, Record "Bozo Table”. But not what Text2AL produces, which is the integer in quotes.

    So what we have on our hands is a rather sizeable search-and-replace with regular expressions, which we can manage.

    So obvious, once you figure it out!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans