Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
A question about debug and source code of FormDataSource
I'm doing debug in a AX2012 R3 environmet.
I want to read the source code of class "FormDataSource". But it seemed that I can't read that source code. How can I figure it out ?
You won't be able to debug FormDataSource class as this is present in the kernel. You can, however, go to System documentation node in AOT and check the class under "Classes" section. You can check this link as well to check the methods present in this class.
What code are you looking to debug in the FormDataSource class?
Thanks for your reply. Your description answers my question. As FormDataSource class is present in the kernel, I can't debug it directly.
>What code are you looking to debug in the FormDataSource class?
In fact, I wondered AX2012 how to update table LogicsticPostAddress's field Address, so I intended to check the update logic of table LogicsticsPostAddress in form Bank Account of Vendor. Howerver it seemed that I couldn't find the source code where calls the method "Update()" of table LogicsticsPostAddress, which made me confused. I just observed that the method "writing()" and "written" of datasource LogisticsPostalAddress were called by AX, but I think these two method are not really the place where to update the table LogicsticsPostAddress. So I guess the it may happen in method "write()" of FormDataSource.
So I want to debug the FormDataSource and read the source code of method “write()”. Could you please give me some suggestion and tell me where is the really place that updates the table LogisticsPostalAddress ?
The writing() and written() methods are used instead of write() in case of change groups. Consult Change Group and Optional Record Modes in AX 2012 documentation for more details.
Thanks for your help. I got it.
Business Applications communities