Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005885Openbravo ERP09. Financial managementpublic2008-11-09 19:292009-01-27 11:46
galderromo 
dalsasua 
immediatemajoralways
closedfixed 
20Gentoo 2.6.24
 
 
OBPS
Core
No
0005885: Spanish bank rule 34: Does not manage business partner bank accounts properly
When a business partner has more than a bank account registered on the application, and the user creates a payment 34 bank rule, the generated file includes as payment per registered bank account.

It doesn't matter if the banks are active or not.
Register a business partner with 3 bank accounts.
Register a purchase invoice to this business partner.
Create an Spanish Cuaderno34 an include the debt payment from the previous invoice.
Process the remittance.
Generate the file.
Check you are paying 3 times the same person.
Check the business partner has only an active bank account.
Throw an error if more than one bank is registered for any business partner on the remittance and do not generate the file.
Specify which business partners creates the exception.
The user will make sure a single bank account is activated for this business partner.
Make sure, the generated file, just includes a line per each activated bank account.
No tags attached.
blocks defect 0005880 closed dalsasua Spanish bank rule 34: Does not manage business partner bank accounts properly 
Issue History
2008-11-09 19:29psarobeNew Issue
2008-11-09 19:29psarobeAssigned To => dalsasua
2008-11-09 19:29psarobeStatusnew => scheduled
2008-11-30 18:10galderromoNote Added: 0010828
2008-12-01 10:55networkbOBNetwork customer => Yes
2008-12-01 10:55networkbPrioritynormal => immediate
2008-12-01 10:55networkbIssue Monitored: networkb
2008-12-02 12:25svnbotCheckin
2008-12-02 12:25svnbotNote Added: 0010877
2008-12-02 12:25svnbotStatusscheduled => resolved
2008-12-02 12:25svnbotResolutionopen => fixed
2008-12-02 12:25svnbotsvn_revision => 10839
2008-12-12 17:53psarobeStatusresolved => new
2008-12-12 17:53psarobeResolutionfixed => open
2008-12-12 17:53psarobeFixed in Version2.35MP10 =>
2008-12-12 17:54psarobeStatusnew => scheduled
2008-12-12 17:54psarobefix_in_branch2.3x => trunk
2008-12-12 17:54psarobeStatusscheduled => resolved
2008-12-12 17:54psarobeResolutionopen => fixed
2008-12-12 18:11psarobeStatusresolved => new
2008-12-12 18:11psarobeResolutionfixed => open
2008-12-12 18:12psarobeStatusnew => scheduled
2008-12-12 18:12psarobefix_in_branchtrunk => 2.3x
2008-12-12 18:12psarobeStatusscheduled => resolved
2008-12-12 18:12psarobeResolutionopen => fixed
2009-01-27 11:46psarobeRegression testing => No
2009-01-27 11:46psarobeStatusresolved => closed

Notes
(0010828)
galderromo   
2008-11-30 18:10   
The process should also check the fields have the correct length. For example, check the postal code has 5 characters. Otherwise, the file won't be created correctly.
(0010877)
svnbot   
2008-12-02 12:25   
Repository: openbravo
Revision: 10839
Author: davidalsasua
Date: 2008-12-02 12:25:19 +0100 (Tue, 02 Dec 2008)

Fixes Bug 0005885: Spanish bank rule 34: Does not manage business partner bank accounts properly

---
U branches/r2.3x/database/sourcedata/AD_MESSAGE.xml
U branches/r2.3x/database/sourcedata/AD_MESSAGE_TRL.xml
U branches/r2.3x/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java
U branches/r2.3x/src/org/openbravo/erpCommon/ad_actionButton/CreateFile_data.xsql
---

https://dev.openbravo.com/websvn/openbravo/?rev=10839&sc=1 [^]