Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011306Openbravo ERP05. Production managementpublic2009-11-10 16:482009-11-14 00:00
networkb 
rafaroda 
immediateminoralways
closedno change required 
5
2.50MP5 
2.50MP10 
Core
No
0011306: Product type appears P+ at the Database where must be P-
Product type appears P+ at the Database where must be P-

- Login as Openbravo Admin
- Go to Production Management || Setup || Activity
- Create a New Record
- Save, and create a Toolset
- Save
- Go to Production Management || Process Plan
- Create a New Record
- Save
- Go to Version
- Create a New Record (for example, Starting Date:9-11-2009; Ending Date:10-11-2009)
- Save
- Go to Operation
- Create a New Record with the activity created.
- Save
- Go to I/O products
- Create a new record(For example; Product: paint; quantity: 50; Product type: product use (P-))
- Save and new (For example; Product: Stone Slab; quantity: 50; Product type: product production (P+))
- Go to Production Management || Transactions || Work Requirement
- Create a new record, with you process plan (for example: Quantity: 4; WR Creation Date:9-11-2009; Starting Date: 12-11-2009; Ending Date: 19-11-2009)
- Save
- Go to Operation
- Create a new record
- Save
- Go to Production Management || Transactions || Work Effort
- Create a new record (for example: Movement Date: 09-11-2009; Starting Time: 7:00:00; Ending Time: 16:00:00)
- Save
- Go to Production Run
- Create a new record and Save
- Go to Product
- Create a new record (Product: Paint; Atribute: Black; Prodution type: Prduct use (P-)
- Save
- Go to Production run and click 'Create Standard'
- Go to Work Effort and click 'Validate Work Effort'
- Go to Warehouse Management || Transactions || Goods Transaction:
* Filter by Product = Paint
* Order by Movement Date

Notice that Movement Type = Production + and Movement Quantity = 0

If the work effort comes from a correct work requirement, the Movement Type will be also = Production + and Movement Quantity will be < 0.
No tags attached.
related to feature request 0011389 new Triage Omni OMS Movement type should be P- instead of P+ 
Issue History
2009-11-10 16:48networkbNew Issue
2009-11-10 16:48networkbAssigned To => rafaroda
2009-11-11 14:05rafarodaProposed Solution updated
2009-11-13 10:06rafarodaNote Added: 0021797
2009-11-13 10:06rafarodaStatusnew => closed
2009-11-13 10:06rafarodaResolutionopen => no change required
2009-11-14 00:00anonymoussf_bug_id0 => 2897495
2009-11-17 17:00rafarodaRelationship addedrelated to 0011389

Notes
(0021797)
rafaroda   
2009-11-13 10:06   
According to GDA, this is the regular behaviour.

You do not have to mix the concepts of Production Type (P+ or P- set in the production module) and the Movement Type (defined for the material transactions where P+ only specifies that the material movement comes from a production). Then the Movement Quantity gives us the correct movement sign: positive or negative.