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 :
Microsoft Dynamics NAV (Archived)

Defining a table in the present table in VS Code in NAV

(0) ShareShare
ReportReport
Posted on by 4,188

Hi All

In C/AL coding, We used to declare tables,codeunits,pages etc in the C/AL Globals (Cltr+G) and code it in backend of a field etc.

I need to implement the same in VS code in NAV where I need to declare a table and use it in VS code.

Can someone help me with this?

Thank You.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    60,604 Super User 2025 Season 2 on at
    RE: Defining a table in the present table in VS Code in NAV

    Variablename:  Record "Table Name/ID"

  • Verified answer
    Mohana Yadav Profile Picture
    60,604 Super User 2025 Season 2 on at
    RE: Defining a table in the present table in VS Code in NAV

    page-field.png

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans