Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039114 | Retail Modules | Store Summary Report | public | 2018-08-09 14:17 | 2018-08-15 01:17 |
|
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 | 0039114: Provide a convenient way to automatically add a business partner to a store when referenced from a transactional table |
Description | Currently there are event handler that act on some transactional tables that automatically add a business partner to a store if the bpo does not belongs already to it.
There are already some event handlers defined for it, each module that have a table of this type would require to create a new one.
It would be convenient to have a way to extend it, so that the tables the event handler acts on are not hard coded. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0040664 | | closed | AugustoMauch | Allow the specify the column to use in the GenericBusinessPartnerSegmentationEventHandler to select the business partner |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-08-09 14:17 | AugustoMauch | New Issue | |
2018-08-09 14:17 | AugustoMauch | Assigned To | => AugustoMauch |
2018-08-09 14:17 | AugustoMauch | Triggers an Emergency Pack | => No |
2018-08-09 14:54 | hgbot | Checkin | |
2018-08-09 14:54 | hgbot | Note Added: 0106256 | |
2018-08-09 14:54 | hgbot | Checkin | |
2018-08-09 14:54 | hgbot | Note Added: 0106257 | |
2018-08-09 14:54 | hgbot | Status | new => resolved |
2018-08-09 14:54 | hgbot | Resolution | open => fixed |
2018-08-09 14:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/ef556f6ce171b4e6cbf19354e97f587c5defed8b [^] |
2018-08-09 14:54 | hgbot | Checkin | |
2018-08-09 14:54 | hgbot | Note Added: 0106258 | |
2018-08-09 14:54 | AugustoMauch | Review Assigned To | => mtaal |
2018-08-10 18:33 | mtaal | Note Added: 0106297 | |
2018-08-10 18:33 | mtaal | Status | resolved => new |
2018-08-10 18:33 | mtaal | Resolution | fixed => open |
2018-08-14 10:14 | hgbot | Checkin | |
2018-08-14 10:14 | hgbot | Note Added: 0106339 | |
2018-08-14 10:14 | AugustoMauch | Status | new => scheduled |
2018-08-14 10:14 | AugustoMauch | Status | scheduled => resolved |
2018-08-14 10:14 | AugustoMauch | Resolution | open => fixed |
2018-08-15 01:17 | mtaal | Note Added: 0106352 | |
2018-08-15 01:17 | mtaal | Status | resolved => closed |
2019-04-24 09:37 | AugustoMauch | Relationship added | related to 0040664 |
Notes |
|
(0106256)
|
hgbot
|
2018-08-09 14:54
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 0fc4cd92c296d78adcc642276856183d290cd57b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 09 14:50:06 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/0fc4cd92c296d78adcc642276856183d290cd57b [^]
Related with issue 39114: Creates OBSTSYN_AUTO_ADD_BP_STORE table
That table will store all the tables that should take part in the event handler that automatically
adds referenced business partner to the store of a transactional table, if the business partner
is not already part of the store.
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
A src-db/database/model/tables/OBSTSYN_AUTO_ADD_BP_STORE.xml
---
|
|
|
(0106257)
|
hgbot
|
2018-08-09 14:54
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: ef556f6ce171b4e6cbf19354e97f587c5defed8b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 09 14:52:23 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/ef556f6ce171b4e6cbf19354e97f587c5defed8b [^]
Fixes issue 39114: Creates a generic event handler to auto add bp to stores
The event handler will act on all the tables defined in the obstsyn_auto_add_bp_store table.
It will obtain the business partner by fetching it from the 'businessPartner' property. If the
business partner is not already part of the store of the transactional table, it will automatically
add it.
---
A src/org/openbravo/retail/storeserver/synchronization/eventhandler/GenericBusinessPartnerSegmentationEventHandler.java
---
|
|
|
(0106258)
|
hgbot
|
2018-08-09 14:54
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 80a04e92b4b7883db84ccf1bb24f9b142f3af83a
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 09 14:53:50 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/80a04e92b4b7883db84ccf1bb24f9b142f3af83a [^]
Related with issue 39114: Use generic event handler for C_Order and FIN_Payment
Both tables have been added to the OBSTSYN_AUTO_ADD_BP_STORE, and its custom event handler
has been removed.
---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/OrderEventHandler.java
A src-db/database/sourcedata/OBSTSYN_AUTO_ADD_BP_STORE.xml
---
|
|
|
(0106297)
|
mtaal
|
2018-08-10 18:33
|
|
|
|
(0106339)
|
hgbot
|
2018-08-14 10:14
|
|
|
|
(0106352)
|
mtaal
|
2018-08-15 01:17
|
|
|