web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to get tableId of recordInsertList by x++?

(0) ShareShare
ReportReport
Posted on by 1,552
Hi,
 
If I have a recordInsertList filled, Am i able to get the tableId from it by code?
  • André Arnaud de Calavon Profile Picture
    307,403 Super User 2026 Season 2 on at
    HI Junior AX,
     
    Can you tell the background of this question? If you fill the recordInsertList, you know what table you are using. So, why would you need to know the table ID? You can get it from the table buffer you use to fill the recordInsertList.
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    As Andre said, the premise of using recordsinsertlist is that you know which table to use. Like the picture below:

    The steps to insert a record are to populate a table buffer, make sure at least the required fields are set, and then call the inset() method on the table buffer. Table buffer variables are declared in X++ by writing the name of the table being used, followed by the variable name. So, you can take a look at the table buffer.
    Best Regards,
    Hana

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 455 Super User 2026 Season 2

#2
CU10121822-0 Profile Picture

CU10121822-0 376

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 47 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans