Filtering Primavera Unifier Data

The following example demonstrates how to create a view for only active projects and a filter called active_projects.

  1. Log in to the Primavera Unifier instance (with SQL Plus, SQL Developer, and so on), with the schema owner account (for example, unifier).
  2. Use the following statement to create the active_projects filter:

    create or replace view active_projects as select project_object_id objected from sys_stg_project where project_status = 'Active'

  3. Upon successful completion of the sample filter, log out of the instance.
  4. Log in to the Primavera Data Warehouse database instance as the schema owner (for example, the STARUSER account).
  5. Use the following statement to add a setting into the ETL_PARAMETER table with the name of the view you created:

    insert into etl_parameter(p_feature, p_1, datasource_id)

    values ('star.project.filter.ds1', 'active_projects', 1);

    commit;

  6. Go to <PDW Install Folder>\star\etl_homes\staretl<id>.
  7. Run staretl.bat (with Windows) or staretl.sh (with UNIX or Linux).


Legal Notices | Your Privacy Rights
Copyright © 1999, 2020

Last Published Wednesday, October 20, 2021