Openbravo Issue Tracking System - Modules
View Issue Details
0033148ModulesAnalyticspublic2016-06-06 11:192016-06-13 17:47
caristu 
platform 
highminorN/A
closedfixed 
5
 
 
alostale
0033148: Configurable Update Analytics Fact Tables Process
It would be nice if the Update Analytics Fact Tables Process would be configurable to calculate fact data just for a particular date range.

Project Documentation: http://wiki.openbravo.com/wiki/Projects:Configurable_Update_Analytics_Fact_Tables_Process [^]
.
No tags attached.
related to design defect 0032235 acknowledged alostale Modules Update Analytics Fact Tables background process takes too long when the tables are empty 
related to defect 0033242 closed caristu Retail Modules OBRetailAnalyticsFactSessionUpdater should make use of Analytics fact process configuration 
Issue History
2016-06-06 11:19caristuNew Issue
2016-06-06 11:19caristuAssigned To => platform
2016-06-06 11:19caristuAssigned Toplatform => caristu
2016-06-06 11:19caristuAssigned Tocaristu =>
2016-06-06 11:20caristuStatusnew => scheduled
2016-06-06 11:21caristuRelationship addedrelated to 0032235
2016-06-06 11:21caristuAssigned To => caristu
2016-06-10 14:50hgbotCheckin
2016-06-10 14:50hgbotNote Added: 0087167
2016-06-10 14:50hgbotStatusscheduled => resolved
2016-06-10 14:50hgbotResolutionopen => fixed
2016-06-10 14:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/ce62fd73d1728677317046aa72639791d5d1945e [^]
2016-06-10 14:55caristuReview Assigned To => alostale
2016-06-10 14:55caristuIssue Monitored: alostale
2016-06-10 14:55caristuAssigned Tocaristu => platform
2016-06-13 15:08alostaleNote Added: 0087199
2016-06-13 15:08alostaleStatusresolved => closed
2016-06-13 17:47hgbotCheckin
2016-06-13 17:47hgbotNote Added: 0087207
2016-06-13 17:52caristuRelationship addedrelated to 0033242

Notes
(0087167)
hgbot   
2016-06-10 14:50   
Repository: erp/pmods/org.openbravo.client.analytics
Changeset: ce62fd73d1728677317046aa72639791d5d1945e
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jun 06 12:18:49 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/ce62fd73d1728677317046aa72639791d5d1945e [^]

fixes issue 33148: Configurable Update Analytics Fact Tables Process

---
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_MENU.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_PROCESS.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
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactDiscountsUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactOrderUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactSalesOrderHeaderUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactUpdaterHandler.java
M src/org/openbravo/client/analytics/process/OBAnalyticsFactUpdaterProcess.java
A src-db/database/model/tables/OBANALY_FACT_UPDATER_CONF.xml
A src/org/openbravo/client/analytics/event/ProcessConfigurationEventHandler.java
A src/org/openbravo/client/analytics/process/OBAnalyticsBackwardFactUpdaterProcess.java
---
(0087199)
alostale   
2016-06-13 15:08   
code reviewed + tested
(0087207)
hgbot   
2016-06-13 17:47   
Repository: erp/pmods/org.openbravo.client.analytics
Changeset: 1b0a2521185110d6ec8c189fdaf95f61c2c6aa85
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jun 13 17:46:34 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/1b0a2521185110d6ec8c189fdaf95f61c2c6aa85 [^]

related to issue 33148: removed info of created facts
The doSave method of OBAnalyticsFactUpdater can be updated so the information being returned could not be correct. Now just the createdFacts number is logged. Every class extending OBAnalyticsFactUpdater should take care of updating the createdFacts number of properly in case the doSave method is overriden to create a different number of fact records.

---
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactUpdater.java
---