svn commit: r539827 - /ofbiz/trunk/applications/accounting/servicedef/services_admin.xml

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

svn commit: r539827 - /ofbiz/trunk/applications/accounting/servicedef/services_admin.xml

hansbak-2
Author: hansbak
Date: Sat May 19 22:04:14 2007
New Revision: 539827

URL: http://svn.apache.org/viewvc?view=rev&rev=539827
Log:
exclude important fields for updateon the partyAcctgPreference entity as David suggested

Modified:
    ofbiz/trunk/applications/accounting/servicedef/services_admin.xml

Modified: ofbiz/trunk/applications/accounting/servicedef/services_admin.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_admin.xml?view=diff&rev=539827&r1=539826&r2=539827
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_admin.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_admin.xml Sat May 19 22:04:14 2007
@@ -39,7 +39,26 @@
             <check-permission permission="ACCTG_PREF_UPDATE"/>
         </required-permissions>
         <auto-attributes include="pk" mode="IN" optional="false"/>
-        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true">
+            <!-- the following fields should not be updated because can cause big problems.
+                this allows for the local addition of fields with will appear automagically on the update screen. -->
+            <exclude field-name="fiscalYearStartMonth"/>
+            <exclude field-name="fiscalYearStartDay"/>
+            <exclude field-name="taxFormId"/>
+            <exclude field-name="cogsMethodId"/>
+            <exclude field-name="baseCurrencyUomId"/>
+            <exclude field-name="invoiceSequenceEnumId"/>
+            <exclude field-name="invoiceIdPrefix"/>
+            <exclude field-name="lastInvoiceNumber"/>
+            <exclude field-name="lastInvoiceRestartDate"/>
+            <exclude field-name="useInvoiceIdForReturns"/>
+            <exclude field-name="quoteSequenceEnumId"/>
+            <exclude field-name="quoteIdPrefix"/>
+            <exclude field-name="lastQuoteNumber"/>
+            <exclude field-name="orderSequenceEnumId"/>
+            <exclude field-name="orderIdPrefix"/>
+            <exclude field-name="lastOrderNumber"/>
+        </auto-attributes>
     </service>
     
     <service name="updateFXConversion" engine="simple"