Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039945 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Auto BOM For Retail | major | N/A | 2019-01-14 19:00 | 2019-02-13 09:58 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0df28c36bf36 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 7101 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039945: Get stock call of autbom does not include the process and warehouse ids | |||||||
Description | The get stock procedure has a warehouseId parameter to ensure that the proposed stock belongs to that warehouse. Do not confuse with priorityWarehouseId. The autbom should set on this paremeter the warehouse of the locator defined in the production plan to ensure that the stock is consumed from the same warehouse where the bom product is created as it is done in the backend bom process (m_production_run procedure) --- The get stock procedure has a p_process_id parameter. This parameter is the identifier of the process that is requesting the stock. Usually is the ad_process_id of the process definition in the AD. When this parameter is set it is possible to use Warehouse Rules or implement Get Stock extension points that modify the stock proposed depending on the caller process. The get stock call for AutoBOM is not populating this parameter making impossible to customize it. | |||||||
Steps To Reproduce | On a organization (ORG) with 2 warehouse on hand. Warehouse A and Warehouse B. Define a new BOM Product with autobom. In the Manufacturing tab of the product set a locator from Warehouse A. So the produced product should be stored on that locator. Make stock available only in Warehouse B. Sell the product and check that it is consuming stock from Warehouse B and the produced bom product is in warehouse A. This is not correct. All the production lines of a Production Plan should use locators of the same warehouse. | |||||||
Proposed Solution | Set the warehouse id of the locator set in the process plan in the warehouseId parameter. Set '137' as process id. Which corresponds with the ad_process_id of the create bom lines backend process. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0109784) hgbot (developer) 2019-02-12 20:41 |
Repository: erp/pmods/org.openbravo.retail.autobom Changeset: 0df28c36bf36f75fbee4b21000f51b3b2a01beed Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Tue Feb 12 14:37:42 2019 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/0df28c36bf36f75fbee4b21000f51b3b2a01beed [^] Fixed issue 39945: Get stock call of autbom does not include the process and warehouse ids - Set the warehouse id with locator of production plan and process id with '137' --- M src/org/openbravo/retail/autobom/BOMProcess.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-01-14 19:00 | gorkaion | New Issue | |
2019-01-14 19:00 | gorkaion | Assigned To | => Retail |
2019-01-14 19:00 | gorkaion | OBNetwork customer | => Gold |
2019-01-14 19:00 | gorkaion | Support ticket | => 7101 |
2019-01-14 19:00 | gorkaion | Resolution time | => 1549234800 |
2019-01-14 19:00 | gorkaion | Triggers an Emergency Pack | => No |
2019-01-14 19:12 | martinsdan | Issue Monitored: martinsdan | |
2019-01-14 19:23 | gorkaion | Steps to Reproduce Updated | View Revisions |
2019-01-15 12:45 | rqueralta | Assigned To | Retail => rqueralta |
2019-01-15 12:45 | rqueralta | Status | new => scheduled |
2019-02-12 20:41 | hgbot | Checkin | |
2019-02-12 20:41 | hgbot | Note Added: 0109784 | |
2019-02-12 20:41 | hgbot | Status | scheduled => resolved |
2019-02-12 20:41 | hgbot | Resolution | open => fixed |
2019-02-12 20:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/0df28c36bf36f75fbee4b21000f51b3b2a01beed [^] |
2019-02-13 09:58 | marvintm | Review Assigned To | => marvintm |
2019-02-13 09:58 | marvintm | Status | resolved => closed |
2019-02-13 09:58 | marvintm | Fixed in Version | => RR19Q2 |
2019-03-05 16:23 | ngarcia | Relationship added | related to 0040324 |
Copyright © 2000 - 2009 MantisBT Group |