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

Table Extension Error : Target Table not found.

(1) ShareShare
ReportReport
Posted on by 86

I am trying to create table extension for customer, but when I select the customer from the drop down it shows there, but also shows error : [AL] The target Table Customer for the extension object is not found.

What could be the reason.

I am following the below link for this docs.microsoft.com/.../devenv-extension-example.

Categories:
I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Can you show us the code?

  • ManishS Profile Picture
    86 on at

    This is the Code.

    tableextension 50103 CustomerExt extends Customer
    {
        fields
        {
            // Add changes to table fields here
        }
       
        var
            myInt: Integer;
    }

    This is the App.json file.

    {
    "id": "6f351546-cb87-467c-8828-dfd498d6a472",
      "name": "Rewards",
      "publisher": "Default publisher",
      "brief": "",
      "description": "",
      "version": "1.0.0.0",
      "privacyStatement": "",
      "EULA": "",
      "help": "",
      "url": "",
      "logo": "",
      "capabilities": [],
      "dependencies": [],
      "screenshots": [],
      "platform": "13.0.0.0",
      "application": "13.0.0.0",
      "idRange": {
        "from": 50100,
        "to": 50149
      },
      "runtime": "2.0"
    }
    I have on-prem installation.
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    This is an empty tableextension object. You’re not doing nothing here...

  • ManishS Profile Picture
    86 on at

    Correct cause the extended customer shows error [AL] The target Table Customer for the extension object is not found.

    I have restarted my system and now the error is not shown, unable to understand.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Table not found is due to missing symbols or sometimes just reopen the project in VS Code.

  • Community Member Profile Picture
    on at

    Hi,

    Have u download symbol from your local VS code environment or copy the project folder from other source, because table will show in drop down as symbols are downloaded in other machine but at the time of publish its give error like table extension not found.

    its seems symbols are not downloaded properly on local machine.

  • AS-03070646-0 Profile Picture
    2 on at
    add this in your launch.json
    "schemaUpdateMode": "ForceSync"

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