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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    Can someone please help in this error ?

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Hanshal,

    I don't think the error is being thrown from this block of code. Did you debug to check where the error is being thrown from?

  • Community Member Profile Picture
    on at

    Yeah  I tried to debug, but no help from there. It was going normal the way it works for other fields.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Could you try placing a breakpoint in stop method under Box class and see if this breakpoint is hit while debugging?

  • Community Member Profile Picture
    on at

    Hi 

    I suspect some issue with the custom code, could you please remove the custom code and give a try and confirm on the behavior?

    Thanks

  • Community Member Profile Picture
    on at

    Hi Gunjan, 

    Thanks for the suggestion and will try accordingly

  • Community Member Profile Picture
    on at

    Hi Gunjan, yes the breakpoint is hitting the stop method

  • Community Member Profile Picture
    on at

    Hi  Muthu,

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

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    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

    Hi Gunjan,

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

    .804708.capture.PNG

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans