You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Abdullah Shaikh <ab...@viithiisys.com> on 2009/09/12 14:33:56 UTC

Shouldn't we return contactMechId from getPartyTelephone service

I need to update party's telecom number, to get the user telecom number, I
am using getPartyTelephone service, and to update I am using
updatePartyTelecomNumber, but this service expects  "contactMechId" to
update the record.

Just to checkout, I also looked at createUpdatePartyTelecomNumber,
updatepartyContactMech, both of which expects
"contactMechId"<https://localhost:8443/webtools/control/ServiceList?sel_service_name=createUpdatePartyTelecomNumber>
.

It will be better if we return "contactMechId" from the getPartyTelephone
service, so that we get "contactMechId" from this service itself, instead of
using some other way to lookup the "contactMechId".

If this sounds ok then I can provide the patch. what do you think ?

Re: Shouldn't we return contactMechId from getPartyTelephone service

Posted by Abdullah Shaikh <ab...@viithiisys.com>.
Hi Scott,

I have created a Jira issue (
https://issues.apache.org/jira/browse/OFBIZ-2949) for this and also attached
the patch.

Thanks,
Abdullah

Viithiisys
http://www.viithiisys.com

On Sat, Sep 12, 2009 at 7:06 PM, Scott Gray <sc...@hotwaxmedia.com>wrote:

> Hi Abdullah,
>
> That's sounds perfectly reasonable to me.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 13/09/2009, at 12:33 AM, Abdullah Shaikh wrote:
>
>  I need to update party's telecom number, to get the user telecom number, I
>> am using getPartyTelephone service, and to update I am using
>> updatePartyTelecomNumber, but this service expects  "contactMechId" to
>> update the record.
>>
>> Just to checkout, I also looked at createUpdatePartyTelecomNumber,
>> updatepartyContactMech, both of which expects
>> "contactMechId"<
>> https://localhost:8443/webtools/control/ServiceList?sel_service_name=createUpdatePartyTelecomNumber
>> >
>> .
>>
>> It will be better if we return "contactMechId" from the getPartyTelephone
>> service, so that we get "contactMechId" from this service itself, instead
>> of
>> using some other way to lookup the "contactMechId".
>>
>> If this sounds ok then I can provide the patch. what do you think ?
>>
>
>

Re: Shouldn't we return contactMechId from getPartyTelephone service

Posted by Scott Gray <sc...@hotwaxmedia.com>.
Hi Abdullah,

That's sounds perfectly reasonable to me.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 13/09/2009, at 12:33 AM, Abdullah Shaikh wrote:

> I need to update party's telecom number, to get the user telecom  
> number, I
> am using getPartyTelephone service, and to update I am using
> updatePartyTelecomNumber, but this service expects  "contactMechId" to
> update the record.
>
> Just to checkout, I also looked at createUpdatePartyTelecomNumber,
> updatepartyContactMech, both of which expects
> "contactMechId"<https://localhost:8443/webtools/control/ServiceList?sel_service_name=createUpdatePartyTelecomNumber 
> >
> .
>
> It will be better if we return "contactMechId" from the  
> getPartyTelephone
> service, so that we get "contactMechId" from this service itself,  
> instead of
> using some other way to lookup the "contactMechId".
>
> If this sounds ok then I can provide the patch. what do you think ?