svn commit: r665974 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml

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

svn commit: r665974 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml

ashish-18
Author: ashish
Date: Mon Jun  9 21:34:33 2008
New Revision: 665974

URL: http://svn.apache.org/viewvc?rev=665974&view=rev
Log:
Improvement on createPartyRelationship service suggested by RolandH on the user mailing list.
Its of one line change so we are not creating JIRA issue for it.

Thanks RolandH for your comments on it.

Modified:
    ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml?rev=665974&r1=665973&r2=665974&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml Mon Jun  9 21:34:33 2008
@@ -766,6 +766,7 @@
     <simple-method method-name="createPartyRelationship" short-description="createPartyRelationship">
         <if-empty field-name="parameters.roleTypeIdFrom"><set field="parameters.roleTypeIdFrom" value="_NA_"/></if-empty>
         <if-empty field-name="parameters.roleTypeIdTo"><set field="parameters.roleTypeIdTo" value="_NA_"/></if-empty>
+        <if-empty field-name="parameters.partyIdFrom"><set field="parameters.partyIdFrom" from-field="userLogin.partyId"/></if-empty>
 
         <if-empty field-name="parameters.fromDate"><now-timestamp-to-env env-name="parameters.fromDate"/></if-empty>