Author: jonesde
Date: Mon Mar 26 21:00:43 2007
New Revision: 522732
URL:
http://svn.apache.org/viewvc?view=rev&rev=522732Log:
Added excludes for the actualBalance and availableBalance to avoid manual changing of those fields
Modified:
ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml?view=diff&rev=522732&r1=522731&r2=522732==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml Mon Mar 26 21:00:43 2007
@@ -28,13 +28,19 @@
<service name="createFinAccount" engine="simple" default-entity-name="FinAccount"
location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="createFinAccount">
<description>Create a new Financial Account. If no finAccountId is provided, an auto-sequenced one will be used.</description>
- <auto-attributes mode="IN" optional="true" include="nonpk"/>
+ <auto-attributes mode="IN" optional="true" include="nonpk">
+ <exclude field-name="actualBalance"/>
+ <exclude field-name="availableBalance"/>
+ </auto-attributes>
<auto-attributes mode="INOUT" optional="true" include="pk"/>
</service>
<service name="updateFinAccount" engine="simple" default-entity-name="FinAccount"
location="org/ofbiz/accounting/finaccount/FinAccountServices.xml" invoke="updateFinAccount">
<description>Update a Financial Account</description>
- <auto-attributes mode="IN" optional="true" include="nonpk"/>
+ <auto-attributes mode="IN" optional="true" include="nonpk">
+ <exclude field-name="actualBalance"/>
+ <exclude field-name="availableBalance"/>
+ </auto-attributes>
<auto-attributes mode="INOUT" optional="false" include="pk"/>
</service>
<service name="deleteFinAccount" engine="simple" default-entity-name="FinAccount"