modify read only field in AOT

  • modify read only field in AOT

    Posted by Deb Salyer on April 15, 2020 at 7:35 pm
    • Deb Salyer

      Member

      April 15, 2020 at 7:35 PM

      I need to hit a read onlyĀ  field in the AOT with an import and cannot access it.Ā  In AX 2012 we could change the field in AOT to make it editable.Ā  Is this Possible in D365 F&O?

      ——————————
      Deb Salyer
      DS Erp Inc
      Sarasota FL
      941-351-2990
      deb@dserpinc.com
      ——————————

    • Steeve Gilbert

      Member

      April 16, 2020 at 7:57 AM

      From what I can see you cannot change the “Allow edit” property from an extension.Ā  You could add a virtual field to your entity, import the value to that virtual field and change the read-only field with X++, that would bypass the validation.

      ——————————
      Steeve Gilbert
      Software Development Supervisor
      Boa-Franc S.E.N.C.
      QC, Canada
      ——————————
      ——————————————-

    • Alex Meyer

      Member

      April 16, 2020 at 10:16 AM

      Steeve is correct, you could do this in AX 2012 because Microsoft allowed for overlayering. Now that only extensions can be used, you cannot modify the out of box properties you can only add additional items/objects to them.

      ——————————
      Alex Meyer
      Director of Dynamics AX/365 for Finance & Operations Development
      Fastpath
      Des Moines, IA
      ——————————
      ——————————————-

    • Deb Salyer

      Member

      April 16, 2020 at 10:50 AM

      Thanks for the replies.Ā  Bummer – thanks so much MS!

      ——————————
      Deb Salyer
      DS Erp Inc
      Sarasota FL
      941-351-2990
      deb@dserpinc.com
      ——————————
      ——————————————-

    Deb Salyer replied 6 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘modify read only field in AOT’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!