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

Problem deleting records from Excel with Entity

(1) ShareShare
ReportReport
Posted on by 4,061
I have made a new custom Entity, My_SuppItemEntity with one table Data Source SuppItemTable
I have also made Security Duties, Priveleges and Roles for the Entity.
 
And if I use the new Entity in Excel, I can create and update existing records in the SuppItemTable, but I can't delete them, when I do i get this error.
"The deletion of a row in data set  was not published. Error message: 'No resources were found when selecting for update.'"
 
I have tried to compare my Entity to the Standard Entity InventInventoryCountingJournalLineEntity, and as far as i can tell they are setup in the same way, and on that one i can Create/Update and Delete records from Excel.
 
So can anyone tell me what I am missing?
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,056 Super User 2025 Season 2 on at
    Problem deleting records from Excel with Entity
    Hi Rudi,
     
    Can you tell us what fields you added as entity key for the data entity?
  • Rudi Hansen Profile Picture
    4,061 on at
    Problem deleting records from Excel with Entity
    The fields in the EntityKey are as follows:
    ItemCode
    ItemRelation
    AccountCode
    AccountRelation
    InventDimId
    SuppItemId
    SuppItemInventDimId
    StagingId
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,316 Super User 2025 Season 2 on at
    Problem deleting records from Excel with Entity
     
    You can delete the record in deleteEntityDataSource method in your custom enitity.
     
    Best regards,
  • Rudi Hansen Profile Picture
    4,061 on at
    Problem deleting records from Excel with Entity
    Hi Mohammed, that does not really seem to work.
     
    1. It does not look like the method is called
    2. Even after making the method, I am still getting the same error.
    3. The method does not exist on InventInventoryCountingJournalLineEntity so if you need it how come delete on that works?

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 2,177

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans