Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0042398Openbravo ERP04. Warehouse managementpublic2019-11-26 08:112019-12-05 15:12
ngarcia 
collazoandy4 
urgentmajoralways
closedfixed 
5
 
3.0PR20Q1 
aferraz
Core
No
0042398: When validating a new costing rule, physical inventories should be created in the warehouse's organization
When validating a new costing rule, physical inventories should be created in the warehouse's organization.

The warehouses should always be defined in the legal organizations or their children. They should never be defined at *
As group admin role:
   Create a new costing rule for "F&B España, S.A"
      Costing Algorithm: Average Algorithm
      Warehouse dimension: Y
   Validate it
   Check one physical inventory has been created for each warehouse but both of them are created in "F&B España, S.A" although the warehouses are defined in "F&B España - Región Norte" and "F&B España - Región Sur"
No tags attached.
related to defect 0040539 closed nonofrancisco Physical inventory transactions are always created at legal level 
related to backport 00430043.0PR19Q3.4 closed AtulOpenbravo Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed 
related to backport 00430033.0PR19Q4.2 closed AtulOpenbravo Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed 
related to backport 00430023.0PR20Q1 closed AtulOpenbravo Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed 
causes defect 0042994 closed AtulOpenbravo Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed 
Issue History
2019-11-26 08:11ngarciaNew Issue
2019-11-26 08:11ngarciaAssigned To => Triage Finance
2019-11-26 08:11ngarciaModules => Core
2019-11-26 08:11ngarciaResolution time => 1576537200
2019-11-26 08:11ngarciaTriggers an Emergency Pack => No
2019-11-26 08:11ngarciaRelationship addedrelated to 0040539
2019-11-26 08:11ngarciaIssue Monitored: networkb
2019-11-26 08:52aferrazAssigned ToTriage Finance => inigo_lerga
2019-11-27 12:17rafarodaIssue Monitored: rafaroda
2019-12-03 12:28aferrazAssigned Toinigo_lerga => collazoandy4
2019-12-03 20:23collazoandy4Statusnew => scheduled
2019-12-05 00:44collazoandy4Note Added: 0116097
2019-12-05 15:11hgbotCheckin
2019-12-05 15:11hgbotNote Added: 0116111
2019-12-05 15:11hgbotStatusscheduled => resolved
2019-12-05 15:11hgbotResolutionopen => fixed
2019-12-05 15:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4f441ebb434f0b6fe5f1cb81583246b4f5223814 [^]
2019-12-05 15:12aferrazReview Assigned To => aferraz
2019-12-05 15:12aferrazNote Added: 0116112
2019-12-05 15:12aferrazStatusresolved => closed
2019-12-05 15:12aferrazFixed in Version => 3.0PR20Q1
2020-01-24 10:49ngarciaRelationship addedcauses 0042994
2020-01-28 09:32AtulOpenbravoRelationship addedblocks 0043004
2020-01-28 09:32AtulOpenbravoRelationship replacedrelated to 0043004
2020-01-28 09:32AtulOpenbravoRelationship addedrelated to 0043003
2020-01-30 10:16dmiguelezRelationship addedrelated to 0043002

Notes
(0116097)
collazoandy4   
2019-12-05 00:44   
Test Plan
  As group admin role:
     Create a new costing rule for "F&B España, S.A"
        Costing Algorithm: Average Algorithm
        Warehouse dimension: Y
     Validate it
     Check one physical inventory has been created for each warehouse and both of them are created in the warehouses organization "F&B España - Región Norte" and "F&B España - Región Sur"
(0116111)
hgbot   
2019-12-05 15:11   
Repository: erp/devel/pi
Changeset: 4f441ebb434f0b6fe5f1cb81583246b4f5223814
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Dec 05 15:06:14 2019 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4f441ebb434f0b6fe5f1cb81583246b4f5223814 [^]

Fixes BUG-42398: When validating a new costing rule, physical inventories should
be created in the warehouse's organization

The warehouse organization is not taked into account when the inventory count is created
in the costing rule validation process

Now the warehouse organization is used to create the physical inventories when validating
a new costing rule

---
M src/org/openbravo/costing/CostingRuleProcess.java
---
(0116112)
aferraz   
2019-12-05 15:12   
Code review OK