Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036681 | Openbravo ERP | 05. Production management | public | 2017-08-21 15:07 | 2017-09-21 16:49 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | markmm82 | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR17Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | aferraz | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 47839 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036681: Insufficient stock in Create Standards Process of Work Effort - Production Run tab if decimal quantities are consumed | |||||||||||
Description | Insufficient stock in Create Standards Process of Work Effort - Production Run tab if decimal quantities are consumed and the stock is not in the same locator The problem is that in M_GET_STOCK_PARAM function v_Quantity variable does not accept decimals: v_Quantity NUMERIC(10); and the next records from M_STOCK_PROPOSED table are deleted in the following piece of code: IF (v_qtyaux <= 0) THEN DELETE FROM m_stock_proposed WHERE ad_pinstance_id = p_uuid AND (priority > cur_warehouse.priority OR isfinal = 'N'); EXIT; END IF; | |||||||||||
Steps To Reproduce | As group admin role: Create a new warehouse for F&B España Region Norte Add a locator to it Increase its Relative Priority to 100 Assign it as on hand warehouse to F&B España Region Norte organization Create a new product: consumed Set it as production Add 4 units of it in Region Norte warehouse Add more units of it in the new created warehouse Create a new product: produced Set it as production Create a record in Manufacturing tab for España Norte org and any locator Create an Activity Create a Process Plan, Version and Operation Set Create Standards to 'N' Add 4.4 units of the previously created product to be consumed (P-) Add 1 unit of the previously created product to be produced (P+) Create a Work Requirement for that Process Plan and process it (Quantity: 1) Create Work Effort Go to Work Effort - Production Run tab, set Completed Quantity to 1 and Create Standards You will get the following error: Insufficient stock:: <productName> | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-08-21 15:07 | ngarcia | New Issue | ||||||||||
2017-08-21 15:07 | ngarcia | Assigned To | => Triage Finance | |||||||||
2017-08-21 15:07 | ngarcia | OBNetwork customer | => Yes | |||||||||
2017-08-21 15:07 | ngarcia | Modules | => Core | |||||||||
2017-08-21 15:07 | ngarcia | Support ticket | => 47839 | |||||||||
2017-08-21 15:07 | ngarcia | Resolution time | => 1505080800 | |||||||||
2017-08-21 15:07 | ngarcia | Triggers an Emergency Pack | => No | |||||||||
2017-08-21 15:09 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=15662#r15662 | |||||||||
2017-08-21 15:09 | ngarcia | Issue Monitored: networkb | ||||||||||
2017-08-22 08:49 | aferraz | Assigned To | Triage Finance => markmm82 | |||||||||
2017-08-22 12:58 | ngarcia | Issue cloned | 0036690 | |||||||||
2017-08-22 12:59 | ngarcia | Relationship added | related to 0036690 | |||||||||
2017-08-22 13:00 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15669#r15669 | |||||||||
2017-08-23 23:56 | markmm82 | Status | new => scheduled | |||||||||
2017-08-24 20:05 | markmm82 | Note Added: 0098637 | ||||||||||
2017-08-25 12:01 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15719#r15719 | |||||||||
2017-08-25 12:03 | hgbot | Checkin | ||||||||||
2017-08-25 12:03 | hgbot | Note Added: 0098650 | ||||||||||
2017-08-25 12:03 | hgbot | Status | scheduled => resolved | |||||||||
2017-08-25 12:03 | hgbot | Resolution | open => fixed | |||||||||
2017-08-25 12:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d66d496bf11717dd0e50bdb729b0b74fdd61e5fb [^] | |||||||||
2017-08-25 12:03 | aferraz | Review Assigned To | => aferraz | |||||||||
2017-08-25 12:03 | aferraz | Note Added: 0098651 | ||||||||||
2017-08-25 12:03 | aferraz | Status | resolved => closed | |||||||||
2017-08-25 12:03 | aferraz | Fixed in Version | => 3.0PR17Q4 | |||||||||
2017-09-21 16:49 | hudsonbot | Checkin | ||||||||||
2017-09-21 16:49 | hudsonbot | Note Added: 0099330 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|