GetNextBatchNumber

Generate next Batch- or SerialNumber for this work order position.

Use this for receipt process to define the next Batch/Serial number.

 

WorkorderPos/GetNextBatchNumber(DocEntry,LineNumber) 

 

Return

 

{"value": "BarCodeString"}

 

Note: Only working, if

- Work order existing

- related Item is serial or batch managed item

 

In all other cases the system return

{"value": ""}