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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0000314
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2008-05-15 13:452008-12-02 13:01
Reportermaria_perezView Statuspublic 
Assigned Togorkaion 
PrioritynormalResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision4679
ProjectionnoneETAnoneTarget Version2.35
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

0000314: 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 ]
depends on backport 0000429 closedgorkaion Wrong documentno in receipts created from pending goods 

-  Notes
(0000387)
gorkaion (viewer)
2008-05-29 19:43

Fixed the java and xsql file to get the correct Document No.

- Issue History
Date Modified Username Field Change
2008-05-15 13:45 maria_perez New Issue
2008-05-15 13:45 maria_perez Assigned To => cromero
2008-05-19 18:57 cromero Assigned To cromero => gorkaion
2008-05-19 18:57 cromero Status new => acknowledged
2008-05-26 12:16 psarobe Status acknowledged => scheduled
2008-05-29 19:43 gorkaion Status scheduled => resolved
2008-05-29 19:43 gorkaion svn_revision => 4679
2008-05-29 19:43 gorkaion Resolution open => fixed
2008-05-29 19:43 gorkaion Note Added: 0000387
2008-06-11 12:46 cromero Target Version => 2.40
2008-06-11 14:29 cromero Target Version 2.40 => 2.35
2008-06-16 06:55 pjuvara Severity minor => major
2008-08-20 19:08 psarobe Regression testing => No
2008-08-20 19:08 psarobe Status resolved => closed
2008-08-20 19:08 psarobe Fixed in Version => trunk
2008-12-02 13:01 jaimetorre sf_bug_id 0 => 2377021


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker