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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to modify the ReadOnly property by creating extension?

(1) ShareShare
ReportReport
Posted on by 11
Hello Community,

I'm working on enabling POST operations for SalesInvoiceHeadersV2 and SalesInvoiceV3Lines to create invoice journals using the OData API. These entities are part of the Application Suite model. To allow POST operations, I need to duplicate the entities and change the ReadOnly field in the properties section to No.

However, I've hit a roadblock. After creating a project in Visual Studio and duplicating the entity, I can't save the project because Application Suite isn't authorized for modification. Through further research, I learned that I can modify the entities if I create a new model based on Application Suite and extend them.

My main confusion lies in how to modify the ReadOnly field to allow POST operations. Could you please point me in the right direction or share any helpful documentation?

I've already checked these documents, but they haven't provided much help:

I've also gathered information from posts in this forum. Any assistance would be greatly appreciated.

Thank you in advance!

I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,390 Super User 2025 Season 2 on at
    Hi,
     
    first, you need to create a model for standard element specifications and extensions.
    for the subject of data entities, I suggest you duplicate the entity STD and then you can set Is read only to no.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    First of all, you should duplicate the entity on custom model, you can't duplicate it on standard model.
     
    You can follow the below link to create a new model or use a custom model if you have one:
     
     
     
    This is the first step.
     
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    I think you are not duplicating entity in your custom model. By this time, you should have already created a model. In that custom model you need to duplicate. When you duplicate it, then you will get full control of that entity. So, you can simply make the readonly field to No.
  • Raj Borad Profile Picture
    1,424 on at
    Hi,
     
    Can you please check below document.
     
     
  • Suggested answer
    Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi FB,

    When you create a new model, make sure your newly created project also points to this new model (by right clicking on the project and changing the model property)

    After that, search for the entity in AOT, right click on it then click duplicate in project

    now this new entity will appear in your project, where you can modify the properties you need. You also need to duplicate the staging table. Make sure you give both the entity and staging table a new name and new label

    Also modify the following properties in the new entity:
    PublicCollectionName: change it to a new unique name
    PublicCollectionEntity: change it to a new unique name
    DataManagement Staging table: make sure this points to the new staging table you created

    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi,

    Is your question answered? is yes, then please verify the answers that helped

    Thanks,
    Layan Jweihan

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…

Neeraj Kumar – Community Spotlight

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

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans