Try our conversational search powered by Generative AI!

Inventory not reduced [11.4.1]

Vote:
 

Hi!

We just moved from workflows to using SeriliazableCarts and after the upgrade the inventory is not reduced. If I have 28 and buys one item there is still 28 left.

Before calling

var orderReference = _orderRepository.SaveAsPurchaseOrder(cart);

I call

_cartService.RequestInventory(cart);

Just like the Quicksilver example. Should this be enough or do I have do something else?

/Kristoffer

#186001
Dec 08, 2017 13:41
Vote:
 

Hi.

Just to make sure, how do you know there are still 28 left?

#186002
Dec 08, 2017 13:58
Vote:
 

Hi!

I look under the Inventory tab for the current variant.

/Kristoffer

#186003
Dec 08, 2017 14:00
Vote:
 

There are several places you can look at

Were the values in database (InventoryService table) updated?

Do you have the SKU to be tracked, and that specific warehouse to be tracked? The inventory will only be reserved if both of them are true. 

#186004
Dec 08, 2017 14:11
Vote:
 

Ok. The SKU is set to IsTracked = 1, how can I check to warehouse setting?
The value in the InventoryService table was not updated.

#186005
Dec 08, 2017 14:25
Vote:
 

In the inventory tab in Catalog UI, the last column

#186006
Dec 08, 2017 14:28
Vote:
 

Ok, Is Tracked is checked but not the checkbox "Tracked" just above the line in your picture. I guess that is the one missing?

#186007
Dec 08, 2017 14:30
Vote:
 

The tracked checkbox above is at SKU level, so yes, you'd need that 

#186008
Dec 08, 2017 14:31
Vote:
 
<p>Sorry to hijack this thread, but I encounter the opposite problem while dealing with digital products that&nbsp;shouldn't track the inventory.&nbsp;We're upgrading from commerce 10.8.0.0<span>&nbsp;to&nbsp;</span>11.8.3.0 and upon running the&nbsp;CartCheckout workflow we're now getting workflow error "Inventory tracking is disabled". But why is that an error? At SKU-level the checkbox is "not tracked" and it's inventory location has "Is tracked" also&nbsp;disabled.&nbsp;<img src="https://imgur.com/jPAHqRQ" alt="tracking" /></p>
#190597
Apr 12, 2018 14:57
Vote:
 

Michael, feel free to create a new thread. 

I don't think it's an error. It's just a warning you can safely ignore. Even better, you can download the workflow project, modify it to remove the inventory checking/requesting part completely.

#190601
Apr 12, 2018 15:13
Vote:
 

True :) 

Ok thanks, yes I guess that's an option then. I tried providing some params to the work flow (namely "ShouldIgnoreAdjustInventory") which I thought would do it but doesn't. 

#190602
Apr 12, 2018 15:27
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.