web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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 8

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

I have the same question (0)
  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    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.

  • Power Platform Communities Profile Picture
    8 on at

    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
    12,565 Moderator on at

    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
    12,254 Most Valuable Professional on at

    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.

  • Power Platform Communities Profile Picture
    8 on at

    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
    12,565 Moderator on at

    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.

  • Power Platform Communities Profile Picture
    8 on at

    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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 66

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 40 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans