Author: sichen
Date: Thu Jul 19 10:45:33 2007
New Revision: 557705
URL:
http://svn.apache.org/viewvc?view=rev&rev=557705Log:
Automated commission invoices should run as system user to be distinguished from manually created ones
Modified:
ofbiz/trunk/applications/accounting/servicedef/secas.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?view=diff&rev=557705&r1=557704&r2=557705==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Thu Jul 19 10:45:33 2007
@@ -27,7 +27,7 @@
<eca service="createPaymentApplication" event="commit">
<condition field-name="invoiceId" operator="is-not-empty"/>
<action service="checkInvoicePaymentApplications" mode="sync"/>
- <action service="createCommissionInvoices" mode="sync"/>
+ <action service="createCommissionInvoices" mode="sync" run-as-user="system"/>
</eca>
<!-- Uncomment this if you want commission invoices to be set to READY automatically, which means they are official