cancel
Showing results for 
Search instead for 
Did you mean: 

Problem posting Goods Receipt using Service Layer

former_member636255
Discoverer
0 Kudos

When posting a goods receipt using service layer, I am getting the following error:

-5002 1470000368 - The quantity allocated to bin locations must be positive

Here is the JSON string:

{
"DocEntry": 0,
"DocType": "dDocument_Items",
"BPL_IDAssignedToInvoice": 0,
"DocumentLines": [
{
"ItemCode": "A00001",
"BaseLine": 0,
"Quantity": 1.0,
"WarehouseCode": "05",
"DocumentLinesBinAllocations": [
{
"BinAbsEntry": 1,
"BaseLineNumber": 0,
"Quantity": 1.0,
"BinActionType": "",
"SerialAndBatchNumbersBaseLine": -1
}
],
"BatchNumbers": [],
"SerialNumbers": []
}
]
}

I can't figure out why I am getting this error? Any thoughts?

Accepted Solutions (0)

Answers (0)