Check inventory status after purchase order is created? [11.5]



When we create our purchase order we can check that the variant is in stock and tell the user when they will have their delivery. But how do we do when we have called the RequestInventory?
When we request the inventory the quantity are descreased. Say we had two in stock and bought two, the inventory will be zero. If we later on for example are sending a confirmation email and then check the inventory we will get zero and we will tell the user another delivery date.

Are there some way to check if a ILineItem was in stock when the order was placed? We have tried to use the IsInventoryAllocated but that one is always true even if one item was from the backorder.



Dec 12, 2017 17:25

Dec 14, 2017 18:40
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.