Author: jleroux
Date: Sun Jul 29 11:35:46 2007
New Revision: 560779
URL:
http://svn.apache.org/viewvc?view=rev&rev=560779Log:
Applied fix from trunk for revision: 560778
Modified:
ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
Modified: ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml?view=diff&rev=560779&r1=560778&r2=560779==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml (original)
+++ ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml Sun Jul 29 11:35:46 2007
@@ -55,6 +55,7 @@
<log level="info" message="In createInvoice sequence enum INVSQ_RESTARTYR"/>
<!-- this is sequential sequencing, we can't skip a number; except that it is restarted each fiscal year -->
+ <now-timestamp-to-env env-name="nowTimestamp"/>
<if-empty field-name="partyAcctgPreference.lastInvoiceRestartDate">
<!-- if no lastInvoiceRestartDate then it's easy, just start now with 1 -->
<calculate field-name="partyAcctgPreference.lastInvoiceNumber" type="Long"><number value="1"/></calculate>