微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我正在尝试将亚马逊交易作为Acumatica销售订单导入,但遇到500错误

如何解决我正在尝试将亚马逊交易作为Acumatica销售订单导入,但遇到500错误

我正在尝试将亚马逊订单导入Acumatica,并且出现错误“ 500”,并显示以下详细信息

"{\"message\":\"An error has occurred.\",\"exceptionMessage\":\"Operation Failed\",\"exceptionType\":\"PX.Data.PXInvalidOperationException\",\"stackTrace\":\" at PX.Api.ContractBased.EntityService.Put(ISystemContract systemContract,String version,String name,EntityImpl entity,CbOperationContext operationContext,Boolean throwOnError)\\r\\n at PX.Api.ContractBased.soap.soapFacadeBase.PutImpl(EntityImpl entity,Boolean throwOnValidationError)\\r\\n at PX.Api.ContractBased.SystemContra...

有人可以建议出什么问题吗?

我正在使用Celigo推送json消息。到目前为止,我已经可以创建客户记录,但不能创建销售订单。 以下是调试计算机上的完整错误消息:

{"headers":{"content-type":"application/json; charset=utf-8","set-cookie":["Locale=TimeZone=GMTM0500G&Culture=en-US; path=/","UserBranch=1; path=/","requestid=92; path=/"],"date":"Mon,19 Oct 2020 01:32:19 GMT","connection":"close","content-length":"7623"},"body":"{\"message\":\"An error has occurred.\",\"stackTrace\":\"   at PX.Api.ContractBased.EntityService.Put(ISystemContract systemContract,Boolean throwOnError)\\r\\n   at PX.Api.ContractBased.soap.soapFacadeBase.PutImpl(EntityImpl entity,Boolean throwOnValidationError)\\r\\n   at PX.Api.ContractBased.SystemContracts.V2.RestController.PutEntity(EntityImpl entity,String select,String filter,String expand,String custom)\\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.ExceptionServices.ExceptiondispatchInfo.Throw()\\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.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterattribute.<CallOnActionExecutedAsync>d__5.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Web.Http.Filters.ActionFilterattribute.<CallOnActionExecutedAsync>d__5.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterattribute.<ExecuteActionFilterasyncCore>d__0.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterattribute.<CallOnActionExecutedAsync>d__5.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Web.Http.Filters.ActionFilterattribute.<CallOnActionExecutedAsync>d__5.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterattribute.<ExecuteActionFilterasyncCore>d__0.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\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.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.AuthorizationFilterattribute.<ExecuteAuthorizationFilterasyncCore>d__2.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()\\r\\n--- End of stack trace from prevIoUs location where exception was thrown ---\\r\\n   at System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.dispatcher.HttpControllerdispatcher.<SendAsync>d__1.MoveNext()\",\"innerException\":{\"message\":\"An error has occurred.\",\"exceptionMessage\":\"An error occurred during processing of the field InventoryID: Value cannot be null.\\r\\nParameter name: key.\",\"exceptionType\":\"PX.Data.PXException\",\"stackTrace\":\"   at PX.Data.PXCache`1.a(TNode A_0,TNode A_1,IDictionary A_2,PXCacheOperation A_3,Boolean A_4)\\r\\n   at PX.Data.PXCache`1.a(TNode A_0,PXCacheOperation A_3)\\r\\n   at PX.Data.PXCache`1.Insert(IDictionary values)\\r\\n   at PX.Data.PXCache`1.Update(IDictionary keys,IDictionary values)\\r\\n   at PX.Data.PXGraph.ExecuteUpdate(String viewName,IDictionary keys,IDictionary values,Object[] parameters)\\r\\n   at PX.Objects.so.soOrderEntry.ExecuteUpdate(String viewName,Object[] parameters)\\r\\n   at PX.Data.PXGraph.copyPasteCommitChanges(String viewName,OrderedDictionary keys,OrderedDictionary vals)\\r\\n   at PX.Api.SyImportProcessor.SyStep.a(Object A_0,PXFilterRow[] A_1,PXFilterRow[] A_2)\\r\\n   at PX.Api.SyImportProcessor.ExportTableHelper.ExportTable()\",\"exceptionMessage\":\"Value cannot be null.\\r\\nParameter name: key\",\"exceptionType\":\"System.ArgumentNullException\",\"stackTrace\":\"   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)\\r\\n   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)\\r\\n   at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key,TValue& value)\\r\\n   at PX.Data.PXCache`1.GetExtension[Extension](TNode item)\\r\\n   at BZKitProcessing.BZSOOrderEntryExt.ValidateKitExplosion(Nullable`1 kitItemId) in C:\\\\Users\\\\Narek\\\\source\\\\repos\\\\KPKitProcessing\\\\KPKitProcessing\\\\BZSOOrderEntryExt.cs:line 430\\r\\n   at BZKitProcessing.BZSOOrderEntryExt.soLine_OrderQty_FieldUpdated(PXCache sender,PXFieldUpdatedEventArgs e,PXFieldUpdated baseMethod) in C:\\\\Users\\\\Narek\\\\source\\\\repos\\\\KPKitProcessing\\\\KPKitProcessing\\\\BZSOOrderEntryExt.cs:line 118\\r\\n   at PX.Data.PXCache.OnFieldUpdated(String name,Object row,Object oldValue,Boolean externalCall)\\r\\n   at PX.Data.PXCache`1.SetDefaultExt(Object data,String fieldName,Object value)\\r\\n   at PX.Objects.so.soOrderEntry.soLine_InventoryID_FieldUpdated(PXCache sender,PXFieldUpdatedEventArgs e)\\r\\n   at PX.Data.PXFieldUpdated.Invoke(PXCache sender,PXFieldUpdatedEventArgs args)\\r\\n   at SpyTec.BLC.soOrderEntryExt.soLine_InventoryID_FieldUpdated(PXCache sender,PXFieldUpdated baseFieldUpdated)\\r\\n   at PX.Data.PXCache.OnFieldUpdated(String name,Boolean externalCall)\\r\\n   at PX.Data.PXCache`1.a(TNode A_0,Boolean A_4)\"}}}"}

解决方法

我和Celigo在一起。您是否已填好支持票here?我问了我的团队这件事,这就是回应:

似乎与它们的SKU映射有关,这是已发布的完整错误日志中的消息:

Image of revelant Error Log text

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。