I am having an issue with retrieving data with CRM 2011 and UR 13 using oData. Below you will see the code we are attempting to use along with the results the sdk.rest is returning. All of this is what we are expecting, except when it goes
into JSON to be parsed, it comes out as undefined. So the successCallback alerts undefined. Does anyone have any ideas regarding this? Am I trying to alert the wrong thing? Thank you for your assistance.
//The oppid has been set to the guid of the opportunity.
//Uses sdk.rest and JSON from CRM SDK
SDK.REST.retrieveRecord(
oppid,
"Opportunity",
"EstimatedValue", null,
function(opp)
{alert(opp.EstimatedValue);},
function()
{alert("Error");});
