Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033657Retail ModulesStoreServerpublic2016-08-08 16:522016-08-22 15:32
mtaal 
AugustoMauch 
normalmajorhave not tried
closedduplicate 
5
 
RR16Q4 
No
0033657: BP Segmentation: only use the BP by server table in case a BP is used by multiple servers/stores
When a BP belongs to a store and should be replicated to the store then in the current BP segmentation solution a record needs to be present in the BP by Server table.

This means that with 60+M BP records we need as many records in the BP by Server table.

Most BPs will belong to one store at most. Therefore another approach can be to keep track of the first store in a column in the BP itself and only register any additional stores in the BP by store table.
Install multi-server central+store
Run
Login to webpos
create a BP and add a ticket

Check that a BP by Store record has been created
Add a new column to the BP: first-store, FK to ad_org

Set this column when the BP is created for the first time or when the BP is added to a store for the first time

For any subsequent stores follow the current approach to create a record in BP by Server

Rename the current tab and table BP by Server to Additional BPs by Server (or another name which reflects that the table only stores the additional records
No tags attached.
duplicate of feature request 0032252RR16Q4 closed AugustoMauch Store Server Data Segmentation and Sync for BP 
Issue History
2016-08-08 16:52mtaalNew Issue
2016-08-08 16:52mtaalAssigned To => AugustoMauch
2016-08-08 16:52mtaalTriggers an Emergency Pack => No
2016-08-08 16:53shuehnerIssue Monitored: shuehner
2016-08-22 15:32AugustoMauchRelationship addedduplicate of 0032252
2016-08-22 15:32AugustoMauchNote Added: 0089283
2016-08-22 15:32AugustoMauchStatusnew => closed
2016-08-22 15:32AugustoMauchResolutionopen => duplicate

Notes
(0089283)
AugustoMauch   
2016-08-22 15:32   
This flow has been handled in this issue [1]

[1] https://issues.openbravo.com/view.php?id=32252 [^]