Author: apatel
Date: Fri Jan 14 10:46:40 2011
New Revision: 1058934
URL: http://svn.apache.org/viewvc?rev=1058934&view=rev
Log:
Fixing bug where transactions with zero amount in debit and credit fields were
not getting posted.
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml?rev=1058934&r1=1058933&r2=1058934&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
(original)
+++
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
Fri Jan 14 10:46:40 2011
@@ -256,18 +256,6 @@ under the License.
</add-error>
</then>
</if>
-
- <if-compare field="trialBalanceResultMap.debitTotal" operator="equals"
value="0.00" type="BigDecimal">
- <add-error>
- <fail-property resource="AccountingUiLabels"
property="AccountingNotPostingGlAccountTransactionDebitZero"/>
- </add-error>
- </if-compare>
- <if-compare field="trialBalanceResultMap.creditTotal"
operator="equals" value="0.00" type="BigDecimal">
- <add-error>
- <fail-property resource="AccountingUiLabels"
property="AccountingNotPostingGlAccountTransactionCreditZero"/>
- </add-error>
- </if-compare>
-
<entity-condition entity-name="AcctgTransEntry"
list="acctgTransEntryList">
<condition-expr field-name="acctgTransId"
from-field="parameters.acctgTransId"/>
<order-by field-name="acctgTransEntrySeqId"/>