new method `ubs_numcounter.getRegnumLoosely`
- new method
ubs_numcounter.getRegnumLoosely
- returns the counter number by mask with possible gaps in the sequence, but faster whengetRegnum
(does not lock row in ubs_numcounter table and do less DB queries) -
ubs_numcounter.generateAutoIncrementalCode
now usesgetRegnumLoosely
instead ofgetRegnum
- gaps is not a problem here