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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012680
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2010-03-15 10:252010-12-09 15:59
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionc4ac0459ec41
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012680: DocumentNo wrongly calculated on windows based on FIN_Payment and FIN_Payment_Proposal tables

DescriptionOn windows based on those tables when a new record is being created the document number proposed is based on the sequence of the table instead of the sequence assigned to the selected document type. But if this proposed document number is not changed when the record is saved it is properly recalculated.
Steps To ReproduceGo to Receipt Payment window and press new. A document number is proposed. Fill mandatory fields and save the record. A different document number is saved.
Proposed SolutionAll tables with DocumentNo and c_doctype_id columns needs a callout assigned to the c_doctype_id that calculates the proper document number. New callouts are needed for the following tables:
FIN_Payment, FIN_Payment_Proposal and FIN_Reconciliation

These callouts shall be developed making use of the newly created SimpleCallout.

To get the DocumentNo use:
Utility.getDocumentNo(this, vars, "", "FIN_Payment", strDocTypeId, strDocTypeId, false, false);

Remember to add the "<" and ">".
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0025845)
hgbot (developer)
2010-03-31 18:12

Repository: erp/devel/pi
Changeset: c4ac0459ec4102ed116b241d1eecefa87ea296d6
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Mar 23 18:24:37 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c4ac0459ec4102ed116b241d1eecefa87ea296d6 [^]

Fixed issue 12680.Minor adjustments on the callout.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_AdvPayment_Document.java
---
(0026406)
hudsonbot (developer)
2010-04-19 21:12

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/c4ac0459ec41 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]
(0029642)
sureshbabu (reporter)
2010-07-28 13:18

verified

- Issue History
Date Modified Username Field Change
2010-03-15 10:25 gorkaion New Issue
2010-03-15 10:25 gorkaion Assigned To => gorkaion
2010-03-23 13:48 gorkaion Status new => scheduled
2010-03-23 13:48 gorkaion fix_in_branch => pi
2010-03-31 18:12 hgbot Checkin
2010-03-31 18:12 hgbot Note Added: 0025845
2010-03-31 18:12 hgbot Status scheduled => resolved
2010-03-31 18:12 hgbot Resolution open => fixed
2010-03-31 18:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c4ac0459ec4102ed116b241d1eecefa87ea296d6 [^]
2010-04-19 21:12 hudsonbot Checkin
2010-04-19 21:12 hudsonbot Note Added: 0026406
2010-07-28 13:18 sureshbabu Note Added: 0029642
2010-07-28 13:18 sureshbabu Status resolved => closed
2010-12-09 15:59 anonymous sf_bug_id 0 => 3133052


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker