Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036237Openbravo ERP05. Production managementpublic2017-06-12 22:232017-09-21 16:49
collazoandy4 
collazoandy4 
normalmajoralways
closedfixed 
5
 
3.0PR17Q4 
aferraz
Core
No
0036237: Internal Consumption is creating an entry in Product - Transactions tab (M_TRANSACTION) for a non stocked product
Internal Consumption is creating an entry in Product - Transactions tab (M_TRANSACTION) for a non stocked product
As group admin role:
   Go to Warehouse and Storage Bin window and select España Region Norte record:
      Select storage bin Rn-0-0-0 and Change status to Backflush
   Go to Product window and create a new record:
      SearchKey/Name: Product
      Product Type: Item
      Stocked: No
   Go to Internal Consumption window and create a new record:
      Name: Issue
      Create a new record in Lines tab:
        Product: Product
        Movement Quantity: 2
      Process it
   Check in product window a new transaction was created for the previous product created
No tags attached.
related to defect 0036061 closed collazoandy4 Bill Of Materials Production is creating an entry in Product - Transactions tab (M_TRANSACTION) for a non stocked product 
Issue History
2017-06-12 22:23collazoandy4New Issue
2017-06-12 22:23collazoandy4Assigned To => Triage Finance
2017-06-12 22:23collazoandy4Modules => Core
2017-06-12 22:23collazoandy4Triggers an Emergency Pack => No
2017-06-12 22:24collazoandy4Relationship addedrelated to 0036061
2017-06-28 21:05collazoandy4Statusnew => scheduled
2017-06-28 21:05collazoandy4Assigned ToTriage Finance => collazoandy4
2017-06-30 00:06collazoandy4Note Added: 0097780
2017-07-04 11:09hgbotCheckin
2017-07-04 11:09hgbotNote Added: 0097828
2017-07-04 11:09hgbotStatusscheduled => resolved
2017-07-04 11:09hgbotResolutionopen => fixed
2017-07-04 11:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/07c5c7f6a897af8157716af54c2e4bc6a306d48a [^]
2017-07-04 11:09aferrazReview Assigned To => aferraz
2017-07-04 11:09aferrazNote Added: 0097829
2017-07-04 11:09aferrazStatusresolved => closed
2017-07-04 11:09aferrazFixed in Version => 3.0PR17Q4
2017-09-21 16:49hudsonbotCheckin
2017-09-21 16:49hudsonbotNote Added: 0099231

Notes
(0097780)
collazoandy4   
2017-06-30 00:06   
Test Plan
As group admin role:
   Go to Warehouse and Storage Bin window and select España Region Norte record:
      Select storage bin Rn-0-0-0 and Change status to Backflush
   Go to Product window and create a new record:
      SearchKey/Name: Product
      Product Type: Item
      Stocked: No
   Go to Internal Consumption window and create a new record:
      Name: Issue
      Create a new record in Lines tab:
        Product: Product
        Movement Quantity: 2
      Process it
   Check in product window no new transaction is created for the previous product created
(0097828)
hgbot   
2017-07-04 11:09   
Repository: erp/devel/pi
Changeset: 07c5c7f6a897af8157716af54c2e4bc6a306d48a
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Jun 29 15:30:59 2017 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/07c5c7f6a897af8157716af54c2e4bc6a306d48a [^]

Fixes issue 36237: Internal Consumption is creating transaction for non stocked

The transactions created for the consumption lines doesn't take into account if
the product is not stocked. Now a join is made to select only the consumption lines
with stocked products

---
M src-db/database/model/functions/M_INTERNAL_CONSUMPTION_POST1.xml
---
(0097829)
aferraz   
2017-07-04 11:09   
Code review + Testing OK
(0099231)
hudsonbot   
2017-09-21 16:49   
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/9750b78d3e5c [^]
Maturity status: Test