Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0042421 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Order Confirmation | minor | have not tried | 2019-11-27 14:51 | 2019-12-02 10:16 | |||
Reporter | collazoandy4 | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 2861c11135dd | ||||
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 | ||||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | aferraz | |||||||
Support ticket | ||||||||
OBNetwork customer | No | |||||||
Regression introduced in release | ||||||||
Summary | 0042421: Exception in Run Order Confirmation process | |||||||
Description | The Run Order Confirmation process throw an exception when the Business Partner does not belongs to the same Order organization | |||||||
Steps To Reproduce | As White Valley Group Admin Role Go to OMS Rule window and create a new record Organization: Magento Name: LowestShipment Create a new record in Criteria tab: OMS Algorithm: Lowest number of shipment In OMS Rule window and create a new record Organization: Magento Name: OrderComplete Create a new record in Criteria tab: OMS Algorithm: Order complete In OMS Rule window and create a new record Organization: Magento Name: Warehouses Create a new record in Criteria tab: OMS Algorithm: Warehouses by priority" Go to OMS Configuration window and create a new record: Organization: Magento Create a new record in Rules tab: Rule: LowestShipment Partial Allocation Allowed: True Create a new record in Rules tab: Rule: OrderComplete Partial Allocation Allowed: True Create a new record in Rules tab: Rule: Warehouses Partial Allocation Allowed: True Go to Sales Order and create a new record: Organization: Vall Boi Business Partner: VB Customer Pos Terminal: Magento Update the order throug database with the following query: update c_order set c_bpartner_id = '8FF8D0A81C644F7A9A74BE01459482BB', c_bpartner_location_id = '84F713E4EB68424B8040DCCB6B423A38' where c_order_id = <orderId>; Check order Business Partner is Magento Customer Create a new record in Lines tab: Product: Snowboard Ordered quantity: 5 Through database update the previous order created to Not Confirmed status (docstatus = 'NC') Reject the order with the Reject action button in sales order window Execute the Run Order Confirmation button and check an exception is throw When the fix of previous error is done Book the replacement Order created in Run Order Confirmation Check the Create Shipment from Orders and Create Invoices from Orders process if throw an exception | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0115915) collazoandy4 (viewer) 2019-11-27 22:18 |
Test Plan As White Valley Group Admin Role Go to OMS Rule window and create a new record Organization: Magento Name: LowestShipment Create a new record in Criteria tab: OMS Algorithm: Lowest number of shipment In OMS Rule window and create a new record Organization: Magento Name: OrderComplete Create a new record in Criteria tab: OMS Algorithm: Order complete In OMS Rule window and create a new record Organization: Magento Name: Warehouses Create a new record in Criteria tab: OMS Algorithm: Warehouses by priority" Go to OMS Configuration window and create a new record: Organization: Magento Create a new record in Rules tab: Rule: LowestShipment Partial Allocation Allowed: True Create a new record in Rules tab: Rule: OrderComplete Partial Allocation Allowed: True Create a new record in Rules tab: Rule: Warehouses Partial Allocation Allowed: True Go to Sales Order and create a new record: Organization: Vall Boi Business Partner: VB Customer Pos Terminal: Magento Update the order throug database with the following query: update c_order set c_bpartner_id = '8FF8D0A81C644F7A9A74BE01459482BB', c_bpartner_location_id = '84F713E4EB68424B8040DCCB6B423A38' where c_order_id = <orderId>; Check order Business Partner is Magento Customer Create a new record in Lines tab: Product: Snowboard Ordered quantity: 5 Through database update the previous order created to Not Confirmed status (docstatus = 'NC') Reject the order with the Reject action button in sales order window Execute the Run Order Confirmation button and check the previous order is closed Go to Replacement Orders tab and navigate to the new order created and check: Organization: Orhi Store BP: Magento Customer Book the order Go to Create Invoices from Orders Process and select the replacement order created in Orhi store Clic on Process button and check a new Sales Invoice is created with: Organization: Orhi Store BP: Magento Customer Document status: Completed Go to Create Shipments from Orders and select the replacement order created in Orhi store Clic on Process button and check a new Goods Shipment is created with: Organization: Orhi Store BP: Magento Customer Document status: Completed Test Plan II Repeat the previous test plan but create the invoice with Generate Invoices process |
(0116015) hgbot (developer) 2019-12-02 10:15 |
Repository: erp/devel/pi Changeset: 2861c11135ddc84a042b01091aa03d55f8cf0591 Author: Álvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Mon Dec 02 10:14:23 2019 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/2861c11135ddc84a042b01091aa03d55f8cf0591 [^] Fixes BUG-42421: Exception in Run Order Confirmation process The Run Order Confirmation process throw an exception when the Business Partner does not belongs to the same Order organization The check was updated to take into account the transaction organization. --- M src-db/database/model/functions/C_INVOICE_POST.xml M src-db/database/model/functions/C_ORDER_POST1.xml --- |
(0116016) aferraz (viewer) 2019-12-02 10:16 |
Code review OK |
![]() |
|||
Date Modified | Username | Field | Change |
2019-11-27 14:51 | collazoandy4 | New Issue | |
2019-11-27 14:51 | collazoandy4 | Assigned To | => collazoandy4 |
2019-11-27 14:51 | collazoandy4 | OBNetwork customer | => No |
2019-11-27 22:17 | collazoandy4 | Steps to Reproduce Updated | View Revisions |
2019-11-27 22:17 | collazoandy4 | Status | new => scheduled |
2019-11-27 22:18 | collazoandy4 | Note Added: 0115915 | |
2019-11-28 11:55 | aferraz | Relationship added | related to 0042295 |
2019-12-02 10:15 | hgbot | Checkin | |
2019-12-02 10:15 | hgbot | Note Added: 0116015 | |
2019-12-02 10:15 | hgbot | Status | scheduled => resolved |
2019-12-02 10:15 | hgbot | Resolution | open => fixed |
2019-12-02 10:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2861c11135ddc84a042b01091aa03d55f8cf0591 [^] |
2019-12-02 10:16 | aferraz | Review Assigned To | => aferraz |
2019-12-02 10:16 | aferraz | Note Added: 0116016 | |
2019-12-02 10:16 | aferraz | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |