You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2013/06/23 06:03:42 UTC
svn commit: r1495791 - in /ofbiz/trunk/applications/accounting:
script/org/ofbiz/accounting/invoice/InvoiceServices.xml
script/org/ofbiz/accounting/payment/PaymentServices.xml
servicedef/services_invoice.xml
Author: hansbak
Date: Sun Jun 23 04:03:42 2013
New Revision: 1495791
URL: http://svn.apache.org/r1495791
Log:
change service name from isInvoiceForeign to isInvoiceInForeignCurrency on suggestion from Adrian
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml?rev=1495791&r1=1495790&r2=1495791&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml Sun Jun 23 04:03:42 2013
@@ -997,7 +997,7 @@ under the License.
<call-service service-name="updateSimpleTextContent" in-map-name="updateSimpleText"/>
</simple-method>
- <simple-method method-name="isInvoiceForeign" short-description="check if a invoice is in a foreign currency related to the accounting company.">
+ <simple-method method-name="isInvoiceInForeignCurrency" short-description="check if a invoice is in a foreign currency related to the accounting company.">
<entity-one value-field="invoice" entity-name="InvoiceAndType">
<field-map field-name="invoiceId" from-field="parameters.invoiceId"/>
</entity-one>
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?rev=1495791&r1=1495790&r2=1495791&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Sun Jun 23 04:03:42 2013
@@ -1018,7 +1018,7 @@ under the License.
</call-class-method>
<set field="checkInvoice.invoiceId" from="invoice.invoiceId"/>
- <call-service service-name="isInvoiceForeign" in-map-name="checkInvoice">
+ <call-service service-name="isInvoiceInForeignCurrency" in-map-name="checkInvoice">
<result-to-field result-name="isForeign"/>
</call-service>
<if-compare operator="equals" value="true" field="isForeign">
@@ -1081,7 +1081,7 @@ under the License.
</call-class-method>
<set field="checkInvoice.invoiceId" from="invoice.invoiceId"/>
- <call-service service-name="isInvoiceForeign" in-map-name="checkInvoice">
+ <call-service service-name="isInvoiceInForeignCurrency" in-map-name="checkInvoice">
<result-to-field result-name="isForeign"/>
</call-service>
<if-compare operator="equals" value="true" field="isForeign">
Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml?rev=1495791&r1=1495790&r2=1495791&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Sun Jun 23 04:03:42 2013
@@ -425,8 +425,8 @@ under the License.
<attribute name="textDataResourceId" type="String" mode="IN" optional="true"/>
<attribute name="text" type="String" mode="IN" optional="true" allow-html="safe"/>
</service>
- <service name="isInvoiceForeign" engine="simple"
- location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="isInvoiceForeign" auth="true">
+ <service name="isInvoiceInForeignCurrency" engine="simple"
+ location="component://accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml" invoke="isInvoiceInForeignCurrency" auth="true">
<description>check if a invoice is in a foreign currency related to the accounting company.</description>
<attribute name="invoiceId" type="String" mode="IN" optional="false"/>
<attribute name="isForeign" type="Boolean" mode="OUT" optional="false"/>