Hi Maheshwari,
I can see that in the error log it states the following:
"The entity type 'MyFirstModule.Unapprovedparts' does not contain the primitive 'id' as specified in the query."
This is probably because the Entity Unapprovedparts doesn't have an id attribute, however, you can't add an attribute with that name because it is a reserved word:
Solution:
If you are performing a query such as a SELECT *, please remove the *, and instead specify every other column that will be stored in your Entity (don't include id or include it with an alias if you need it).
I hope that helps you solve your problem, best regards!