Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015981Openbravo ERP09. Financial managementpublic2011-02-14 10:482011-03-23 11:25
xabiermerino 
dalsasua 
immediatemajoralways
closedfixed 
5
2.50MP26 
2.50MP28 
Core
No
0015981: you can save and process a bank statement without payment and G/L Item
you can save and process a bank statement without payment and G/L Item

- As Openbravo Admin go to Financial Management || Receivables & Payables || Transactions || Bank Statement
- Create a new record
- create a new line (without payment and G/L Item)
         - Statement Amount: 10
- realize that you are able to process it
- realize that you are able to post it
No tags attached.
related to backport 00162352.50MP28 closed dalsasua cannot run create payment process in bank statement line tab 
blocks defect 00159632.50MP28 closed dalsasua you can save and process a bank statement without payment and G/L Item 
Issue History
2011-02-15 09:00dalsasuaTypedefect => backport
2011-02-15 09:00dalsasuafix_in_branch => 2.50
2011-02-15 17:52hgbotCheckin
2011-02-15 17:52hgbotNote Added: 0034210
2011-02-15 17:52hgbotStatusscheduled => resolved
2011-02-15 17:52hgbotResolutionopen => fixed
2011-02-15 17:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/369c364e84c1aa0f13fdd2bfc653b7af9a4cfcdd [^]
2011-02-28 13:22adrianromeroNote Added: 0034418
2011-02-28 13:22adrianromeroStatusresolved => closed
2011-03-11 13:44malsasuaRelationship addedrelated to 0016235
2011-03-14 15:32hgbotCheckin
2011-03-14 15:32hgbotNote Added: 0034809
2011-03-23 11:25hgbotCheckin
2011-03-23 11:25hgbotNote Added: 0035172

Notes
(0034210)
hgbot   
2011-02-15 17:52   
Repository: erp/stable/2.50
Changeset: 369c364e84c1aa0f13fdd2bfc653b7af9a4cfcdd
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Feb 15 09:56:42 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/369c364e84c1aa0f13fdd2bfc653b7af9a4cfcdd [^]

Fixes issue 15981: bank statements processed with empty lines.
Now, the trigger of c_bankstatementline checks that one out of the two (g/l item and payment) is defined. This condition is also checked when processing the bank statement.

---
M src-db/database/model/functions/C_BANKSTATEMENT_POST.xml
M src-db/database/model/triggers/C_BANKSTATEMENTLINE_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0034418)
adrianromero   
2011-02-28 13:22   
Verified.
(0034809)
hgbot   
2011-03-14 15:32   
Repository: erp/stable/2.50
Changeset: c1e76e803382d269839da3d4f97318870d45db07
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Mar 14 15:29:37 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/c1e76e803382d269839da3d4f97318870d45db07 [^]

Issue 16235. Issue 15981.
Now it checks that at least a payment or a g/l item is present for every bank statement line, only when processing the bank statement. The check in the trigger has been removed.

---
M src-db/database/model/triggers/C_BANKSTATEMENTLINE_TRG.xml
---
(0035172)
hgbot   
2011-03-23 11:25   
Repository: erp/stable/2.50
Changeset: bee446a3fa4a3a898d41298bc274cb9d70b8b62b
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Mar 14 15:29:37 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/bee446a3fa4a3a898d41298bc274cb9d70b8b62b [^]

Issue 16235. Issue 15981.
Now it checks that at least a payment or a g/l item is present for every bank statement line, only when processing the bank statement. The check in the trigger has been removed.

---
M src-db/database/model/triggers/C_BANKSTATEMENTLINE_TRG.xml
---