Fact On Line Development

Online development of a fact means creating a fact view before defining and deploying IFS Business Reporting & Analysis services specific metadata for the fact.

This section provides some of the basic steps needed to create Online support for a fact.

Note: It is recommended to always develop the Online and Data Mart access version of a Fact. For more details about Data Mart implementation please refer to the Data Mart development page.

Note: All development of fact entities in IFS Applications should be done by using the IFS Developer Studio. The development is model based. Compared to a LU entity, a fact entity has a model file as well as generated files in the code repository. This is important to remember - never edit the fact files manually, instead always use the model.
For more information about how to handle modeling of a fact, please refer to IFS Develop Studio but also to the section about modeling.
The current page provides some details, things that can be good to know when developing a fact entity.

 

Contents

General Remarks

Note: All development of fact entities in IFS Applications should be done by using the IFS Developer Studio. The development is model based. Compared to a LU entity, a fact entity has a model file as well as generated files in the code repository. This is important to remember - never edit the fact files manually, instead always use the model. For more information about how to handle modeling of a fact, please refer to IFS Developer Studio but also to the section about modeling. The current page provides some details, things that can be good to know when developing a fact entity.

Some general remarks about Online development for facts

Access Security

It should not be possible to retrieve any data from Information Source (fact) specific Online views if access has not been granted. More specifically this means:

Note: IFS Developer Studio will automatically add the necessary call to the Bi_Access_Granted to the online access views. The call will not be added to Data Mart specific access views, due to that Buisness Reporting & Analysis related features in Solution Manager will not be accessible if the BIBASE component is not available. Thus it will be very difficult to administrate activation and/or refresh of Materialized Views without that access.

 

Deployment

Development of Online support for a fact means creating a set of files that have to be deployed in the database.

The files are:

  1. Fact View file definition
  2. Fact Metadata file

Fact View File

The fact view definition is represented as an APV file, meaning that it represents a public read interface.

The file is deployed in the database.

After deployment the natural thing would be to SELECT from the view.

Make sure that:

Metadata File

A fact has to be described/defined in a Metadata file. The Metadata is represented as an INS file.

The file is deployed in the database as any other INS file.

There is of course also the possibility to create the fact metadata in the Information Source feature.

Note: If the Information Source feature is used to create or add Metadata, it is important to make sure to export the Metadata to file as the last step. Modifying the metadata via the Information Source feature means doing a customization in the current installation. If the changes are not saved and kept in an installation specific metadata file version, the manual changes will be overwritten next time the metadata is deployed, e.g. a new standard version of the file via a bug correction

Information about the deployment is output on screen (or in log file). Errors must be investigated and corrected. Information lines should be looked up. Do one of the following:

When the accurate IMPORT_ID has been found, the following SELECT can be performed:

SELECT * FROM XLR_IMPORT_LOG_TAB WHERE IMPORT_ID = '<import_id>' ORDER BY LINE_ID ASC

Implementation Example

An implementation example related to an Online version of a Fact can be found here.