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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054038
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Modules] Openbravo Business APImajorhave not tried2023-11-28 00:122023-11-30 07:28
ReporterdcontreraView Statuspublic 
Assigned Todcontrera 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0054038: [Product] API Product Category: Add Parents Organization feature

DescriptionAfter few months working with OB, we found lots of new subfamily created in our PLM but not in OB.

In order to synchronized product categories between PLM & OB we want to use the existing API

POST​/org.openbravo.api.ImportService​/ProductCategory

The only missing point is we are not able by API to specify the parent in order to have the level hierarchy.

Steps To ReproduceIs it possible to add a parent attribute to specify in which category we want to push the new one :
[
  {
    "client": "SMCP",
    "organization": "*",
    "searchKey": "F506010",
    "name": "F506010 - Small leather goods",
    "description": "",
    "summaryLevel": true,
    "active": true,
    "default": true,
    "plannedMargin": 0
    "parentCategory":"F5060" => NEW FIELD
  }
]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate feature request 0050691 closedTriage Omni OMS Retail Modules add tree information to product category API 

-  Notes
(0157712)
hgbot (developer)
2023-11-28 03:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/216 [^]
(0157819)
hgbot (developer)
2023-11-30 07:28

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/216 [^]
(0157820)
hgbot (developer)
2023-11-30 07:28

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 24fb1cf0303dc124823fb45c8d272ac0103d30b5
Author: dante.contrera <dante.contrera@smfconsulting.es>
Date: 30-11-2023 06:09:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/24fb1cf0303dc124823fb45c8d272ac0103d30b5 [^]

Fixed ISSUE-54038: Parent Category property added in Product Category Entity.

---
A src/org/openbravo/api/hook/productcategory/ImportedProdCategoryBaseOBObjectAfterFlushHook.java
A src/org/openbravo/api/mappings/productcategory/ImportProductCategoryJavaPropertyMappingHandler.java
---
(0157821)
hgbot (developer)
2023-11-30 07:28

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 10ebcde1be5cc00fc800eb5f227e2fe2d400a0a6
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 30-11-2023 07:27:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/10ebcde1be5cc00fc800eb5f227e2fe2d400a0a6 [^]

Related to ISSUE-54038: Added description for parentCategory property

---
M src/org/openbravo/api/mappings/productcategory/ImportProductCategoryJavaPropertyMappingHandler.java
---

- Issue History
Date Modified Username Field Change
2023-11-28 00:12 dcontrera New Issue
2023-11-28 00:12 dcontrera Assigned To => dcontrera
2023-11-28 03:47 hgbot Note Added: 0157712
2023-11-30 07:28 hgbot Note Added: 0157819
2023-11-30 07:28 hgbot Resolution open => fixed
2023-11-30 07:28 hgbot Status new => closed
2023-11-30 07:28 hgbot Note Added: 0157820
2023-11-30 07:28 hgbot Note Added: 0157821
2023-12-05 12:03 rafaroda Relationship added has duplicate 0050691


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker