Hi everybody, i will try this retrieveMultiple but even get the same answer:
Dont exist property 'guid' type 'Microsoft.Xrm.Sdk.Entity' at position 25.
var evento = Xrm.Page.getAttribute("mme_eventoasociado");
function noBills(bills, evento)
{
SDK.JQuery.retrieveMultipleRecords("mme_cotizacionevento", "$select=statuscode&$filter=mme_eventoasociado/Id eq guid '" + evento + "'",
function (resultados)
{
if (resultados.length > 0)
return false;
else
return true;
},
function (error) {
Xrm.Utility.alertDialog(error.message);
},
function OnComplete() { });
}
Any ideas?