Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0057818 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Retail API | minor | always | 2025-01-31 11:44 | 2025-02-05 08:26 | |||||||
Reporter | XABIER_AGUADO | View Status | public | |||||||||
Assigned To | kousalya_r | |||||||||||
Priority | urgent | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | 0057818: Discounts Web Service doesnt return the right discounts | |||||||||||
Description | If we try using the API Discount (/ws/org.openbravo.discounts.discount), we dont get the same discounts as shown in POS for the exact same ticket. | |||||||||||
Steps To Reproduce | Configure the following discounts: Discount: Pack - Name: Pack - Search key: Pack -Starting date: today - Included Products Only: those defined - Discount/Promotion Price: 5 - Apply Next Discount Promotion: Y - Included Products: Bottle 1L & Mountains Water Bottle. Discount: Fixed Percentage Discount - Name: Fixed Percentage Discount - Search key: Fixed Percentage Discount - Starting date: today - Included Products Only: those defined - Discount: 5% - Apply Next Discount Promotion: Y - Included Products: Bottle 1L Discount: Price Adjustment - Name: Price Adjustment - Search key: Price Adjustment - Starting date: today - Included Products Only: those defined - Discount: 1 - Min Quantity: 1 - Max Quantity: 5 - Apply Next Discount Promotion: Y - Included Products: Bottle 1L JSON (Update the date): { "ticket": { "id": "F54FA593DBC48XC3AFFA2FF4298FE411", "organization": { "id": "D270A5AC50874F8BA67A88EE977F8E3B", "_identifier": "Vall Blanca Store" }, "businessPartner": { "id": "ABD91C9D3BC94175B876FBBE9CACA008", "_identifier": "VBS Customer" }, "orderDate": "2025-01-31T11:54:21", "priceIncludesTax": true, "lines": [ { "id": "60BE74DA6C424ED388A3F6306A55FAB2", "product": { "id": "3BD414F7A8024D108AF4759F240A966C", "_identifier": "Bottle 1 L" }, "qty": 3, "baseGrossUnitPrice": 9.50 }, { "id": "60BE74DA6C4255388A3F6306A55FAB2", "product": { "id": "3BD414F7A8024D108AF4759F240A966C", "_identifier": "Mountains water bottle" }, "qty": 3, "baseGrossUnitPrice": 1.2 } ] } } | |||||||||||
Tags | FASH | |||||||||||
Attached Files | ![]() ![]() ![]() ![]() ![]() | |||||||||||
![]() |
|
![]() |
|
(0175137) jonae (developer) 2025-02-05 08:12 |
Jira - https://openbravo.atlassian.net/browse/RM-20987 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-01-31 11:44 | XABIER_AGUADO | New Issue | |
2025-01-31 11:44 | XABIER_AGUADO | Assigned To | => Retail |
2025-01-31 11:44 | XABIER_AGUADO | File Added: response_discounts.png | |
2025-01-31 11:44 | XABIER_AGUADO | Triggers an Emergency Pack | => No |
2025-01-31 11:44 | XABIER_AGUADO | Tag Attached: FASH | |
2025-01-31 11:44 | XABIER_AGUADO | File Added: POS_DISCOUNTS.png | |
2025-01-31 11:44 | XABIER_AGUADO | File Added: price-adjustment.png | |
2025-01-31 11:44 | XABIER_AGUADO | File Added: FIX_DISCOUNT.png | |
2025-01-31 11:45 | XABIER_AGUADO | File Added: PACK.png | |
2025-01-31 12:18 | XABIER_AGUADO | Steps to Reproduce Updated | View Revisions |
2025-02-02 23:39 | marvintm | Assigned To | Retail => Triage Omni OMS |
2025-02-03 13:31 | XABIER_AGUADO | Priority | normal => urgent |
2025-02-05 08:12 | jonae | Note Added: 0175137 | |
2025-02-05 08:26 | jonae | Assigned To | Triage Omni OMS => kousalya_r |
Copyright © 2000 - 2009 MantisBT Group |