Skip to main content

Notifications

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

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How to clear an error statement once its validation is correct

    Is this a standard or customized validation?

    Can you show us the error screenshot for better understanding.

    Thanks,

    Girish S.

  • C4u Profile Picture
    C4u 70 on at
    RE: How to clear an error statement once its validation is correct

    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
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How to clear an error statement once its validation is correct

    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
    C4u 70 on at
    RE: How to clear an error statement once its validation is correct

    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

  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: How to clear an error statement once its validation is correct

    Can you explain more? Where you are getting error?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans