Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0009866 | Openbravo ERP | 06. Material requirement planning (MRP) | public | 2009-07-13 18:20 | 2012-05-25 12:12 |
|
Reporter | jtarbal | |
Assigned To | Sandrahuguet | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP2 | |
Target Version | | Fixed in Version | 3.0MP12 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0009866: Error when creating purchase orders from an MRP purchasing plan |
Description | When creating the purchase orders from the "Purchasing Plan" window in MRP, if no warehouse is selected, the following error appears: "Error: null value in column "m_warehouse_id" violates not-null constraint". |
Steps To Reproduce | In order to reproduce this error, please, follow the next steps:
1) Parametrize the Purchasing MRP planner
2) Go to "Material Requirement (MRP) || Transactions || Purchasing Plan" and create a new document
3) Specify a "Time horizon" that implies a new purchase as there will be not enough stocked products.
4) Press the "Process purchase plan" button.
5) Go in the "Lines" tab and make sure there is at least one record of type "suggested purchase order"
6) Go in the "Header" tab and press the button "Create purchase orders". Do not select any warehouse.
7) See the error "Error: null value in column "m_warehouse_id" violates not-null constraint". |
Proposed Solution | In my opinion, it should not be necessary to select the warehouse when creating the purchase orders from an MRP purchasing plan. Thus, no parameters should be selected when doing this action. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-07-13 18:20 | jtarbal | New Issue | |
2009-07-13 18:20 | jtarbal | Assigned To | => rafaroda |
2009-07-20 23:22 | psarobe | OBNetwork customer | => No |
2009-07-20 23:22 | psarobe | Assigned To | rafaroda => gorkaion |
2009-07-20 23:22 | psarobe | Status | new => scheduled |
2012-05-09 12:24 | Sandrahuguet | Assigned To | gorkaion => Sandrahuguet |
2012-05-09 13:45 | Sandrahuguet | Note Added: 0048506 | |
2012-05-09 13:45 | Sandrahuguet | Note Added: 0048507 | |
2012-05-18 14:45 | hgbot | Checkin | |
2012-05-18 14:45 | hgbot | Note Added: 0048770 | |
2012-05-18 14:45 | hgbot | Status | scheduled => resolved |
2012-05-18 14:45 | hgbot | Resolution | open => fixed |
2012-05-18 14:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/df2d72114d5fc1a156d7e97116b9dab4d4d29f25 [^] |
2012-05-18 14:46 | hgbot | Checkin | |
2012-05-18 14:46 | hgbot | Note Added: 0048772 | |
2012-05-18 14:52 | mirurita | Note Added: 0048774 | |
2012-05-18 14:52 | mirurita | Status | resolved => closed |
2012-05-18 14:52 | mirurita | Fixed in Version | => 3.0MP12 |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049165 | |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049167 | |
Notes |
|
|
Warehouse is mandatory in purchase order, as a result warehouse parameter in create purchase orders process in purchasing plan window should be mandatory.
To fix this issue we modify warehouse parameter as mandatory and the default value in warehouse is the warehouse in session. |
|
|
|
Test Plan:
Go to Purchasing Plan, and create one:
-Organization: F&B España - Región Norte
-Name: test
Navigate to lines, and create one:
-Planned date: 09-05-2012
-Quantity: 100
-Required quantity: 100
-Transaction Type: Suggested Purchase Order
-Product: Agua sin Gas 1L
-Business partner: Refrescos Naturales, S.A.
-Planned order date: 09-05-2012
Press the button "Create purchase orders"
Notice that warehouse parameter is mandatory |
|
|
(0048770)
|
hgbot
|
2012-05-18 14:45
|
|
|
|
(0048772)
|
hgbot
|
2012-05-18 14:46
|
|
|
|
(0048774)
|
mirurita
|
2012-05-18 14:52
|
|
|
|
|
|
|
|
|