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
- a Work order exists
- related Item is serial- or batch managed item
In all other cases the system returns
{"value": ""}