The 'Inventory Adjustments' entity is msdyn_inventoryadjustment
The fields are: -
Inventory Adjustment Id (Unique Identifier) msdyn_inventoryadjustmentid
Name (string) msdyn_name
Adjustment Time (DateTime) msdyn_adjustmenttime
Warehouse (lookup) msdyn_warehouse
Description (memo) msdyn_description
Adjusted By Resource (lookup) msdyn_adjustedbyresource
Requested By Resource (lookup) msdyn_requestedbyresource
------------------------------------------------------------------------------------
Late-binding example (using OData)
-----------------------------------------------------------------------------------
var _msdyn_adjustedbyresource_value = result["_msdyn_adjustedbyresource_value"];
var _msdyn_adjustedbyresource_value_formatted = result["_msdyn_adjustedbyresource_value@OData.Community.Display.V1.FormattedValue"];
var _msdyn_adjustedbyresource_value_lookuplogicalname = result["_msdyn_adjustedbyresource_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
var msdyn_adjustmenttime = result["msdyn_adjustmenttime"];
var msdyn_description = result["msdyn_description"];
var msdyn_inventoryadjustmentid = result["msdyn_inventoryadjustmentid"];
var msdyn_name = result["msdyn_name"];
var _msdyn_requestedbyresource_value = result["_msdyn_requestedbyresource_value"];
var _msdyn_requestedbyresource_value_formatted = result["_msdyn_requestedbyresource_value@OData.Community.Display.V1.FormattedValue"];
var _msdyn_requestedbyresource_value_lookuplogicalname = result["_msdyn_requestedbyresource_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
var _msdyn_warehouse_value = result["_msdyn_warehouse_value"];
var _msdyn_warehouse_value_formatted = result["_msdyn_warehouse_value@OData.Community.Display.V1.FormattedValue"];
var _msdyn_warehouse_value_lookuplogicalname = result["_msdyn_warehouse_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
-----------------------------------------------------------------------------------
Early-binding example
-----------------------------------------------------------------------------------
var msdyn_AdjustedByResource = result.msdyn_AdjustedByResource;
var msdyn_AdjustmentTime = result.msdyn_AdjustmentTime;
var msdyn_Description = result.msdyn_Description;
var msdyn_inventoryadjustmentId = result.msdyn_inventoryadjustmentId;
var msdyn_name = result.msdyn_name;
var msdyn_RequestedByResource = result.msdyn_RequestedByResource;
var msdyn_Warehouse = result.msdyn_Warehouse;
No comments:
Post a Comment