Skip to Content

picklist update for bin and batch managed multiple items

Following is our scenario:-

Standard processIn SAP B1, we are generating Pick List from inventory transfer request having batch managed items stored in bins. This is being done in SAP B1 ( standard process ).Customized processAs the user scans the batch managed items from bins, through DI API our code is updating the picked quantity for that batch in the picklist. In the picklist, we have multiple batches for the multiple items in multiple bin locations.We are successfully able to update picked quantity for an item.But, while updating the picked quantity for different item of same pick list, we are facing issue.Consider the following example of a single picklist updation :-Line 1 Item A Pick Entry - 0 Pickline - 0 Line 2 Item A Pick Entry - 0 Pickline - 1 Line 3 Item B Pick Entry - 1 Pickline - 0 Line 4 Item B Pick Entry - 1 Pickline - 1 If we update the picked qty of picklist in the following order :-Line 3 Item B Pick Entry - 1 Pickline - 0 update successLine 1 Item A Pick Entry - 0 Pickline - 0 update SuccessLine 4 Item B Pick Entry - 1 Pickline - 1 Update FailsThe server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) orInvalid "SerialAndBatchNumbersBaseLine"; specify a valid "SerialAndBatchNumbersBaseLine or Fully allocate item "Line 4 Item B" to bin locations "N02A0017-A-07-L3" in warehouse "N02A0017"

PFA our current code sample that is working for updating picked quantity of a single item with multiple batches and multiple bins.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.