Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Missing Object in VS Code during Extension Deployment

Posted on by 372

Hello,

Not sure if this is something I have access to fixing, but when trying to work on my extension in VS Code for some reason after downloading symbols the "Purchase Header" table is no longer existing.

This is causing errors where I can not publish my extension. Clearly the table exists in the database. I do not have access to the database or source code as I build the .app and deploy to our test server, and our partner would inturn take that and publish to production.

I have tried deleting my .alcache and re-downloaded the symbols but nothing.

Also - do the version no. in the dependancys have to be the one that is installed, or can it be 0.0.0.0?

Thanks!

  • ChazKimRP Profile Picture
    ChazKimRP 372 on at
    RE: Missing Object in VS Code during Extension Deployment

    Issue is if I then hand the app over to the partner I could have a dependacy in there of a version not in production yet.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Missing Object in VS Code during Extension Deployment

    It should be <= to the number of the app you have in your environment you’re using, so the test environment if you’re deploying here.

  • ChazKimRP Profile Picture
    ChazKimRP 372 on at
    RE: Missing Object in VS Code during Extension Deployment

    I’m referring to the version choice of the dependencies I have in my extension.

    If our partners extension has a newer version than in prod should I be adjusting my file to match that or match what is in our production.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Missing Object in VS Code during Extension Deployment

    Version number for an app is something extremely important to handle with clear rules between developers.

    if in production you have version 1.0.0.0 normally you then develop new features or fixes on a new version (for example 1.0.0.1), test this new version and when ok you put in production the new version.

  • ChazKimRP Profile Picture
    ChazKimRP 372 on at
    RE: Missing Object in VS Code during Extension Deployment

    I would have to have our partner do it I was just looking for a possible faster way since that could take time to do.

    What do you recommend setting the version number then as if the production has different version than test? I only have access to test.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Missing Object in VS Code during Extension Deployment

    Have you tryed to regenerate symbols on this database?

    Regarding dependencies: if you have dependecies from other apps in your app.json file, details like id, name, publisher and version from the dependend app must be provided (in order to be able to donwload symbols of the dependent app). 0.0.0.0 is not valid.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans