svn commit: r599706 - /ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml

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

svn commit: r599706 - /ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml

jleroux@apache.org
Author: jleroux
Date: Thu Nov 29 23:04:32 2007
New Revision: 599706

URL: http://svn.apache.org/viewvc?rev=599706&view=rev
Log:
Applied fix from trunk for revision: 599699

Modified:
    ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml

Modified: ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml?rev=599706&r1=599705&r2=599706&view=diff
==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml (original)
+++ ofbiz/branches/release4.0/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountGlPostServices.xml Thu Nov 29 23:04:32 2007
@@ -77,7 +77,7 @@
             if from account refill product purchase pull from special account where those funds wait;
             if purchase on account, balance like bank acount received or something -->
         <if>
-            <condition><if-compare field-name="finAccountTransTypeId" operator="equals" value="DEPOSIT"/></condition>
+            <condition><if-compare field-name="finAccountTrans.finAccountTransTypeId" operator="equals" value="DEPOSIT"/></condition>
             <then>
                 <!-- TODO: somehow check to see if the deposit was not from a product, or didn't get into the general CUSTOMER CREDITS 213000 account -->
                 
@@ -93,7 +93,7 @@
                 <set field="createAcctgTransAndEntriesMap.acctgTransTypeId" value="RECEIPT_ACCTG_TRANS"/>
             </then>
             <else-if>
-                <condition><if-compare field-name="finAccountTransTypeId" operator="equals" value="WITHDRAWAL"/></condition>
+                <condition><if-compare field-name="finAccountTrans.finAccountTransTypeId" operator="equals" value="WITHDRAWAL"/></condition>
                 <then>
                     <!-- TODO: somehow determine if this is an order placed against the account or some other type of withdrawal -->
                     
@@ -105,7 +105,7 @@
                 </then>
             </else-if>
             <else-if>
-                <condition><if-compare field-name="finAccountTransTypeId" operator="equals" value="ADJUSTMENT"/></condition>
+                <condition><if-compare field-name="finAccountTrans.finAccountTransTypeId" operator="equals" value="ADJUSTMENT"/></condition>
                 <then>
                     <!-- TODO: what to do for an adjustment? for now nothing, will error out below -->