Shouldn't we return contactMechId from getPartyTelephone service

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

Shouldn't we return contactMechId from getPartyTelephone service

Abdullah Shaikh-3
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 ?
Reply | Threaded
Open this post in threaded view
|

Re: Shouldn't we return contactMechId from getPartyTelephone service

Scott Gray-2
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 ?


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Shouldn't we return contactMechId from getPartyTelephone service

Abdullah Shaikh-3
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 <[hidden email]>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 ?
>>
>
>