locked
Can not create Quote in CRM 2011 after installation of UR 17 RRS feed

  • Question

  • Hi,

    today i installed UR 17 on a CRM 2011 Server (Last installed UR was 8). Beside some troubles with not supported JS-Functions know I have a problem to create a salesorder form a quote with CRM-Core-functions.

    When I try to generate an SalesOrder I receive an JS-Error for the function "AcceptQuote". The installation of the UR ended successfully. So, I do not know why there is still an old JS-file from Microsoft on the server.

    The invalid JS-function from CRM:

    function AcceptQuote() {
    	if (!crmForm.IsValid())
    		return;
    	if (IsOutlookClient())
    		if (!ConfirmCreateOrder())
    			return;
    	var oDlgParams = {};
    	oDlgParams.quoteNumber = crmForm.quotenumber.value;
    	oDlgParams.revisionNumber = crmForm.revisionnumber.value;
    	var aoItems = crmForm.all.opportunityid.DataValue,
    	sOppID = aoItems != null ? aoItems[0].id : "";
    	oDlgParams.opportunityID = sOppID;
    	var oResult = openStdDlg(Mscrm.CrmUri.create("/sfa/quotes/dlg_accept.aspx?QuoteId=" + CrmEncodeDecode.CrmUrlEncode(crmFormSubmit.crmFormSubmitId.value) + "&opportunityid=" + CrmEncodeDecode.CrmUrlEncode(sOppID)), oDlgParams, 500, 475);
    	if (oResult)
    		if (oResult.closeOpportunity)
    			if (oResult.useGivenRevenue)
    				doAcceptQuote(oResult.newStatus, oResult.closeDate, oResult.description, true, true, oResult.actualRevenue);
    			else
    				doAcceptQuote(oResult.newStatus, oResult.closeDate, oResult.description, true, false, "");
    		else
    			doAcceptQuote(oResult.newStatus, oResult.closeDate, oResult.description, false, false, "")
    }
    After further research I found some more JS-Files, which contains some incorrect code on der Server (CrmWeb) - salesorder.js, quote.js...

    Does anyone know this issue and maybe has a solution for it?

    Thanks for your replies

    Kind regards

    Klemens



    Wednesday, September 3, 2014 12:40 PM