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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057080
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Retail APImajoralways2024-11-07 13:352024-11-16 09:07
ReporterkchoperenaView Statuspublic 
Assigned ToBimla_vm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR24Q2.5
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

0057080: Export Order API: returnedQuantity is not filled correctly

DescriptionWhenever a return is happening in Web POS, there is a Web POS Order Creation event that throws an integration to an external system with the JSON of the created order (return in this case)

In this JSON, the returnedQuantity is always 0
For example, in a return with 1 line with qty 2, the returnedQuantity should be 2
Steps To ReproducePRE-REQUIREMENTS:
Configure in the back-end, Event Subscription window, the Web POS Order Creation event.

STEPS:
1.- Log into the WebPOS
2.- Create an order with one line and qty 2. Complete it
3.- In the order selector, search the order you have created in the previous step and using the contextual menu, start the verified return process
4.- Return completely the order

RESULT:
In the JSON of the Order sent in the event you will notice that the returnedQuantity is 0
Proposed SolutionLooks like the query of the class ExportOrderLineJavaPropertyMappingHandler, method getReturnedQuantity,was wrongly implemented

See the attached screenshot
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0057037 closedBimla_vm Export Order API: returnedQuantity is not filled correctly 

-  Notes
(0171971)
hgbot (developer)
2024-11-14 11:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/385 [^]
(0172087)
hgbot (developer)
2024-11-16 09:07

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 3245954901158cfc505e20063f480cd62c03b76a
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 16-11-2024 08:07:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/3245954901158cfc505e20063f480cd62c03b76a [^]

Fixed ISSUE-57080: Modified the deliveredQuantity in case of Returns

---
M src/org/openbravo/api/mappings/orderline/ExportOrderLineJavaPropertyMappingHandler.java
---
(0172088)
hgbot (developer)
2024-11-16 09:07

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/385 [^]

- Issue History
Date Modified Username Field Change
2024-11-13 06:58 guillermogil Type defect => backport
2024-11-13 06:58 guillermogil Target Version => RR24Q2.5
2024-11-14 11:04 hgbot Note Added: 0171971
2024-11-16 09:07 hgbot Resolution open => fixed
2024-11-16 09:07 hgbot Status scheduled => closed
2024-11-16 09:07 hgbot Note Added: 0172087
2024-11-16 09:07 hgbot Note Added: 0172088


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker