Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032645Retail ModulesWeb POSpublic2016-04-11 12:162016-05-30 07:48
daniOpenbravo 
mtaal 
highmajoralways
closedno change required 
3014.04
 
 
No
0032645: [STORESERVER] Segmentation in "Discounts and Promotions" window is not correct.
After creating a store server, Discounts and Promotions window of the store server shows all records related to all stores and it should not be in that way: only current store records should be visible.
1. Create a store server for an Organization (http://wiki.openbravo.com/wiki/How_to_create_a_Store_Server [^]).
2. Once we have the store server created, log in the Store Server backend.
3. Go to Discounts and Promotions window.
4. Take in account that all discounts from all organizations are shown (only our organization ones should be visible).
- Add Natural tree logic on SQL/HQL Where Clause (for this table and its related ones) in Store Server Creation Dataset.
- Check Routing type in sunchronized table for the current table.
No tags attached.
Issue History
2016-04-11 12:16daniOpenbravoNew Issue
2016-04-11 12:16daniOpenbravoAssigned To => mtaal
2016-04-11 12:16daniOpenbravoResolution time => 1461535200
2016-04-11 12:16daniOpenbravoTriggers an Emergency Pack => No
2016-04-11 12:26daniOpenbravoIssue Monitored: daniOpenbravo
2016-04-11 17:07OrekariaStatusnew => acknowledged
2016-04-11 17:08OrekariaStatusacknowledged => scheduled
2016-05-30 07:48mtaalNote Added: 0086792
2016-05-30 07:48mtaalStatusscheduled => closed
2016-05-30 07:48mtaalResolutionopen => no change required

Notes
(0086792)
mtaal   
2016-05-30 07:48   
This has been an explicit design choice to be able to easily share orders in cross-store situations. Also due to incorrect data (caused probably by manual changes in the data) in many instances we have decided to for now replicate all discounts. Otherwise export/import of the stores would stop for now.

We will revisit this topic later.

All discounts can easily be replicated, the volume of data and change is very low. No functional/technical impact of replication this data is expected.