AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.6 Avalara how are multiple shipments handled
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
It doesn't seem like the Avalara gateway supports multiple shipments properly.
If I split an order into two shipments, and each shipment destination is taxable, I should see two different Avalara transactions.
But the gateway is creating transactions with a DocId of the order number. And you can't have two transactions in Avalara with the same DocId.
And further, tax line items do not get assigned to a shipment when the line items are created. So it's impossible to know (in Able) which shipment a particular tax line item belongs to when multiple shipments are involved.
So how is that handled?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
We recently found a bug related to multiple shipments when using recalculate button. There was a null exception on clicking recalculate button. We had this fixed and will be released in the next version. Quote:If I split an order into two shipments, and each shipment destination is taxable, I should see two different Avalara transactions. I will look into the implementation details. Thanks for sharing the details.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I have looked into the implementation details and found that the individual line items can have a different addresses. So creating a new shipment with separate order items will add new tax line items with different addresses when we adjust the tax. If you look into the Avalara transaction details each line item is showing its Ship From and Ship To address. Please let us know if this addresses your concern. Moreover, you might be encountering the error that I mentioned in my previous post. Please confirm that is there any error log entries when you click recalculate on a new shipment. We had fixed the issue. Please tell me if you want the fix so I can share it. Edited by user Wednesday, June 1, 2022 10:14:00 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Thanks for looking into it.
So a single order, with multiple shipments going to difference states/provinces, will still show in Avalara as a single transaction?
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 5/30/2020(UTC) Posts: 125
Thanks: 14 times Was thanked: 3 time(s) in 3 post(s)
|
We are interested in the fix if you have it.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Quote:So a single order, with multiple shipments going to difference states/provinces, will still show in Avalara as a single transaction? Yes, multiple shipments going to different states/provinces will show it as a single transaction in Avalara. Each line item within a single transaction has its own Ship To and Ship From address.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
To fix: 1- Open Website\Areas\Admin\Controllers\OrdersController.cs 2- Search for Code:
// else update the add product view
model = PrepareAddProductModel(model.ProductId, model.OrderId, model.ShipmentId, model.Quantity, model.Price, true);
3- Replace with Code:
// else update the add product view
ModelState.Remove("WarehouseId");
model = PrepareAddProductModel(model.ProductId, model.OrderId, model.ShipmentId, model.Quantity, model.Price, true);
4- Compile the code and update the Ablecommerce.dll It is always good to test locally before making the changes live. Hope it helps!
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.6 Avalara how are multiple shipments handled
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close