Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 154803

Forum Post: RE: Javascript for Changing BPF Stages

$
0
0
new_approval is Option set Field or Tow Option plz verify it yourself if this code gave error one of the reason would be the field is not Optionset it is Tow option bit field and this return true/false. to check you can alert the approval value. function ChangeStg() { var approval = Xrm.Page.getAttribute("new_approval").getValue(); alert(approval); if(approval == false) { Xrm.Page.data.process.movePrevious(function (result) { alert(result); }); } }

Viewing all articles
Browse latest Browse all 154803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>