簡體   English   中英

Acumatica和Avalara未能獲得稅收

[英]Acumatica and Avalara and Failed to Get Taxes

當我們嘗試從發貨到“准備發票”時,我們在Acumatica中看到一個問題(請參見下面的版本)。 當我們安裝了salesdemo基本acumatica時,我們會看到此消息,因此我們知道它與我們的任何定制都不相關。 有人有方向嗎? 我做了谷歌,但我並沒有真正得到任何線索,以取得進展。

屏幕錯誤-無法從Avalara征稅。 檢查跟蹤以了解詳細信息( https://www.dropbox.com/s/b7sxdo5nsblu54w/Screenshot%202019-02-28%2017.39.03.png?dl=0

這是Acumatica內部版本Acumatica 2017 R2內部版本17.210.0034

當我們測試avalara連接時-我們看到了。 與Avalara的連接成功。 該服務的版本是19.2.0.39。

這是錯誤下方的跟蹤:錯誤:TX錯誤:無法從Avalara獲取稅款。 檢查跟蹤以了解詳細信息發送引發日期:2019/2/28 10:38:50屏幕:SO.30.20.00
詳細信息:2019/2/28 10:38:50錯誤: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() 

真正的錯誤包含在跟蹤中:

DocStatus is invalid for this operation.: Expected Saved|Posted 

該錯誤來自Avalara API,但我不確定應在哪里修復。 我會先嘗試介紹Avalara文檔。 他們建議在“管理命令面板”中更改某些內容。

來自Avalara的來源: https ://help.avalara.com/Frequently_Asked_Questions/Miscellaneous/How_do_I_resolve_the_Doc_Status_error_DocStatus_Is_Invalid_for_This_Operation_Expected_Saved%2F%2FPosted%3F

來自上面鏈接的文本副本:

Overview
You want to know how to resolve the error: "DocStatus Is Invalid for This Operation. Expected Saved/Posted."

Environment
AvaTax

Resolution
This error message indicates that the DocCode used to calculate on or import transactions already exists within your Admin Console 
Each document requires a unique identifier for the DocCode
Confirm the duplicate DocCode: Go to the Transactions tab in the Admin Console and search for the particular DocCode 
Try adjusting the beginning date range to a date a few months or years in the past, then search for the specific DocCode
Once you find the transaction with the matching DocCode, determine if this is an exact copy of the transaction you are trying to import or calculate 
If the two transactions are duplicates, you can: 
Not add the transaction again
Change the DocCode by adding a number or letter and add the transaction in a different period
For imports: Use a ProcessCode of 2 or 4 and adjust the current transaction upon import
Change the original transaction to Uncommitted and recalculate the current transaction 
Open the transaction in the Admin Console > click Edit > choose Adjustment Reason > click Save as Uncommitted in orange 
Void will not avoid the error, it must be Uncommitted.
If the two transactions aren't duplicates, change the new transaction's DocCode/invoice number

編輯: Joshua Van Hoesen評論是最可能的解釋:

如果您將Sales Demo數據與有效的Avalara Tax集成一起使用,則很可能您已嘗試使用具有相同[refNbr | doctype]組合,您要么必須將這些文檔從Avalara儀表板中刪除,要么將文檔的編號順序更改為超出已使用的值。 如果您正在使用演示數據集進行測試,然后使用相同的數據集刷新/重新安裝實例,則可能會發生這種情況。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM