Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040664 | Retail Modules | StoreServer | public | 2019-04-24 09:37 | 2019-05-15 23:22 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040664: Allow the specify the column to use in the GenericBusinessPartnerSegmentationEventHandler to select the business partner |
Description | The GenericBusinessPartnerSegmentationEventHandler is an event handler that acts upon the tables defined in the OBSTSYN_AUTO_ADD_BP_STORE table.
It takes the c_bpartner_id column of those tables, and adds that business partner to the stores with access to the organization selected in other column.
In some cases, the column that references the c_bpartner table is not named c_bpartner_id, so a new column should be added to the OBSTSYN_AUTO_ADD_BP_STORE table to allow selecting it.
It should be possible to specify in the Auto Add Business Partner to Store Tables window the column to use in the event handler |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0039114 | | closed | AugustoMauch | Provide a convenient way to automatically add a business partner to a store when referenced from a transactional table | blocks | defect | 0040495 | | closed | AugustoMauch | Synchronization error when the c_orderline.em_obrcifp_c_bp_location_id column is filled |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-04-24 09:37 | AugustoMauch | New Issue | |
2019-04-24 09:37 | AugustoMauch | Assigned To | => AugustoMauch |
2019-04-24 09:37 | AugustoMauch | Triggers an Emergency Pack | => No |
2019-04-24 09:37 | AugustoMauch | Relationship added | related to 0039114 |
2019-04-24 10:45 | hgbot | Checkin | |
2019-04-24 10:45 | hgbot | Note Added: 0111256 | |
2019-04-24 10:45 | hgbot | Status | new => resolved |
2019-04-24 10:45 | hgbot | Resolution | open => fixed |
2019-04-24 10:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/216622970772d6b8f2f128256697b56fdc342662 [^] |
2019-04-24 10:47 | AugustoMauch | Review Assigned To | => mtaal |
2019-04-24 10:47 | AugustoMauch | Relationship added | blocks 0040495 |
2019-05-06 16:58 | mtaal | Note Added: 0111509 | |
2019-05-06 17:15 | mtaal | Note Added: 0111511 | |
2019-05-06 17:15 | mtaal | Status | resolved => new |
2019-05-06 17:15 | mtaal | Resolution | fixed => open |
2019-05-15 10:18 | hgbot | Checkin | |
2019-05-15 10:18 | hgbot | Note Added: 0111688 | |
2019-05-15 10:18 | hgbot | Status | new => resolved |
2019-05-15 10:18 | hgbot | Resolution | open => fixed |
2019-05-15 10:18 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/216622970772d6b8f2f128256697b56fdc342662 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/08301e57ffa58fd5d7f9ef6a09555ae9a782f297 [^] |
2019-05-15 23:22 | mtaal | Note Added: 0111695 | |
2019-05-15 23:22 | mtaal | Status | resolved => closed |
Notes |
|
(0111256)
|
hgbot
|
2019-04-24 10:45
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 216622970772d6b8f2f128256697b56fdc342662
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 24 10:44:27 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/216622970772d6b8f2f128256697b56fdc342662 [^]
Fixes issue 40664: It is possible to specify c_bpartner_id column in OBSTSYN_AUTO_ADD_BP_STORE
Before this changeset, the GenericBusinessPartnerSegmentationEventHandler always picked a column
name c_bpartner_id on the target table. Now it is possible to pick the column that will be used
to select the referenced business partner. If this column is not filled in, c_bpartner_id will
be used by default.
---
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/org/openbravo/retail/storeserver/synchronization/eventhandler/GenericBusinessPartnerSegmentationEventHandler.java
---
|
|
|
(0111509)
|
mtaal
|
2019-05-06 16:58
|
|
|
|
(0111511)
|
mtaal
|
2019-05-06 17:15
|
|
|
|
(0111688)
|
hgbot
|
2019-05-15 10:18
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 08301e57ffa58fd5d7f9ef6a09555ae9a782f297
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed May 15 10:18:52 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/08301e57ffa58fd5d7f9ef6a09555ae9a782f297 [^]
Fixes issue 40664: Applies code review commentes:
- Variable orgProperty has been renamed to bpProperty
- Initialization of map nonDefaultBusinessPartnerProperties was wrong, not it is placed outside a loop
- Initialization method getEntitiesThatAddAutomaticallBusinessPartnerToStore is now synchronized
---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/GenericBusinessPartnerSegmentationEventHandler.java
---
|
|
|
(0111695)
|
mtaal
|
2019-05-15 23:22
|
|
|