cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jfreitas
Frequent Visitor

D365FO and powerapps error: the field with id '0' does not exist in table

Hello, 

 

I am fairly new to PowerApps and have been assigned the task of creating a power app that connects to a D365FO entity and then add and update the information. When I attempt to use a form and then SubmitForm() i get the following error: Error.png

This only occurs when I change the information of the form before submitting and will not occur if the form is empty when submitting. 

 

I can provide further information if needed

 

Thank you for any assistance you may be able to provide

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @Jfreitas ,

Could you please share a bit more about the error message within your app?

Have you made some changes within your 'EcoResReleasedProduct' table? Modify columns or remove columns from your D365 F&O table?

 

Please check if you have made some changes to your 'EcoResReleasedProduct' table. If yes, please consider remove the D365 F&O connection from your app, then re-add a new connection to your D365 F&O table from your app, check if the issue is solved.

 

In addition, as an alternative solution, you could also consider submit your form data into your D365 F&O table using Patch function instead of SubmitForm function. Please take a try with the following formula:

Patch(
      EcoResReleasedProduct,
Defaults(EcoResReleasedProduct),
EditForm1.Updates )

check if the issue still exists.

More details about Patch function, please check the following article:

Patch function

 

In addition, such issues are commonly seen in maps when there is a new field added in any of it's associated tables. please also check and see if the following article would help in your scenario:

https://community.dynamics.com/ax/f/33/t/195541

https://community.dynamics.com/ax/f/33/t/170734

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for posting in the community @Jfreitas - can you review the above reply and update the thread when you have a chance? 

 

Thank you,

 

@Anonymous 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (90,599)