Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0000429 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 03. Procurement management | major | always | 2008-05-26 12:16 | 2008-06-18 15:32 | |||
Reporter | maria_perez | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.40alpha-r3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4680 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.5.0_99 | |||
OS Version | Ubuntu | Database version | 10g | Ant version | 1.6 | |||
Product Version | 2.35 | 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 | 0000429: Wrong documentno in receipts created from pending goods | |||||||
Description | In Procurement Management --> Transactions --> Pending goods receipt. We select a pending purchase order, select quantity, warehouse and reception date and click on the Process Button. Then a good receipt is generated with a document number which is not correct according to the document type. Patch found: In file --> src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java The line: strDocumentno = Utility.getDocumentNo(this, vars, "", "M_InOut", Utility.getContext(this, vars, "C_DocTypeTarget_ID", docTargetType), Utility.getContext(this, vars, "C_DocType_ID", docTargetType), false, true); has been changed to: strDocumentno = Utility.getDocumentNo(this, vars, "", "M_InOut", docTargetType.equals("")?Utility.getContext(this, vars, "C_DocTypeTarget_ID", docTargetType):docTargetType, Utility.getContext(this, vars, "C_DocType_ID", docTargetType), false, true); In order to use the variable docTargetType as input parameter in method getDocumentNo, instead of the session variable C_DocTypeTarget_ID, which is used in the current code. | |||||||
Steps To Reproduce | In Procurement Management --> Transactions --> Pending goods receipt. We select a pending purchase order, select quantity, warehouse and reception date and click on the Process Button. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0000386) gorkaion (viewer) 2008-05-29 19:42 |
Fixed the java and xsql to get the correct document no |
![]() |
|||
Date Modified | Username | Field | Change |
2008-05-26 12:16 | psarobe | New Issue | |
2008-05-26 12:16 | psarobe | Assigned To | => gorkaion |
2008-05-26 12:16 | psarobe | Status | new => scheduled |
2008-05-29 19:42 | gorkaion | Status | scheduled => resolved |
2008-05-29 19:42 | gorkaion | svn_revision | => 4680 |
2008-05-29 19:42 | gorkaion | Resolution | open => fixed |
2008-05-29 19:42 | gorkaion | Note Added: 0000386 | |
2008-06-11 14:38 | cromero | Fixed in Version | => 2.40alpha r3 |
2008-06-16 06:56 | pjuvara | Priority | normal => urgent |
2008-06-16 06:56 | pjuvara | Severity | minor => major |
2008-06-16 06:56 | pjuvara | Description Updated | |
2008-06-16 06:56 | pjuvara | Proposed Solution updated | |
2008-06-18 15:32 | plujan | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |