Author: arunpatidar
Date: Sat Nov  5 05:35:50 2016
New Revision: 1768151

URL: http://svn.apache.org/viewvc?rev=1768151&view=rev
Log:
Fixed: Moved CRUD service of PaymentMethodType in specific file. 
(OFBIZ-8648)

Thanks: Jacques for reviewing and reporting.

Modified:
    ofbiz/trunk/applications/accounting/servicedef/services_payment.xml
    ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml

Modified: ofbiz/trunk/applications/accounting/servicedef/services_payment.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_payment.xml?rev=1768151&r1=1768150&r2=1768151&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_payment.xml 
(original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_payment.xml Sat Nov 
 5 05:35:50 2016
@@ -371,16 +371,6 @@ under the License.
         <auto-attributes include="pk" mode="IN"/>
     </service>
 
-    <service name="createPaymentMethodType" engine="entity-auto" 
invoke="create" default-entity-name="PaymentMethodType" auth="true">
-        <description>Create a PaymentMethodType record</description>
-        <auto-attributes include="pk" mode="INOUT" optional="true"/>
-        <auto-attributes include="nonpk" mode="IN" optional="true"/>
-    </service>
-    <service name="deletePaymentMethodType" engine="entity-auto" 
invoke="delete" default-entity-name="PaymentMethodType" auth="true">
-        <description>Delete a PaymentMethodType record</description>
-        <auto-attributes include="pk" mode="IN"/>
-    </service>
-
     <service name="createPaymentType" engine="entity-auto" invoke="create" 
default-entity-name="PaymentType" auth="true">
         <description>Create a PaymentType record</description>
         <auto-attributes include="pk" mode="INOUT" optional="true"/>

Modified: 
ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml?rev=1768151&r1=1768150&r2=1768151&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml 
(original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_paymentmethod.xml 
Sat Nov  5 05:35:50 2016
@@ -830,12 +830,21 @@ under the License.
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
 
-    <!-- Update updatePaymentMethodType -->
+    <!-- PaymentMethodType -->
+    <service name="createPaymentMethodType" engine="entity-auto" 
default-entity-name="PaymentMethodType" invoke="create" auth="true">
+        <description>Create a PaymentMethodType record</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
     <service name="updatePaymentMethodType" 
default-entity-name="PaymentMethodType" engine="entity-auto" invoke="update" 
auth="true">
         <description>Update a Payment Method Type</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
+    <service name="deletePaymentMethodType" 
default-entity-name="PaymentMethodType" engine="entity-auto" invoke="delete" 
auth="true">
+        <description>Delete a PaymentMethodType record</description>
+        <auto-attributes include="pk" mode="IN"/>
+    </service>
 
     <!-- Payment Group -->
     <service name="createPaymentGroup" default-entity-name="PaymentGroup" 
engine="entity-auto" invoke="create" auth="true">


Reply via email to