Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005009 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 08. Project and service management | major | have not tried | 2008-09-10 19:10 | 2008-10-08 17:04 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | rafaroda | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 2.35MP9 | |||
Status | closed | Fix in branch | 2.3x | Fixed in SCM revision | 7214 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.35MP7 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0005009: Create AP Expense Invoices process does not take the sequences number well | |||||||
Description | When executing this process if you are using document types different than the standard, although the document type is token well, the number of sequence is not taken from this document type. Debugging the src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java file i saw that the document type is well but then is not passed correctly to the function that calculate the document number. | |||||||
Proposed Solution | It is used this function to pass the document type Utility.getContext(this, vars, "C_DocTypeTarget_ID", docTargetType) but if you have the document type on docTargetType variable maybe you don't need to use the getContext function to get it again. replacing String strDocumentno = Utility.getDocumentNo(this, vars, "", "C_Invoice", Utility.getContext(this, vars, "C_DocTypeTarget_ID", docTargetType) , Utility.getContext(this, vars, "C_DocType_ID", docTargetType), false, true); with String strDocumentno = Utility.getDocumentNo(this, vars, "", "C_Invoice", docTargetType , docTargetType, false, true); The invoices take the numbers of the document type. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0009006) svnbot (viewer) 2008-09-11 18:25 |
Repository: openbravo Revision: 7214 Author: rafaroda Date: 2008-09-11 18:25:39 +0200 (Thu, 11 Sep 2008) Fixes bug 0005009 Replaced 'Utility.getContext(this, vars, "C_DocTypeTarget_ID", docTargetType)' by 'docTargetType' in ExpenseAPInvoice.java and ExpenseSOrder.java. --- U branches/r2.3x/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java U branches/r2.3x/src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java --- https://dev.openbravo.com/websvn/openbravo/?rev=7214&sc=1 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2008-09-10 19:10 | rafaroda | New Issue | |
2008-09-10 19:10 | rafaroda | Assigned To | => rafaroda |
2008-09-10 19:10 | rafaroda | Status | new => scheduled |
2008-09-11 18:25 | svnbot | Checkin | |
2008-09-11 18:25 | svnbot | Note Added: 0009006 | |
2008-09-11 18:25 | svnbot | Status | scheduled => resolved |
2008-09-11 18:25 | svnbot | Resolution | open => fixed |
2008-09-11 18:25 | svnbot | svn_revision | => 7214 |
2008-10-08 17:04 | psarobe | Regression testing | => No |
2008-10-08 17:04 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |