Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM 2011 Qualify Lead buttons not working after RU12 on-premise

$
0
0

After updating to RU12 on-premise we're now running into an issue submitting the qualify for a Lead. Once we click on Ok after making our selections it does nothing and the error below is what it records. This funtionality does the the same thig if we hit cancel as well. After looking at the Conv_Lead.aspx code it clearly looks like the function is setup (correctly?) so I'm a bit at a loss of what needs to be done to fix this?

Any help or ideas is appreciated.

Nothing happens when OK or Cancel is clicked. ONly exiting the screen is a possibility and it gives me the errors below.

***we get the same error for when cancel button is pressed***

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>Syntax error</Message>
   <Line>126</Line>
   <URL>/crm/SFA/Leads/Dialogs/conv_lead.aspx</URL>
   <PageURL>/crm/SFA/Leads/Dialogs/conv_lead.aspx</PageURL>
   <Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function>
   <CallStack>
    <Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function>
    <Function>openStdDlg(url,winArguments,width,height,resizable,modeless,customWinParams,functionReference)</Function>
    <Function>openStdDlgWithCallback(url,winArguments,width,height,functionReference,resizable,modeless,customWinParams)</Function>
    <Function>anonymous(gridControl,records,entityTypeCode){var$v_0=Mscrm.CrmUri.create("/SFA/Leads/Dialogs/conv_lead.aspx");if(records&&records.length>1)$v_0.get_query()["showNew"]=0;var$v_1=[gridControl,records,entityTypeCode],$v_2=Mscrm.Utilities.createCallbackFunctionObject("performActionAfterConvertLead",Mscrm.List,$v_1),$v_3=openStdDlgWithCallback($v_0,null,410,430,$v_2);Mscrm.Utilities.isModalDialogSupported()&&Mscrm.List.performActionAfterConvertLead($v_3,gridControl,records,entityTypeCode)}</Function>
    <Function>anonymous($p0,$p1,$p2,$p3){Mscrm.CrmHeader.setScriptFile(Mscrm.CrmUri.create($p1),true);for(var$v_0=window,$v_1=$p0.split("."),$v_2=0;$v_2<$v_1.length;$v_2++)if($v_0)$v_0=$v_0[$v_1[$v_2]];if(!IsNull($v_0)&&typeof$v_0===Mscrm.TypeNames.functionType){var$v_3=this.$CN_1($p2,$p3);return$v_0.apply(null,$v_3)}returnnull}</Function>
    <Function>anonymous($p0,$p1,$p2,$p3){var$v_0=this.getCommandDefinition($p0,$p1);if(IsNull($v_0)||IsNull($v_0.Actions))returnfalse;for(var$v_1=0;$v_1<$v_0.Actions.length;$v_1++){var$v_2=$v_0.Actions[$v_1];switch($v_2.ActionType){case2:this.$DF_1($v_2.Attributes);break;case3:var$v_3=$v_2.Attributes;this.$9w_1($v_3.FunctionName,$v_3.Library,$v_2.Parameters,$p2);break;case1:this.$DG_1($v_2.Attributes,$v_2.Parameters);break}}returntrue}</Function>
    <Function>anonymous($p0,$p1,$p2){var$v_0=this.parseCommandFromRibbon($p0),$v_1=this.$7s_1($v_0.command,$v_0.entityLogicalName,$p1,$p2),$v_2=$p1;if(!IsNull($v_2)&&!isNullOrEmptyString($v_2.PopulationXML)&&!$v_2.SuppressCommandIncludes){var$v_3=null;if($v_0.entityContext==="Form"){var$v_4=$find("crmFormSelector");if($v_4)$v_3=$v_4.get_currentFormId()}$v_2.PopulationXML=this.$Ep_1($v_2.PopulationXML,$v_0.entityLogicalName,$v_3)}return$v_1}</Function>
    <Function>anonymous($p0,$p1,$p2){if(this.$1w_1&&!this.$1w_1.$3k_1)returnthis.$1w_1.handleCommand($p0,$p1,$p2);returnfalse}</Function>
    <Function>anonymous(handler,commandId,properties,sequenceNumber){returnhandler.handleCommand(commandId,properties,sequenceNumber)}</Function>
    <Function>anonymous($p0,$p1,$p2){var$v_0=this.$2R_0[$p0];if(CUI.ScriptUtility.isNullOrUndefined($v_0))returnfalse;elseif(Array.isInstanceOfType($v_0)){for(var$v_1=$v_0,$v_2=false,$v_3=0;$v_3<$v_1.length;$v_3++){var$v_4=$v_1[$v_3];if(this.callCommandHandler($v_4,$p0,$p1,$p2))$v_2=true}return$v_2}elsereturnthis.callCommandHandler($v_0,$p0,$p1,$p2)}</Function>
    <Function>anonymous(commandId,properties){returnthis.$DE_0(commandId,properties,this.getNextSequenceNumber())}</Function>
    <Function>anonymous(commandId,properties,commandInfo,root){returnthis.$10_1.executeCommand(commandId,properties)}</Function>
    <Function>anonymous($p0){if(CUI.ScriptUtility.isNullOrUndefined($p0.$4_1))return;$p0.$7Q_1=this.$DU_1();var$v_0=$p0.get_commandInfo();$v_0.CommandId=$p0.$4_1;$v_0.RootId=this.$4_0;$v_0.RootType=this.get_rootType();!CUI.ScriptUtility.isNullOrUndefined(this.$26_1)&&this.$26_1.executeRootCommand($p0.$4_1,$p0.$32_1,$v_0,this)}</Function>
    <Function>anonymous($p0){this.$7s_1($p0);returntrue}</Function>
    <Function>anonymous($p0){if($p0.$I_1!==11){$p0.get_commandInfo().RootLocation=$p0.$I_1===2?"UpperRibbon":"LowerRibbon";if($p0.$I_1===2){var$v_0=$p0.$32_1;$p0.get_commandInfo().TabId=$v_0.NewContextId}}returnCUI.Root.prototype.$2n_0.call(this,$p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)</BrowserUserAgent>
   <BrowserLanguage>en-US</BrowserLanguage>
   <SystemLanguage>en-US</SystemLanguage>
   <UserLanguage>en-US</UserLanguage>
   <ScreenResolution>1920x1080</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClientTime>2013-08-13T15:56:18</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1033</OrgLanguage>
    <OrgCulture>1033</OrgCulture>
    <UserLanguage>1033</UserLanguage>
    <UserCulture>1033</UserCulture>
    <OrgID>{18B8FA5C-8A97-442D-86DD-F165239B5EED}</OrgID>
    <UserID>{0A9FE007-38F4-E011-A9A0-005056B754DF}</UserID>
    <CRMVersion>5.0.9690.3236</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport>

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>'applychanges' is undefined</Message>
   <Line>476</Line>
   <URL>/apscrm/SFA/Leads/Dialogs/conv_lead.aspx</URL>
   <PageURL>/apscrm/SFA/Leads/Dialogs/conv_lead.aspx</PageURL>
   <Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function>
   <CallStack>
    <Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function>
    <Function>openStdDlg(url,winArguments,width,height,resizable,modeless,customWinParams,functionReference)</Function>
    <Function>openStdDlgWithCallback(url,winArguments,width,height,functionReference,resizable,modeless,customWinParams)</Function>
    <Function>anonymous(gridControl,records,entityTypeCode){var$v_0=Mscrm.CrmUri.create("/SFA/Leads/Dialogs/conv_lead.aspx");if(records&&records.length>1)$v_0.get_query()["showNew"]=0;var$v_1=[gridControl,records,entityTypeCode],$v_2=Mscrm.Utilities.createCallbackFunctionObject("performActionAfterConvertLead",Mscrm.List,$v_1),$v_3=openStdDlgWithCallback($v_0,null,410,430,$v_2);Mscrm.Utilities.isModalDialogSupported()&&Mscrm.List.performActionAfterConvertLead($v_3,gridControl,records,entityTypeCode)}</Function>
    <Function>anonymous($p0,$p1,$p2,$p3){Mscrm.CrmHeader.setScriptFile(Mscrm.CrmUri.create($p1),true);for(var$v_0=window,$v_1=$p0.split("."),$v_2=0;$v_2<$v_1.length;$v_2++)if($v_0)$v_0=$v_0[$v_1[$v_2]];if(!IsNull($v_0)&&typeof$v_0===Mscrm.TypeNames.functionType){var$v_3=this.$CN_1($p2,$p3);return$v_0.apply(null,$v_3)}returnnull}</Function>
    <Function>anonymous($p0,$p1,$p2,$p3){var$v_0=this.getCommandDefinition($p0,$p1);if(IsNull($v_0)||IsNull($v_0.Actions))returnfalse;for(var$v_1=0;$v_1<$v_0.Actions.length;$v_1++){var$v_2=$v_0.Actions[$v_1];switch($v_2.ActionType){case2:this.$DF_1($v_2.Attributes);break;case3:var$v_3=$v_2.Attributes;this.$9w_1($v_3.FunctionName,$v_3.Library,$v_2.Parameters,$p2);break;case1:this.$DG_1($v_2.Attributes,$v_2.Parameters);break}}returntrue}</Function>
    <Function>anonymous($p0,$p1,$p2){var$v_0=this.parseCommandFromRibbon($p0),$v_1=this.$7s_1($v_0.command,$v_0.entityLogicalName,$p1,$p2),$v_2=$p1;if(!IsNull($v_2)&&!isNullOrEmptyString($v_2.PopulationXML)&&!$v_2.SuppressCommandIncludes){var$v_3=null;if($v_0.entityContext==="Form"){var$v_4=$find("crmFormSelector");if($v_4)$v_3=$v_4.get_currentFormId()}$v_2.PopulationXML=this.$Ep_1($v_2.PopulationXML,$v_0.entityLogicalName,$v_3)}return$v_1}</Function>
    <Function>anonymous($p0,$p1,$p2){if(this.$1w_1&&!this.$1w_1.$3k_1)returnthis.$1w_1.handleCommand($p0,$p1,$p2);returnfalse}</Function>
    <Function>anonymous(handler,commandId,properties,sequenceNumber){returnhandler.handleCommand(commandId,properties,sequenceNumber)}</Function>
    <Function>anonymous($p0,$p1,$p2){var$v_0=this.$2R_0[$p0];if(CUI.ScriptUtility.isNullOrUndefined($v_0))returnfalse;elseif(Array.isInstanceOfType($v_0)){for(var$v_1=$v_0,$v_2=false,$v_3=0;$v_3<$v_1.length;$v_3++){var$v_4=$v_1[$v_3];if(this.callCommandHandler($v_4,$p0,$p1,$p2))$v_2=true}return$v_2}elsereturnthis.callCommandHandler($v_0,$p0,$p1,$p2)}</Function>
    <Function>anonymous(commandId,properties){returnthis.$DE_0(commandId,properties,this.getNextSequenceNumber())}</Function>
    <Function>anonymous(commandId,properties,commandInfo,root){returnthis.$10_1.executeCommand(commandId,properties)}</Function>
    <Function>anonymous($p0){if(CUI.ScriptUtility.isNullOrUndefined($p0.$4_1))return;$p0.$7Q_1=this.$DU_1();var$v_0=$p0.get_commandInfo();$v_0.CommandId=$p0.$4_1;$v_0.RootId=this.$4_0;$v_0.RootType=this.get_rootType();!CUI.ScriptUtility.isNullOrUndefined(this.$26_1)&&this.$26_1.executeRootCommand($p0.$4_1,$p0.$32_1,$v_0,this)}</Function>
    <Function>anonymous($p0){this.$7s_1($p0);returntrue}</Function>
    <Function>anonymous($p0){if($p0.$I_1!==11){$p0.get_commandInfo().RootLocation=$p0.$I_1===2?"UpperRibbon":"LowerRibbon";if($p0.$I_1===2){var$v_0=$p0.$32_1;$p0.get_commandInfo().TabId=$v_0.NewContextId}}returnCUI.Root.prototype.$2n_0.call(this,$p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
    <Function>anonymous($p0){this.$2n_0($p0)&&!CUI.ScriptUtility.isNullOrUndefined(this.$M_0)&&this.$M_0.$Ay_0($p0);this.$Am_0($p0)}</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)</BrowserUserAgent>
   <BrowserLanguage>en-US</BrowserLanguage>
   <SystemLanguage>en-US</SystemLanguage>
   <UserLanguage>en-US</UserLanguage>
   <ScreenResolution>1920x1080</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClientTime>2013-08-13T15:56:19</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1033</OrgLanguage>
    <OrgCulture>1033</OrgCulture>
    <UserLanguage>1033</UserLanguage>
    <UserCulture>1033</UserCulture>
    <OrgID>{18B8FA5C-8A97-442D-86DD-F165239B5EED}</OrgID>
    <UserID>{0A9FE007-38F4-E011-A9A0-005056B754DF}</UserID>
    <CRMVersion>5.0.9690.3236</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport>

-------------------------------------------------------------------------------
***Our conv_lead.aspx function for applychanges***

function cancel( )
{
closeWindow();
}


function applychanges()
{
var ret = new Object();

ret.qualify          = radQualify.checked;
ret.unqualify        = radUnqualify.checked;
ret.account          = cbAddAccount.checked;
ret.contact          = cbAddContact.checked;
ret.opportunity      = cbAddOpportunity.checked;

if(cbAddOpportunity.checked && !IsNull(crmOwnerLookup.DataValue) && !cbAddContact.checked && !cbAddAccount.checked)
{
with(crmOwnerLookup.DataValue[0])
{
if(type == Account)
{
ret.parentAccount    = id;
ret.parentContact    = "";
}
else
{
ret.parentContact    = id;
ret.parentAccount    = "";
}
}
}
else
{
ret.parentContact    = "";
ret.parentAccount    = "";
}

ret.showNew          = cbShowNew.checked;
ret.unqualifyStatus  = selStatus.DataValue;
ret.qualifyStatus  = selQualifyStatus.DataValue;

var sCustParams = "";

if( ret.qualify )
{
sCustParams = "&qualify=" + true ;


if( ret.parentAccount )
{
sCustParams += "&qlShowNew=" + ret.showNew;
sCustParams += "&qlCreateAccount=" + ret.account;
sCustParams += "&qlCreateContact=" + ret.contact;
sCustParams += "&qlCreateOpportunity=" + ret.opportunity;
sCustParams += "&qlOpportunityParentType=1"
sCustParams += "&qlOpportunityParentId=" + ret.parentAccount;
}
else if( ret.parentContact )
{
sCustParams += "&qlShowNew=" + ret.showNew;
sCustParams += "&qlCreateAccount=" + ret.account;
sCustParams += "&qlCreateContact=" + ret.contact;
sCustParams += "&qlCreateOpportunity=" + ret.opportunity;
sCustParams += "&qlOpportunityParentType=2"
sCustParams += "&qlOpportunityParentId=" + ret.parentContact;
}
else
{
sCustParams += "&qlShowNew=" + ret.showNew;
sCustParams += "&qlCreateAccount=" + ret.account;
sCustParams += "&qlCreateContact=" + ret.contact;
sCustParams += "&qlCreateOpportunity=" + ret.opportunity;
sCustParams += "&qlOpportunityParentType=" + "-1";
}

if(cbAddOpportunity.checked)
{
ret.OppCurrencyId = crmCurrencyLookup.DataValue[0].id;
sCustParams += "&qlOppCurrencyId=" + ret.OppCurrencyId;
}
sCustParams += "&ulNewStatus=" + ret.qualifyStatus;
}

else
{
sCustParams = "&qualify=" + false;
sCustParams += "&ulNewStatus=" + ret.unqualifyStatus;
}

ret.sCustParams = sCustParams;

window.returnValue = ret;
closeWindow();
}


Viewing all articles
Browse latest Browse all 8223

Trending Articles



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