本人微信和易信公众号: 微软动态CRM专家罗勇 ,回复261或者20170724可方便获取本文,同时可以在第一间得到我发布的最新的博文信息,follow me!我的网站是 www.luoyong.me 。
Web API在Dynamics CRM中的功能越来越强大,Dynamics 365 (Dynamics CRM V8.2) 又增加了一些通过通过Web API可以执行的操作(Action) ,比如 ExecuteWorkflow这个Action,具体Web API可以执行哪些操作呢?可以参考SDK的 Web API Action Reference 章节,也有在线版本,在线版本是 Web API Action Reference 。当然,这个章节的内容会变化,要查看Dynamics CRM对应版本的SDK。今天要讲解的是利用Chrome浏览器的功能通过Web API调用操作。
在继续阅读之前,如果你对通过Web API执行操作没有概念,强烈建议你先阅读我的文章:Dynamics CRM 2015/2016新特性之二十四:使用Web API执行操作 。
我们先看 ExecuteWorkflow Action 的说明,可以知道它是一个绑定操作, 它有一个输入参数 EntityId ,也有返回参数,是个asyncoperation 实体记录类型。为了测试需要,先要找一个工作流,我这里有一个工作流如下,我这里故意没有选中 作为按需流程 ,是因为我想看看不选中这个是否也可以通过代码执行这个工作流,当然在界面上通过运行工作流此时是找不到这个工作流的。
然后我需要找一条这个工作流对应实体的一条记录,我这里选择一条记录。顺便介绍下如何获取记录ID的方法,右击一条记录,选择 在新窗口中打开 。
然后就会在新窗口中打开,可以看到打开记录时候的URL是类似: https://demo.luoyong.me/main.aspx?etc=10007&extraqs=&histKey=789763582&id=%7bB907DE1B-CF99-E611-8161-000D3A80C8B8%7d&newWindow=true&pagetype=entityrecord&sitemappath=SFA%7cExtensions%7cly_test#348434379 。这个URL中的id=%7b 和 %7d之间的就是这个记录的ID。
我们还需要执行的工作流的ID,在解决方案中双击打开该工作流,有类似这样的URL:https://demo.luoyong.me/sfa/workflow/edit.aspx?_CreateFromId=%7b2721DA92-65A4-E511-80CB-000D3A80CE7F%7d&_CreateFromType=7100&appSolutionId=%7b2721DA92-65A4-E511-80CB-000D3A80CE7F%7d&id=%7b6BEBC426-F722-4B64-AE5D-0DA379F8A8C4%7d
同样的我们可以拿到这个工作流的ID。
我这里借助Fiddler来测试,启用Fiddler抓包,右击一个请求,选择 Replay > Reissue from Composer.
在Fiddler的Composer中打开类似如下:
然后我们就可以更改请求方法,请求URL,请求头Header和请求体Body。我这里更改如下:
POST的URL我改成了:https://demo.luoyong.me/api/data/v8.2/workflows(6BEBC426-F722-4B64-AE5D-0DA379F8A8C4)/Microsoft.Dynamics.CRM.ExecuteWorkflow
Request Body我改成了,特别注意这个Cookie的元素值要保留,用来认证的:
Content-Type: application/json; charset=utf-8
Accept: application/json
OData-MaxVersion: 4.0
OData-Version: 4.0
Cookie: ReqClientId=dff59da0-52dd-42f9-8ab9-e62ad9b24e57; e9cd027f-26a3-e511-80c6-000d3a807ec7_bd2a5c49-6b08-4eda-8a15-84159d9fd349=/Date(1478082706255)/; persistentNavTourCookie=HideNavTour; CRM_MSG_BAR_ServiceDeskAlert%23e9cd027f-26a3-e511-80c6-000d3a807ec7=HideMessage; MSISAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U2VjdXJpdHlDb250ZXh0VG9rZW4gcDE6SWQ9Il9lMzJiMGI3MC1mMjQ1LTRjYTctYjlkYi1mYTFkMWJjMjJmZmItODdFOUZBMDQzNjNCMjJDRTcwRDVDMkZEOTYxQkRDMTkiIHhtbG5zOnAxPSJodHRwOi8vZG9jcy5vYXNpcy1vcGVuLm9yZy93c3MvMjAwNC8wMS9vYXNpcy0yMDA0MDEtd3NzLXdzc2VjdXJpdHktdXRpbGl0eS0xLjAueHNkIiB4bWxucz0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3Mtc3gvd3Mtc2VjdXJlY29udmVyc2F0aW9uLzIwMDUxMiI+PElkZW50aWZpZXI+dXJuOnV1aWQ6MjQyOWJjNjYtOTM5YS00MDkzLTgxNWEtOTM0ODE2ZTg0ZTdiPC9JZGVudGlmaWVyPjxDb29raWUgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwNi8wNS9zZWN1cml0eSI+QVFBQUFOQ01uZDhCRmRFUmpIb0F3RS9DbCtzQkFBQUFSUzFtUzhiMXJVU2RKbUoxem96OWxRQUFBQUFDQUFBQUFBQURaZ0FBd0FBQUFCQUFBQUQyTXZYK1U0elcyVDBFYTZUU2paazNBQUFBQUFTQUFBQ2dBQUFBRUFBQUFKQkdVNk9NVVkzV1lSNWN6UEdTQm9Md0FnQUFFWU8ydHhxQXNxTVo0NS83WUJRL3pGdk1ZWndQWld6RnhjcVhHYWx6ZjZscFVsUVBnVWprSnArVVZYY0IxcGNsMXF5VmZ0UVhvbWQvYm1CazhlUFNPa0gzbHVVSFR1Unc4WDVMSUdrbkxHUzZpeHVKV1A4QW05dkRQd2tJOGszKzZsY1V1Zm81VVYrNGpHcC9WaDdYMGo4c3dSekxGNmFpRkd3SGEwSHVJT2lNdEoxWWlLd24zY2QwUWxObGtVSmM1SHUxZ1FJZldWdHp1d2E3UldXOUsybkY1dDNFZnJjRjdmSHZRK0owV25LSGJZTyt6R0JrU0FoNGtaZlluSXZrNEU4M0trMmMyeHk5enNaWFpaaG13dHhxcVhpRjNMMnN2cEdDTVFlemdPelpvbk1sRVVNdmFQT0ZHcDA3RUF4NUNVenhlSTJsZlY2WmF1ZVFNNTV2K3V6TGNYbUVObzlNd2tYUld2d0hxODB2VnB1R3dxZ1lCKzZaREcxTk9acUtwVlppamx4eHFBbU1nUlFRVFRUNzN4TXR1SU1VYk0vK0tLUVMrcjF0V05nUXRuNkNmeVM1NENBbHJwWjJPL2djVDlEZjdvdHJHVU9YVDZIcXZINWZ1VU1rODRBM1MvbkgvbzhtU245LzRZeXVEeDNiMFlxd2txTWlCeEJlaVdKY1pOWS9sdituaTc5WnhqUXJXR0VYaUVNdDRnMGhGS2RLL0E0aWVxUllRdjhGQ0lUY3BkQU5xbmdiMG5RTmwzYk16d1BRQU5wVTRiYVFxL1BScFlMUEVzMVNzU0o1dnBaRy9UY3Vad2d1dEd2cUVxbDlTS0NHdmRHRW0xN2VVZXQ4YzZZTlFhVTJaUEx3a1BsOExsYVlPblpQMWw4NVBzM0pmbnprTjhqTXRrcUxlaWJ5TVU3ZmhVbVN6alp2Q1YzN3ZCRE1MN2F1NXhMTE53Z2kvcExnazU0b2UySEtIM0oycDArZDZTVk5ldzlvZkIvd2E2d0lMbXllbXBqUnp0ZDMvaEZGMFI3VkRYTExkRjRVOHhldEJicSt6NHgwUmc4NUxhSWFPU2lNUW9DQlRpcm53TkY0aGNUV1ZOYmVzMXphVStQU1JGd1JrT3BWTlM2cFcreXF4UFI3S1QrOTVNTGF1Slgxd1VJYmFWUFd2a3pyKzhQLzFIMm5nVnFSc3pxV1RKbjlrMWxlRWhB; MSISAuth1=M3VIZmdZZmVFcTExU3ErbDBiR1dPQUUvaEMxMFFOejlYa2tRdUxPNFd4SmVLVm82bkw1WllTWU84aDBRMkVqQUdlK1dIQ1A5cjgyQ3p0Z2dvQWhZQk1RNnJlZnJJdXNjVUFBQUFPVUdacjkrcTY0cHhyd2JyYVVuTWEyRVlVUU09PC9Db29raWU+PC9TZWN1cml0eUNvbnRleHRUb2tlbj4=; CRM_MSG_BAR_e9cd027f-26a3-e511-80c6-000d3a807ec7GetAppsForCrm=HideMessage; CRM_MSG_BAR_EnableS2SAlert%23e9cd027f-26a3-e511-80c6-000d3a807ec7=HideMessage
Request Body我改成了:
{"EntityId":"B907DE1B-CF99-E611-8161-000D3A80C8B8"}
我执行的话会返回HTTP Status为500,内部错误:
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; odata.metadata=minimal
Expires: -1
Server: Microsoft-IIS/8.5
REQ_ID: 5b92fe5f-7856-4817-bc18-210b20fa2b08
OData-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Mon, 24 Jul 2017 15:33:39 GMT
Content-Length: 2869
{
"error":{
"code":"","message":"Workflow must be marked as on-demand or child workflow.","innererror":{
"message":"Workflow must be marked as on-demand or child workflow.","type":"System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]","stacktrace":" at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request, ExecutionContext executionContext)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.ExecuteOperation(CrmODataExecutionContext context, EdmOperation edmOperation, Dictionary`2 parameters, Dictionary`2 boundParameters)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.ProcessOperationRequest(String operationName, Dictionary`2 operationParameters, EntityReference entityReference, String boundEntityName, String boundEntityType)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.PostBoundAction(String entityName, String key, String operationName, ODataUntypedActionParameters parameters)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
}
}
}
提示很清晰,工作流必须要选中 作为按需流程 或者是子流程才行。于是我停用该工作流,然后激活该工作流,再来尝试,执行结果如下:
如果查看原版的返回内容是这样的:
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; odata.metadata=minimal
Expires: -1
Server: Microsoft-IIS/8.5
REQ_ID: 0ad59cc7-ab4e-49bf-a05b-8b522db29c75
Preference-Applied: return=representation
OData-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Mon, 24 Jul 2017 15:39:04 GMT
Content-Length: 38136
{
"@odata.context":"https://demo.luoyong.me/api/data/v8.2/$metadata#asyncoperations/$entity","statecode":0,"asyncoperationid":"f9349b37-8670-e711-826c-000d3a80c8b8","_regardingobjectid_value":"b907de1b-cf99-e611-8161-000d3a80c8b8","_owningextensionid_value":"c8556024-8670-e711-826c-000d3a80c8b8","createdon":"2017-07-24T15:39:03Z","_workflowactivationid_value":"c8556024-8670-e711-826c-000d3a80c8b8","depth":1,"messagename":"ExecuteWorkflow","_ownerid_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","name":"\u7f57\u52c7\u6d4b\u8bd5\u5b9e\u4f53\u5b57\u6bb5\u503c\u53d8\u66f4\u540e\u8fd0\u884c\u7684\u5de5\u4f5c\u6d41","correlationid":"0c36b86f-f64f-4ba5-bf58-d260ab9e4022","parentpluginexecutionid":"00000000-0000-0000-0000-000000000000","iswaitingforevent":false,"correlationupdatedtime":"2017-07-24T15:39:03Z","timezoneruleversionnumber":0,"_modifiedby_value":"bef8b450-fb18-4078-a7ac-2b281e1cf051","primaryentitytype":"ly_test","statuscode":0,"operationtype":10,"modifiedon":"2017-07-24T15:39:03Z","sequence":183869,"_modifiedonbehalfby_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","executiontimespan":0.0,"_createdonbehalfby_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","_createdby_value":"bef8b450-fb18-4078-a7ac-2b281e1cf051","_owningbusinessunit_value":"487cdd4b-26a3-e511-80c6-000d3a807ec7","data":"<?xml version=\"1.0\" encoding=\"utf-16\"?><AsyncOperationData xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Crm\"><CallerOrigin xmlns:d2p1=\"http://schemas.datacontract.org/2004/07/Microsoft.Crm.Sdk\" i:type=\"d2p1:WebServiceApiOrigin\" /><InitiatingUserId>e9cd027f-26a3-e511-80c6-000d3a807ec7</InitiatingUserId><InputParameters xmlns:d2p1=\"http://schemas.microsoft.com/xrm/2011/Contracts\" xmlns:d2p2=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\"><d2p1:KeyValuePairOfstringanyType><d2p2:key>EntityId</d2p2:key><d2p2:value xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/\" i:type=\"d4p1:guid\">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>WorkflowId</d2p2:key><d2p2:value xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/\" i:type=\"d4p1:guid\">6bebc426-f722-4b64-ae5d-0da379f8a8c4</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>InputArguments</d2p2:key><d2p2:value i:nil=\"true\" /></d2p1:KeyValuePairOfstringanyType></InputParameters><InvocationSource>0</InvocationSource><OutputParameters xmlns:d2p1=\"http://schemas.microsoft.com/xrm/2011/Contracts\" xmlns:d2p2=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\" /><ParentContext i:nil=\"true\" /><PostEntityImages xmlns:d2p1=\"http://schemas.microsoft.com/xrm/2011/Contracts\" xmlns:d2p2=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\" /><PreEntityImages xmlns:d2p1=\"http://schemas.microsoft.com/xrm/2011/Contracts\" xmlns:d2p2=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\"><d2p1:KeyValuePairOfstringEntitygUGIFE1S><d2p2:key>ly_test</d2p2:key><d2p2:value><d2p1:Attributes><d2p1:KeyValuePairOfstringanyType><d2p2:key>statecode</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>0</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>statuscode</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>1</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdon</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owneridyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money_base</d2p2:key><d2p2:value i:type=\"d2p1:Money\"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ownerid</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedbyyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_integer</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">441</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedon</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2017-07-24T14:29:08Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_bool</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:boolean\">true</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">393470</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>c04ee8b4-27a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>transactioncurrency</d2p1:LogicalName><d2p1:Name>\u4eba\u6c11\u5e01</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>exchangerate</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:decimal\">1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">0</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedby</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdbyyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_decimal</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:decimal\">49902414.9600000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_lookup</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>c823165a-3aa3-e511-80c7-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>account</d2p1:LogicalName><d2p1:Name>\u57ce\u5e02\u7535\u529b\u7167\u660e\u516c\u53f8 (\u793a\u4f8b)</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_optionset</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>364750002</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdby</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_singlelinetext</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u5212\u62ab1</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>487cdd4b-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>businessunit</d2p1:LogicalName><d2p1:Name i:nil=\"true\" /><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money</d2p2:key><d2p2:value i:type=\"d2p1:Money\"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owninguser</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name i:nil=\"true\" /><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_testid</d2p2:key><d2p2:value xmlns:d7p1=\"http://schemas.microsoft.com/2003/10/Serialization/\" i:type=\"d7p1:guid\">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_datetime</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_float</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:double\">499024149.58</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_multilinetext</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u5212\u62ab\u80af\u7cb3\u9640\u9897\u4f3c\u6577\u8d28\u897f\u6444\u6028\u5146\u5f62\u65e6\u7624\u8150\u5492\u82c7\u79cd</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_name</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">2016-10-24T17:49:09</d2p2:value></d2p1:KeyValuePairOfstringanyType></d2p1:Attributes><d2p1:EntityState i:nil=\"true\" /><d2p1:FormattedValues><d2p1:KeyValuePairOfstringstring><d2p2:key>statecode</d2p2:key><d2p2:value>\u53ef\u7528</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>statuscode</d2p2:key><d2p2:value>\u8349\u7a3f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdon</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money_base</d2p2:key><d2p2:value>\u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ownerid</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_integer</d2p2:key><d2p2:value>441</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedon</d2p2:key><d2p2:value>2017-07-24T22:29:08+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_bool</d2p2:key><d2p2:value>\u662f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value>393,470</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value>\u4eba\u6c11\u5e01</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>exchangerate</d2p2:key><d2p2:value>1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value>0</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedby</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_decimal</d2p2:key><d2p2:value>49,902,414.96</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_lookup</d2p2:key><d2p2:value>\u57ce\u5e02\u7535\u529b\u7167\u660e\u516c\u53f8 (\u793a\u4f8b)</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_optionset</d2p2:key><d2p2:value>\u5f88\u4f4e</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdby</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:nil=\"true\" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money</d2p2:key><d2p2:value>\u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owninguser</d2p2:key><d2p2:value i:nil=\"true\" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_datetime</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_float</d2p2:key><d2p2:value>499,024,149.58</d2p2:value></d2p1:KeyValuePairOfstringstring></d2p1:FormattedValues><d2p1:Id>b907de1b-cf99-e611-8161-000d3a80c8b8</d2p1:Id><d2p1:KeyAttributes xmlns:d5p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>ly_test</d2p1:LogicalName><d2p1:RelatedEntities /><d2p1:RowVersion>2368019</d2p1:RowVersion></d2p2:value></d2p1:KeyValuePairOfstringEntitygUGIFE1S><d2p1:KeyValuePairOfstringEntitygUGIFE1S><d2p2:key>PreBusinessEntity</d2p2:key><d2p2:value><d2p1:Attributes><d2p1:KeyValuePairOfstringanyType><d2p2:key>statecode</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>0</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>statuscode</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>1</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdon</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owneridyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money_base</d2p2:key><d2p2:value i:type=\"d2p1:Money\"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ownerid</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedbyyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_integer</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">441</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedon</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2017-07-24T14:29:08Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_bool</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:boolean\">true</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">393470</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>c04ee8b4-27a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>transactioncurrency</d2p1:LogicalName><d2p1:Name>\u4eba\u6c11\u5e01</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>exchangerate</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:decimal\">1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">0</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedby</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdbyyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_decimal</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:decimal\">49902414.9600000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_lookup</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>c823165a-3aa3-e511-80c7-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>account</d2p1:LogicalName><d2p1:Name>\u57ce\u5e02\u7535\u529b\u7167\u660e\u516c\u53f8 (\u793a\u4f8b)</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_optionset</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>364750002</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdby</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_singlelinetext</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u5212\u62ab1</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>487cdd4b-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>businessunit</d2p1:LogicalName><d2p1:Name i:nil=\"true\" /><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money</d2p2:key><d2p2:value i:type=\"d2p1:Money\"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owninguser</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name i:nil=\"true\" /><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_testid</d2p2:key><d2p2:value xmlns:d7p1=\"http://schemas.microsoft.com/2003/10/Serialization/\" i:type=\"d7p1:guid\">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_datetime</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_float</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:double\">499024149.58</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_multilinetext</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u5212\u62ab\u80af\u7cb3\u9640\u9897\u4f3c\u6577\u8d28\u897f\u6444\u6028\u5146\u5f62\u65e6\u7624\u8150\u5492\u82c7\u79cd</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_name</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">2016-10-24T17:49:09</d2p2:value></d2p1:KeyValuePairOfstringanyType></d2p1:Attributes><d2p1:EntityState i:nil=\"true\" /><d2p1:FormattedValues><d2p1:KeyValuePairOfstringstring><d2p2:key>statecode</d2p2:key><d2p2:value>\u53ef\u7528</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>statuscode</d2p2:key><d2p2:value>\u8349\u7a3f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdon</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money_base</d2p2:key><d2p2:value>\u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ownerid</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_integer</d2p2:key><d2p2:value>441</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedon</d2p2:key><d2p2:value>2017-07-24T22:29:08+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_bool</d2p2:key><d2p2:value>\u662f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value>393,470</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value>\u4eba\u6c11\u5e01</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>exchangerate</d2p2:key><d2p2:value>1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value>0</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedby</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_decimal</d2p2:key><d2p2:value>49,902,414.96</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_lookup</d2p2:key><d2p2:value>\u57ce\u5e02\u7535\u529b\u7167\u660e\u516c\u53f8 (\u793a\u4f8b)</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_optionset</d2p2:key><d2p2:value>\u5f88\u4f4e</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdby</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:nil=\"true\" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money</d2p2:key><d2p2:value>\u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owninguser</d2p2:key><d2p2:value i:nil=\"true\" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_datetime</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_float</d2p2:key><d2p2:value>499,024,149.58</d2p2:value></d2p1:KeyValuePairOfstringstring></d2p1:FormattedValues><d2p1:Id>b907de1b-cf99-e611-8161-000d3a80c8b8</d2p1:Id><d2p1:KeyAttributes xmlns:d5p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>ly_test</d2p1:LogicalName><d2p1:RelatedEntities /><d2p1:RowVersion>2368019</d2p1:RowVersion></d2p2:value></d2p1:KeyValuePairOfstringEntitygUGIFE1S></PreEntityImages><PrimaryEntityName>ly_test</PrimaryEntityName><SecondaryEntityName>none</SecondaryEntityName><SharedVariables xmlns:d2p1=\"http://schemas.microsoft.com/xrm/2011/Contracts\" xmlns:d2p2=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\"><d2p1:KeyValuePairOfstringanyType><d2p2:key>PreBusinessEntity</d2p2:key><d2p2:value i:type=\"d2p1:Entity\"><d2p1:Attributes><d2p1:KeyValuePairOfstringanyType><d2p2:key>statecode</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>0</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>statuscode</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>1</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdon</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owneridyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money_base</d2p2:key><d2p2:value i:type=\"d2p1:Money\"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ownerid</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedbyyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_integer</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">441</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedon</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2017-07-24T14:29:08Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_bool</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:boolean\">true</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">393470</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>c04ee8b4-27a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>transactioncurrency</d2p1:LogicalName><d2p1:Name>\u4eba\u6c11\u5e01</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>exchangerate</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:decimal\">1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:int\">0</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedby</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdbyyominame</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_decimal</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:decimal\">49902414.9600000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_lookup</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>c823165a-3aa3-e511-80c7-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>account</d2p1:LogicalName><d2p1:Name>\u57ce\u5e02\u7535\u529b\u7167\u660e\u516c\u53f8 (\u793a\u4f8b)</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_optionset</d2p2:key><d2p2:value i:type=\"d2p1:OptionSetValue\"><d2p1:Value>364750002</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdby</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p1:Name><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_singlelinetext</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u5212\u62ab1</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>487cdd4b-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>businessunit</d2p1:LogicalName><d2p1:Name i:nil=\"true\" /><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money</d2p2:key><d2p2:value i:type=\"d2p1:Money\"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owninguser</d2p2:key><d2p2:value i:type=\"d2p1:EntityReference\"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name i:nil=\"true\" /><d2p1:RowVersion i:nil=\"true\" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_testid</d2p2:key><d2p2:value xmlns:d7p1=\"http://schemas.microsoft.com/2003/10/Serialization/\" i:type=\"d7p1:guid\">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_datetime</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:dateTime\">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_float</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:double\">499024149.58</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_multilinetext</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">\u5212\u62ab\u80af\u7cb3\u9640\u9897\u4f3c\u6577\u8d28\u897f\u6444\u6028\u5146\u5f62\u65e6\u7624\u8150\u5492\u82c7\u79cd</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_name</d2p2:key><d2p2:value xmlns:d7p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d7p1:string\">2016-10-24T17:49:09</d2p2:value></d2p1:KeyValuePairOfstringanyType></d2p1:Attributes><d2p1:EntityState i:nil=\"true\" /><d2p1:FormattedValues><d2p1:KeyValuePairOfstringstring><d2p2:key>statecode</d2p2:key><d2p2:value>\u53ef\u7528</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>statuscode</d2p2:key><d2p2:value>\u8349\u7a3f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdon</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money_base</d2p2:key><d2p2:value>\u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ownerid</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_integer</d2p2:key><d2p2:value>441</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedon</d2p2:key><d2p2:value>2017-07-24T22:29:08+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_bool</d2p2:key><d2p2:value>\u662f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value>393,470</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value>\u4eba\u6c11\u5e01</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>exchangerate</d2p2:key><d2p2:value>1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value>0</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedby</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_decimal</d2p2:key><d2p2:value>49,902,414.96</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_lookup</d2p2:key><d2p2:value>\u57ce\u5e02\u7535\u529b\u7167\u660e\u516c\u53f8 (\u793a\u4f8b)</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_optionset</d2p2:key><d2p2:value>\u5f88\u4f4e</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdby</d2p2:key><d2p2:value>\u7cfb\u7edf\u7ba1\u7406\u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:nil=\"true\" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money</d2p2:key><d2p2:value>\u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owninguser</d2p2:key><d2p2:value i:nil=\"true\" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_datetime</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_float</d2p2:key><d2p2:value>499,024,149.58</d2p2:value></d2p1:KeyValuePairOfstringstring></d2p1:FormattedValues><d2p1:Id>b907de1b-cf99-e611-8161-000d3a80c8b8</d2p1:Id><d2p1:KeyAttributes xmlns:d5p1=\"http://schemas.microsoft.com/xrm/7.1/Contracts\" /><d2p1:LogicalName>ly_test</d2p1:LogicalName><d2p1:RelatedEntities /><d2p1:RowVersion>2368019</d2p1:RowVersion></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>AsyncOperationId</d2p2:key><d2p2:value xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/\" i:type=\"d4p1:guid\">f9349b37-8670-e711-826c-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType></SharedVariables><Stage>30</Stage></AsyncOperationData>","_owninguser_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","subtype":1,"message":null,"dependencytoken":null,"postponeuntil":null,"_owningteam_value":null,"completedon":null,"recurrencepattern":null,"workflowstagename":null,"recurrencestarttime":null,"errorcode":null,"hostid":null,"utcconversiontimezonecode":null,"requestid":null,"friendlymessage":null,"retrycount":null,"startedon":null
}
可以看到执行成功,我去界面上也可以看到执行了工作流: