Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057085Retail ModulesRetail APIpublic2024-11-13 11:242024-11-16 07:21
AgatheBertin 
Bimla_vm 
normalminorhave not tried
closedfixed 
5
 
 
No
0057085: API PriceList - PriceException active field
In the backoffice , PriceList Window
Subtab PriceList Version > Product Price > Product Price with Exception


There is an active checkbox, that it's not useable in the API
Call the API Price List ex : and see the active in the productPriceExceptions is not taken into account

            "productPrices":
            [
                {
                    "product": "544075",
                    "unitPrice": 7.99,
                    "listPrice": 7.99,
                     "productPriceExceptions":
                    [
                        {
                            "organization":"0000001203",
                            "validFromDate": "2028-08-31",
                            "unitPrice": 91,
                            "printPriceForTemplates": "UnitPrice",
                            "printPriceForWebPos": "ListPriceDiscountedAmount",
                            "printPriceForProductLabels": "ListPriceDiscountPercentage",
                            "active":"false"
                        }
                    ]
                }
            ]
        }
Make the "active" field useable
No tags attached.
png 2024-11-13_11h23_44.png (195,577) 2024-11-13 11:24
https://issues.openbravo.com/file_download.php?file_id=20465&type=bug
png
Issue History
2024-11-13 11:24AgatheBertinNew Issue
2024-11-13 11:24AgatheBertinAssigned To => Retail
2024-11-13 11:24AgatheBertinFile Added: 2024-11-13_11h23_44.png
2024-11-13 11:24AgatheBertinTriggers an Emergency Pack => No
2024-11-13 11:35guillermogilAssigned ToRetail => jorgewederago
2024-11-13 11:35guillermogilSeveritymajor => minor
2024-11-13 11:35guillermogilStatusnew => acknowledged
2024-11-14 06:01Bimla_vmAssigned Tojorgewederago => Bimla_vm
2024-11-14 06:01Bimla_vmStatusacknowledged => scheduled
2024-11-15 06:02hgbotNote Added: 0172009
2024-11-16 07:21hgbotResolutionopen => fixed
2024-11-16 07:21hgbotStatusscheduled => closed
2024-11-16 07:21hgbotNote Added: 0172068
2024-11-16 07:21hgbotNote Added: 0172069

Notes
(0172009)
hgbot   
2024-11-15 06:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/387 [^]
(0172068)
hgbot   
2024-11-16 07:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: ad67110d4e92e5f86ab858239573b350a1309028
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 15-11-2024 10:49:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/ad67110d4e92e5f86ab858239573b350a1309028 [^]

Fixed ISSUE-57085: Added isactive field in ProductPriceException entity

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0172069)
hgbot   
2024-11-16 07:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/387 [^]