Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0005009 | Openbravo ERP | 08. Project and service management | public | 2008-09-10 19:10 | 2008-10-08 17:04 | |||||||
Reporter | networkb | |||||||||||
Assigned To | rafaroda | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | |||||||||
Product Version | 2.35MP7 | |||||||||||
Target Version | Fixed in Version | 2.35MP9 | ||||||||||
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. | |||||||||||
Steps To Reproduce | ||||||||||||
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. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
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 |
Notes | |||||
|
|||||
|
|