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.
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.