Also, to entertain exactly your steps, I repeated the process again but instead of using Postman to delete the item I used Swagger as in your steps:
And the response was exactly the same:
JuiceyBrucey wrote:"Do you think it possible that someone else added the item you created to a stock transfer?"
Yes, I did. I did not use the method described, I used the JIWA interface that shows products being transferred. No one would have touched this product anyway. It is clearly marked as "TESTING, PLEASE IGNORE, BRUCE". The ladies in the office know I am running all sorts of tests.
JuiceyBrucey wrote:The status of the inventory item changes to "locked" or "being transferred" etc, as soon as it is viewed. I can patch any item after viewing, or do several other operations, but I cannot delete.
JuiceyBrucey wrote:In your step 2, the newly created inventory item was not pulled, so it was not locked.
Then it follows that it has not been viewed and therefore it can be deleted without any problem.
JuiceyBrucey wrote:For the item to be locked, it must have been pulled via the plugin.
This item: 2ea9e7a0db2449a08f44 was not pulled, so it was not locked, so it can be deleted.
JuiceyBrucey wrote:For the item to be locked, it must have been pulled via the plugin.
This item: 2ea9e7a0db2449a08f44 was not pulled, so it was not locked, so it can be deleted.
Mike.Sheen wrote:By the way, that query is redundant as we already have built-in queries to retrieve exactly the same information.
Return to Technical and or Programming
Users browsing this forum: No registered users and 1 guest