Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022394Openbravo ERP09. Financial managementpublic2012-11-27 07:372013-03-28 01:39
narayan 
Sandrahuguet 
normalmajoralways
closedfixed 
30Ubuntu 12.04 LTS
 
 
Core
No
0022394: G/L Journal line allows credit and debit amount in a single line
Hi Openbravo,

G/L Journal Lines allowing to select account with debit and credit balances and can post single leg in the accounting system.

It should not allow for single account with credit and debit.

Example: ABC account with debit = 100 and credit =100 and post it will post the account entries.
G/L Journal -> Batch -> Header -> line

add single line ABC account with debit = 100 and credit =100 and post


check general ledger report for the entry. it will not appear.
Line should not allow credit and debit at a time.
each line should either credit value or debit value.
No tags attached.
Issue History
2012-11-27 07:37narayanNew Issue
2012-11-27 07:37narayanAssigned To => dmiguelez
2012-11-27 07:37narayanModules => Core
2013-03-22 10:07SandrahuguetAssigned Todmiguelez => Sandrahuguet
2013-03-22 10:22SandrahuguetStatusnew => scheduled
2013-03-22 10:22Sandrahuguetfix_in_branch => pi
2013-03-22 10:29SandrahuguetNote Added: 0057382
2013-03-26 18:39hgbotCheckin
2013-03-26 18:39hgbotNote Added: 0057478
2013-03-26 18:39hgbotStatusscheduled => resolved
2013-03-26 18:39hgbotResolutionopen => fixed
2013-03-26 18:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/945e651e19e0fedae4962d5ed5f0dbb49132a67a [^]
2013-03-27 16:25dmiguelezNote Added: 0057504
2013-03-27 16:25dmiguelezStatusresolved => closed
2013-03-28 01:39hudsonbotCheckin
2013-03-28 01:39hudsonbotNote Added: 0057526

Notes
(0057382)
Sandrahuguet   
2013-03-22 10:29   
Test Plan
-Go to G/L Journal, create new batch
-Navigate to header, create one
-Navigate to lines, create one
-Debit=100
-Credit=100
-Notice that debit is changed to 0, because is not allow debit and credit different to 0 in the same line
(0057478)
hgbot   
2013-03-26 18:39   
Repository: erp/devel/pi
Changeset: 945e651e19e0fedae4962d5ed5f0dbb49132a67a
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon Mar 25 11:47:22 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/945e651e19e0fedae4962d5ed5f0dbb49132a67a [^]

Fixed bug 22394 Not allow credit and debit in the same line

---
M src-db/database/model/triggers/GL_JOURNALLINE_TRG.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java
---
(0057504)
dmiguelez   
2013-03-27 16:25   
Code Review and Testing OK
(0057526)
hudsonbot   
2013-03-28 01:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6c4c5ed08030 [^]

Maturity status: Test