web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Form data field extension: modified method override

(0) ShareShare
ReportReport
Posted on by

Hi,

I want to apply logic to the modified method of datasource's field.

I created a formdatafieldstr extension class.

Placed the COC modified method there, but it is not executed (breakpoint isn't hit).

Probably this is because, that on the form itself the modified method isn't overriden (?).

So, how can I have the modified method? I thought maybe I should just have it in my extension class without calling the "next", but in this case I have an error that CoC needs the call to next.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    Hi DAX Dev,

    Have you also considered extending the table event? Do you really need it on form level?

  • Sergei Minozhenko Profile Picture
    23,095 on at

    Hi DAX Dev,

    Could you, please, share full code of your extension class and what F&O are you using? CoC should work even if method is not overriden on the form itself.

  • DAX Dev Profile Picture
    on at

    [ExtensionOf(formDataFieldStr(InventJournalTransfer, InventDimIssue, InventLocationId))]

    final class InventJournalTransferxxx_Extension

    {

       public void modified()

       {

          ---My Code Here---

           next modified();

           ---My Code Here---

       }

    }

  • DAX Dev Profile Picture
    on at

    Hi Andre,

    sure.

    Just want to know what to do if I want to override a method.

  • Sergei Minozhenko Profile Picture
    23,095 on at

    Hi DAX Dev,

    Have you tried to rebuild the project and check it again? And what F&O version are you using? At least it's working in 10.0.10

  • DAX Dev Profile Picture
    on at

    Hi Sergei,

    yes, I built the model with all references.

    I'm using 10.0.9

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi DAX Dev,

    Just to double-check, you want to change the warehouse on line level and apply custom logic? Not on the header level?

  • DAX Dev Profile Picture
    on at

    Hi Sergei,

    as it is possible to modify the warehouse on line level, I would like to apply some validation steps.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans