Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044294 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2020-06-05 12:23 | 2020-06-11 08:24 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | prakashmurugesan88 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR20Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
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 | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044294: Retail API: on the import endpoints, several mapped properties are referring to technical id instead of a readable identifie | |||||||
Description | We need to make sure that the referenced entities in the import endpoints are identified in the same way than in the exported ones. This means that if for example in the exported entity the client is identified using the name: "client": "The White Valley" Then in the imported JSON it should be identified in the same way. | |||||||
Steps To Reproduce | Test the export endpoints of the Retail API. Then compare them with the JSON required for the import endpoints, and see that in several referenced entities, like the client, organization, or pricelist, currently you need to specify the technical UUID instead of readable properties like the search key or name. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0120746) hgbot (developer) 2020-06-08 17:40 |
Repository: erp/pmods/org.openbravo.retail.api Changeset: 9ff07deda81bd2310110156b7fb7396e92440c3d Author: Prakash M <prakash <at> qualiantech.com> Date: Mon Jun 08 13:10:00 2020 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.api/rev/9ff07deda81bd2310110156b7fb7396e92440c3d [^] Related to BUG-44294: Changed Reference Id to Identifier in Retail API Imports * Client Id to SearchKey * Organization Id to SearchKey * BusinessPartnerCategory Id to SearchKey * Currency Id to ISOCode * PriceList Id to Name * PaymentTerms Id to Name * PaymentMethod Id to Name * UOM Id to Name * TaxCategory Id to Name * ProductCategory Id to SearchKey * Product Id to SearchKey * ProductAssortment Id to Name in JavaPropertyMapping --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml M src/org/openbravo/retail/api/mappings/product/ImportProductJavaPropertyMappingHandler.java --- |
(0120747) hgbot (developer) 2020-06-08 17:40 |
Repository: erp/pmods/org.openbravo.retail.api Changeset: da50cf192450df9ce2e5e8b886ee09a4fc92b14d Author: Prakash M <prakash <at> qualiantech.com> Date: Mon Jun 08 21:08:44 2020 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.api/rev/da50cf192450df9ce2e5e8b886ee09a4fc92b14d [^] Related to BUG-44294: Retail API import should use same identifier user in export instead of using ids. * Changed Retail API Export properties to unique fields in the corresponding table * Therefore same field can be used in import to identify records uniquely --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
(0120748) hgbot (developer) 2020-06-08 17:40 |
Repository: erp/pmods/org.openbravo.retail.api Changeset: 3aad2a509567c8b8ae0a13d07455ae717f275d66 Author: Prakash M <prakash <at> qualiantech.com> Date: Mon Jun 08 21:08:44 2020 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.api/rev/3aad2a509567c8b8ae0a13d07455ae717f275d66 [^] Related to BUG-44294: Changed Reference Id to Identifier in Retail API Import Tests --- M src-test/data/importer/Assortment.json M src-test/data/importer/BusinessPartner.json M src-test/data/importer/PriceList.json M src-test/data/importer/Product.json M src-test/data/importer/ProductCategory.json M src-test/data/importer/ProductCharacteristic.json --- |
(0120749) hgbot (developer) 2020-06-08 17:40 |
Repository: erp/pmods/org.openbravo.retail.api Changeset: 653998057705015115ee3789fd972a0636e0a5e9 Author: Prakash M <prakash <at> qualiantech.com> Date: Mon Jun 08 21:09:47 2020 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.api/rev/653998057705015115ee3789fd972a0636e0a5e9 [^] Related to BUG-44294: Changed Product name to Product searchkey in Retail API Export Tests --- M src-test/data/export/filter/productprice/ProductPriceByPriceListId.json M src-test/data/export/filter/productprice/ProductPriceByPriceListName.json M src-test/data/export/filter/productprice/ProductPriceByPriceListVersionId.json M src-test/data/export/filter/productprice/ProductPriceByStoreId.json M src-test/data/export/filter/productprice/ProductPriceByStoreName.json M src-test/data/export/filter/productprice/ProductPriceByStoreSearchKey.json --- |
(0120750) prakashmurugesan88 (viewer) 2020-06-08 17:41 |
Updated Postman File, https://drive.google.com/file/d/1M3x4sLdApT30W5P6x6RuE_c_X2OFbjqV/view?usp=sharing [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2020-06-05 12:23 | marvintm | New Issue | |
2020-06-05 12:23 | marvintm | Assigned To | => Retail |
2020-06-05 12:23 | marvintm | OBNetwork customer | => No |
2020-06-05 12:23 | marvintm | Triggers an Emergency Pack | => No |
2020-06-05 12:29 | javietxe | Issue Monitored: javietxe | |
2020-06-05 13:48 | prakashmurugesan88 | Assigned To | Retail => prakashmurugesan88 |
2020-06-05 13:48 | prakashmurugesan88 | Status | new => scheduled |
2020-06-08 17:40 | hgbot | Checkin | |
2020-06-08 17:40 | hgbot | Note Added: 0120746 | |
2020-06-08 17:40 | hgbot | Checkin | |
2020-06-08 17:40 | hgbot | Note Added: 0120747 | |
2020-06-08 17:40 | hgbot | Checkin | |
2020-06-08 17:40 | hgbot | Note Added: 0120748 | |
2020-06-08 17:40 | hgbot | Checkin | |
2020-06-08 17:40 | hgbot | Note Added: 0120749 | |
2020-06-08 17:41 | prakashmurugesan88 | Note Added: 0120750 | |
2020-06-08 17:41 | prakashmurugesan88 | Status | scheduled => resolved |
2020-06-08 17:41 | prakashmurugesan88 | Resolution | open => fixed |
2020-06-11 08:24 | marvintm | Review Assigned To | => marvintm |
2020-06-11 08:24 | marvintm | Status | resolved => closed |
2020-06-11 08:24 | marvintm | Fixed in Version | => RR20Q3 |
Copyright © 2000 - 2009 MantisBT Group |