Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014606Openbravo ERP09. Financial managementpublic2010-09-17 18:352010-10-13 19:26
networkb 
dalsasua 
urgentmajoralways
closedfixed 
5
2.40MP12 
2.40MP132.50MP23 
Core
No
0014606: You can process a Bank Statement with a Line with invalid Accounting Date
You can process a Bank Statement with a Line with invalid Accounting Date
1. Financial Management || Receivables & Payables || Transactions || Bank Statement || Header : create record for 17-09-2010
2. Press "Create Lines From" and select any payment.
3. Go to Financial Management || Receivables & Payables || Transactions || Bank Statement || Header >> Lines : modify Effective Date and Accounting Date to 17-09-2345
4. Come back to header: PROCESS and POST. Bankstatement is posted
No tags attached.
related to backport 00131042.40MP13 closed sathiyan You can process a Bank Statement when its period is not open 
depends on backport 00146322.40MP13 closed sivaraman You can process a Bank Statement with a Line with invalid Accounting Date 
has duplicate defect 00150232.50MP24 closed dalsasua Incorrect error when you post a Bank Statement with an erroneous Accounting Date 
png bs2345.png (153,564) 2010-09-17 18:37
https://issues.openbravo.com/file_download.php?file_id=3101&type=bug
png
Issue History
2010-09-17 18:35networkbNew Issue
2010-09-17 18:35networkbAssigned To => dalsasua
2010-09-17 18:37networkbFile Added: bs2345.png
2010-09-17 18:41networkbRelationship addedrelated to 0013104
2010-09-21 12:21adrianromeroIssue cloned0014632
2010-09-21 12:21adrianromeroRelationship addeddepends on 0014632
2010-09-21 12:22adrianromeroNote Added: 0031268
2010-09-21 12:22adrianromeroStatusnew => closed
2010-09-21 12:22adrianromeroResolutionopen => no change required
2010-09-22 00:00anonymoussf_bug_id0 => 3072978
2010-10-12 07:10hgbotCheckin
2010-10-12 07:10hgbotNote Added: 0031775
2010-10-12 07:10hgbotStatusclosed => resolved
2010-10-12 07:10hgbotResolutionno change required => fixed
2010-10-12 07:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/db409a855f2d2bfa564eec29625f86f87a55f71c [^]
2010-10-12 07:13sivaramanNote Added: 0031776
2010-10-12 21:39hudsonbotCheckin
2010-10-12 21:39hudsonbotNote Added: 0031783
2010-10-13 19:26psarobeNote Added: 0031828
2010-10-13 19:26psarobeStatusresolved => closed
2010-10-13 19:26psarobeFixed in Version => 2.50MP23
2010-10-25 19:01psarobeRelationship addedhas duplicate 0015023

Notes
(0031268)
adrianromero   
2010-09-21 12:22   
This steps work as expected in the latest 2.50mp21
(0031775)
hgbot   
2010-10-12 07:10   
Repository: erp/devel/pi
Changeset: db409a855f2d2bfa564eec29625f86f87a55f71c
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Tue Oct 12 10:39:38 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/db409a855f2d2bfa564eec29625f86f87a55f71c [^]

Fixes issue 14606: You can process a Bank Statement with a Line with invalid Accounting Date

C_CHK_OPEN_PERIOD has been used to validate if bank statement lines don't have invalid date. Error message will be displayed in case invalidity.

No impacts.

---
M src-db/database/model/functions/C_BANKSTATEMENT_POST.xml
---
(0031776)
sivaraman   
2010-10-12 07:13   
Steps to test:

1. Financial Management || Receivables & Payables || Transactions || Bank Statement || Header : create record for 17-09-2010
2. Press "Create Lines From" and select any payment.
3. Go to Financial Management || Receivables & Payables || Transactions || Bank Statement || Header >> Lines : modify Effective Date and Accounting Date to 17-09-2345
4. Come back to header and click process button
5. Verify if error is shown as 'The Period does not exist or it is not opened'
(0031783)
hudsonbot   
2010-10-12 21:39   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/db409a855f2d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/813c8d5808cc [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18518.obx [^]
(0031828)
psarobe   
2010-10-13 19:26   
Tested working fine