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, ...
Answered

Add Custom Validation During Import Data thorugh Data Management in D365

(0) ShareShare
ReportReport
Posted on by

Hello Everyone,

I want to add custom validation when data is imported through data management and also maintain their error log in stagging table.

I have the same question (0)
  • Verified answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    Data entity has validatefield and validateWrite method. You can use those methods. The log should be maintained for these validation automatically.

    docs.microsoft.com/.../validations-defaults-unmapped-fields

  • Community Member Profile Picture
    on at

    Thanks for reply.

    Override validate field method is not allowed because its standard entity and i am also try to wrap method through COC but its throw error. I am not sure but before platform 26 we cant apply COC on data entity method but after platform 26 i can do that ? But still i am getting error i don't no why , i am working on platform 29.

    Finally i am using validate field event handler and its working fine. But as compared to event handler my first approach is using COC but i am not sure how we can implement on data entity.

  • Sukrut Parab Profile Picture
    71,735 Moderator on at

    You can do COC on entity methods. What error you are getting when you do COC. What platform and application version you are on. Although you got it to work using event handler , Please share details about the error when you try COC.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans