The next available batch number can be found in the SystemBusinessRules table as the field StartingBatchNumber.