Hi,
I have two users one AA with role administrator and other BB with role Other than administrator.
For AA >> I close the opp - reopen - CLOSE OPPORTUNITY button appears again - click on CLOSE button work fine
For BB >> I close the opp - reopen - CLOSE OPPORTUNITY button appears again - click on CLOSE button but not working.
DONE following test on same browser - Same Opportunity record - just login users are different
I debugg my js code behind CLOSE OPP button - Xrm.Page.data.getIsValid() return true for user AA
I debugg my js code behind CLOSE OPP button - Xrm.Page.data.getIsValid() return false for user BB
In case of user BB, if i manually refresh form then every thing works normal.
function closeOpportunity(){
-------------------
if (!Xrm.Page.data.getIsValid()) return;
-------------------
OpenPopup();
}