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 :
Small and medium business | Business Central, N...
Answered

The Target Table XXX for the extension object is not found

(0) ShareShare
ReportReport
Posted on by

Hello. 

Good day. 

I'm a newbie in extension development. 

I'm having a problem publishing extension on Purchase Line. it says The target table "Purchase Line" for the extension object is not found. 

I'm using the latest version of AL Language. please see image below for reference. 

pastedimage1571877339737v1.png

does anyone have any idea why this error occurs ?

thanks in advance. 

I have the same question (0)
  • Suggested answer
    Genie Cetas Profile Picture
    472 on at

    Hi Jhan,

           Check whether the application symbols have been downloaded.

  • Community Member Profile Picture
    on at

    hello. I already downloaded the symbols. and it still not recognizing the two tables which is Purchase Header and Purchase Line.

  • Suggested answer
    Genie Cetas Profile Picture
    472 on at

    What is the version number on the symbols and what is the version in your app.json application element?

  • Community Member Profile Picture
    on at

    inside my .alpackages is

    1. Microsoft_Application_14.0.29537.0.app

    2. Microsoft_System_14.0.29530.0.app

    and this is my app.json

    {

     "id": "05cad991-a9a7-405e-b6a7-0e3409508237",

     "name": "Purchase Request",

     "publisher": "Infosoft Inc.",

     "version": "1.0.0.0",

     "brief": "",

     "description": "",

     "privacyStatement": "",

     "EULA": "",

     "help": "",

     "url": "",

     "logo": "",

     "dependencies": [],

     "screenshots": [],

     "platform": "14.0.0.0",

     "application": "14.0.0.0",

     "idRanges": [

       {

         "from": 50100,

         "to": 59999

       }

     ],

     "contextSensitiveHelpUrl": "https://GH.com/help/",

     "showMyCode": true,

     "runtime": "3.0"

    }

  • Genie Cetas Profile Picture
    472 on at

    Please try the below steps

    1. check the version of VSIX of al language installed in VS code and that of the installed BC VERSION.

    2. Delete existing symbols from your project and download again.

    3. Try to reload VS code and publish.

  • Community Member Profile Picture
    on at

    Hi Genie. I already try your suggestion and still having the same issue.

  • Genie Cetas Profile Picture
    472 on at

    Can you try to open your system application symbol with AL Object Browser and check whether Purchase Line table exist or not.

  • Verified answer
    Genie Cetas Profile Picture
    472 on at

    It seems like you don't have every object while CSide was enabled to generate symbol information.

    Regenerate the symbols using generatesymbolreference command and redownload them again.

    Here is the doc link for generating symbol reference : https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-running-cside-and-al-side-by-side

  • Community Member Profile Picture
    on at

    this actually works. thanks, Genie :)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans