Develop Facts

A Facts is the main entity in a Star Schema model and in most cases represents transactional data. By connecting dimensions to a fact we get an Information Source. A fact provides the following information:

This section supplies some guidelines how to develop facts.

Note: All development of fact in IFS Applications should be done by using IFS Developer Studio.

 

Contents

General

The Business Reporting & Analysis services framework handles two data access types:

Metadata files:

 

Fact Specifics

Some specific aspects to be considered when creating a fact:

Data Mart Development

Development of Data Mart support means that the fact specific data is collected in one of the following ways:

  1. In a Materialized View (sometimes even in more than one MV). This option relates to a Data Mart based on Materialized Views in the Oracle database.
     
  2. In a snapshot table, e.g. an ordinary Oracle table. This option relates to a Data Mart based on the framework for Incremental Load.

The fact information is retrieved by a Data Mart specific fact view.

Learn more.

Online Development

Development of Online support means that the fact specific data is retrieved directly from the source tables via an online specific fact view.

Learn more.

Default Information Source Folder

A component that owns Information Sources, can define a default BR Client Navigator folder name for its Information Sources. This is done in a component specific INS file. Executing these component INS files during installation means that registered Information Sources will appear in the Information Source Navigator in IFS Business Reporter directly after the installation (as long as the user has been granted access to the Information Sources).

The following method is used to register a default folder for an Information Source:

Xlr_Def_Fact_Nav_Folder_API.Set_Default_Folder_Name(
	fact_id_ 	      IN VARCHAR2,
	default_folder_name_  IN VARCHAR2,
	always_add_           IN BOOLEAN DEFAULT FALSE)

The method actions are:

  1. Register the folder as the default folder for the fact (IS).
  2. If the fact (IS) is not present in the navigator, then
    1. Add the folder to the navigator if not already present
    2. Add the fact (IS) to the folder

If a fact (IS) is removed via the Setup BAClient Navigator then that fact (IS) will not be added again if the INS file is executed. This must be considered as the standard behavior. There might however be cases where it is necessary to force an addition of as fact to the BA Client Navigator. To handle this case it is necessary to define the always_add_ parameter to TRUE, i.e.

-- Default way of calling the registration method
Xlr_Def_Fact_Nav_Folder_API.Set_Default_Folder_Name(<'<fact_id>', 'Financials');

-- Making sure that the fact is always added to the default folder
Xlr_Def_Fact_Nav_Folder_API.Set_Default_Folder_Name(<'<fact_id>', 'Financials', TRUE);

Each component with Information Sources defines its own INS file. A template file can be found here.