Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0054654 | Retail Modules | Retail API | public | 2024-02-05 14:58 | 2024-02-13 12:19 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | Rajesh_18 | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR24Q1.1 | Fixed in Version | RR24Q1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0054654: ExternalOrderLoader should also look by the search key when trying to find a tax rate | |||||||||||
Description | ExternalOrderLoader should also look by the search key when trying to find a tax rate. Currently it is looking for: id Name Tax Search Key (hidden field of 5 char) | |||||||||||
Steps To Reproduce | Change the name of the Entregas IVA 21% tax rate, but leave the search key as it is (Entregas IVA 21%) Import an order through the External Order Loader with the "Entregas IVA 21%" tax rate Check the following error is returned: "error": { "message": "Value Entregas IVA 21% does not resolve to an instance of FinancialMgmtTaxRate", "messageType": "Error", "title": "" }, "totalRows": 0 } | |||||||||||
Proposed Solution | In transformTaxes function of ExternalOrderLoader, add the value as a property to look for. Something such as final String taxId = resolveJsonValue(TaxRate.ENTITY_NAME, name, new String[] { "id", "name", "taxSearchKey", "value" }); | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2024-02-13 11:23 | marvintm | Type | defect => backport | |||||||||
2024-02-13 11:23 | marvintm | Target Version | => RR24Q1.1 | |||||||||
2024-02-13 11:42 | hgbot | Note Added: 0160682 | ||||||||||
2024-02-13 12:19 | hgbot | Resolution | open => fixed | |||||||||
2024-02-13 12:19 | hgbot | Status | scheduled => closed | |||||||||
2024-02-13 12:19 | hgbot | Note Added: 0160683 | ||||||||||
2024-02-13 12:19 | hgbot | Fixed in Version | => RR24Q1 | |||||||||
2024-02-13 12:19 | hgbot | Note Added: 0160684 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|