Notifications
Announcements
No record found.
Hello community
I want to know if is possible to extend the calss Ax<Table>. For example I am using the class AxPurchRFQCaseTable to create thru code a purch RFQ but I had two new fields created on this table thru extension, I want will create the parmFieldMethod to my two new fields in the AxPurchRFQCaseTable but I saw that I could not create an extension of the class, Could you help me to know what I need to do to create the methos parms in this class and use it to pass the value of my new two fields?
Axd classes are legacy . AIF is deprecated so it's not recommended to use those classes. Instead of that look for any available data entities for that table using find reference in visual studio and extend that entity to add your fields.
Hi Diego,
Sukrut is correct. The AX<table> classes were part of AIF which had been deprecated in Dynamics 365. You can find this information and the reason on the next page: docs.microsoft.com/.../deprecated-features
Thanks Sukuru. In advance on this, Do you have a sample of code (x++) of how I can import data thru Data Entiy without using a File, I mean I am passing fields from SalesQuotationTable to the PurchRFQCaseTable I am no using any kind of file for the DIXF.
You can use data entities in X++ in almost the same way as tables - create a buffer, fill in fields and call methods such as validateWrite() and insert().
Example is provided in below link.
docs.microsoft.com/.../build-consuming-data-entities
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 660 Most Valuable Professional
André Arnaud de Cal... 549 Super User 2025 Season 2
Sohaib Cheema 307 User Group Leader