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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026698
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2014-05-26 20:002014-08-26 13:12
ReporterVictorVillarView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionunable to reproduceFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0PR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToVictorVillar
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026698: Null pointer exception error in Costing Background process under some circumstancies

DescriptionYou will get a NPE error in the Costing Migration Process when you have a product defined as non stocked but you have stock in the application --> sum (movementqty) > 0 of the m_transaction. In order to have that definition you should disable the m_produc_trg()
Steps To ReproduceYou will get a NPE error in the Costing Migration Process when you have a product defined as non stocked but you have stock in the application --> sum (movementqty) > 0 of the m_transaction. In order to have that definition you should disable the m_produc_trg().

As a result of that, the Costing migration process creates the closing/opening Physical inventories [1], and this product is taken into account by this process
because there is stock, after that when the process tries to calculate the cost field for the opening physical inventories for that product, it is looking for the cost of
the closing physical inventory transaction (m_transaction table), but due to that product is defined as not stocked, the transaction register related to the closing inventory is not entered in the
m_transaction table, so that is the reason of the null pointer exception error.

Proposed Solution- ignore the products which are not Item and Stockable.

- raise a warning informing about that situation

- could be considered more options
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00233873.0MP24 closedpramakrishnan A stocked product can be changed to non stocked with warehouse movements in the system 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-05-26 20:00 VictorVillar New Issue
2014-05-26 20:00 VictorVillar Assigned To => dmiguelez
2014-05-26 20:00 VictorVillar Modules => Core
2014-05-26 20:00 VictorVillar Resolution time => 1403560800
2014-05-26 20:00 VictorVillar Triggers an Emergency Pack => No
2014-05-26 20:00 VictorVillar Assigned To dmiguelez => jonalegriaesarte
2014-05-26 20:00 VictorVillar Issue Monitored: networkb
2014-05-28 11:18 jonalegriaesarte Assigned To jonalegriaesarte => pramakrishnan
2014-06-11 13:13 ngarcia Relationship added related to 0023387
2014-06-30 12:34 eduardo_Argal Target Version PR14Q3 => PR14Q4
2014-07-03 11:07 AtulOpenbravo Assigned To pramakrishnan => AtulOpenbravo
2014-07-03 11:07 AtulOpenbravo Status new => scheduled
2014-07-03 11:07 AtulOpenbravo fix_in_branch => pi
2014-08-26 13:12 VictorVillar Review Assigned To => VictorVillar
2014-08-26 13:12 VictorVillar Status scheduled => closed
2014-08-26 13:12 VictorVillar Resolution open => unable to reproduce


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker