Skip to Content
avatar image
Former Member

Pick List: how do I allocate batch / binLocation via SDK / DIAPI ?

Using the SBO client, we create a pick list without batch/binLocation allocations, in order to have the possibility to choose batch/binLocation later, during the picking process.

Before adding (picking) a certain item quantity of a certain batch from a certain bin location to a pick list position, we have to prepare the Pick List by allocating quantity/batch/binLocation first.

In the SBO client, you would do this by right clicking a line of the pick list, choose "Batch/Serial Numbers" and then selecting batches and binLocations for the required quantities and thus creating entries like this (see screenshot).

However, we cannot use SBO Client for this step, but our Mobile Scanning application has to do it by SDK.

Our problem:

We can do the actual picking step (by using the picklists object), but we do not know how to perform the preparing step of allocating batch/binLocation via SDK.

Does anyone know which object is to be used, and how?

We currently use SBO 9.2 PL06 HF1.

Thank you!

Jürgen Möckl

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 09, 2017 at 10:25 AM

    Hi,

    Have you checked this?

    Pick List in SAP Business One SDK

    Kind regards,

    ANKIT CHAUHAN

    SAP SME Support

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2017 at 02:53 PM

    Hallo Ankit Chauhan,

    this is exactly what I was looking for:

    oPickLists.GetReleasedAllocation(...)
    and
    oPickLists.UpdateReleasedAllocation()

    This kind of invocation allows you to allocate batches and bin locations.

    Once this step is done you can perform the actual picking (updating pick quantities), using

    oPickLists.GetByKey(...)
    and
    oPickLists.Update()

    Thank you very much.

    That helped me a lot!

    Jürgen Möckl

    Add comment
    10|10000 characters needed characters exceeded