Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012102Openbravo ERP09. Financial managementpublic2010-02-02 18:042010-03-10 18:29
networkb 
dalsasua 
highminoralways
closedfixed 
5
2.50MP11 
2.50MP142.50MP14 
Core
No
0012102: Uncorrect bank.dat when a manual settlement has several lines in its description
A manual settlement is included into a Remittance (type: Cuaderno 34).
Its description into Create Payment tab, has several lines (carry return included)
 When .dat is generated, is not correct.

See attached file.
Go to Financial Management > Receivables and Payables > Setup > Remittance Type.
Create new record, called "Cuaderno 34". Check Consolidate.
Select as Payment Rule Consolidated, "Bank Remittance".
Select as Final Status, "In remittance".
Select as Returned Status, "Returned".
Go to Parameter tab. Create a new register, called "Cuaderno".
As Content, fill "34".
Create other new register, called "Contract".
As Content, fill "000".
Go to Financial Management > Receivables and Payables > Manual settlement.
Create a new register.
Go to Create Payment tab.
Create a new register.
Select one BP.
As Description, enter:
Test
Test1
Test2
Test3
Note: include carry returns.
Go to Balance Payment tab.
Select A GL/Item.
As Debit Amount, enter 100.
Go back to Create Payment tab.
As Amount, fill -100.
Go back to main tab, and process it.
Go to Financial Management > Receivables and Payables > Transactions > Remittance.
Create a new register.
Select as Remittance type, "Cuaderno 34".
Press "Create lines from", and then press "Search".
Here, select some payments (with "--" status). Do not forget to include the previous one created.
Press "OK".
Press "Process" button.
Finally, press "Create file". See the file
No tags attached.
? BANK (4).DAT (6,142) 2010-02-02 18:04
https://issues.openbravo.com/file_download.php?file_id=2166&type=bug
Issue History
2010-02-02 18:04networkbNew Issue
2010-02-02 18:04networkbAssigned To => rafaroda
2010-02-02 18:04networkbFile Added: BANK (4).DAT
2010-02-05 10:47rafarodaNote Added: 0023986
2010-02-05 10:47rafarodaAssigned Torafaroda => dalsasua
2010-02-08 12:22dalsasuaNote Added: 0024006
2010-02-08 12:22dalsasuaStatusnew => feedback
2010-02-08 12:51networkbNote Added: 0024011
2010-02-08 13:25dalsasuaStatusfeedback => scheduled
2010-02-08 13:25dalsasuaNote Added: 0024015
2010-02-08 13:25dalsasuafix_in_branch => pi
2010-02-08 14:29hgbotCheckin
2010-02-08 14:29hgbotNote Added: 0024017
2010-02-08 14:29hgbotStatusscheduled => resolved
2010-02-08 14:29hgbotResolutionopen => fixed
2010-02-08 14:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/208d6dc05b083483111e26f62eb6fe4647f3b4d5 [^]
2010-02-15 17:36hudsonbotCheckin
2010-02-15 17:36hudsonbotNote Added: 0024304
2010-02-18 13:23sureshbabuNote Added: 0024593
2010-02-18 13:23sureshbabuStatusresolved => closed
2010-02-18 13:23sureshbabuFixed in Version => 2.50MP13
2010-02-19 00:01anonymoussf_bug_id0 =>
2010-03-08 16:04jpabloaeFixed in Version2.50MP13 => 2.50MP14
2010-03-08 16:05jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-10 18:29anonymoussf_bug_id => 2968005

Notes
(0023986)
rafaroda   
2010-02-05 10:47   
David,

Can you please take action on this issue?

Thanks.
(0024006)
dalsasua   
2010-02-08 12:22   
"When .dat is generated, is not correct" -> would it be possible to know, more explicitly, why is not correct? Which bank platform are you using? Is it possible to validate files in that platform?

Thanks.
(0024011)
networkb   
2010-02-08 12:51   
David, have you had a look at the attached file?

Some lines (at the end) does not follow "Cuaderno 34" rules. They do not start with in a appropiated way.
(0024015)
dalsasua   
2010-02-08 13:25   
Sorry: I didn't realize the attached file.
(0024017)
hgbot   
2010-02-08 14:29   
Repository: erp/devel/pi
Changeset: 208d6dc05b083483111e26f62eb6fe4647f3b4d5
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Feb 08 14:29:47 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/208d6dc05b083483111e26f62eb6fe4647f3b4d5 [^]

Fixes issue 12102: Uncorrect bank.dat
when a manual settlement has
several lines in its description

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java
---
(0024304)
hudsonbot   
2010-02-15 17:36   
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/208d6dc05b08 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^]
(0024593)
sureshbabu   
2010-02-18 13:23   
Tested