Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0057080 | Retail Modules | Retail API | public | 2024-11-07 13:35 | 2024-11-16 09:07 | |||||||
Reporter | kchoperena | |||||||||||
Assigned To | Bimla_vm | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR24Q2.5 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0057080: 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 | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|