You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/12/05 10:07:17 UTC

svn commit: r601258 - in /ofbiz/trunk/applications/accounting/servicedef: secas.xml secas_ledger.xml

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>