Skip to main content

Notifications

Community site session details

Community site session details

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

Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

(0) ShareShare
ReportReport
Posted on by

Hi,

I have added one of the validation on validatefield method for ,but after modifying the tab I am getting the following error . Kindly help and see.

The code which I wrote - 

case fieldNum(BssiPrmLeaseCharge, BssiPrmDirectCost):
        {
              
            if(this.BssiPRMASC842Type == BssiPRMASC842Type::OperatingLease)
            {
                if(this.BssiPRMDirectCostExpense == 0)
                {
                    ret =  checkFailed("Please fill the value of direct cost expense field");
                    //this. BssiPrmDirectCost = 0;
                   
                    
                }
                
               else if(this.BssiPRMUnamortizedDirectCost == 0)
                {
                    ret = checkFailed("Please fill the value of unamortized direct cost field");
                    
                }
                break;
               

            }
            break;
            

                    
        }

2744.MicrosoftTeams_2D00_image.png

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Hi all, I moved the code to modified field method and this resolved the problem.

  • Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    please ensure you are checking the field (which has X,Y,Z values) in case condition statement and within the case you can include further sub conditions.

    hope this helps

  • Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Hi Muthu,

    The requirement is that for X,Y,Z leases the field should have field only if A,B,C accounts have values.

  • Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Great, can you please let me know your requirement to help better?

    Thanks

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Hi Hanshal,

    The screenshot does not provide enough information. Since removing the code takes care of the error, can you scroll down in the call stack to check if it lists the validateField method? That should tell you which line of code is causing the issue.

  • Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Hi Muthu,

    Yes after removing the code i am not getting any error. Can you suggest now, what to do?

  • Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Yes from validate field method 

  • Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Hi Gunjan,

    Here is the attached image of the call stack.  Please have a look and check.

    .804708.capture.PNG

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Hi Hanshal,

    Could you please check the Call stack and check from where the "stop" method is being called? This way we could determine if what the issue is.

    In this case have you customized a standard object or have you created a custom object from scratch?

  • Community Member Profile Picture
    on at
    RE: Some of the information that you entered is not valid. You must enter valid information before you can continue. - ax error

    Hi  Muthu,

    from where should i remove the custom code? from validate field?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,998 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,850 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans