|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
本帖最后由 LLmoe 于 2023-12-16 18:53 编辑
- [
- {
- "OtherID": "PN231216000025",
- "DocStatus": 0,
- "IsApproved": false,
- "SplitBy": [
- ],
- "potorcvDTOS": [
- {
- "BusinessDate": "2023-12-16 18:34:48",
- "Amount1": 50,
- "Amount2": 50,
- "PONo": "PO02401100003",
- "POLineNo": 1,
- "Memo": "送货单:AUTO-PD231216001,件数:1.00,批次M413231216001",
- "rlInfo": {
- "Wh": {
- "m_name": "01",
- "m_code": "01"
- },
- "StorageType": 4
- },
- "ArrivalDate": "2023-12-16 18:34:48",
- "ConfirmDate": "2023-12-16 18:34:48",
- "RcvQtyPU": 50
- }
- ]
- }
- ]
复制代码 接口为:采购标准收货来源采购订单的回写
以下是出错误信息
- {
- "ResCode": 500,
- "Success": false,
- "ResMsg": "未将对象引用设置到对象的实例。",
- "Data": {
- "URL": "/Receivement/CreateRcvBySrcPO",
- "Controller": "Receivement",
- "Action": "CreateRcvBySrcPO",
- "Arguments": "{"createRcvBySrcPODTOs":[{"potorcvDTOS":[{"BusinessDate":"2023-12-16T18:51:18","Amount1":11.0,"Amount2":11.0,"PONo":"PO02401100003","POLineNo":1,"POShipLineNo":0,"POShipLineKey":0,"DescFlexField":null,"Memo":"送货单:AUTO-PD231216001,件数:1.00,批次M413231216001","rlInfo":{"RcvLineLocations":null,"Wh":{"$id":"1","m_iD":0,"m_code":"01","m_name":"01","sysState":0},"InvLotCode":null,"WhMan":null,"StorageType":4,"InvLotEnableDate":"0001-01-01T00:00:00","InvLotValidDate":0,"InvDisabledTime":"0001-01-01T00:00:00","ConfirmDate":"0001-01-01T00:00:00","DestroyQtyTU":0.0,"RejectQtyTU":0.0,"UnqualifiedQtyTU":0.0,"RtnFillQtyTU":0.0,"RtnDeductQtyTU":0.0},"ArrivedTime":"0001-01-01T00:00:00","ConfirmDate":"2023-12-16T18:51:18","RcvQtyPU":11.0,"TUToPURate":0.0,"RcvQtyCU":0.0,"TUToCURate":0.0,"RcvQtySU":0.0,"TUToSURate":0.0}],"SplitBy":[],"IsApproved":false,"DocStatus":0,"OtherID":"PN231216000001"}]}",
- "Content": "",
- "Headers": "Cache-Control=no-cache&Pragma=no-cache&Accept=text/html&Accept-Encoding=gzip&Accept-Language=zh-CN&Cookie=__screen_params=1920:1080:1920:969, ASP.NET_SessionId=qe4zk0ck43bkxh2jdqhwx3gh, .ASPXANONYMOUS=4juVfi5m3AEkAAAAMGQ0ZTQ3NDItMTg1My00YjhlLWFmMTYtNzA3ZThlYmIyNjc30&Host=14.23.91.114:8861&User-Agent=Mozilla/5.0&Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJFbnRlcnByaXNlSUQiOiIwMyIsIkVudENvZGUiOiIwMyIsIkN1bHR1cmVOYW1lIjoiemgtQ04iLCJPcmdDb2RlIjoiMTAxIiwiT3JnSUQiOiIxMDAyMzExMTQwNDU2MjkwIiwiT3JnTmFtZSI6IjEwMDIzMTExNDA0NjE2NDciLCJVc2VySUQiOiIxMDAyMzExMTQwNDYxNjQ3IiwiVXNlckNvZGUiOiJNRVNVc2VyIiwiVXNlck5hbWUiOiJNRVNVc2VyIiwiRXhwaXJlIjoiMjAyNC0wMS0xMVQxODo1NjoxOS4zNjU1MzUrMDg6MDAiLCJWYWxpZEF1ZGllbmNlIjoiMDMxMDFNRVNVc2VyMTcwNDk5OTA3OTM2NSIsIkVmZmVjdGl2ZU1pbiI6NSwiQXBwSUQiOm51bGwsIlRva2VuRXh0ZW5kS2V5IjoiTUVTVXNlckAxMDFAMDNAIn0.fVTCPO_0JjIMUjBIbcKgHDCM94fR-zR_tiLJvWqzTSs",
- "ExceptionMessage": "未将对象引用设置到对象的实例。",
- "ExceptionTrace": " 在 UFIDA.U9.ISV.RestSV.Business.SCM.PM.Receivement.CreateRcvBySrcPO.ConvertTransformDTOToData(List`1 TransformDTOs) 位置 F:\\WorkFolder\\U9CERelease\\U9CE\\src\\App\\ISV\\RestSV\\Code\\RestPMSV\\Business\\PM\\Receivement\\CreateRcvBySrcPO.cs:行号 359\r\n 在 UFIDA.U9.ISV.RestSV.Business.SCM.PM.Receivement.CreateRcvBySrcPO.Do(List`1 createRcvBySrcPODTOs) 位置 F:\\WorkFolder\\U9CERelease\\U9CE\\src\\App\\ISV\\RestSV\\Code\\RestPMSV\\Business\\PM\\Receivement\\CreateRcvBySrcPO.cs:行号 49\r\n 在 UFIDA.U9.ISV.RestSV.Controller.SCM.PM.ReceivementController.CreateRcvBySrcPO(List`1 createRcvBySrcPODTOs) 位置 F:\\WorkFolder\\U9CERelease\\U9CE\\src\\App\\ISV\\RestSV\\Code\\RestPMSV\\Controller\\PM\\ReceivementController.cs:行号 187\r\n 在 lambda_method(Closure , Object , Object[] )\r\n 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n 在 System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- 引发异常的上一位置中堆栈跟踪的末尾 ---\r\n 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n 在 System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()"
- }
- }
复制代码
|
|