Author: jacopoc
Date: Tue Jan 4 14:34:15 2011
New Revision: 1055057
URL: http://svn.apache.org/viewvc?rev=1055057&view=rev
Log:
Updated demo/test data to new year: this fixes some tests that were failing
after the switch to 2011
Modified:
ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoInvoiceTests.xml
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml
Modified: ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml?rev=1055057&r1=1055056&r2=1055057&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml (original)
+++ ofbiz/trunk/applications/accounting/data/DemoGlSetupData.xml Tue Jan 4
14:34:15 2011
@@ -393,16 +393,16 @@ under the License.
<VarianceReasonGlAccount organizationPartyId="Company"
varianceReasonId="VAR_SAMPLE" glAccountId="625000"/>
<!-- Some Sample Time Periods, two Years with Quarters -->
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6010"
periodTypeId="FISCAL_YEAR" fromDate="2009-01-01" thruDate="2010-01-01"
isClosed="N" periodNum="1" periodName="2009"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6011"
periodTypeId="FISCAL_QUARTER" fromDate="2009-01-01" thruDate="2009-04-01"
isClosed="N" periodNum="2" periodName="2009/Q1" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6012"
periodTypeId="FISCAL_QUARTER" fromDate="2009-04-01" thruDate="2009-07-01"
isClosed="N" periodNum="3" periodName="2009/Q2" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6013"
periodTypeId="FISCAL_QUARTER" fromDate="2009-07-01" thruDate="2009-10-01"
isClosed="N" periodNum="4" periodName="2009/Q3" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6014"
periodTypeId="FISCAL_QUARTER" fromDate="2009-10-01" thruDate="2010-01-01"
isClosed="N" periodNum="5" periodName="2009/Q4" parentPeriodId="6010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015"
periodTypeId="FISCAL_YEAR" fromDate="2010-01-01" thruDate="2011-01-01"
isClosed="N" periodNum="1" periodName="2010"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6016"
periodTypeId="FISCAL_QUARTER" fromDate="2010-01-01" thruDate="2010-04-01"
isClosed="N" periodNum="2" periodName="2010/Q1" parentPeriodId="6015"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6017"
periodTypeId="FISCAL_QUARTER" fromDate="2010-04-01" thruDate="2010-07-01"
isClosed="N" periodNum="3" periodName="2010/Q2" parentPeriodId="6015"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6018"
periodTypeId="FISCAL_QUARTER" fromDate="2010-07-01" thruDate="2010-10-01"
isClosed="N" periodNum="4" periodName="2010/Q3" parentPeriodId="6015"/>
- <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6019"
periodTypeId="FISCAL_QUARTER" fromDate="2010-10-01" thruDate="2011-01-01"
isClosed="N" periodNum="5" periodName="2010/Q4" parentPeriodId="6015"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6010"
periodTypeId="FISCAL_YEAR" fromDate="2010-01-01" thruDate="2011-01-01"
isClosed="N" periodNum="1" periodName="2010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6011"
periodTypeId="FISCAL_QUARTER" fromDate="2010-01-01" thruDate="2010-04-01"
isClosed="N" periodNum="2" periodName="2010/Q1" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6012"
periodTypeId="FISCAL_QUARTER" fromDate="2010-04-01" thruDate="2010-07-01"
isClosed="N" periodNum="3" periodName="2010/Q2" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6013"
periodTypeId="FISCAL_QUARTER" fromDate="2010-07-01" thruDate="2010-10-01"
isClosed="N" periodNum="4" periodName="2010/Q3" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6014"
periodTypeId="FISCAL_QUARTER" fromDate="2010-10-01" thruDate="2011-01-01"
isClosed="N" periodNum="5" periodName="2010/Q4" parentPeriodId="6010"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015"
periodTypeId="FISCAL_YEAR" fromDate="2011-01-01" thruDate="2012-01-01"
isClosed="N" periodNum="1" periodName="2011"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6016"
periodTypeId="FISCAL_QUARTER" fromDate="2011-01-01" thruDate="2011-04-01"
isClosed="N" periodNum="2" periodName="2011/Q1" parentPeriodId="6015"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6017"
periodTypeId="FISCAL_QUARTER" fromDate="2011-04-01" thruDate="2011-07-01"
isClosed="N" periodNum="3" periodName="2011/Q2" parentPeriodId="6015"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6018"
periodTypeId="FISCAL_QUARTER" fromDate="2011-07-01" thruDate="2011-10-01"
isClosed="N" periodNum="4" periodName="2011/Q3" parentPeriodId="6015"/>
+ <CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6019"
periodTypeId="FISCAL_QUARTER" fromDate="2011-10-01" thruDate="2012-01-01"
isClosed="N" periodNum="5" periodName="2011/Q4" parentPeriodId="6015"/>
<!-- to convert demo invoice -->
<UomConversionDated uomId="USD" uomIdTo="EUR" fromDate="2001-01-01
00:00:00.0" conversionFactor="0.7"/>
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoInvoiceTests.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoInvoiceTests.xml?rev=1055057&r1=1055056&r2=1055057&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoInvoiceTests.xml
(original)
+++
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoInvoiceTests.xml
Tue Jan 4 14:34:15 2011
@@ -178,8 +178,8 @@ under the License.
</entity-one>
<set field="getAcctgTransEntriesAndTransTotalMap.userLogin"
from-field="userLogin"/>
<set field="getAcctgTransEntriesAndTransTotalMap.organizationPartyId"
value="Company"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2010-01-01 16:55:01.0" type="Timestamp"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2010-12-31 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2011-01-01 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2011-12-31 16:55:01.0" type="Timestamp"/>
<set field="getAcctgTransEntriesAndTransTotalMap.glAccountId"
value="210000"/>
<call-service service-name="getAcctgTransEntriesAndTransTotal"
in-map-name="getAcctgTransEntriesAndTransTotalMap">
<result-to-field result-name="debitTotal"
field="payableDebitTotal"/>
@@ -246,8 +246,8 @@ under the License.
</entity-one>
<set field="getAcctgTransEntriesAndTransTotalMap.userLogin"
from-field="userLogin"/>
<set field="getAcctgTransEntriesAndTransTotalMap.organizationPartyId"
value="Company"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2010-01-01 16:55:01.0" type="Timestamp"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2010-12-31 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2011-01-01 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2011-12-31 16:55:01.0" type="Timestamp"/>
<set field="getAcctgTransEntriesAndTransTotalMap.glAccountId"
value="210000"/>
<call-service service-name="getAcctgTransEntriesAndTransTotal"
in-map-name="getAcctgTransEntriesAndTransTotalMap">
<result-to-field result-name="debitTotal"
field="payableDebitTotal"/>
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml?rev=1055057&r1=1055056&r2=1055057&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml
(original)
+++
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml
Tue Jan 4 14:34:15 2011
@@ -350,8 +350,8 @@ under the License.
</entity-one>
<set field="getAcctgTransEntriesAndTransTotalMap.userLogin"
from-field="userLogin"/>
<set field="getAcctgTransEntriesAndTransTotalMap.organizationPartyId"
value="Company"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2010-01-01 16:55:01.0" type="Timestamp"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2010-12-31 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2011-01-01 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2011-12-31 16:55:01.0" type="Timestamp"/>
<set field="getAcctgTransEntriesAndTransTotalMap.glAccountId"
value="120000"/>
<call-service service-name="getAcctgTransEntriesAndTransTotal"
in-map-name="getAcctgTransEntriesAndTransTotalMap">
<result-to-field result-name="debitTotal"
field="receivableDebitTotal"/>
@@ -422,8 +422,8 @@ under the License.
</entity-one>
<set field="getAcctgTransEntriesAndTransTotalMap.userLogin"
from-field="userLogin"/>
<set field="getAcctgTransEntriesAndTransTotalMap.organizationPartyId"
value="Company"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2010-01-01 16:55:01.0" type="Timestamp"/>
- <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2010-12-31 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodStartDate"
value="2011-01-01 16:55:01.0" type="Timestamp"/>
+ <set
field="getAcctgTransEntriesAndTransTotalMap.customTimePeriodEndDate"
value="2011-12-31 16:55:01.0" type="Timestamp"/>
<set field="getAcctgTransEntriesAndTransTotalMap.glAccountId"
value="210000"/>
<call-service service-name="getAcctgTransEntriesAndTransTotal"
in-map-name="getAcctgTransEntriesAndTransTotalMap">
<result-to-field result-name="debitTotal"
field="payableDebitTotal"/>