perceived lack of exportable services

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

perceived lack of exportable services

Rajesh Mallah
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 | Threaded
Open this post in threaded view
|

Re: perceived lack of exportable services

taher
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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: perceived lack of exportable services

Rajesh Mallah
Yep it (performFind) sounds quite powerful ,  didn't knew this existed.
-- thanks

On Tue, Mar 20, 2018 at 3:15 PM, Taher Alkhateeb <[hidden email]
> 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 <[hidden email]>
> 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 | Threaded
Open this post in threaded view
|

Re: perceived lack of exportable services

Rajesh Mallah
In reply to this post by taher
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 <[hidden email]
> 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 <[hidden email]>
> 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 | Threaded
Open this post in threaded view
|

Re: perceived lack of exportable services

taher
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 <[hidden email]> 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 <[hidden email]
>> 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 <[hidden email]>
>> 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 | Threaded
Open this post in threaded view
|

Re: perceived lack of exportable services

Rajesh Mallah
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 <[hidden email]
> 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 <[hidden email]>
> 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 <
> [hidden email]
> >> 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 <
> [hidden email]>
> >> 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.
> >>
>