You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pg...@apache.org on 2017/02/01 21:49:10 UTC

svn commit: r1781316 - /ofbiz/branches/release15.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml

Author: pgil
Date: Wed Feb  1 21:49:10 2017
New Revision: 1781316

URL: http://svn.apache.org/viewvc?rev=1781316&view=rev
Log:
Fixed: reversed the debit and credit entries of the accounting transactions for 
fixed asset depreciations. (OFBIZ-9195)

Modified:
    ofbiz/branches/release15.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml

Modified: ofbiz/branches/release15.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml?rev=1781316&r1=1781315&r2=1781316&view=diff
==============================================================================
--- ofbiz/branches/release15.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml (original)
+++ ofbiz/branches/release15.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml Wed Feb  1 21:49:10 2017
@@ -483,7 +483,7 @@ under the License.
                     <condition>
                         <and>
                             <not><if-empty field="fixedAssetTypeGlAccount.accDepGlAccountId"/></not>
-                            <if-compare field="parameters.debitCreditFlag" operator="equals" value="D"/>
+                            <if-compare field="parameters.debitCreditFlag" operator="equals" value="C"/>
                         </and>
                     </condition>
                     <then>
@@ -495,7 +495,7 @@ under the License.
                     <condition>
                         <and>
                             <not><if-empty field="fixedAssetTypeGlAccount.depGlAccountId"/></not>
-                            <if-compare field="parameters.debitCreditFlag" operator="equals" value="C"/>
+                            <if-compare field="parameters.debitCreditFlag" operator="equals" value="D"/>
                         </and>
                     </condition>
                     <then>