Author: jacopoc
Date: Tue Jan 31 15:43:46 2017
New Revision: 1781109
URL: http://svn.apache.org/viewvc?rev=1781109&view=rev
Log:
Fixed: reversed the debit and credit entries of the accounting transactions for
fixed asset depreciations.
Modified:
ofbiz/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml
Modified:
ofbiz/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml?rev=1781109&r1=1781108&r2=1781109&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml
(original)
+++
ofbiz/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml
Tue Jan 31 15:43:46 2017
@@ -403,7 +403,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>
@@ -415,7 +415,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>