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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053240
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajoralways2023-08-18 13:132023-08-24 09:12
ReporterlmonrealView Statuspublic 
Assigned Tofermin_gascon 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0053240: "netUnitPrice" property wrongly mapped in Goods receipt

DescriptionIn the JSON of goods receipt there is a property "netUnitPrice".

This property is displaying a wrong value, it is displaying the Line net amount instead of the Net Unit price.

See attachment
Steps To Reproduce1. Do a PO
2. Receive it
3. Check api values and see netUnitPrice displays Line net amount instead of Net Unit price
Proposed Solution"netUnitPrice".=Net Unit price
TagsNo tags attached.
Attached Filespng file icon ERROR API.png [^] (193,416 bytes) 2023-08-18 13:13

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0050364 closedfermin_gascon Openbravo ERP It will be nice to have and api to export goods receipts and shipments to external services 

-  Notes
(0153794)
hgbot (developer)
2023-08-22 14:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/180 [^]
(0153795)
hgbot (developer)
2023-08-22 14:40

Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/43 [^]
(0153869)
hgbot (developer)
2023-08-24 09:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/180 [^]
(0153870)
hgbot (developer)
2023-08-24 09:12

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: c4c959df408cfeed718bfcb3bed31e3fc1aa11a4
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 22-08-2023 12:42:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/c4c959df408cfeed718bfcb3bed31e3fc1aa11a4 [^]

Fixed ISSUE-53240: Correction in lines mapping, now netUnitPrice value is returned correctly

---
M src/org/openbravo/api/mappings/shipmentinoutline/ShipmentInOutLineJavaPropertyMappingHandler.java
---
(0153871)
hgbot (developer)
2023-08-24 09:12

Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/43 [^]
(0153872)
hgbot (developer)
2023-08-24 09:12

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: bbaf4e1ff241b24fb59bff5945cd6d47f425c573
Author: Fermin Gascon <fermin.gascon@openbravo.com>
Date: 22-08-2023 14:35:58
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/bbaf4e1ff241b24fb59bff5945cd6d47f425c573 [^]

Fixed ISSUE-53240: corrections in test, after correction in netUnitPrice mapping

---
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDate.json
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDateRange.json
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDocumentNo.json
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptById.json
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDate.json
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDateRange.json
M src-test/data/export/filter/shipmentInOut/returnMaterialReceipt/returnMaterialReceiptById.json
M src-test/data/export/filter/shipmentInOut/returnToVendorShipment/returnToVendorShipmentById.json
---

- Issue History
Date Modified Username Field Change
2023-08-18 13:13 lmonreal New Issue
2023-08-18 13:13 lmonreal Assigned To => Triage Platform Conn
2023-08-18 13:13 lmonreal File Added: ERROR API.png
2023-08-18 13:13 lmonreal Triggers an Emergency Pack => No
2023-08-18 13:13 lmonreal Issue Monitored: alfonso_alcalde
2023-08-18 13:14 lmonreal Assigned To Triage Platform Conn => fermin_gascon
2023-08-22 14:40 hgbot Note Added: 0153794
2023-08-22 14:40 hgbot Note Added: 0153795
2023-08-22 14:50 fermin_gascon Relationship added related to 0050364
2023-08-22 14:51 fermin_gascon Status new => acknowledged
2023-08-22 14:51 fermin_gascon Status acknowledged => scheduled
2023-08-22 14:51 fermin_gascon Status scheduled => resolved
2023-08-22 14:51 fermin_gascon Resolution open => fixed
2023-08-24 09:12 hgbot Note Added: 0153869
2023-08-24 09:12 hgbot Status resolved => closed
2023-08-24 09:12 hgbot Note Added: 0153870
2023-08-24 09:12 hgbot Note Added: 0153871
2023-08-24 09:12 hgbot Note Added: 0153872


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker