Re: Invoice Sequence Number
Hi Tejas, You can refer following custom method data to generate sequence for invoice As Taher mentioned you can create service to generate seqId based on your need. Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co On Tue, Apr 10, 2018 at 8:29 PM, Taher Alkhateeb wrote: > 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 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 100 and service 2 > > will maintain invoice sequence from 101 onward. > > > > Anyone can help me to resolve? > > > > -- > > Thanking you, > > > > Warm regards, > > Tejas Lot. > > vnnogile Solutions Private Limited > > www.vnnogile.com > > >
Re: Invoice Sequence Number
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 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 100 and service 2 > will maintain invoice sequence from 101 onward. > > Anyone can help me to resolve? > > -- > Thanking you, > > Warm regards, > Tejas Lot. > vnnogile Solutions Private Limited > www.vnnogile.com >
Invoice Sequence Number
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 100 and service 2 will maintain invoice sequence from 101 onward. Anyone can help me to resolve? -- Thanking you, Warm regards, Tejas Lot. vnnogile Solutions Private Limited www.vnnogile.com