Announcements
No record found.
Hi All
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 ?
Yours Regards
Jacky
Hi Jacky,
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?
Hi Gunjan,
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 ?
Best Regards
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.
Hi Martin
Thanks for your help. I got it.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 627
André Arnaud de Cal... 615 Super User 2026 Season 1
CP04-islander 301