svn commit: r617515 - /ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml

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

svn commit: r617515 - /ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml

jacopoc
Author: jacopoc
Date: Fri Feb  1 07:16:09 2008
New Revision: 617515

URL: http://svn.apache.org/viewvc?rev=617515&view=rev
Log:
Fix for bug that happens when you reload demo data (ant run-install) over existing data when you have already created at least one invoice.
The problem is that the PartyAcctgPreference.lastInvoiceNumber field (that contains the number of the last invoice) is overriden with 0.

Modified:
    ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml

Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml?rev=617515&r1=617514&r2=617515&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml (original)
+++ ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Fri Feb  1 07:16:09 2008
@@ -149,9 +149,9 @@
     <GlJournal organizationPartyId="Company" glJournalId="ERROR_JOURNAL" glJournalName="Suspense transactions"/>
 
     <PartyAcctgPreference partyId="Company" taxFormId="US_IRS_1120" cogsMethodId="COGS_AVG_COST" baseCurrencyUomId="USD"
-        invoiceSequenceEnumId="INVSQ_ENF_SEQ" invoiceIdPrefix="CI" lastInvoiceNumber="000000"
-        quoteSequenceEnumId="INVSQ_ENF_SEQ" quoteIdPrefix="CQ" lastQuoteNumber="000000"
-        orderSequenceEnumId="INVSQ_ENF_SEQ" orderIdPrefix="CO" lastOrderNumber="000000"
+        invoiceSequenceEnumId="INVSQ_ENF_SEQ" invoiceIdPrefix="CI"
+        quoteSequenceEnumId="INVSQ_ENF_SEQ" quoteIdPrefix="CQ"
+        orderSequenceEnumId="INVSQ_ENF_SEQ" orderIdPrefix="CO"
         errorGlJournalId="ERROR_JOURNAL"/>
 
     <!-- Chart Of Accounts -->