Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009394Openbravo ERP09. Financial managementpublic2009-06-08 18:502009-06-23 09:23
networkb 
rajagopal 
immediateminoralways
closedfixed 
5
2.40 
pi 
Core
No
0009394: C_BankStatement_Post process fail when Settlement sequence has a preffix and/or suffix
If Settlement sequence is modified in order to add a suffix or preffix, C_BankStatement_Post process fails.

In C_BankStatement_Post process, in line

v_DocumentNo NUMBER(10) ;

This variable is used to insert a value in a varchar column.
Go to Financial Management > Accounting > Setup > Document Sequence > Settlement.
Add a preffix or suffix (letters, please)
Try to complete a Bank statement.
Process fails.
v_DocumentNo NVARCHAR(60) ;
No tags attached.
related to defect 0009420 closed harikrishnan DocumentType variables declared as number but a document type can contains non-numeric chars (prefix,suffix) 
depends on backport 0009397 closed vinothbabu C_BankStatement_Post process fail when Settlement sequence has a preffix and/or suffix 
related to defect 0009475 closed vinothbabu C_Cash_Post fails when Settlement sequence contains a preffix or suffix with letters 
Issue History
2009-06-08 18:50networkbNew Issue
2009-06-08 18:50networkbAssigned To => rafaroda
2009-06-09 09:03rafarodaAssigned Torafaroda => vmromanos
2009-06-09 09:04rafarodaStatusnew => scheduled
2009-06-09 09:04rafarodafix_in_branch => pi
2009-06-09 11:41vmromanosNote Added: 0017132
2009-06-09 11:41vmromanosStatusscheduled => feedback
2009-06-09 12:02networkbStatusfeedback => new
2009-06-09 12:02networkbfix_in_branchpi =>
2009-06-09 12:02networkbProposed Solution updated
2009-06-10 17:56psarobeStatusnew => feedback
2009-06-10 17:57psarobeRelationship addedrelated to 0009420
2009-06-10 17:58networkbNote Added: 0017191
2009-06-10 18:38networkbStatusfeedback => new
2009-06-10 18:59psarobeNote Added: 0017194
2009-06-10 19:00psarobeStatusnew => scheduled
2009-06-10 19:00psarobefix_in_branch => pi
2009-06-10 19:32vmromanosNote Added: 0017196
2009-06-16 08:52rafarodaRelationship addedrelated to 0009475
2009-06-17 18:44hgbotCheckin
2009-06-17 18:44hgbotNote Added: 0017400
2009-06-17 18:44hgbotStatusscheduled => resolved
2009-06-17 18:44hgbotResolutionopen => fixed
2009-06-17 18:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c98f8502ce4e258fa71197552a773a9f2c467339 [^]
2009-06-19 12:42sureshbabuStatusresolved => closed
2009-06-19 12:42sureshbabuFixed in Version => pi
2009-06-20 00:00anonymoussf_bug_id0 => 2809275
2009-06-23 09:23rafarodaAssigned Tovmromanos => rajagopal

Notes
(0017132)
vmromanos   
2009-06-09 11:41   
Please, could you update the steps to reproduce? Moreover, could you write the detailed steps to reproduce this bug?

For example, Financial Management > Accounting > Setup > Settlement does not exist.
(0017191)
networkb   
2009-06-10 17:58   
What is the required information?
(0017194)
psarobe   
2009-06-10 18:59   
The required information is to have clear steps in order to reproduce the bug. I will do it but this is the last time. Next issues will be reject or change to feedback asking for a better steps to reproduce

1. Go to Financial management->Accounting->Setup->Document type
2. Select the document type Debt/Payment Settlement. Enter in form view
3. Click in document sequence
4. Add a prefix and a suffix. Save
5. Go to Sales management->Transactions->Sales invoice. Click new
6. Fill the mandatory fields
7. Move to lines. Select a product and save
8. Complete the sales invoice
9. Go to Financial management->Receivables and payables->Transactions->Bankstatement
10. Click new and save. Click on create lines from button and select the payment created above. click ok
11. Process the Bankstatement

you will see the error
(0017196)
vmromanos   
2009-06-10 19:32   
Thanks Pablo, these are the steps I was asking for.
(0017400)
hgbot   
2009-06-17 18:44   
Repository: erp/devel/pi
Changeset: c98f8502ce4e258fa71197552a773a9f2c467339
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Wed Jun 17 18:42:48 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c98f8502ce4e258fa71197552a773a9f2c467339 [^]

Fixes bug 0009394: C_BankStatement_Post process fail when Settlement sequence has a preffix and/or suffix

---
M src-db/database/model/functions/C_BANKSTATEMENT_POST.xml
---