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

How to clear an error statement once its validation is correct

(0) ShareShare
ReportReport
Posted on by 70

I am stuck with a situation, where an error occurs when we try to use an invalid or irrelevant parameter. After giving the correct parameter and clicking on save button, I can still able to see error message which is inappropriate. 

Help me to eradicate that error once the correct data has been saved.

Thanks in advance.

Regards, 

C4u

I have the same question (0)
  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Can you explain more? Where you are getting error?

  • C4u Profile Picture
    70 on at

    While entering quantity which is an integer, instead I have typed a string and that throws an error. Now, When I mention some number ( integer ) and click on save button, the error message should disappear by now but its not, its still showing

  • GirishS Profile Picture
    27,833 Moderator on at

    Hi C4U,

    Have you checked whether the data "Quantity" is stored in the table after giving the correct value?

    Thanks,

    Girish S.

  • C4u Profile Picture
    70 on at

    Yes it is, I can able to see the error message implemented in this way

    if ( Condition )

    {

          throw AifFault::fault( Error message );

    }

  • GirishS Profile Picture
    27,833 Moderator on at

    Is this a standard or customized validation?

    Can you show us the error screenshot for better understanding.

    Thanks,

    Girish S.

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
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 438

#3
Adis Profile Picture

Adis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans