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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031144
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2015-10-13 18:142015-11-23 21:17
ReporterngarciaView Statuspublic 
Assigned Toaferraz 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionac6bdbc8cc9c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031144: Costing Background Process finishes with error if the costing rule is validated with a starting date in the future

DescriptionCosting Background Process finishes with error if the costing rule is validated with a starting date in the future and there exists stock in that organization
Steps To ReproduceAs group admin role:
   Launch the Initial Organization Setup in order to create a legal with accounting organization below F&B International Group
   Apply the Core dataset
   Create a calendar and a year for that organization
   Assign it to the organization and Set as Ready
   Open its periods
   Create a Business Partner and set it as Vendor
   Create a Product (Item and Stocked)
   Create a Warehouse and a Storage Bin
   Create a goods receipt with today's date for that product, warehouse, business partner... and complete it
   Create a Costing Rule for that organization and set a starting date of tomorrow
   Launch the Costing Background Process and check the following error is shown in the Process Log field:
      No valid Costing Rule found for given organization and date
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0031979 closedaferraz Costing Migration Process: processed column of m_transaction table is not set as Y for records with its cost calculated 

-  Notes
(0081621)
aferraz (manager)
2015-11-09 13:43

Test plan:

As group admin role:
   Launch the Initial Organization Setup in order to create a legal with accounting organization below F&B International Group
   Apply the Core dataset
   Create a calendar and a year for that organization
   Assign it to the organization and Set as Ready
   Open its periods
   Create a Business Partner and set it as Vendor
   Create a Product (Item and Stocked)
   Create a Warehouse and a Storage Bin
   Create a goods receipt with today's date for that product, warehouse, business partner... and complete it
   Create a Costing Rule for that organization and set a starting date of tomorrow
   Launch the Costing Background Process and check it finishes successfully.
(0081900)
hgbot (developer)
2015-11-16 18:38

Repository: erp/devel/pi
Changeset: ac6bdbc8cc9c1406b5bd42c6df58a0c50118705a
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Nov 09 13:41:23 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ac6bdbc8cc9c1406b5bd42c6df58a0c50118705a [^]

Fixes issue 31144: Error in Costing Background

Costing Background process was failing when first costing rule of an organization was validated with a starting date in the future.
Transactions before this starting date were calculated at zero cost but they were not set as processed, and then Costing Background was wrongly taking those transactions into account to calculate their cost.

---
M src/org/openbravo/costing/CostingRuleProcess.java
---
(0081901)
dmiguelez (developer)
2015-11-16 18:38

Code Review + Testing Ok
(0082242)
hudsonbot (developer)
2015-11-23 21:17

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/7b56bebaaa88 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-10-13 18:14 ngarcia New Issue
2015-10-13 18:14 ngarcia Assigned To => Triage Finance
2015-10-13 18:14 ngarcia Modules => Core
2015-10-13 18:14 ngarcia Resolution time => 1448146800
2015-10-13 18:14 ngarcia Triggers an Emergency Pack => No
2015-10-13 18:15 ngarcia Issue Monitored: networkb
2015-11-09 12:11 aferraz Assigned To Triage Finance => aferraz
2015-11-09 12:12 aferraz Status new => scheduled
2015-11-09 13:43 aferraz Note Added: 0081621
2015-11-16 18:38 hgbot Checkin
2015-11-16 18:38 hgbot Note Added: 0081900
2015-11-16 18:38 hgbot Status scheduled => resolved
2015-11-16 18:38 hgbot Resolution open => fixed
2015-11-16 18:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ac6bdbc8cc9c1406b5bd42c6df58a0c50118705a [^]
2015-11-16 18:38 dmiguelez Review Assigned To => dmiguelez
2015-11-16 18:38 dmiguelez Note Added: 0081901
2015-11-16 18:38 dmiguelez Status resolved => closed
2015-11-23 21:17 hudsonbot Checkin
2015-11-23 21:17 hudsonbot Note Added: 0082242
2016-01-25 13:06 aferraz Relationship added related to 0031979


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker