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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024432
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2013-07-29 22:542013-08-20 16:14
ReporterVictorVillarView Statuspublic 
Assigned Topramakrishnan 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionc29367b38105
ProjectionnoneETAnoneTarget Version3.0MP27
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024432: DocMatchInv should take into account the information of m_costing for non stockable products

DescriptionDocMatchInv should take into account the information of m_costing for non stockable products
Steps To Reproduce1) Create a goods receipt for non stockable product
2) Create a purchase invoice for previous step
3) Go to created matched invoice and try to post.

You can not post it (error: "There is no cost defined for the product...", because there is not transaction, so DocMatchInv.java process does not find the cost related to this product as you can read in the following code:

 MaterialTransaction transaction = getTransaction(Record_ID);
      if (transaction == null) {
        Map<String, String> parameters = new HashMap<String, String>();
        parameters.put("Product", inOutLine.getProduct().getIdentifier());
        parameters.put(
            "Date",
            (OBDateUtils.formatDate(OBDal.getInstance().get(ReceiptInvoiceMatch.class, Record_ID)
                .getTransactionDate())).toString());
        setMessageResult(conn, STATUS_InvalidCost, "error", parameters);
        throw new IllegalStateException();
Proposed SolutionThe process should take into account the information in m_costing table, as it works with DocInOut.java
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0060670)
hgbot (developer)
2013-08-20 09:00

Repository: erp/devel/pi
Changeset: c29367b3810599a595d29dc1a1cd9871e627ff83
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Aug 14 14:04:44 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c29367b3810599a595d29dc1a1cd9871e627ff83 [^]

Fixes Issue 24432: DocMatchInv should take into account the information of m_costing for non stockable products

---
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
---
(0060671)
dmiguelez (developer)
2013-08-20 09:01

Code Review + Testing Ok
(0060687)
hudsonbot (developer)
2013-08-20 16:14

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/e1d10234dde6 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-07-29 22:54 VictorVillar New Issue
2013-07-29 22:54 VictorVillar Assigned To => dmiguelez
2013-07-29 22:54 VictorVillar Modules => Core
2013-07-29 22:54 VictorVillar Resolution time => 1377208800
2013-07-29 22:54 VictorVillar Triggers an Emergency Pack => No
2013-07-29 22:55 VictorVillar Issue Monitored: networkb
2013-08-01 09:55 jonalegriaesarte Assigned To dmiguelez => pramakrishnan
2013-08-05 08:19 pramakrishnan Status new => scheduled
2013-08-05 08:19 pramakrishnan fix_in_branch => pi
2013-08-20 09:00 hgbot Checkin
2013-08-20 09:00 hgbot Note Added: 0060670
2013-08-20 09:01 hgbot Status scheduled => resolved
2013-08-20 09:01 hgbot Resolution open => fixed
2013-08-20 09:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c29367b3810599a595d29dc1a1cd9871e627ff83 [^]
2013-08-20 09:01 dmiguelez Review Assigned To => dmiguelez
2013-08-20 09:01 dmiguelez Note Added: 0060671
2013-08-20 09:01 dmiguelez Status resolved => closed
2013-08-20 16:14 hudsonbot Checkin
2013-08-20 16:14 hudsonbot Note Added: 0060687


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker