当我们尝试从 Shipments 转到“Prepare Invoice”时,我们在 Acumatica 中看到了一个问题(参见下面的版本)。当我们安装了 salesdemo base acumatica 时,我们会看到这一点,因此我们知道它与我们的任何定制都无关。有人有方向吗?我做了谷歌,但我并没有真正得到任何导致进展的线索。
屏幕上的错误 - 无法从 Avalara 获取税款。检查跟踪了解详细信息(https://www.dropbox.com/s/b7sxdo5nsblu54w/Screenshot%202019-02-28%2017.39.03.png?dl=0)
这是 Acumatica Build Acumatica 2017 R2 Build 17.210.0034
当我们测试 avalara 连接时 - 我们看到了这一点。与 Avalara 的连接成功。该服务的版本是 19.2.0.39。
这是错误下面的跟踪:TX 错误:无法从 Avalara 获取税款。检查跟踪以获取详细信息发送时间:2/28/2019 10:38:50 PM 屏幕:SO.30.20.00
详细信息:2/28/2019 10:38:50 PM 错误:TX 错误:无法从 Avalara 获取税款. 检查跟踪以获取详细信息
at PX.Objects.AR.ARInvoiceEntry.CalculateAvalaraTax(ARInvoice invoice)
at PX.Objects.AR.ARInvoiceEntry.Persist()
at PX.Objects.SO.SOInvoiceEntry.Persist()
at PX.Data.PXSave`1.d__2.MoveNext()
at PX.Data.PXAction`1.d__31.MoveNext()
at PX.Data.PXAction`1.d__31.MoveNext()
at PX.Data.PXAction`1.PressImpl(Boolean internalCall, Boolean externalCall)
at PX.Data.PXAction`1.Press()
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, PXResultset`2 details, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.InvoiceShipment(SOInvoiceEntry docgraph, SOShipment shiporder, DateTime invoiceDate, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.<>c__DisplayClass41_1.b__1()
at PX.Data.PXLongOperation.<>c__DisplayClass17_0.b__0()
Error: DocStatus is invalid for this operation.: Expected Saved|Posted Send
Raised At: 2/28/2019 10:38:50 PM Screen: SO.30.20.00
Details:
2/28/2019 10:38:50 PM Error:
DocStatus is invalid for this operation.: Expected Saved|Posted
at PX.Objects.AR.ARInvoiceEntry.LogMessages(BaseResult result)
at PX.Objects.AR.ARInvoiceEntry.CalculateAvalaraTax(ARInvoice invoice)
at PX.Objects.AR.ARInvoiceEntry.Persist()
at PX.Objects.SO.SOInvoiceEntry.Persist()
at PX.Data.PXSave`1.d__2.MoveNext()
at PX.Data.PXAction`1.d__31.MoveNext()
at PX.Data.PXAction`1.PressImpl(Boolean internalCall, Boolean externalCall)
at PX.Data.PXAction`1.Press()
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, PXResultset`2 details, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOInvoiceEntry.InvoiceOrder(DateTime invoiceDate, PXResult`6 order, Customer customer, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.InvoiceShipment(SOInvoiceEntry docgraph, SOShipment shiporder, DateTime invoiceDate, DocumentList`2 list)
at PX.Objects.SO.SOShipmentEntry.<>c__DisplayClass41_1.b__1()
at PX.Data.PXLongOperation.<>c__DisplayClass17_0.b__0()
at PX.Data.PXLongOperation.d(Object A_0)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at PX.Data.PXThreadPool.a()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()