Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0049238 | Openbravo ERP | 07. Sales management | public | 2022-05-05 14:43 | 2022-10-06 14:48 |
Reporter | kousalya_r | ||||
Assigned To | Triage Omni OMS | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | PR20Q3.2 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0049238: Sales Order DeliveryStatus field shows 100% when it is not | ||||
Description | In version PR20Q3.2, the Shipping Status field is rounding up to show that it is already 100% shipped, when it really is not. I enclose an image with an example of an order, this order is sent at 99.671%, since there are 4 lines to send but it shows 100%. | ||||
Steps To Reproduce | Create sales order and deliver few quantities and check deliver status field is rounding up but it should not | ||||
Proposed Solution | Use DeliveryStatus column reference from 'Integer' to 'Amount' and change SQL logic as below (coalesce((select case when sum(abs(ol.qtyordered)) = 0 or iscancelled = 'Y' or cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtydelivered)), 0)/sum(abs(ol.qtyordered)) * 100, 2) end from c_orderline ol where ol.c_order_id=c_order_id and ol.c_order_discount_id is null),0)) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | see100.jpg (250,113) 2022-05-05 14:43 https://issues.openbravo.com/file_download.php?file_id=16983&type=bug 49238.diff (6,075) 2022-05-23 13:50 https://issues.openbravo.com/file_download.php?file_id=17052&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-05-05 14:43 | kousalya_r | New Issue | |||
2022-05-05 14:43 | kousalya_r | Assigned To | => Triage Omni OMS | ||
2022-05-05 14:43 | kousalya_r | File Added: see100.jpg | |||
2022-05-05 14:43 | kousalya_r | Modules | => Core | ||
2022-05-05 14:43 | kousalya_r | Triggers an Emergency Pack | => No | ||
2022-05-05 14:53 | eugeni | Issue Monitored: eugeni | |||
2022-05-23 13:49 | aferraz | Note Added: 0137612 | |||
2022-05-23 13:50 | aferraz | Severity | major => minor | ||
2022-05-23 13:50 | aferraz | File Added: 49238.diff | |||
2022-10-06 14:48 | aferraz | Type | defect => design defect |
Notes | |||||
|
|||||
|
|