The 'RMA Receipts' entity is msdyn_rmareceipt
The fields are: -
RMA Receipt Id (Unique Identifier) msdyn_rmareceiptid
Name (string) msdyn_name
RMA (lookup) msdyn_rma
Date Received (DateTime) msdyn_datereceived
Ship Via (lookup) msdyn_shipvia
Note (memo) msdyn_note *
Received By (lookup) msdyn_receivedby
------------------------------------------------------------------------------------
Late-binding example (using OData)
-----------------------------------------------------------------------------------
var msdyn_datereceived = result["msdyn_datereceived"];
var msdyn_name = result["msdyn_name"];
var msdyn_note = result["msdyn_note"];
var _msdyn_receivedby_value = result["_msdyn_receivedby_value"];
var _msdyn_receivedby_value_formatted = result["_msdyn_receivedby_value@OData.Community.Display.V1.FormattedValue"];
var _msdyn_receivedby_value_lookuplogicalname = result["_msdyn_receivedby_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
var _msdyn_rma_value = result["_msdyn_rma_value"];
var _msdyn_rma_value_formatted = result["_msdyn_rma_value@OData.Community.Display.V1.FormattedValue"];
var _msdyn_rma_value_lookuplogicalname = result["_msdyn_rma_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
var msdyn_rmareceiptid = result["msdyn_rmareceiptid"];
var _msdyn_shipvia_value = result["_msdyn_shipvia_value"];
var _msdyn_shipvia_value_formatted = result["_msdyn_shipvia_value@OData.Community.Display.V1.FormattedValue"];
var _msdyn_shipvia_value_lookuplogicalname = result["_msdyn_shipvia_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
-----------------------------------------------------------------------------------
Early-binding example
-----------------------------------------------------------------------------------
var msdyn_DateReceived = result.msdyn_DateReceived;
var msdyn_name = result.msdyn_name;
var msdyn_Note = result.msdyn_Note;
var msdyn_ReceivedBy = result.msdyn_ReceivedBy;
var msdyn_RMA = result.msdyn_RMA;
var msdyn_rmareceiptId = result.msdyn_rmareceiptId;
var msdyn_ShipVia = result.msdyn_ShipVia;
No comments:
Post a Comment