cancel
Showing results for 
Search instead for 
Did you mean: 

PickLists Service Layer Bin Allocation Problem

0 Kudos

Hello, im trying to update a Picking useing the following Post request to /PickListsService_UpdateReleasedAllocation

{
"PickList": {
"Absoluteentry": 75,
"Name": "name",
"ObjectType": "156",
"PickDate": "2018-07-30",
"OwnerCode": 7,
"PickListsLines": [{
            "AbsoluteEntry": 75,
            "BaseObjectType": 17,
            "OrderEntry": 508,
            "OrderRowID": 0,
            "LineNumber": 0,
            "PickedQuantity": 3,
            "ReleasedQuantity": 5,
            "DocumentLinesBinAllocations": [
                {
                    "BinAbsEntry": 182,
                    "Quantity": 3
                }
            ]
}]
}
}

But im getting the following error

{
    "error": {
        "code": -5002,
        "message": {
            "lang": "en-us",
            "value": "1470000341 - Fully allocate item \"10099\" to bin locations in warehouse \"01\""
        }
    }
}

I tried doing a Post Request before doing this to /PickLists(75)/GetReleasedAllocation but there was no difference. If i dont specify the "DocumentLinesBinAllocations": [] i can update the Picking with no error but the Location get lost.

Any ideas?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Santiago

Add to Lines BIN Allocation line number like this : . "DocumentLinesBinAllocations":[{"BinAbsEntry":4,"Quantity":1,"BaseLineNumber":5}]

and take a look at Sales Unit of measure for the item if its greater than 1 then you need multiply quantity while allocating it to BIN.

Hope it helps

Best

Kriss

0 Kudos

Bump