I am mostly not sending ids and expecting system to generate
it . Only in certain web services its being asked for.

At this moment  i am generating a pseudo random sequence
consisting for some  decorative prefix (based on entityname)
and 10 random alphanumeric chars. this is being checked for
existence before being used. So far i am happy but i feel its only
a temp solution.

regds
mallah.


On Tue, Mar 20, 2018 at 9:45 PM, Taher Alkhateeb <slidingfilame...@gmail.com
> wrote:

> I'm not sure, but you can surely look at the SequenceValueItem entity
> and the services around it. You need to get a bit more familiar with
> how sequence banks work.
>
> On Tue, Mar 20, 2018 at 6:30 PM, Rajesh Mallah <mallah.raj...@gmail.com>
> wrote:
> > Hello List / Taher ,
> >
> > Is there any service that can get the next suitable ID
> > to be used for creating Items of an particular entity type.
> >
> > eg; duplicateProductCategory (
> > /webtools/control/ServiceList?sel_service_name=duplicateProductCategory
> )
> > expects us to send a productCategoryId along with oldProductCategoryId  ,
> > i want to generate the new unique  productCategoryId without risk of
> > collision.
> >
> > does createSequenceValueItem help ? not sure if its fit for current
> problem.
> >
> > regds
> > mallah
> >
> >
> >
> >
> > regds
> > mallah.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Mar 20, 2018 at 3:15 PM, Taher Alkhateeb <
> slidingfilame...@gmail.com
> >> wrote:
> >
> >> Hi Rajesh. Your question is a bit too broad / general, but to take the
> >> example of products related to a party, then a combination between a
> >> view entity and a "performFind" service would be probably sufficient
> >> for your needs. You can also find other search services that are
> >> generic in that sense.
> >>
> >> On Tue, Mar 20, 2018 at 10:05 AM, Rajesh Mallah <
> mallah.raj...@gmail.com>
> >> wrote:
> >> > Hi ,
> >> >
> >> > Although there is a huge collection of services that can be utilized
> >> > for integrating OFBiz into other applications still some services
> >> > seems to be missing.
> >> >
> >> > eg: a service to get Person/PartyGroup entity details using partyId  ,
> >> > or to get list of Products related to a Party in ProductRole entity
> >> >
> >> > The question is what is the general process of enriching the catalog
> >> > of exportable services ? is there is a wishlist where such perceived
> >> > omissions are listed?
> >> >
> >> > Rite now i am resorting to directly querying the entity datasources to
> >> > fill the gap.
> >> >
> >> >
> >> > regds
> >> > mallah.
> >>
>

Reply via email to