Openbravo Issue Tracking System - Modules
View Issue Details
0052751ModulesReportingpublic2023-06-15 12:552023-06-16 10:13
tonialcaide 
tonialcaide 
normalminorhave not tried
closedfixed 
5
 
 
merged
mtaal
No
0052751: Adding the timestamp_value of the refresh done for materialized views in the obrpttl_parameters table
Hello team,

We need to be able to monitor when a certain materialized view (mv) was correctly refreshed last time in the reporting database.

The behavior already exists for tables: as soon as a table is refreshed, the column timestamp_value is updated in the obrpttl_parameters table, for that precise record that is corresponding to the table’s name.

We need to have the same behavior for mv’s.

Here is the class used to refresh data in mv:

/mnt/ob_data/OpenbravoERP/modules/org.openbravo.reporting.tools/src/org/openbravo/reporting/tools/dataloader/MaterializedViewDataLoader.java

And here is the class used to refresh data in tables:

/mnt/ob_data/OpenbravoERP/modules/org.openbravo.reporting.tools/src/org/openbravo/reporting/tools/dataloader/StandardDataLoader.java


I add enclosed a suggestion of the place where change could be done, please adapt whatever is needed.

Regards,

Ludmila

N/A
No tags attached.
png suggestion for change.png (487,051) 2023-06-15 12:55
https://issues.openbravo.com/file_download.php?file_id=18648&type=bug
Issue History
2023-06-15 12:55tonialcaideNew Issue
2023-06-15 12:55tonialcaideAssigned To => tonialcaide
2023-06-15 12:55tonialcaideFile Added: suggestion for change.png
2023-06-15 12:55tonialcaideOBNetwork customer => No
2023-06-15 17:05hgbotMerge Request Status => open
2023-06-15 17:05hgbotNote Added: 0151225
2023-06-16 00:01hgbotMerge Request Statusopen => merged
2023-06-16 00:01hgbotNote Added: 0151235
2023-06-16 10:12tonialcaideStatusnew => scheduled
2023-06-16 10:12tonialcaideResolutionopen => fixed
2023-06-16 10:13tonialcaideStatusscheduled => resolved
2023-06-16 10:13tonialcaideReview Assigned To => mtaal
2023-06-16 10:13tonialcaideStatusresolved => closed

Notes
(0151225)
hgbot   
2023-06-15 17:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.tools/-/merge_requests/18 [^]
(0151235)
hgbot   
2023-06-16 00:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.tools/-/merge_requests/18 [^]