Single Quantity Picks

Hi,

I’m looking for some advice on automatically splitting quantities when creating picks from warehouse shipments so that the quantity is 1 per line.

E.g.
Create Transfer Order for Item A with Qty 10
Create Warehouse Shipment for Item A with Qty 10
Create Pick with Qty 1 x 10 lines for Item A

  • I know there’s the Split Line function but this is manual and so would need to be run/automated when running the Create Pick function.
  • Would using a FOR loop in the Create Pick codeunit (7312) be a better way to do this?

Any coding examples would be much appreciated! pastedimage1473879990126v1.png

Many thanks!