svn commit: r618966 - /ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml

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

svn commit: r618966 - /ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml

jacopoc
Author: jacopoc
Date: Wed Feb  6 03:24:42 2008
New Revision: 618966

URL: http://svn.apache.org/viewvc?rev=618966&view=rev
Log:
Small cleanup.

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

Modified: ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml?rev=618966&r1=618965&r2=618966&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml Wed Feb  6 03:24:42 2008
@@ -21,6 +21,12 @@
 <service-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/service-eca.xsd">
 
+    <!-- this eca automatically posts the accounting transactions to GL -->
+    <eca service="createAcctgTransAndEntries" event="commit">
+        <condition field-name="acctgTransId" operator="is-not-empty"/>
+        <action service="postAcctgTrans" mode="sync"/>
+    </eca>
+
     <!-- create the accounting transactions for a sales shipment issuance every time the inventory is issued to the shipment -->
     <eca service="createItemIssuance" event="commit">
         <condition field-name="shipmentId" operator="is-not-empty"/>
@@ -33,12 +39,6 @@
         <action service="createAcctgTransForShipmentReceipt" mode="sync"/>
     </eca>
 
-    <!-- this eca automatically posts the accounting transactions to GL -->
-    <eca service="createAcctgTransAndEntries" event="commit">
-        <condition field-name="acctgTransId" operator="is-not-empty"/>
-        <action service="postAcctgTrans" mode="sync"/>
-    </eca>
-    
     <eca service="createWorkEffortInventoryProduced" event="commit">
         <action service="createAcctgTransForWorkEffortInventoryProduced" mode="sync"/>
     </eca>