I think you cannot (and should not) depend on the database from OFBiz for generating auto sequences.
So sequence banks are handled by OFBiz directly instead and depend on your service implementation. If it is in Java, then you can use the Delegator.getNextSeqId method. On Wed, Apr 5, 2017 at 12:38 PM, Ismail Al Kouz <ialk...@bi-bst.com> wrote: > Hello Dears, > > How I can define new field with auto-increment value on entity > > > > Thanks to all > > > > *Best Regards,* > > > > *Ismail Alkouz* > > Java Developer > > > > [image: Description: Logo for Office-4] > > > > [image: Description: bi email-3-02] > > > > P.O.Box 3516 Amman, 11821 > > The Hashemite Kingdom of Jordan > > *Tel.* +962 (6) 556 2620 > > *Mob (Jordan).* +962 79 282 2098 > > [image: Description: bi email-3-04] > > [image: Description: bi email-3-05] > > /biict > > @biict > > > > >