Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I am trying to create a new record in Dynamics 365 Fins&Ops in entity 'Trade allowance Agreement headers'. I am getting the following error -

An error has occurred. Write failed for table row of type 'TAMTradeAllowanceAgreementHeaderEntity'. Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.
clientRequestId: f29f961c-d152-4eb2-af80-f7c8c0c46399

 

Don't know why I am getting the error.

 

 

can anyone provide me detailed procedure to add a record for 'Trade Allowance Agreement' entity through power automate.

 

Thanks

Veena

  • Suggested answer
    Parag Chapre Profile Picture
    Parag Chapre 12,248 Most Valuable Professional on at
    RE: Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

    If you create new entity then it will be still accessible to users. You need to assign the security as per the original entity and additionally, you need to give write permission to users.

  • RE: Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

    It will be for multiple imports yes, i want to create new return orders via power automate. 
    I just don't understand what would be the use of uploading data to a second entity, as this entity will not be accessible for end users.

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Moderator on at
    RE: Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

    End user in D365 F&O can still use ReturnTableListPage as we are not changing any standard functionality by duplicating a standard data entity to use for data import.

    For Read only Data Entities, it's possible to read data in power automate but not to write data. As name suggests it's just for reading/retreiving the data.

    When you duplicate this data entity and set Read-only property to No, then it's possible to write data from power automate.

  • Suggested answer
    Parag Chapre Profile Picture
    Parag Chapre 12,248 Most Valuable Professional on at
    RE: Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

    Hi Power Platform Communities,

    As Mohit mentioned, you cannot perform create, update and delete operation for read-only entity. This means you can't use this entity to perform this operation inside or outside dynamics.

    Workaround: This entity is using SalesTable and LogisticsPostalAddressBaseEntity as datasource. You can ask developer to write a script if you are going to use import one time.

    If you are going to use this for multiple times, then what Mohit mentioned you can do that. Duplicate the entity and make is write only so that you can perform CRUD operations.

    I hope this helps.

  • RE: Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

    Thank you for your quick response,

     

    If i understand correctly you are suggesting to create a second ReturnOrderHeaders entity and import the data into that entity? If i do this, will end users be able to see and interact with the records in the return order user interface? (ReturnTableListPage).

    The real question i'm asking is, is it possible to get data from power automate into a readonly entity in D365?

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Moderator on at
    RE: Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

    Hi, Read only entities are for export only. If you want to import the records, you can duplicate the entity and change the Read-only property.

    And you have to create security privileges for duplicated data entities.

  • RE: Infolog: Error: insert/update/delete not allowed for entity with ReadOnly = Yes.

    Hi VeenaVG,

     

    I am having the same issue with creating a record in the ReturnOrderHeaders entity. This Entity is also readonly. I am starting to think these entities simply do not support creating a new record.

    Have you found any solution to the problem? Thanks in advance.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans