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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031348
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementcriticalalways2015-11-03 19:312015-11-04 13:16
ReporteraferrazView Statuspublic 
Assigned Toaferraz 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision5dc29d94caf5
ProjectionnoneETAnoneTarget Version3.0PR15Q4
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression levelPackaging and release
Regression date2015-09-01
Regression introduced in releasemain
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/d824566905ac [^]
Triggers an Emergency PackNo
Summary

0031348: Error when validating a Costing Rule with "Backdated Transactions Fixed" flag enabled

DescriptionError when validating a Costing Rule with "Backdated Transactions Fixed" flag enabled and a backdated adjustment needs to be created.
Steps To ReproduceAs F&B Admin:

- Create a Purchase Order for any product. Book it.
  Create a Goods Receipt from order and dated 10 days after today. Complete it.
  Run Costing Background process.

- Go to Costing Rule window and create a new one for España and Average algorithm, with warehouse dimension flag disabled and backdated transactions fixed flag enabled.
  Click on Validate Costing Rule.
  Run Costing Background process.

- Create another Costing Rule for España and Average algorithm, with warehouse dimension flag disabled and backdated transactions fixed flag enabled.
  Click on Validate Costing Rule.

Check an Error is shown: could not initialize proxy - no Session.
Check also in the log the following error is raised: @NoCostingRuleFoundForOrganizationAndDate@
Proposed SolutionCheck if closing inventories created by a Costing Rule should create BDT adjustments.
If that case, check getCostDimensionRule method of CostingUtils.java
In any case, check also getCostDimensionRule method of CostingServer.java
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00313473.0PR16Q1 closedaferraz Error when validating a Costing Rule with "Backdated Transactions Fixed" flag enabled 

-  Notes
(0081472)
hgbot (developer)
2015-11-04 13:15

Repository: erp/backports/3.0PR15Q4
Changeset: 5dc29d94caf5aa66017df9b98f7ffd37a4b512a7
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Nov 03 21:18:14 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4/rev/5dc29d94caf5aa66017df9b98f7ffd37a4b512a7 [^]

Fixes issue 31348: Error when validating a Costing Rule with backdated enabled

When checking for the current validated costing rule, it should have an ending date greater or equal than current date.

---
M src/org/openbravo/costing/CostingServer.java
M src/org/openbravo/costing/CostingUtils.java
---
(0081473)
dmiguelez (developer)
2015-11-04 13:16

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2015-11-03 21:26 aferraz Type defect => backport
2015-11-03 21:26 aferraz Target Version 3.0PR16Q1 => 3.0PR15Q4
2015-11-04 13:15 hgbot Checkin
2015-11-04 13:15 hgbot Note Added: 0081472
2015-11-04 13:15 hgbot Status scheduled => resolved
2015-11-04 13:15 hgbot Resolution open => fixed
2015-11-04 13:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q4/rev/5dc29d94caf5aa66017df9b98f7ffd37a4b512a7 [^]
2015-11-04 13:16 dmiguelez Review Assigned To => dmiguelez
2015-11-04 13:16 dmiguelez Note Added: 0081473
2015-11-04 13:16 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker