Inventory Item ID format change

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

Inventory Item ID format change

Nagarajan Chandramohan
Hi OFBiz users,

Greetings!

I am new to ofbiz. I ran few production run and added final products to
inventory with serialized Inventory Item type.
I got (auto generated) Inventory Item ID from "10000 to 1000x". is there
any way I can start from 11850 " something like 11850 to 1185x"

Many thanks and Best wishes,
Nagarajan Chandramohan
--
Nagarajan Chandramohan
Softwareentwickler
+49 176 25596292
Skype Name: cbenagaraj
Reply | Threaded
Open this post in threaded view
|

Re: Inventory Item ID format change

Aditya Sharma
Hi Nagarajan Chandramohan,

Welcome to OFBiz ecosystem.

You can set it in SequenceValueItem entity. See
https://demo-stable.ofbiz.apache.org/webtools/control/FindGeneric?entityName=SequenceValueItem

HTH

Thanks and regards,
Aditya Sharma
Sr. Enterprise Software Engineer
*HotWax Systems*
*Enterprise open source experts*
office: 0731-409-3684
http://www.hotwaxsystems.com




On Mon, Jul 1, 2019 at 8:25 PM Nagarajan Chandramohan <
[hidden email]> wrote:

> Hi OFBiz users,
>
> Greetings!
>
> I am new to ofbiz. I ran few production run and added final products to
> inventory with serialized Inventory Item type.
> I got (auto generated) Inventory Item ID from "10000 to 1000x". is there
> any way I can start from 11850 " something like 11850 to 1185x"
>
> Many thanks and Best wishes,
> Nagarajan Chandramohan
> --
> Nagarajan Chandramohan
> Softwareentwickler
> +49 176 25596292
> Skype Name: cbenagaraj
>
Reply | Threaded
Open this post in threaded view
|

Re: Inventory Item ID format change

Deepak Dixit-4
In reply to this post by Nagarajan Chandramohan
Hi Nagarajan,

InventoryItemId is system generated value, if you want to use it as serial
number, it's not the right fit for that. For serialNumner, you can use
inventoryItem.serialNumnber field.
And if you want to generate it as per your pattern you can write your
custom service to generate the inventoryItemId based on your need.
You can refer orderSequence_enforced service for reference, and update the
code to generate the inventoryItemId.


Kind Regards,
Deepak Dixit
DIRECTOR OF PRODUCT ENGINEERING
mobile: +91 9826754548
email: [hidden email]
*www.hotwax.co <http://www.hotwax.co/>*


On Mon, Jul 1, 2019 at 8:25 PM Nagarajan Chandramohan <
[hidden email]> wrote:

> Hi OFBiz users,
>
> Greetings!
>
> I am new to ofbiz. I ran few production run and added final products to
> inventory with serialized Inventory Item type.
> I got (auto generated) Inventory Item ID from "10000 to 1000x". is there
> any way I can start from 11850 " something like 11850 to 1185x"
>
> Many thanks and Best wishes,
> Nagarajan Chandramohan
> --
> Nagarajan Chandramohan
> Softwareentwickler
> +49 176 25596292
> Skype Name: cbenagaraj
>