Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032008 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Modules] Multi-Dimensional Profit And Loss | major | have not tried | 2016-01-26 10:26 | 2019-04-10 16:12 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | Triage Omni OMS | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 2d8ebc54b302 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | vmromanos | |||||||
Regression introduced in release | ||||||||
Summary | 0032008: Generate Profit And Loss Fact Acct should be incremental | |||||||
Description | Generate Profit And Loss Fact Acct should be incremental. Currently it deletes all the entries from the OBDPL_FACT_ACCT_PL table and recalculates them again. As the records are obtained from the FACT_ACCT table that can have a big amount of data that is not going to be modified, it should only update the modified records | |||||||
Steps To Reproduce | In an environment with a big amount of records in the FACT_ACCT table: Generate the cube and configure the accounts on it Launch the Generate Profit And Loss Fact Acct process and check it takes long Check it finishes Launch the Generate Profit And Loss Fact Acct process again and check it takes the same time | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0111058) dmiguelez (developer) 2019-04-10 16:01 |
Tested in client's environment: - Before, it took 8 hours for each execution - Afterwards it takes 8 hours the first time and then 20 mins per each execution without data Data shows the same values before and after the change. |
(0111059) hgbot (developer) 2019-04-10 16:03 |
Repository: erp/pmods/org.openbravo.financial.dimensionalpandlreport Changeset: 2d8ebc54b302492bee29984f1b5c4942576a9ae8 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Wed Apr 10 11:59:10 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.financial.dimensionalpandlreport/rev/2d8ebc54b302492bee29984f1b5c4942576a9ae8 [^] Fixes Issue 32008. Process to fill fact table is incremental * Added new flags in original and fact table to check if the records have been aggregated or if the aggregated information has been modified * Added triggers in both tables to change the value of the new flags accordingly if the records are updated or deleted * The new flags are null by default and 'Y' when the records have been aggregated or modified * The process to generate the Fact table has been modified to use the new flags in the insert query and to update the new flags when the records have been aggregated --- M src-db/database/model/tables/OBDPL_FACT_ACCT_PL.xml M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_ELEMENT.xml M src/org/openbravo/financial/dimensionalpandlreport/GenerateProfitAndLossFactAcctTable.java A src-db/database/model/modifiedTables/FACT_ACCT.xml A src-db/database/model/triggers/OBDPL_FACT_ACCT_PL_TRG.xml A src-db/database/model/triggers/OBDPL_FACT_ACCT_TRG.xml --- |
(0111060) hgbot (developer) 2019-04-10 16:03 |
Repository: erp/pmods/org.openbravo.financial.dimensionalpandlreport Changeset: 44fbabee37f9e980271988de0a6129d73da25618 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Wed Apr 10 09:32:01 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.financial.dimensionalpandlreport/rev/44fbabee37f9e980271988de0a6129d73da25618 [^] Related to Issue 32008: Updated module version --- M src-db/database/sourcedata/AD_MODULE.xml --- |
(0111061) vmromanos (manager) 2019-04-10 16:12 |
Code review OK |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-26 10:26 | ngarcia | New Issue | |
2016-01-26 10:26 | ngarcia | Assigned To | => Triage Finance |
2016-01-26 11:29 | ngarcia | Relationship added | related to 0032010 |
2016-04-19 09:43 | ngarcia | Issue Monitored: networkb | |
2016-05-03 14:17 | ngarcia | Relationship added | related to 0032840 |
2019-04-10 16:01 | dmiguelez | Note Added: 0111058 | |
2019-04-10 16:03 | hgbot | Checkin | |
2019-04-10 16:03 | hgbot | Note Added: 0111059 | |
2019-04-10 16:03 | hgbot | Status | new => resolved |
2019-04-10 16:03 | hgbot | Resolution | open => fixed |
2019-04-10 16:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.financial.dimensionalpandlreport/rev/2d8ebc54b302492bee29984f1b5c4942576a9ae8 [^] |
2019-04-10 16:03 | hgbot | Checkin | |
2019-04-10 16:03 | hgbot | Note Added: 0111060 | |
2019-04-10 16:12 | vmromanos | Review Assigned To | => vmromanos |
2019-04-10 16:12 | vmromanos | Note Added: 0111061 | |
2019-04-10 16:12 | vmromanos | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |