Multiple fulfillment centers - error in Commerce Manager


We're doing a Commerce implementation with multiple warehouses, and we've created a custom IFulfillmentWarehouseProcessor as per the suggestions in this article:

This works fine on the website, with cart validation etc. through the API. 

However, in Commerce Manager, I get the error "Multiple fulfillment centers without custom fulfillment process." when I try to change and save the order.

I've tried registering the custom IFulfillmentWarehouseProcessor in the Commerce Manager project both with the ServiceConfiguration attribute and by creating a Commerce InitalizationModule and registering it in the ConfigureContainer-method, as such: context.Services.AddSingleton();

When debugging, the custom implementation never gets invoked, although I can verify that the InitializationModule runs as expected. Commerce Manager just uses the default implementation. Am I missing something here? 

Commerce v.11.8.1

Feb 19, 2018 0:49

Commerce Manager is still using workflows to manage order, so to get rid of that error message, you would have to override this method

protected virtual IWarehouse CheckMultiWarehouse()

One simple way is to download the workflow project from and modify OrderGroupActivityBase as you wish

Feb 19, 2018 7:22

Thanks Quan, you're then man!

BTW, the documentation for multi-warehouse implementations is confusing at best, an example-project would do wonders :)

Feb 19, 2018 9:24

Yes, we are aware that not every documentation we have is the perfect, and we are working on improving them, one by one - but that will take time. If you have suggestion on how to improve a specific documentation, please add comments to that page and we will work on them. Thanks!

Feb 19, 2018 9:28

Quick follow up, Quan - I did as you suggested and downloaded (and modified) the workflow project, which as suspected took care of the error. 

The problem now is that "Release shipment" is disabled even though the order status is "Inventory assigned" and everything otherwise looks correct. Do you have any suggestions?

Feb 19, 2018 14:23

One possible cause is that the order was not paid - i.e. there was no payment, or if the payment total does not match the order total. Is that the case? 

Feb 19, 2018 14:25

Thanks for the quick reply - there is a payment registred on the order for the exact amount of the order total, so that shouldn't be the problem. 

Feb 19, 2018 14:46

Any suggestions for other things to check? Or if you know where I can find the code that handles this, I can take a look myself. 

Feb 20, 2018 9:22

The button is only enabled if one and every lineitem in the shipment has enough quantity in stock, and the order has been paid. Can you check? Also is that only disabaled on a specific order, or on all orders? 

Feb 20, 2018 10:00

I've checked that the line items have stock on the warehouse associated with the shipment and that the order has a processed payment (and the amount matches the order total). 

It's disabled for every order, but that's not saying much, as the site is still in development. 

Feb 20, 2018 12:57

It seems this has to do with the shipping method, we're just testing with the built in ones and it works if I change it to "Fixed Shipping Rate" (from "Ground Shipping"). No clue why, though :)

Feb 20, 2018 13:07
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.