Author: jleroux
Date: Thu Jan 29 21:51:06 2009
New Revision: 739034
URL:
http://svn.apache.org/viewvc?rev=739034&view=revLog:
A patch from Stephen Rufle "Return partyId from createAccount" '(
https://issues.apache.org/jira/browse/OFBIZ-2150) - OFBIZ-2150
Modified:
ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml
ofbiz/trunk/applications/marketing/servicedef/services.xml
Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml?rev=739034&r1=739033&r2=739034&view=diff==============================================================================
--- ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml (original)
+++ ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/account/AccountServices.xml Thu Jan 29 21:51:06 2009
@@ -30,5 +30,6 @@
<if-compare field="accountType" operator="equals" value="GROUP">
<call-simple-method method-name="createPartyGroupRoleAndContactMechs" xml-resource="org/ofbiz/party/party/PartySimpleMethods.xml"/>
</if-compare>
+ <field-to-result field="partyId"/>
</simple-method>
</simple-methods>
Modified: ofbiz/trunk/applications/marketing/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services.xml?rev=739034&r1=739033&r2=739034&view=diff==============================================================================
--- ofbiz/trunk/applications/marketing/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/marketing/servicedef/services.xml Thu Jan 29 21:51:06 2009
@@ -457,6 +457,8 @@
</auto-attributes>
<attribute name="emailAddress" type="String" mode="IN" optional="true"/>
<attribute name="extension" type="String" mode="IN" optional="true"/>
+ <attribute name="partyId" type="String" mode="OUT" optional="false"/>
+ <attribute name="extension" type="String" mode="IN" optional="true"/>
</service>
<service name="convertLeadToContact" engine="simple" location="org/ofbiz/sfa/lead/LeadServices.xml" invoke="convertLeadToContact">
<attribute name="partyId" type="String" mode="INOUT" optional="false"/>