Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057037 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | major | always | 2024-11-07 13:35 | 2024-11-16 09:06 | |||
Reporter | kchoperena | View Status | public | |||||
Assigned To | Bimla_vm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0057037: Export Order API: returnedQuantity is not filled correctly | |||||||
Description | Whenever 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 Reproduce | PRE-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 Solution | Looks like the query of the class ExportOrderLineJavaPropertyMappingHandler, method getReturnedQuantity,was wrongly implemented See the attached screenshot | |||||||
Tags | No tags attached. | |||||||
Attached Files | Screenshot from 2024-11-07 13-35-23.png [^] (47,642 bytes) 2024-11-07 13:35
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0171836) hgbot (developer) 2024-11-13 06:45 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/382 [^] |
(0172081) hgbot (developer) 2024-11-16 09:06 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: d787b47da171ae7be0ca0a348b2d0dd01e7d489b Author: Bimla V Mayavan <b.mayavan@external.orisha.com> Date: 16-11-2024 08:06:18 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/d787b47da171ae7be0ca0a348b2d0dd01e7d489b [^] Fixed ISSUE-57037: Modified the deliveredQuantity in case of Returns --- M src/org/openbravo/api/mappings/orderline/ExportOrderLineJavaPropertyMappingHandler.java --- |
(0172082) hgbot (developer) 2024-11-16 09:06 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/382 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-11-07 13:35 | kchoperena | New Issue | |
2024-11-07 13:35 | kchoperena | Assigned To | => Retail |
2024-11-07 13:35 | kchoperena | File Added: Screenshot from 2024-11-07 13-35-23.png | |
2024-11-07 13:35 | kchoperena | Triggers an Emergency Pack | => No |
2024-11-08 11:53 | guillermogil | Assigned To | Retail => jorgewederago |
2024-11-08 11:53 | guillermogil | Status | new => acknowledged |
2024-11-11 12:18 | Bimla_vm | Assigned To | jorgewederago => Bimla_vm |
2024-11-11 12:18 | Bimla_vm | Status | acknowledged => scheduled |
2024-11-13 06:45 | hgbot | Note Added: 0171836 | |
2024-11-13 06:58 | guillermogil | Status | scheduled => acknowledged |
2024-11-13 06:58 | guillermogil | Status | acknowledged => scheduled |
2024-11-16 09:06 | hgbot | Resolution | open => fixed |
2024-11-16 09:06 | hgbot | Status | scheduled => closed |
2024-11-16 09:06 | hgbot | Note Added: 0172081 | |
2024-11-16 09:06 | hgbot | Note Added: 0172082 |
Copyright © 2000 - 2009 MantisBT Group |