My Products
Help

Endpoint Stocktake PUT - Only first 5 (update)lines are processed

by Roland van Belle - Consolit

We use the Endpoint Stocktake v2 in our barcodescanning solution. Today one of our customers reports a problem with processing of stockpages. After we analysed the problem, we found out only the first 5 lines of the message where processed.

 

Our customer now cannot process the stocktaking. Because this is one of our biggest customers, this is an very urgent problem.

 

Please let us know how this bug introduces itself and how (and when) it will be solved.

 

Thank you very much for the reply.

6 REPLIES 6

by Yıldırım

Hi Roland, we're currently looking into that. Could you share the steps had been followed, including your payload and the customer's companyID&name ? 

That is great news Yildrim. It's one of our biggest customers, who can not do the stocktake now.

You can imagine it has our priority at the moment.

 

The user creates an inventory order in Visma net.

We load the inventory order into the scanner by the API (GET Stocktake v2).

 

After the user enters all counted quantities in the scanner we run a PUT:

Request: 

 

PUT https://integration.visma.net/API/controller/api/v2/stocktake/003534 

 

{"lines":[{"operation":"Update","lineNbr":{"value":7},"physicalQuantity":{"value":80.0}},"operation":"Update","lineNbr":"value":4},"physicalQuantity":{"value":180.0}},{"operation":"Update","lineNbr":{"value":8},"physicalQuantity":{"value":496.0}},{"operation":"Update","lineNbr":{"value":6},"physicalQuantity":{"value":44.0}},{"operation":"Update","lineNbr":{"value":2},"physicalQuantity":{"value":24.0}},{"operation":"Update","lineNbr":{"value":1},"physicalQuantity":{"value":174.0}},{"operation":"Update","lineNbr":{"value":3},"physicalQuantity":{"value":162.0}},{"operation":"Update","lineNbr":{"value":5},"physicalQuantity":{"value":53.0}},{"operation":"Update","lineNbr":{"value":9},"physicalQuantity":{"value":6.0}}]}

 

This results in a inventory page with 5 counted lines. The rest remain empty.

We tested it with the swagger with the same result. All inventory pages had 5 lines counted and the rest empty.

 

CompanyID: 3286391

 

Please let us know if this is enough info.

Thanks for the information, Roland. This is now a confirmed issue, we're able to reproduce it. We've started working on that, so updates will be forthcoming. 

Accepted solution
Yıldırım
VISMA

Hello, we've pinpointed the root cause and the issue has been resolved. Could you please check it out on your side to confirm whether it is working as it should now ? 

We tested and can confirm the issue is solved!

Thank you very much for this fast reply.

Glad to hear Roland !