You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Adarsh Holavanahalli <ad...@gmail.com> on 2007/05/21 06:50:11 UTC

ofbiz inventory ID format

Hi,

Is there anyway to control the format of the inventory item ID in ofbiz?
right now all inventory items start at 10000 or so. is there a way to add a
prefix or a suffix to the automatically generated item ID?

thanks
Adarsh

Re: ofbiz inventory ID format

Posted by BJ Freeman <bj...@free-man.net>.
just a short note, if you import the product ID thru the webtools.
you can have any product ID you want.
then do the rest manually if you want.

Adarsh Holavanahalli sent the following on 5/20/2007 9:50 PM:
> Hi,
> 
> Is there anyway to control the format of the inventory item ID in ofbiz?
> right now all inventory items start at 10000 or so. is there a way to add a
> prefix or a suffix to the automatically generated item ID?
> 
> thanks
> Adarsh
> 

Re: ofbiz inventory ID format

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Adarsh,

AFAIK there is no prefix attribute for sequenceId in OFBiz (yet?) or any
automatice way to deal with it but you may have a look at
http://tinyurl.com/2j8l64, http://tinyurl.com/37n7xk and
http://tinyurl.com/2uw8b9
You may also have a look at framework/entity/entitydef/entitymodel.xml

Core developpers, please correct me if I'm wrong, thanks.

Jacques

De : "Adarsh Holavanahalli" <ad...@gmail.com>
> Hi,
>
> Is there anyway to control the format of the inventory item ID in
ofbiz?
> right now all inventory items start at 10000 or so. is there a way to
add a
> prefix or a suffix to the automatically generated item ID?
>
> thanks
> Adarsh
>