auto increment field

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

auto increment field

Ismail Al Kouz

Hello Dears,

How I can define new field with auto-increment value on entity

 

Thanks to all

 

Best Regards,

 

Ismail Alkouz

Java Developer

 

 

 

P.O.Box 3516 Amman, 11821

The Hashemite Kingdom of Jordan

Tel.                     +962 (6) 556 2620

Mob (Jordan).   +962 79 282 2098

/biict

@biict

 

 

Reply | Threaded
Open this post in threaded view
|

Re: auto increment field

taher
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 <[hidden email]> 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
>
>
>
>
>