Dear Gents,
After i apply the Rollup 13 for MSCRM 2011 i start getting an error whenever i change any project status and thus the Project Status percentage is still the same.
The Error says "There was as error with the Field's customized event"
Event: onchange
Error: Undefined.
and Here is my code:
function Form_onsave()
{
crmForm.all.new_process.ForceSubmit = true;
}
function new_pofsignoff_onchange()
{
if(document.crmForm.all.new_pofsignoff.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+5;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-5;}
}
function new_infraassesment_onchange()
{
if(document.crmForm.all.new_infraassesment.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+5;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-5;}
}
function new_projectplan_onchange()
{
if(document.crmForm.all.new_projectplan.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+5;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-5;}
}
function new_sitereadinessconfirmation_onchange()
{
if(document.crmForm.all.new_sitereadinessconfirmation.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+5;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-5;}
}
function new_implementation_onchange()
{
if(document.crmForm.all.new_implementation.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+40;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-40;}
}
function new_acceptancetest_onchange()
{
if(document.crmForm.all.new_acceptancetest.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+10;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-10;}
}
function new_documentationtraining_onchange()
{
if(document.crmForm.all.new_documentationtraining.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+20;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-20;}
}
function new_handoversignoff_onchange()
{
if(document.crmForm.all.new_handoversignoff.DataValue ==1)
{ document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue+10;}
else
{document.crmForm.all.new_process.DataValue=document.crmForm.all.new_process.DataValue-10;}
}
Can anyone Help me with this please.
Best Regards...
Ahmed.