Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054654
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Retail APImajoralways2024-02-05 14:582024-02-13 12:19
ReporterngarciaView Statuspublic 
Assigned ToRajesh_18 
PriorityurgentResolutionfixedFixed in VersionRR24Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR24Q1.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054654: ExternalOrderLoader should also look by the search key when trying to find a tax rate

DescriptionExternalOrderLoader 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 ReproduceChange 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 SolutionIn 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" });
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0054577 closedRajesh_18 ExternalOrderLoader should also look by the search key when trying to find a tax rate 

-  Notes
(0160682)
hgbot (developer)
2024-02-13 11:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1471 [^]
(0160683)
hgbot (developer)
2024-02-13 12:19

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1471 [^]
(0160684)
hgbot (developer)
2024-02-13 12:19

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: db8d71325279f744d0b008f7502921e99f639eb4
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 13-02-2024 10:42:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/db8d71325279f744d0b008f7502921e99f639eb4 [^]

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

---
M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java
---

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker