Skip to main content

Notifications

Business Central forum

Table Extension Error : Target Table not found.

(1) ShareShare
ReportReport
Posted on by 78

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:
  • AS-03070646-0 Profile Picture
    AS-03070646-0 2 on at
    Table Extension Error : Target Table not found.
    add this in your launch.json
    "schemaUpdateMode": "ForceSync"
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Table Extension Error : Target Table not found.

    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.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Table Extension Error : Target Table not found.

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

  • ManishS Profile Picture
    ManishS 78 on at
    RE: Table Extension Error : Target Table not found.

    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
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Table Extension Error : Target Table not found.

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

  • ManishS Profile Picture
    ManishS 78 on at
    RE: Table Extension Error : Target Table not found.

    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
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Table Extension Error : Target Table not found.

    Can you show us the code?

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans