D365 Finance & Operations and Dynamics AX Forum

Expand all | Collapse all

Data management - Entities / D365FO

  • 1.  Data management - Entities / D365FO

    Posted 17 days ago
    ​Hi,
    Looking for som advice on how to prevent and Entity to Update and only do Create.
    I.e. when copying into legal entity, I only want to create new records in the target company, not update existing ones.
    The Entity I am working on is Terms of payment, but it could have been any one.
    /Lars Bonfils, Alfa Laval.

    ------------------------------
    Lars Bonfils
    Alfa Laval Lund AB
    LUND
    ------------------------------
    Conference-AXUG_200x200


  • 2.  RE: Data management - Entities / D365FO

    SILVER CONTRIBUTOR
    Posted 14 days ago
      |   view attached
    Hi,

    If you are looking to prevent updates of your required entity technically(i.e through code) then you can implement the code provided as an attachment. Please replace SampleEntity and SampleTable with your required entity and table names respectively.

    ------------------------------
    Regards,
    Chaitanya Golla
    Lead Architect
    ------------------------------

    Conference-AXUG_200x200


  • 3.  RE: Data management - Entities / D365FO

    Posted 14 days ago
    ​Thanks Chaitanya,
    I was more looking for a setting on the entities, but coding then seems to be the only way out.
    /Lars

    ------------------------------
    Lars Bonfils
    Alfa Laval Lund AB
    LUND
    ------------------------------

    Conference-AXUG_200x200


If you've found this thread useful, dive deeper into User Group community content by role