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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053932
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Openbravo Business APIminoralways2023-11-14 16:102023-11-20 00:34
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
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

0053932: Add currency property to ShipmentInOutLine.orderLine object (export)

DescriptionThe export API for ShipmentInOutLine includes an optional object "orderLine" with some information about prices. Example:

                    "orderLine": {
                        "id": "72E63EA391224D0EAC7A633EA0985532",
                        "lineNo": 20,
                        "orderDocumentNo": "CMS1000000",
                        "grossUnitPrice": 60,
                        "netUnitPrice": 49.59
                    }

To properly understand these prices, the currency should be displayed too. Example:

                    "orderLine": {
                        "id": "72E63EA391224D0EAC7A633EA0985532",
                        "lineNo": 20,
                        "orderDocumentNo": "CMS1000000",
                        "grossUnitPrice": 60,
                        "netUnitPrice": 49.59,
                        "currency": "EUR"
                    }
Steps To ReproduceIn Postman, open the Openbravo API | Transactional Data | Export | Goods Receipt | Filtering by ID Goods Receipt.

See that there are several orderLine objects with price information but without currency.
Proposed SolutionAdd currency property to orderLine object
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0053906 closedvmromanos Add documentation for Java Property Mapping Handlers - OMNI 

-  Notes
(0157140)
hgbot (developer)
2023-11-14 16:19

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/212 [^]
(0157320)
hgbot (developer)
2023-11-20 00:34

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/212 [^]
(0157321)
hgbot (developer)
2023-11-20 00:34

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 28d1d7c89ebd85e10af33e042de4979cdfc5f44d
Author: Víctor Martínez Romanos <victor.martinez@openbravo.com>
Date: 19-11-2023 23:34:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/28d1d7c89ebd85e10af33e042de4979cdfc5f44d [^]

Fixed ISSUE-53932: API, Added currency to ShipmentInoutline.orderLine object

---
M src/org/openbravo/api/mappings/shipmentinoutline/ShipmentInOutLineJavaPropertyMappingHandler.java
---

- Issue History
Date Modified Username Field Change
2023-11-14 16:10 vmromanos New Issue
2023-11-14 16:10 vmromanos Assigned To => vmromanos
2023-11-14 16:10 vmromanos Issue generated from 0053906
2023-11-14 16:10 vmromanos Relationship added depends on 0053906
2023-11-14 16:11 vmromanos Status new => scheduled
2023-11-14 16:19 hgbot Note Added: 0157140
2023-11-20 00:34 hgbot Note Added: 0157320
2023-11-20 00:34 hgbot Resolution open => fixed
2023-11-20 00:34 hgbot Status scheduled => closed
2023-11-20 00:34 hgbot Note Added: 0157321


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker