Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043004Openbravo ERP04. Warehouse managementpublic2020-01-24 10:482020-01-30 10:22
ngarcia 
AtulOpenbravo 
immediatemajoralways
closedno change required 
5
 
3.0PR19Q3.4 
Core
No
0043004: Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed
Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed
On F&B client.

1. Create a new organization (name: Org A) child of F&B España, S.A of type Organization.
2. Create a new organization (name: Generic) child of "Org A" of type Generic.
3. Create a new warehouse (name: Test WH) on "Org A" organization
3. Create a new Product (name: Test) of type item and stocked.
4. Create a physical inventory to initialize the stock of the product "Test" on the warehouse "Test WH" set a cost of 10 EUR before processing the inventory.
5. Ensure that the costing background process is executed and that the transaction of the physical inventory is calculated.
6. Go to Costing RUles window and create a new costing rule for F&B España, S.A
7. Try to validate it and check the following error message is shown:

The header document belongs to an organization where transactions are not allowed
No tags attached.
related to defect 0042398 closed collazoandy4 When validating a new costing rule, physical inventories should be created in the warehouse's organization 
related to defect 0042994 closed AtulOpenbravo Validating a new costing rule is trying to create physical inventories in organizations where transactions are not allowed 
diff FixesBug43004.diff (7,583) 2020-01-30 10:22
https://issues.openbravo.com/file_download.php?file_id=13945&type=bug
Issue History
2020-01-24 13:41AtulOpenbravoTypedefect => backport
2020-01-24 13:41AtulOpenbravoTarget Version => 3.0PR19Q3.4
2020-01-24 13:46AtulOpenbravoRegression date => 2019-12-05
2020-01-24 13:46AtulOpenbravoRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/4f441ebb434f0b6fe5f1cb81583246b4f5223814 [^]
2020-01-24 13:47AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2020-01-27 03:48AtulOpenbravoNote Added: 0117245
2020-01-28 09:32AtulOpenbravoRelationship addeddepends on 0042398
2020-01-28 09:32AtulOpenbravoRelationship replacedrelated to 0042398
2020-01-28 09:32AtulOpenbravoRelationship deletedblocks 0042994
2020-01-30 10:22dmiguelezRegression date2019-12-05 =>
2020-01-30 10:22dmiguelezRegression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/4f441ebb434f0b6fe5f1cb81583246b4f5223814 [^] =>
2020-01-30 10:22dmiguelezRelationship addedrelated to 0042994
2020-01-30 10:22dmiguelezNote Added: 0117351
2020-01-30 10:22dmiguelezFile Added: FixesBug43004.diff
2020-01-30 10:22dmiguelezStatusscheduled => closed
2020-01-30 10:22dmiguelezResolutionopen => no change required

Notes
(0117245)
AtulOpenbravo   
2020-01-27 03:48   
Test Plan

- Login as F&B International Group Admin role.
- Using Initial Organization Setup, create a new organization (name: Org A) child of F&B España, S.A of type Organization, set Include Accounting File or Accounting Reference Data = No.
- Navigate to Organization window, set above Organization summary flag = Yes and set it as ready.
- Similarly create a new organization (name: Generic) child of "Org A" of type Generic, set this organization as ready.
- Log out and Log in.
- Create a new warehouse (name: Test WH) on "Org A" organization
- Create a new Product (name: Test) of type item and stocked.
- Create a physical inventory to initialize the stock of the product "Test" on the warehouse "Test WH" set a cost of 10 EUR before processing the inventory.
- Ensure that the costing background process is executed and that the transaction of the physical inventory is calculated.
- Go to Costing Rules window and create a new costing rule for F&B España, S.A
- Try to validate it and realize that process is successful.
(0117351)
dmiguelez   
2020-01-30 10:22   
This issue was originally created as a backport of the regression:
https://issues.openbravo.com/view.php?id=42994 [^]

The issue is closed because the regression was not introduced in this release.

However, if the backport of the issue 42398 is applied, the proposed solution should be applied too.