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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0000429
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2008-05-26 12:162008-06-18 15:32
Reportermaria_perezView Statuspublic 
Assigned Togorkaion 
PriorityurgentResolutionfixedFixed in Version2.40alpha-r3
StatusclosedFix in branchFixed in SCM revision4680
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_99
OS VersionUbuntuDatabase version10gAnt version1.6
Product Version2.35SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0000429: Wrong documentno in receipts created from pending goods

DescriptionIn 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 ReproduceIn Procurement Management --> Transactions --> Pending goods receipt. We select a pending purchase order, select quantity, warehouse and reception date and click on the Process Button.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00003142.35 closedgorkaion Wrong documentno in receipts created from pending goods 

-  Notes
(0000386)
gorkaion (viewer)
2008-05-29 19:42

Fixed the java and xsql to get the correct document no

- Issue History
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
Powered by Mantis Bugtracker