You Must Complete Setup for All Employees Before You Can Continue

Microsoft Dynamics AX Forum

Harshal Jain picture

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

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;                                            }

Replies (17)

Harshal Jain picture

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

Can someone please help in this error ?

Gunjan Bhattacharyya picture

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

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?

Harshal Jain picture

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

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

Gunjan Bhattacharyya picture

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

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

Former Member picture

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

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

Harshal Jain picture

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

Hi Gunjan,

Thanks for the suggestion and will try accordingly

Harshal Jain picture

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

Hi Gunjan, yes the breakpoint is hitting the stop method

Harshal Jain picture

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?

Gunjan Bhattacharyya picture

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?

Harshal Jain picture

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.

.

Former Member picture

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

Harshal Jain picture

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?

Gunjan Bhattacharyya picture

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.

Former Member picture

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

Harshal Jain picture

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.

Harshal Jain picture

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.

lutzlibing97.blogspot.com

Source: https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/447157/some-of-the-information-that-you-entered-is-not-valid-you-must-enter-valid-information-before-you-can-continue---ax-error/1227698

0 Response to "You Must Complete Setup for All Employees Before You Can Continue"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel