Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034777Retail ModulesStoreServerpublic2016-12-19 21:082017-01-18 17:22
mtaal 
AugustoMauch 
normalminorhave not tried
closedno change required 
5
 
RR17Q2 
No
0034777: Make dataset/synchronized table extendable
There are sometimes cases where a module only wants to replace a single datasettable or synchronized table definition. This next to adding new definitions.

Openbravo does not easily support replacing artifacts from another module. In case of dataset/synchronized table this can be handy to allow using custom columns for filtering out specific records.
See description
To support overrides in datasettable an approach can be to add a column to datasettable to point to the replaced datasettable. The dataset table export logic should then for a datasettable if it got replaced and if so then use the replacing dataset.

For synchronized table the same approach can be used. But the synchronized table has a unique index on the table. An alternative approach is to add 'override' support in java using a custom extension which is called always at every sync (from example from the base client router) and which can adapt/change the list of nodes to which the a data change is replicated.
No tags attached.
related to feature request 0034724 closed mtaal [Store server] Export store in BUT should take into account products of inactive stores 
Issue History
2016-12-19 21:08mtaalNew Issue
2016-12-19 21:08mtaalAssigned To => AugustoMauch
2016-12-19 21:08mtaalTriggers an Emergency Pack => No
2016-12-19 21:09mtaalRelationship addedrelated to 0034724
2017-01-18 17:22mtaalNote Added: 0093708
2017-01-18 17:22mtaalStatusnew => closed
2017-01-18 17:22mtaalResolutionopen => no change required

Notes
(0093708)
mtaal   
2017-01-18 17:22   
Not needed anymore will be done with template