Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : ozF0VR7SYFksro0BvqIDhV
Microsoft Dynamics NAV (Archived)

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

Like (0) ShareShare
ReportReport
Posted on 2 Jan 2017 07:32:45 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

  • Verified answer
    Mohana Yadav Profile Picture
    60,209 Super User 2025 Season 1 on 02 Jan 2017 at 07:49:01
    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,209 Super User 2025 Season 1 on 02 Jan 2017 at 07:40:53
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,440 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete