Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025153Openbravo ERP04. Warehouse managementpublic2013-11-14 10:442014-02-12 18:29
VictorVillar 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
pi 
3.0PR14Q2 
VictorVillar
Core
No
0025153: Costing background process should take into account costing registers already created/imported
Costing background process should take into account costing registers already created/imported in order to avoid date range overlapping.
As group admin role,
Create a new product for * Org. level
  Assign it a purchase price list
  create a new register in Costing tab:
     Starting date: today + 1
     Ending date: 31/12/9999
     Warehouse: blank
     Cost: 5
Create physical inventory for this product --> Qty count: 10 and process it.
Launch the Costing background process, you realise that the process has finished successfully

Check the Costing tab, and realise that there are two registers:
   1.- Starting date: today + 1
     Ending date: 31/12/9999
   2.- Starting date: today
     Ending date: 31/12/9999

There is dates range overlapping.

Also, it is necessary to check with the first transaction as Production. Because the process called is different (ma_production_cost function) than the Costing Background Process due to is a production transaction

 
The solution should be:

   1.- Starting date: today + 1
     Ending date: 31/12/9999
   2.- Starting date: today
     Ending date: today + 1
No tags attached.
Issue History
2013-11-14 10:44VictorVillarNew Issue
2013-11-14 10:44VictorVillarAssigned To => dmiguelez
2013-11-14 10:44VictorVillarModules => Core
2013-11-14 10:44VictorVillarResolution time => 1387234800
2013-11-14 10:44VictorVillarTriggers an Emergency Pack => No
2013-11-14 10:44VictorVillarAssigned Todmiguelez => jonalegriaesarte
2013-11-14 10:44VictorVillarIssue Monitored: networkb
2013-11-18 16:26jonalegriaesarteTarget Version3.0MP30 => 3.0MP31
2014-01-02 12:38jonalegriaesarteTarget Version3.0MP31 => 3.0MP32
2014-01-07 12:50jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-01-10 07:54AtulOpenbravoAssigned Topramakrishnan => AtulOpenbravo
2014-01-10 07:54AtulOpenbravoStatusnew => scheduled
2014-01-10 07:54AtulOpenbravofix_in_branch => pi
2014-01-27 08:52AtulOpenbravoNote Added: 0063696
2014-01-28 18:19AtulOpenbravoReview Assigned To => VictorVillar
2014-01-28 18:19AtulOpenbravofix_in_branchpi =>
2014-01-28 18:23hgbotCheckin
2014-01-28 18:23hgbotNote Added: 0063764
2014-01-28 18:23hgbotStatusscheduled => resolved
2014-01-28 18:23hgbotResolutionopen => fixed
2014-01-28 18:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c096dcacef4a6b9d1c6de800befc9fe53bc0d279 [^]
2014-01-30 13:49VictorVillarNote Added: 0063811
2014-01-30 13:49VictorVillarStatusresolved => closed
2014-02-12 18:29hudsonbotCheckin
2014-02-12 18:29hudsonbotNote Added: 0064130

Notes
(0063696)
AtulOpenbravo   
2014-01-27 08:52   
Test Plan
- Login as F&B International Group Admin role.
- Create a new product for in '*' Org.
- Set price for it in Purchase Price List.
- Create a new record in Costing tab for product:
     Starting date: today + 1
     Ending date: 31/12/9999
     Warehouse: blank
     Cost: 5
- Create physical inventory for this product --> Qty count: 10 and process it.
- Launch the Costing background process, check that process has finished successfully.
- Check the Costing tab, and there are two records:

   1. Starting date: today
      Ending date : today + 1

   2. Starting date: today + 1
      Ending date : 31/12/9999
(0063764)
hgbot   
2014-01-28 18:23   
Repository: erp/devel/pi
Changeset: c096dcacef4a6b9d1c6de800befc9fe53bc0d279
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Jan 24 15:45:25 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c096dcacef4a6b9d1c6de800befc9fe53bc0d279 [^]

Fixes Issue 25153 Costing process should consider manual costing entries

---
M src/org/openbravo/costing/AverageAlgorithm.java
---
(0063811)
VictorVillar   
2014-01-30 13:49   
Verified
(0064130)
hudsonbot   
2014-02-12 18:29   
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/d1a5bb862230 [^]
Maturity status: Test