Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039466Retail ModulesStoreServerpublic2018-10-17 09:592018-10-18 12:16
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
 
mtaal
No
0039466: Allow the specify the column to use in the GenericBusinessPartnerSegmentationEventHandler to select the organization
The GenericBusinessPartnerSegmentationEventHandler is an event handler that acts upon the tables defined in the OBSTSYN_AUTO_ADD_BP_STORE table.

It takes the ad_org_id column of those tables, and add the referenced business partner to all the stores that had access to that organization.

In some cases, the entries are defined at org 0 but there is another column that references the organization that the entry belongs to.

It should be possible to specify in the Auto Add Business Partner to Store Tables window the column to use in the event handler
-
No tags attached.
related to defect 0040495 closed AugustoMauch Synchronization error when the c_orderline.em_obrcifp_c_bp_location_id column is filled 
Issue History
2018-10-17 09:59AugustoMauchNew Issue
2018-10-17 09:59AugustoMauchAssigned To => AugustoMauch
2018-10-17 09:59AugustoMauchTriggers an Emergency Pack => No
2018-10-17 16:31AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=17775#r17775
2018-10-17 16:35hgbotCheckin
2018-10-17 16:35hgbotNote Added: 0107374
2018-10-17 16:35hgbotStatusnew => resolved
2018-10-17 16:35hgbotResolutionopen => fixed
2018-10-17 16:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b49a151088be934275b496122da422e68c24307e [^]
2018-10-17 16:36AugustoMauchReview Assigned To => mtaal
2018-10-18 12:16mtaalNote Added: 0107430
2018-10-18 12:16mtaalStatusresolved => closed
2019-04-24 09:37AugustoMauchRelationship addedrelated to 0040495

Notes
(0107374)
hgbot   
2018-10-17 16:35   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: b49a151088be934275b496122da422e68c24307e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Oct 17 16:35:38 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b49a151088be934275b496122da422e68c24307e [^]

Fixes issue 39466: It enables to select a column in OBSTSYN_AUTO_ADD_BP_STORE

Now it is possible to specify the column that will be used by the GenericBusinessPartnerSegmentationEventHandler
event handler as the organization whose store servers should include the business partner referenced by the updated
entry.

---
M src-db/database/model/tables/OBSTSYN_AUTO_ADD_BP_STORE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/GenericBusinessPartnerSegmentationEventHandler.java
A src/org/openbravo/retail/storeserver/synchronization/eventhandler/SelectedColumnReferencesOrganizationEventHandler.java
---
(0107430)
mtaal   
2018-10-18 12:16   
reviewed and tested