svn commit: r540867 - in /ofbiz/trunk/applications/accounting/servicedef: services_invoice.xml services_payment.xml

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

svn commit: r540867 - in /ofbiz/trunk/applications/accounting/servicedef: services_invoice.xml services_payment.xml

jacopoc
Author: jacopoc
Date: Wed May 23 00:16:23 2007
New Revision: 540867

URL: http://svn.apache.org/viewvc?view=rev&rev=540867
Log:
Moved paymentapplication service definitions from services_invoice.xml to services_payment.xml.
No functional changes.

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

Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml?view=diff&rev=540867&r1=540866&r2=540867
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Wed May 23 00:16:23 2007
@@ -110,34 +110,6 @@
         <description>Remove an existing Invoice Role Record</description>
         <auto-attributes mode="IN" include="pk" optional="false"/>
     </service>
-    <service name="updatePaymentApplication" default-entity-name="PaymentApplication" engine="java"
-        location="org.ofbiz.accounting.invoice.InvoiceServices" invoke="updatePaymentApplication">
-        <description>
-            Apply a payment to a Invoice or other payment or Billing account or  Taxauthority,
-            create/update paymentApplication records.
-        </description>
-        <auto-attributes mode="IN" include="pk" optional="true"/>
-        <auto-attributes mode="IN" include="nonpk" optional="true"/>
-        <attribute name="invoiceProcessing" type="String" mode="IN" optional="true"/>
-        <override name="paymentId" optional="false"/>        
-    </service>
-    <service name="updatePaymentApplicationDef" default-entity-name="PaymentApplication" engine="java"
-        location="org.ofbiz.accounting.invoice.InvoiceServices" invoke="updatePaymentApplicationDef">
-        <description>
-            Apply a payment to a Invoice or other payment or Billing account or Taxauthority,
-            If no ammountApplied is supplied the system will calculate and use the maximum possible value.
-        </description>
-        <auto-attributes mode="IN" include="pk" optional="true"/>
-        <auto-attributes mode="IN" include="nonpk" optional="true"/>
-        <attribute name="invoiceProcessing" type="String" mode="IN" optional="true"/>
-        <override name="paymentId" optional="false"/>        
-    </service>
-    <service name="removePaymentApplication" default-entity-name="PaymentApplication" engine="simple"
-        location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="removePaymentApplication">
-        <description>Delete a paymentApplication record.</description>
-        <auto-attributes mode="IN" include="pk" optional="false"/>
-        <auto-attributes mode="OUT" include="nonpk" optional="true"/>
-    </service>
     <service name="createInvoiceTerm" engine="simple" default-entity-name="InvoiceTerm"
         location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="createInvoiceTerm">
         <description>Create Invoice (Item) Term Record</description>

Modified: ofbiz/trunk/applications/accounting/servicedef/services_payment.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_payment.xml?view=diff&rev=540867&r1=540866&r2=540867
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_payment.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_payment.xml Wed May 23 00:16:23 2007
@@ -45,19 +45,6 @@
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     
-    <service name="createPaymentApplication" engine="simple"
-            location="org/ofbiz/accounting/payment/PaymentServices.xml" invoke="createPaymentApplication" auth="true">
-        <description>Create a payment application</description>
-        <attribute name="paymentId" type="String" mode="IN" optional="false"/>
-        <attribute name="invoiceId" type="String" mode="IN" optional="true"/>
-        <attribute name="invoiceItemSeqId" type="String" mode="IN" optional="true"/>
-        <attribute name="billingAccountId" type="String" mode="IN" optional="true"/>
-        <attribute name="overrideGlAccountId" type="String" mode="IN" optional="true"/>
-        <attribute name="taxAuthGeoId" type="String" mode="IN" optional="true"/>
-        <attribute name="amountApplied" type="Double" mode="IN" optional="false"/>
-        <attribute name="paymentApplicationId" type="String" mode="OUT" optional="false"/>
-    </service>
-    
     <service name="setPaymentStatus" engine="simple" default-entity-name="Payment"
         location="org/ofbiz/accounting/payment/PaymentServices.xml" invoke="setPaymentStatus" auth="true">
         <description>Change the status of a Payment</description>
@@ -78,5 +65,45 @@
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
-    
+
+    <service name="createPaymentApplication" engine="simple"
+            location="org/ofbiz/accounting/payment/PaymentServices.xml" invoke="createPaymentApplication" auth="true">
+        <description>Create a payment application</description>
+        <attribute name="paymentId" type="String" mode="IN" optional="false"/>
+        <attribute name="invoiceId" type="String" mode="IN" optional="true"/>
+        <attribute name="invoiceItemSeqId" type="String" mode="IN" optional="true"/>
+        <attribute name="billingAccountId" type="String" mode="IN" optional="true"/>
+        <attribute name="overrideGlAccountId" type="String" mode="IN" optional="true"/>
+        <attribute name="taxAuthGeoId" type="String" mode="IN" optional="true"/>
+        <attribute name="amountApplied" type="Double" mode="IN" optional="false"/>
+        <attribute name="paymentApplicationId" type="String" mode="OUT" optional="false"/>
+    </service>
+    <service name="updatePaymentApplication" default-entity-name="PaymentApplication" engine="java"
+        location="org.ofbiz.accounting.invoice.InvoiceServices" invoke="updatePaymentApplication">
+        <description>
+            Apply a payment to a Invoice or other payment or Billing account or  Taxauthority,
+            create/update paymentApplication records.
+        </description>
+        <auto-attributes mode="IN" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+        <attribute name="invoiceProcessing" type="String" mode="IN" optional="true"/>
+        <override name="paymentId" optional="false"/>        
+    </service>
+    <service name="updatePaymentApplicationDef" default-entity-name="PaymentApplication" engine="java"
+        location="org.ofbiz.accounting.invoice.InvoiceServices" invoke="updatePaymentApplicationDef">
+        <description>
+            Apply a payment to a Invoice or other payment or Billing account or Taxauthority,
+            If no ammountApplied is supplied the system will calculate and use the maximum possible value.
+        </description>
+        <auto-attributes mode="IN" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+        <attribute name="invoiceProcessing" type="String" mode="IN" optional="true"/>
+        <override name="paymentId" optional="false"/>        
+    </service>
+    <service name="removePaymentApplication" default-entity-name="PaymentApplication" engine="simple"
+        location="org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="removePaymentApplication">
+        <description>Delete a paymentApplication record.</description>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="OUT" include="nonpk" optional="true"/>
+    </service>
 </services>