Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056044 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Retail API | major | have not tried | 2024-07-01 13:38 | 2024-07-19 08:04 | |||
Reporter | AgatheBertin | View Status | public | |||||
Assigned To | sreehari | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | RR24Q3.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056044: API ProductListsForLabels - Organization | |||||||
Description | API ProductListsForLabels When importing, we have to set an organization (Organization of the product list for labels) But, we can only integrate the object using the NAME of the organization We should be able to use the searchKey of the organization | |||||||
Steps To Reproduce | Use the SearchKey of the organiztion and you get the error "Error while importing an item: No entry found in Organization with name = 0000001203" [{"client":"CCC","organization":"0000001203","name":"Test ABE1234","searchKey":"Test ABE1234","active":true,"printDate":"2024-02-07","products":[{"product":"477715"},{"product":"581301"},{"product":"182496"},{"product":"477720"},{"product":"549207"},{"product":"581297"}]}] | |||||||
Proposed Solution | Allow to import with the search Key of the organization. JWE: Import will check first SearchKey and if not then organization name (to keep retrocompatbility) Export will be done just by searchKey | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0167144) hgbot (developer) 2024-07-19 06:57 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/6 [^] |
(0167151) hgbot (developer) 2024-07-19 08:04 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api [^] Changeset: b15d72843f1b864b9f09074cad0ca15e28ab8ef3 Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com> Date: 19-07-2024 06:04:55 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/commit/b15d72843f1b864b9f09074cad0ca15e28ab8ef3 [^] Fixes ISSUE-56044: Changed organization name to searchKey on the API to standardize Created ImportProductListsForLabelsJavaPropertyMappingHandler --- A src/org/openbravo/pos2/product/label/printing/api/mappings/ImportProductListsForLabelsJavaPropertyMappingHandler.java M examples/Openbravo API.postman_collection.json M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
(0167152) hgbot (developer) 2024-07-19 08:04 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/6 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2024-07-17 10:55 | guillermogil | Type | defect => backport |
2024-07-17 10:55 | guillermogil | Target Version | => RR24Q3.1 |
2024-07-19 06:57 | hgbot | Note Added: 0167144 | |
2024-07-19 08:04 | hgbot | Merge Request Status | open => approved |
2024-07-19 08:04 | hgbot | Resolution | open => fixed |
2024-07-19 08:04 | hgbot | Status | scheduled => closed |
2024-07-19 08:04 | hgbot | Note Added: 0167151 | |
2024-07-19 08:04 | hgbot | Note Added: 0167152 |
Copyright © 2000 - 2009 MantisBT Group |