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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056045
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Retail APImajorhave not tried2024-07-01 13:382024-07-19 08:05
ReporterAgatheBertinView Statuspublic 
Assigned Tosreehari 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR24Q2.2
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

0056045: API ProductListsForLabels - Organization

DescriptionAPI 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 ReproduceUse 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 SolutionAllow 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0055878 closedsreehari API ProductListsForLabels - Organization 

-  Notes
(0167145)
hgbot (developer)
2024-07-19 06:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/7 [^]
(0167153)
hgbot (developer)
2024-07-19 08:05

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: fa3bc87c11cbaf593424ccdc121eb94ce5fa5ed6
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 19-07-2024 06:05:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/commit/fa3bc87c11cbaf593424ccdc121eb94ce5fa5ed6 [^]

Fixes ISSUE-56045: 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
---
(0167154)
hgbot (developer)
2024-07-19 08:05

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing.api/-/merge_requests/7 [^]

- Issue History
Date Modified Username Field Change
2024-07-17 10:55 guillermogil Type defect => backport
2024-07-17 10:55 guillermogil Target Version => RR24Q2.2
2024-07-19 06:59 hgbot Note Added: 0167145
2024-07-19 08:05 hgbot Resolution open => fixed
2024-07-19 08:05 hgbot Status scheduled => closed
2024-07-19 08:05 hgbot Note Added: 0167153
2024-07-19 08:05 hgbot Note Added: 0167154


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker