svn commit: r1819587 - /ofbiz/ofbiz-framework/trunk/applications/party/servicedef/services_view.xml

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

svn commit: r1819587 - /ofbiz/ofbiz-framework/trunk/applications/party/servicedef/services_view.xml

rishi
Author: rishi
Date: Sat Dec 30 10:30:46 2017
New Revision: 1819587

URL: http://svn.apache.org/viewvc?rev=1819587&view=rev
Log:
Fixed: Order Process Broken - Due to Missing Service Defination. Error was due to missing service defintion and checked that implementation exists for the service. So adding the service definition back.
(OFBIZ-10129)
Thanks to Ratnesh Upadhyay for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/party/servicedef/services_view.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/party/servicedef/services_view.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/servicedef/services_view.xml?rev=1819587&r1=1819586&r2=1819587&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/servicedef/services_view.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/servicedef/services_view.xml Sat Dec 30 10:30:46 2017
@@ -158,4 +158,24 @@ under the License.
         <attribute name="contactMechId" type="String" mode="IN" optional="false"/>
         <attribute name="geos" type="java.util.List" mode="OUT" optional="true"/>
     </service>
+    
+    <service name="getRelatedParties" engine="simple"
+        location="component://party/minilang/party/PartyServices.xml" invoke="getRelatedParties">
+        <description>
+            Get Parties Related to a Party
+            - The relatedPartyIdList coming out will include the original partyIdFrom
+            - The includeFromToSwitched and recurse attributes should by "Y" or "N" and default to N.
+            - The useCache attribute should be "true" or "false", defaults to "false"
+        </description>
+        <attribute name="partyIdFrom" type="String" mode="IN" optional="false"/>
+        <attribute name="partyRelationshipTypeId" type="String" mode="IN" optional="true"/>
+        <attribute name="roleTypeIdFrom" type="String" mode="IN" optional="true"/>
+        <attribute name="roleTypeIdFromInclueAllChildTypes" type="String" mode="IN" optional="true"/>
+        <attribute name="roleTypeIdTo" type="String" mode="IN" optional="true"/>
+        <attribute name="roleTypeIdToIncludeAllChildTypes" type="String" mode="IN" optional="true"/>
+        <attribute name="includeFromToSwitched" type="String" mode="IN" optional="true"/>
+        <attribute name="recurse" type="String" mode="IN" optional="true"/>
+        <attribute name="useCache" type="String" mode="IN" optional="true"/>
+        <attribute name="relatedPartyIdList" type="List" mode="OUT" optional="false"/>
+    </service>
 </services>