locked
Error throws while saving Quote record in CRM 2015 RRS feed

  • Question

  • There are no java scripts, Business Rules, Workflows and plugins on Quote entity. I have entered required fields as Currency and Pricelist and click on Save then it throws error popups as 

    "Entity type not defined"

    "Please review the money fields in the form before continue"

    Can you please help me on this.

    Thursday, August 27, 2015 5:17 PM

All replies

  • If i remove Currency value from Currency field from the Quote form then also it throws error popup as

    "Please review the money fields in the form before continue".

    Thursday, August 27, 2015 5:19 PM
  • Hello Srikanth,

    Second one message is correct. First one is bug to remove it do following:

    1. Create a webresource and add this code:

    function quoteonload(){
    
    Mscrm.QuoteMainSystemLibraryWebResource.onTransactionCurrencyChange = function() {
        !Mscrm.InternalUtilities.JSTypes.isNull(Xrm.Page.ui.controls.get("pricelevelid")) && Xrm.Page.data.entity.attributes.get("pricelevelid").setValue(null);
        Xrm.Utility.alertDialog(Xrm.Internal.getResourceString("LOCID_CURRENCY_CHANGE_ALERT"), null)
    };
    }

    2. Add created webresource to quote form and add quoteonload to functions that would be called during onload.


    Dynamics CRM MVP
    My blog

    Tuesday, September 1, 2015 10:23 AM
    Moderator