Skip to Content

Integration failure - Quantity falls into negative inventory

Hi Experts,

I have been adding Deliveries based on Sales Orders using service layer and i have one case in which the delivery gives me the following Error

{    "error" : 
{       "code" : -10,
       "message" : 
{          "lang" : "en-us",
          "value" : "Quantity falls into negative inventory  [DocumentLines.ItemCode][line: 2]"

i am 100% sure that the item is available in that specific warehouse in the specific batch number and everything is just fine,

i have added the delivery as a draft to check it out and try to add it manually after checking it,

the draft is just fine the items are available in the warehouse and batches are allocated just fine i could not add it even when i'm looking at the draft and knowing nothing is off.

Note that if i copied the sales order manually and inserted same batches the document add normally and everything is fine.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers