Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Hierarchy Developer's Guide for Oracle Self-Service E-Billing > Extending Advanced Hierarchy Manager Use Cases > Making Your OMF Objects Work with Hierarchy Manager > Providing Support for Reporting on the New Business ObjectYou must implement an event handler to run reports against your business objects through the hierarchy link target, because the link target data is stored in OLAP. When hierarchy is changed in OLTP, either through the UI or a batch job, an event handler can be called directly by the hierarchy API to process these events. Changes can be categorized by event type. The same mechanism can be used to propagate to the reporting (OLAP) database. The changes made to OLTP and OLAP are bound in a single transaction to guarantee data integrity between OLTP and OLAP databases. Distributed database transaction management achieves this. Example of Writing Your Own Synchronization HandlerIf you create a new business object and register it as a link target with hierarchy, you may also want to write your own OLAP handler, so that when your business object is linked into hierarchy, the same relationship can be propagated to the OLAP reporting table. The way you construct the relationship between business object and hierarchy cross reference table determines how much control you have over the relationship. The general pattern is that each hierarchy node has a corresponding entry in edx_rpt_hierarchy_xref_dim table. The node and concrete link target type relationship is modeled through the hierarchy and link target workspace table. You can choose whether each link target has a node entry in edx_rpt_hierarchy_xref_dim or not. The alternative is to build a workspace table with just the link targets that are parent nodes of your object. If you do not want to add a node entry to your link target object, make sure that you return To write your own OLAP link target handler, implement interface Once you finished your OLAP handler, you need to register it with hierarchy through hierarchy link target config in the hierarchy.cfg.xma.xml file. <bean id="ServiceAgreementConfig" class="com.edocs.common.hierarchy.core.LinkTargetConfig" singleton="true"> |
![]() |
![]() ![]() |
Hierarchy Developer's Guide for Oracle Self-Service E-Billing | Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |