I believe that would be achievable by using two different sequence names. Just create two services each one calling a different sequence name in "Delegator.getNextSeqId(String seqName)". Or depending on your logic, you might be able to do that in the same service.
On Tue, Apr 10, 2018 at 5:45 PM, Tejas Lot <tejas....@vnnogile.in> wrote: > Hello Everyone, > > We have two independent services which generates Invoice. Can we maintain > two sequences in ofbiz (Same as in party accounting preferences) e.g. > service 1 will maintain invoice sequence from 1 to 1000000 and service 2 > will maintain invoice sequence from 1000001 onward. > > Anyone can help me to resolve? > > -- > Thanking you, > > Warm regards, > Tejas Lot. > vnnogile Solutions Private Limited > www.vnnogile.com >