Skip to Content
0

Integration failure - Quantity falls into negative inventory

May 02 at 06:30 PM

22

avatar image

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

System.Data.Services.Client.DataServiceClientException: 
{    "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

API
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers