Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009420
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminorhave not tried2009-06-10 13:492009-07-23 00:00
ReportershuehnerView Statuspublic 
Assigned Toharikrishnan 
PriorityurgentResolutionfixedFixed in Version2.50MP3
StatusclosedFix in branchpiFixed in SCM revisionc55fcd703033
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009420: DocumentType variables declared as number but a document type can contains non-numeric chars (prefix,suffix)

DescriptionIn several PL-files some variables used to hold a documentNo are defined as numbers. This will break then the matching DocumentType is defined to contain a non-numeric prefix and/or suffix.

./C_CASH_POST.xml: v_DocumentNo is NUMBER(10)
./C_REMITTANCE_POST.xml: v_DocumentNo NUMBER;
./C_TAXPAYMENT_POST.xml: v_gljdocumentno:, v_sdocumentno NUMBER
./GENERATESOFROMPROJECTORDER.xml: v_DocumentNo NUMBER
Steps To ReproduceDescription of reproducible steps will need to be done when changing the doctype as the changed code shows which DocType /Sequence definition needs to be changed.

Tags250MP3releasecandidate, leo
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to backport 0009397 closedvinothbabu C_BankStatement_Post process fail when Settlement sequence has a preffix and/or suffix 
depends on backport 0009571 closedharikrishnan DocumentType variables declared as number but a document type can contains non-numeric chars (prefix,suffix) 
related to defect 0009394 closedrajagopal C_BankStatement_Post process fail when Settlement sequence has a preffix and/or suffix 
related to defect 0009475 closedvinothbabu C_Cash_Post fails when Settlement sequence contains a preffix or suffix with letters 

-  Notes
(0017182)
shuehner (administrator)
2009-06-10 13:51

When changing the variable definition the best way is to use the %TYPE syntax do define the variable as one of the same type as the database field where it is saved into.

Example for this is the definition of v_SDocumentNo in the PL-file: C_DEBT_PAYMENT_CREATE.xml.

This definition should not be copied exactly but the real target-field of each variable should be used.
(0017671)
hgbot (developer)
2009-06-30 13:05

Repository: erp/devel/pi
Changeset: c55fcd7030334a69a1665552440d9b56bfdf309f
Author: harikrishnan
Date: Tue Jun 30 16:28:59 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c55fcd7030334a69a1665552440d9b56bfdf309f [^]

Fixes Issue 9420: DocumentType variables declared as number but a document type can contains non-numeric chars (prefix,suffix)

---
M src-db/database/model/functions/C_GENERATESOFROMPROJECTORDER.xml
M src-db/database/model/functions/C_REMITTANCE_POST.xml
M src-db/database/model/functions/C_TAXPAYMENT_POST.xml
---

- Issue History
Date Modified Username Field Change
2009-06-10 13:49 shuehner New Issue
2009-06-10 13:49 shuehner Assigned To => rafaroda
2009-06-10 13:49 shuehner Relationship added related to 0009397
2009-06-10 13:51 shuehner Note Added: 0017182
2009-06-10 17:43 psarobe Priority normal => urgent
2009-06-10 17:43 psarobe Status new => scheduled
2009-06-10 17:57 psarobe Relationship added related to 0009394
2009-06-16 11:05 rafaroda Relationship added related to 0009475
2009-06-22 09:49 rafaroda Assigned To rafaroda => sathiyan
2009-06-22 09:49 rafaroda Status scheduled => acknowledged
2009-06-22 09:49 rafaroda Status acknowledged => scheduled
2009-06-22 09:49 rafaroda fix_in_branch => pi
2009-06-23 07:02 sathiyan Assigned To sathiyan => harikrishnan
2009-06-30 13:05 hgbot Checkin
2009-06-30 13:05 hgbot Note Added: 0017671
2009-06-30 13:05 hgbot Status scheduled => resolved
2009-06-30 13:05 hgbot Resolution open => fixed
2009-06-30 13:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c55fcd7030334a69a1665552440d9b56bfdf309f [^]
2009-07-21 16:24 psarobe Fixed in Version => 2.50MP3
2009-07-21 16:26 psarobe Tag Attached: 250MP3releasecandidate
2009-07-21 18:43 psarobe Tag Attached: leo
2009-07-22 07:42 elopio Status resolved => closed
2009-07-23 00:00 anonymous sf_bug_id 0 => 2825601


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker