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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

Error Executing Code: the field with ID '0' does not exist in table 'InventTableModule' while Data entity Import

(0) ShareShare
ReportReport
Posted on by 55

Hello all,

I just created an extension for inventTableModule and added one custom field to it,

And also created an extension for ReleasedProductV2Entity, and added three fields from the data source to the data entity(three fields referring to the same table field, but we have different modules - sales, purchase, and Inventory). 

0361.pastedimage1594700569728v1.png

InventTableModuleSales, InventTableModulePurchase, and InventTableModuleInvent refers to the same table, so added my custom field from these data sources to a data entity.

And also added three fields in the staging table.

When I try to export, it exports data correctly, but when I try to import I get this error saying - "Error Executing Code: the field with ID '0' does not exist in table 'InventTableModule'"

Can anyone help me with this?

Thanks in advance,

Hardik Patel.

I have the same question (0)
  • Blue Wang Profile Picture
    on at
    RE: Error Executing Code: the field with ID '0' does not exist in table 'InventTableModule' while Data entity Import

    Hi Hardik,

    Such errors are commonly seen in maps when there is a new field added in any of it's associated tables. Then Map then naturally looks for a field mapping for the new field created in the table.So please check the mapping for entity.

    Usually after adding new fields, you need to refresh the entity list and regenerate the mapping for Entity.

    Note: Moved to Finance Forum.

  • Suggested answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at
    RE: Error Executing Code: the field with ID '0' does not exist in table 'InventTableModule' while Data entity Import

    Experienced similar error with another entity import, make sure you are not importing duplicate records.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 806 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans