The 'Purchase Order Receipt' entity is msdyn_purchaseorderreceipt
The fields are: -
Purchase Order Receipt Id (Unique Identifier) msdyn_purchaseorderreceiptid
Name (string) msdyn_name
Purchase Order (lookup) msdyn_purchaseorder
Received By (lookup) msdyn_receivedby
Note (memo) msdyn_note
Ship Via (lookup) msdyn_shipvia
Date Received (DateTime) msdyn_datereceived
------------------------------------------------------------------------------------
Late-binding example
-----------------------------------------------------------------------------------
var msdyn_datereceived = result["msdyn_datereceived"];
var msdyn_name = result["msdyn_name"];
var msdyn_note = result["msdyn_note"];
var _msdyn_purchaseorder_value = result["_msdyn_purchaseorder_value"];
var _msdyn_purchaseorder_value_formatted = result["_msdyn_purchaseorder_value@OData.Community.Display.V1.FormattedValue"];
var _msdyn_purchaseorder_value_lookuplogicalname = result["_msdyn_purchaseorder_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
var msdyn_purchaseorderreceiptid = result["msdyn_purchaseorderreceiptid"];
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_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_PurchaseOrder = result.msdyn_PurchaseOrder;
var msdyn_purchaseorderreceiptId = result.msdyn_purchaseorderreceiptId;
var msdyn_ReceivedBy = result.msdyn_ReceivedBy;
var msdyn_ShipVia = result.msdyn_ShipVia;
No comments:
Post a Comment