Batch process with control number

Does anyone know how to number the control # globally?

We need to provide the global control number on the batched EDI document.
We say, with the same sender/Receiver pair, the number should be provided sequentialize and can be managed via EDI control number table.
Such as

If we setup the oneBatchQueue to be “singleOutput”, the control number always starts from one. Not an acceptable solution for us.

Any idea on this? Thanks.

The oneBatchQueue parameter is not the input that controls how control numbers are generated. Set the “controlNumber” input to “fromTable” and you will get the desired behavior. The EDI docs cover this in detail.