Author: pgil
Date: Wed Feb 1 21:49:43 2017
New Revision: 1781317
URL:
http://svn.apache.org/viewvc?rev=1781317&view=revLog:
Fixed: reversed the debit and credit entries of the accounting transactions for fixed asset depreciations. (OFBIZ-9195)
Modified:
ofbiz/branches/release14.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
Modified: ofbiz/branches/release14.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml?rev=1781317&r1=1781316&r2=1781317&view=diff==============================================================================
--- ofbiz/branches/release14.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml (original)
+++ ofbiz/branches/release14.12/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml Wed Feb 1 21:49:43 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>