Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002886Openbravo ERP09. Financial managementpublic2008-04-16 18:062008-07-03 17:26
galderromo 
cromero 
normalminoralways
closedfixed 
5
 
2.40beta 
No
Core
No
0002886: Is not possible to create 34 bank rules where lines<>1
Actually, this peace of code does not allow to create 34 bank rule remittances with more than a line.

CreateFile.java
---------------
if(comprobacion1 != 0 || comprobacion2 != 1 || comprobacion3 !=1 || comprobacion4 == 0){
      if (log4j.isDebugEnabled()) log4j.debug("Error: c1:"+comprobacion1+" c2:"+comprobacion2+" c3:"+comprobacion3+" c4:"+comprobacion4);
      strMessage = Utility.messageBD(this, "CreateFileError", vars.getLanguage());
      printPage(response, vars, strKey, "", "", strMessage);
    }
---------------

Because comprobacion2 is:

CreateFile34_data.xsql
----------------------
SELECT COUNT(*)
FROM c_remittanceLine rl
WHERE rl.c_remittance_ID = TO_NUMBER(?)
----------------------

Should be:
comprobacion2 == 0 instead of comprobacion2 !=1
No tags attached.
depends on backport 0003685 closed pheenan Is not possible to create 34 bank rules where li 
Issue History
2008-07-03 17:26plujanStatusresolved => closed
2008-07-03 17:26plujanFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0006475)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1944153 [^]
(0003561)
cromero   
2008-04-18 10:53   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1500614
Originator: NO

Fixed in the trunk in revision 3564
(0003562)
cromero   
2008-04-18 12:12   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1500614
Originator: NO

Fixed in the trunk in revision 3564