Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024520Openbravo ERP05. Production managementpublic2013-08-09 10:512013-08-23 11:59
ngarcia 
jonalegriaesarte 
urgentmajoralways
closedfixed 
5
 
2.50MP512.50MP51 
jonalegriaesarte
Core
No
0024520: Global Use Products are wrongly distributed
Global Use Products are wrongly distributed when they are produced in a production run and consumed in another production run inside the same work effort if the associated phases are set as Global Use
As group admin role:
   Create a Process Plan with two Operations set as Global Use
   Add Products to them: one of the products produced (P+) in the 1st operation should be consumed (P-) in the 2nd one
   Create a Work Requirement for that Process Plan and process it
   Go to the Work Effort window and create a new record
   Add two Production Runs to it: one for each phase created previously
   Create Standards for both of them, adding a completed quantity before
   Validate the Work Effort
   The following error message appears:
      "Product repeated in a Production Plan with same locator being P+ and P-"
Check in the MA_GLOBALUSE_DISTRIBUTE database function, that only the records where the products is consumed are selected
No tags attached.
Issue History
2013-08-09 10:51ngarciaNew Issue
2013-08-09 10:51ngarciaAssigned To => jonalegriaesarte
2013-08-09 10:51ngarciaModules => Core
2013-08-09 10:51ngarciaTriggers an Emergency Pack => No
2013-08-09 10:52ngarciaIssue Monitored: networkb
2013-08-12 09:00hgbotCheckin
2013-08-12 09:00hgbotNote Added: 0060560
2013-08-12 09:00hgbotStatusnew => resolved
2013-08-12 09:00hgbotResolutionopen => fixed
2013-08-12 09:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/3895349448303a05d782521e925f42692fa3e6d0 [^]
2013-08-23 11:59jonalegriaesarteReview Assigned To => jonalegriaesarte
2013-08-23 11:59jonalegriaesarteNote Added: 0060749
2013-08-23 11:59jonalegriaesarteStatusresolved => closed
2013-08-23 11:59jonalegriaesarteFixed in Version => 2.50MP51

Notes
(0060560)
hgbot   
2013-08-12 09:00   
Repository: erp/stable/2.50
Changeset: 3895349448303a05d782521e925f42692fa3e6d0
Author: Naiara Garcia <naiara.garcia <at> openbravo.com>
Date: Fri Aug 09 12:33:56 2013 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/3895349448303a05d782521e925f42692fa3e6d0 [^]

Fixed issue 24520: Global Use Products are wrongly distributed

---
M src-db/database/model/functions/MA_GLOBALUSE_DISTRIBUTE.xml
---
(0060749)
jonalegriaesarte   
2013-08-23 11:59   
Verified and working fine.