Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049657 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | critical | always | 2022-06-27 10:58 | 2022-06-30 11:41 | |||
Reporter | timothee_catteeuw | View Status | public | |||||
Assigned To | javietxe | |||||||
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 | guilleaer | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049657: JIRA 3118 - API closure in error when comarch discount without label | |||||||
Description | When the external promotion engine sent to Openbravo a promotion without discount, that causes an error on API sales closure process. Cf. sample for example. { "technical_id": "116408", "code": "30%_FAM2_S", "label": "", "amount": 2.69 } | |||||||
Steps To Reproduce | Steps to reproduce : Go to webpos start a new ticket and select “poulet roti 1/2” swithc to payment the 30%_FAM2_S discount is applied pay Close your till go to BO Open EDSL request window get the corresponding API Sales closure The related closure of the previous sale is in error → ValidationError:"unit_sales[0].discounts[0].label" is not allowed to be empty This field can be empty and this case has to be handled because this label can be empty | |||||||
Proposed Solution | If no external promotion system label, it is necessary to put the code in unit_sales[0].discounts[0].label (ex : 30%_FAM2_S in the previous example) If external promotion system send a label , it is necessary to put this label | |||||||
Tags | No tags attached. | |||||||
Attached Files | Sample.json [^] (5,830 bytes) 2022-06-27 10:58 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0138883) guilleaer (manager) 2022-06-30 11:40 |
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.integration.comarch.cashup/-/merge_requests/10 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-06-27 10:58 | timothee_catteeuw | New Issue | |
2022-06-27 10:58 | timothee_catteeuw | Assigned To | => Retail |
2022-06-27 10:58 | timothee_catteeuw | File Added: Sample.json | |
2022-06-27 10:58 | timothee_catteeuw | Triggers an Emergency Pack | => No |
2022-06-27 11:02 | timothee_catteeuw | Proposed Solution updated | |
2022-06-30 11:40 | guilleaer | Status | new => scheduled |
2022-06-30 11:40 | guilleaer | Assigned To | Retail => javietxe |
2022-06-30 11:40 | guilleaer | Note Added: 0138883 | |
2022-06-30 11:40 | guilleaer | Status | scheduled => resolved |
2022-06-30 11:40 | guilleaer | Resolution | open => fixed |
2022-06-30 11:41 | guilleaer | Review Assigned To | => guilleaer |
2022-06-30 11:41 | guilleaer | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |