Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013605Openbravo ERP05. Production managementpublic2010-06-10 12:422010-06-23 00:00
networkb 
sivaraman 
urgentmajoralways
closedfixed 
5
2.50MP18 
2.50MP19 
Core
No
0013605: Wrong behaviour in production with products with 'stocked' unchecked
When you have a product with 'stocked' unchecked and it is P- in a process plan. The process updates the product's stock.
- As Openbravo Admin go to Master Data Management || Product
- Select Stone Slab and unchecked 'Stocked'
- Go to Process plan, create a new record.
   - Select Stone Slab as P-.
- Go to Work Requirement, create a new record, select the process plan create and 'Process Work Requirement'
- Go to Work Effort, create a new record.
- Go to Production Run and select the WR Phase created.
  - Create Standards and Validate Work Effort.
- Realize that the Stone Slab's stock has been updated
No tags attached.
Issue History
2010-06-10 12:42networkbNew Issue
2010-06-10 12:42networkbAssigned To => adrianromero
2010-06-10 16:08adrianromeroStatusnew => scheduled
2010-06-10 16:08adrianromerofix_in_branch => pi
2010-06-16 12:37sivaramanAssigned Toadrianromero => sivaraman
2010-06-16 13:30hgbotCheckin
2010-06-16 13:30hgbotNote Added: 0028499
2010-06-16 13:30hgbotStatusscheduled => resolved
2010-06-16 13:30hgbotResolutionopen => fixed
2010-06-16 13:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1cd1fa208bcca05852c24b6d953a1651563d806b [^]
2010-06-16 13:31sivaramanNote Added: 0028500
2010-06-17 11:14hudsonbotCheckin
2010-06-17 11:14hudsonbotNote Added: 0028543
2010-06-22 14:26arunkumarNote Added: 0028672
2010-06-22 14:26arunkumarStatusresolved => closed
2010-06-23 00:00anonymoussf_bug_id0 => 3019888

Notes
(0028499)
hgbot   
2010-06-16 13:30   
Repository: erp/devel/pi
Changeset: 1cd1fa208bcca05852c24b6d953a1651563d806b
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Wed Jun 16 16:59:31 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/1cd1fa208bcca05852c24b6d953a1651563d806b [^]

Fixes issue 13605: Wrong behaviour in production with products with 'stocked' unchecked

Change is added in MA_WORKEFFORT_VALIDATE.xml that restricts M_Transaction not to be inserted when we validate work effort for Not-Stocked products.

---
M src-db/database/model/functions/MA_WORKEFFORT_VALIDATE.xml
---
(0028500)
sivaraman   
2010-06-16 13:31   
Pre-requisition:
1. Go to Warehouse Management || Analysis Tools || Stock Report || Stock Report
2. Add Stone Slab and Click HTML format
3. Take a note of the stock quantity
 
Steps to test:

1. Log on to Openbravo with 'Openbravo Admin' role
2. Go to Master Data Management || Product || Product
3. Select Stone Slab, Uncheck 'Stocked' field and Save
4. Go to Production Management || Transactions || Process Plan || Process Plan
5. Create new process plan
    Search Key : New Process
    Name : New Process
6. Create new Version
    Starting Date : 16-06-2010
    Ending Date : 24-06-2010
7. Create new Operation
    Name : New Operation
    Activity : Activity (if not, create new one)
8. Create new I/O Products
    Product : Stone Slab
    Production Type : P-
    Quantity : 10
9. Go to Production Management || Transactions || Work Requirement
10. Create new record with the above created process plan
    Process Plan : New Process
11. Click Process Work Requirement
12. Go to Production Management || Transactions || Work Effort || Work Effort
13. Create new record
    Movement Date : 16-06-2010
    Starting Time : 09:00:00
    Ending Time : 20:00:00
14. Create new Production Run
    WR Phase : select newly created work requirement
    Completed Quantity : 10
    Process Quantity : 10
15. Click Create Standards
16. Click Validate Work Effort in Work Effort

17. Go to Warehouse Management || Analysis Tools || Stock Report || Stock Report
18. Add Stone Slab and Click HTML format
19. Verify the stock quantity if there is any update
(0028543)
hudsonbot   
2010-06-17 11:14   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/1cd1fa208bcc [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2870e0ad4afa [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17675.obx [^]
(0028672)
arunkumar   
2010-06-22 14:26   
Tested working fine