svn commit: r601258 - in /ofbiz/trunk/applications/accounting/servicedef: secas.xml 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: r601258 - in /ofbiz/trunk/applications/accounting/servicedef: secas.xml secas_ledger.xml

jacopoc
Author: jacopoc
Date: Wed Dec  5 01:07:15 2007
New Revision: 601258

URL: http://svn.apache.org/viewvc?rev=601258&view=rev
Log:
Moved gl auto posting secas to the secas_ledger.xml file.
Thanks to Scott Gray for the bug report.

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

Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?rev=601258&r1=601257&r2=601258&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Wed Dec  5 01:07:15 2007
@@ -157,18 +157,5 @@
         <condition field-name="productTypeId" operator="equals" value="ASSET_USAGE"/>
         <action service="createFixedAssetAndLinkToProduct" mode="sync"/>
     </eca>
-    
-    <!--creating inventory item detail when unitCost is not empty and recieptId is  empty-->
-    <eca service="createInventoryItemDetail" event="commit">
-        <condition field-name="unitCost" operator="is-not-empty"/>        
-        <condition field-name="receiptId" operator="is-empty"/>
-        <action service="createAcctgTransForInventoryItemCostChange" mode="sync"/>
-    </eca>
-
-    <!-- attempt to create AcctgTrans Physical Inventory Variance when Physical InventoryAndVariance is created-->
-    <eca service="createPhysicalInventoryAndVariance" event="commit">
-        <condition field-name="physicalInventoryId" operator="is-not-empty"/>
-        <action service="createAcctgTransForPhysicalInventoryVariance" mode="sync"/>
-    </eca>
-    
+  
 </service-eca>

Modified: ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml?rev=601258&r1=601257&r2=601258&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml Wed Dec  5 01:07:15 2007
@@ -65,4 +65,17 @@
         <action service="createAcctgTransForWorkEffortIssuance" mode="sync"/>
     </eca>
 
+    <!--creating inventory item detail when unitCost is not empty and recieptId is  empty-->
+    <eca service="createInventoryItemDetail" event="commit">
+        <condition field-name="unitCost" operator="is-not-empty"/>        
+        <condition field-name="receiptId" operator="is-empty"/>
+        <action service="createAcctgTransForInventoryItemCostChange" mode="sync"/>
+    </eca>
+
+    <!-- attempt to create AcctgTrans Physical Inventory Variance when Physical InventoryAndVariance is created-->
+    <eca service="createPhysicalInventoryAndVariance" event="commit">
+        <condition field-name="physicalInventoryId" operator="is-not-empty"/>
+        <action service="createAcctgTransForPhysicalInventoryVariance" mode="sync"/>
+    </eca>
+
 </service-eca>