Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054577Retail ModulesRetail APIpublic2024-02-05 14:582024-02-13 11:24
ngarcia 
Rajesh_18 
urgentmajoralways
closedfixed 
5
 
RR24Q2 
marvintm
No
0054577: ExternalOrderLoader should also look by the search key when trying to find a tax rate
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)
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
}
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" });
No tags attached.
depends on backport 0054654RR24Q1.1 closed Rajesh_18 ExternalOrderLoader should also look by the search key when trying to find a tax rate 
Issue History
2024-02-05 14:58ngarciaNew Issue
2024-02-05 14:58ngarciaAssigned To => Triage Platform Conn
2024-02-05 14:58ngarciaTriggers an Emergency Pack => No
2024-02-05 14:58ngarciaIssue Monitored: networkb
2024-02-05 15:03adrianromeroAssigned ToTriage Platform Conn => Retail
2024-02-08 14:01Rajesh_18Assigned ToRetail => Rajesh_18
2024-02-08 14:01Rajesh_18Statusnew => scheduled
2024-02-13 06:52hgbotNote Added: 0160663
2024-02-13 08:04hgbotResolutionopen => fixed
2024-02-13 08:04hgbotStatusscheduled => closed
2024-02-13 08:04hgbotFixed in Version => RR24Q2
2024-02-13 08:04hgbotNote Added: 0160668
2024-02-13 08:04hgbotNote Added: 0160669
2024-02-13 11:23marvintmStatusclosed => new
2024-02-13 11:23marvintmResolutionfixed => open
2024-02-13 11:23marvintmFixed in VersionRR24Q2 =>
2024-02-13 11:23marvintmStatusnew => scheduled
2024-02-13 11:24marvintmStatusscheduled => resolved
2024-02-13 11:24marvintmFixed in Version => RR24Q2
2024-02-13 11:24marvintmResolutionopen => fixed
2024-02-13 11:24marvintmReview Assigned To => marvintm
2024-02-13 11:24marvintmStatusresolved => closed

Notes
(0160663)
hgbot   
2024-02-13 06:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1469 [^]
(0160668)
hgbot   
2024-02-13 08:04   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 6152b9ef40682e66b7855180e8adf9eed9047a4e
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 13-02-2024 07:04:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/6152b9ef40682e66b7855180e8adf9eed9047a4e [^]

Fixed ISSUE-54577: Added Tax searchKey property while finding taxes

---
M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java
---
(0160669)
hgbot   
2024-02-13 08:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1469 [^]