Oracle® Communications Billing and Revenue Management: Collecting Revenue Assurance Data Release 7.5

Download as pdf or txt
Download as pdf or txt
You are on page 1of 74

Oracle Communications Billing and Revenue Management

Collecting Revenue Assurance Data Release 7.5


E16713-02

May 2012

Oracle Communications Billing and Revenue Management Collecting Revenue Assurance Data, Release 7.5 E16713-02 Copyright 2011, 2012, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Contents
Preface ................................................................................................................................................................ vii
Audience...................................................................................................................................................... Downloading Oracle Communications Documentation ..................................................................... Documentation Accessibility .................................................................................................................... Document Revision History ..................................................................................................................... vii vii vii vii

1 Understanding Revenue Assurance Manager


About Revenue Assurance Manager .................................................................................................... 1-1 About Collecting Revenue Assurance Data from Billing ................................................................ 1-2 How Revenue Assurance Data is Collected from Billing............................................................. 1-2 About Viewing Revenue Assurance Data Collected from Billing .............................................. 1-3 About Splitting Revenue Assurance Data into Detailed Categories .......................................... 1-4 Split Revenue Assurance Data .................................................................................................. 1-4 Splitting Revenue Assurance Data by Type of Charge ......................................................... 1-5 About Collecting Revenue Assurance Data from Pipeline Batch Rating ..................................... 1-5 About Using Event Notification to Generate Revenue Assurance Data.................................... 1-7 About Control Points......................................................................................................................... 1-7 About Aggregation Scenarios .......................................................................................................... 1-8 About Linking Pairs of Rating, Rerating, and Written-Off Control Points ............................... 1-8 About Flows........................................................................................................................................ 1-9 About Using UE Loader to Load Revenue Assurance Data ........................................................ 1-9 About the Revenue Assurance Data Collected in Rated Event Loader .................................. 1-10 About Collecting Revenue Assurance Data on Written-Off EDRs .......................................... 1-10

2 Installing Revenue Assurance Manager


System Requirements ............................................................................................................................. Software Requirements ..................................................................................................................... Installing Revenue Assurance Manager .............................................................................................. Loading the CollectProcessAudit Trigger in Rated Event Loader .................................................. Configuring Universal Event Loader to Load Revenue Assurance Data ...................................... About Installing Business Operations Center.................................................................................... Installing Business Operations Center ........................................................................................... Starting and Using Revenue Assurance Center............................................................................. Uninstalling Revenue Assurance Manager......................................................................................... 2-1 2-1 2-2 2-3 2-4 2-4 2-4 2-5 2-5

iii

3 Setting Up Revenue Assurance Manager for Pipeline Batch Rating


Configuring Revenue Assurance Manager ......................................................................................... Configuring Event Notification ....................................................................................................... Selecting Aggregation Scenarios...................................................................................................... Loading Scenarios into the Pipeline Manager Database....................................................... Identifying Control Point Locations for Revenue Assurance Data ............................................ Configuring the FCT_AggreGate Module to Collect Revenue Assurance Data ...................... Using iScripts to Derive Grouping FIelds ............................................................................... Configuring SimpleSample Files ..................................................................................................... Adding Control Points to Flows ...................................................................................................... Linking Rating, Rerating, and Write-Off Control Points ............................................................ Setting Up UE Loader to Load Revenue Assurance Data into the Database ............................ Setting Up UE Loader Templates ............................................................................................. Setting Up Batch Controller to Call UE Loader ............................................................................. Setting Up Revenue Assurance Manager to Collect Data on Written-Off EDRs ........................ 3-1 3-2 3-2 3-3 3-3 3-3 3-5 3-5 3-6 3-7 3-8 3-8 3-8 3-9

4 Setting Up Revenue Assurance Manager for Billing


Configuring BRM Billing to Collect Revenue Assurance Data ...................................................... 4-1 Enabling Billing Utilities to Generate Revenue Assurance Data ................................................ 4-1 Configuring Bill Now, On-Demand Billing, and Auto-Triggered Billing to Collect Revenue Assurance Data 4-2 Configuring Item Subtypes............................................................................................................... 4-3

5 Using Batch IDs in Revenue Assurance Manager


Tracking EDRs by Using Batch IDs ...................................................................................................... 5-1 Keeping Track of Rejected EDRs by Using Batch IDs................................................................... 5-2 Setting the Default Batch ID Behavior ................................................................................................ 5-3

6 Configuring Revenue Assurance Alerts


About Revenue Assurance Alerts ......................................................................................................... Configuring Alert Thresholds ............................................................................................................... Defining Threshold Data and Time Periods .................................................................................. Defining Filter Conditions ................................................................................................................ Defining Field Value Ranges ............................................................................................................ Period Alert Example ........................................................................................................................ Daily Alert Example .......................................................................................................................... Weekly Alert Example....................................................................................................................... Loading Alert Details into the Database......................................................................................... Loading Alert Details by Using load_pin_config_ra_thresholds ........................................ Configuring Email Alerts ....................................................................................................................... Specifying Email Alert Text .............................................................................................................. Specifying Email Alert Details ......................................................................................................... Generating Revenue Assurance Alerts ................................................................................................ 6-1 6-2 6-2 6-3 6-4 6-4 6-4 6-5 6-5 6-5 6-6 6-6 6-7 6-9

iv

7 Using Revenue Assurance Aggregation Scenarios


About Aggregation Scenarios ................................................................................................................ Data Fields Collected by All Scenarios................................................................................................ Fields Used to Group Scenario Data .................................................................................................... Preconfigured Aggregation Scenario Details ..................................................................................... 7-1 7-2 7-2 7-3

8 Customizing Revenue Assurance Manager


About the Revenue Assurance Manager Opcodes ............................................................................ Using Policy Opcodes to Customize Revenue Assurance Manager .......................................... Customizing Audit Object Validation ............................................................................................ Customizing /process_audit/batchstat Object Validation.......................................................... Customizing Alert Behavior............................................................................................................. Customizing the Revenue Assurance Written-Off EDR Summaries ......................................... Creating New Aggregation Scenarios for Revenue Assurance ....................................................... Changing the Control Point for Data on Written-Off EDRs............................................................ Customizing Revenue Assurance Center ............................................................................................ 8-1 8-2 8-2 8-3 8-3 8-3 8-4 8-4 8-5

9 Revenue Assurance Utilities


load_ara_config_object............................................................................................................................ 9-2 load_pin_config_batchstat_link ............................................................................................................ 9-3 load_pin_config_controlpoint_link...................................................................................................... 9-4 load_pin_config_ra_alerts....................................................................................................................... 9-5 load_pin_config_ra_flows ...................................................................................................................... 9-7 load_pin_config_ra_thresholds ............................................................................................................. 9-9 pin_ra_check_thresholds ..................................................................................................................... 9-11

vi

Preface
This document describes Oracle Communications Billing and Revenue Management (BRM) Revenue Assurance Manager and the Business Operations Center application (which includes Revenue Assurance Center). This information includes the concepts, installation, and configuration of Revenue Assurance Manager for Pipeline Batch Rating and Billing as well as related topics.

Audience
This document is intended for personnel who are involved in revenue assurance or billing and rating.

Downloading Oracle Communications Documentation


Product documentation is located on Oracle Technology Network: http://www.oracle.com/technetwork/index.html Additional Oracle Communications documentation is available from the Oracle Software Delivery Cloud Web site: http://edelivery.oracle.com

Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc. Access to Oracle Support Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Document Revision History


The following table lists the revision history for this book.

vii

Version E16713-01 E16713-02

Date November 2011 May 2012

Description Initial release. Minor formatting and text changes.

viii

1
1

Understanding Revenue Assurance Manager


This chapter provides an overview of Oracle Communications Billing and Revenue Management (BRM) Revenue Assurance Manager.
important: Revenue Assurance Manager is an optional feature that you install separately.

Before using Revenue Assurance Manager, you should be familiar with BRM concepts and system architecture. See BRM Concepts for more information.
Note:

See "Installing Revenue Assurance Manager" for installation procedures.

About Revenue Assurance Manager


You use Revenue Assurance Manager to verify the end-to-end completeness, accuracy, and integrity of BRM billing and pipeline batch rating results. You can analyze revenue assurance data to find revenue leakage in your system. You obtain revenue assurance data by auditing the results of these processes:

Billing: Revenue Assurance Manager provides statistics such as the number of accounts billed or invoiced, the total revenue, and the number of records that were successfully billed or failed to be billed. See "About Collecting Revenue Assurance Data from Billing" for more information.

Pipeline batch rating: Revenue Assurance Manager provides statistics such as total duration and charges, retail and wholesale amounts, and total discount amounts. See "About Collecting Revenue Assurance Data from Pipeline Batch Rating" for more information.

Revenue Assurance Manager stores the data it collects in the BRM database. There are two ways for you to view this data.

Revenue Assurance Manager reports: You can generate summary and detail reports from revenue assurance data for billing, and pipeline rating. You can change the report parameters to meet your business needs. See BRM Reports for more information.

Understanding Revenue Assurance Manager

1-1

About Collecting Revenue Assurance Data from Billing

Revenue Assurance Center: You can use the Revenue Assurance Center application in Business Operations Center to search for and view revenue assurance statistics generated from billing and pipeline rating. See Revenue Assurance Center Help for detailed instructions about using the application. See "Installing Business Operations Center" for installation information.

You can also configure Revenue Assurance Manager to send alerts when revenue assurance data passes a threshold that you set. For example, you can configure an alert to be sent when the number of suspended EDRs exceeds 100,000. See "About Revenue Assurance Alerts" for more information.

About Collecting Revenue Assurance Data from Billing


You can generate revenue assurance billing data from the following BRM billing processes:

Regular billing Bill Now On-demand billing Auto-triggered billing Trial billing Invoicing Deferred actions

The revenue assurance data generated from billing consists of statistics such as the number of accounts billed, accounts that failed to be billed, the time of the billing process, and the revenue details. BRM stores the revenue assurance data collected from billing in/process_audit/billing objects. To collect revenue assurance data for billing, you must configure BRM billing utilities to generate revenue assurance data. See "Configuring BRM Billing to Collect Revenue Assurance Data" for more information. After revenue assurance data has been collected from billing, you can view the data by using Revenue Assurance Center or Revenue Assurance reports. See "About Viewing Revenue Assurance Data Collected from Billing" for more information.

How Revenue Assurance Data is Collected from Billing


Revenue Assurance Manager collects data from control points in billing utilities. Unlike the control points in pipeline rating, billing control points are preconfigured and you cant change them. These are the billing utilities and the data that is collected from them:

pin_bill_accts - Anticipated revenue. pin_collect - Revenue collected. pin_inv_accts - Invoices generated, including total records processed, records that have been successfully invoiced, and failed records. pin_deferred_act - The number of scheduled deferrals executed. pin_cycle_fees - The amount of cycle fees generated.

1-2 BRM Collecting Revenue Assurance Data

About Collecting Revenue Assurance Data from Billing

Revenue assurance data for billing is stored in /process_audit/billing objects in the BRM database.

About Viewing Revenue Assurance Data Collected from Billing


You can view revenue assurance data from billing by using Revenue Assurance reports or by using Revenue Assurance Center.
Note:

There are some restrictions on the types of data that can be displayed in Revenue Assurance Center:

Revenue assurance data collected for trial billing is viewable only in reports. Revenue Assurance Center can display only split revenue assurance data. See "About Splitting Revenue Assurance Data into Detailed Categories" for more information.

Revenue Assurance reports includes both summary and detail reports for billing data. You can customize the reports. See BRM Reports for more information. When you use Revenue Assurance Center to view revenue assurance data for billing, you can search for data based on:

Billing segments. Accounts billed on the same accounting day of month (DOM). A combination of billing segment and DOM.

You can choose to display data from all control points or from selected control points. These are the control points:

Revenue Anticipated
Note:

A summary of the revenue assurance data collected from billing by billing segments is available from control points in pin_bill_ accts only.

Revenue Collected Invoice Generated Scheduled Deferrals Executed Cycle Fees Generated

This a typical Revenue Assurance Center billing data screen:

Understanding Revenue Assurance Manager

1-3

About Collecting Revenue Assurance Data from Billing

Figure 11 Revenue Assurance Billing Summary

About Splitting Revenue Assurance Data into Detailed Categories


You can split revenue assurance billing data into more detailed categories, such as amounts associated with A/R items, billable items, and suppressed bills. Splitting revenue assurance billing data allows you to more accurately pinpoint the source of revenue leakage in your system. Split revenue assurance data is automatically generated by these billing operations:

Bill Now On-demand billing Auto-triggered billing

The following utilities offer a -split parameter that you can use to separate data for regular billing and trial billing:

pin_bill_accts pin_trial_bill_accts
Important:

If you intend to collect revenue assurance data from billing, be sure to use the -split parameter to pin_bill_accts and pin_ trial_bill_accts when you use these utilities.

See the discussion of billing utilities in BRM Configuring and Running Billing for more information on pin_bill_accts and pin_trial_bill_accts. You can view split revenue assurance data in Revenue Assurance Center or in Revenue Assurance reports:

Revenue Assurance Center automatically displays split data. It cannot display data that is not split. You can configure Revenue Assurance Reports to display split or unsplit data. See "About the Split Method Parameter" in BRM Reports for more information.

Split Revenue Assurance Data


Split revenue assurance data includes the following categories:

A/R items: If service types are associated with these items, the amount for each service type is also generated:

1-4 BRM Collecting Revenue Assurance Data

About Collecting Revenue Assurance Data from Pipeline Batch Rating

Adjustments - Adjustment charges Payments - Total number of payments received Payment reversals - Total payment reversals Disputes - Sum of disputed amounts Settlements - Sum of settlements Refunds - Total refunds Write off - Total number of written-off accounts Write-off reversals - Total number of write-off reversal accounts

Billable items - The billable items and their subtypes that you have configured; for example, usage charges, recurring charges, one-time charges, and discounts. Miscellaneous charges - If billable items are not configured, the split revenue assurance data is stored as miscellaneous charges. Connections - The number of billed connections, where a connection represents a device or phone number. Bills suppressed - The number of suppressed bills, the reason for the suppression, and the anticipated revenue.
Note:

The bills-suppressed data is generated by regular billing, trial billing, and auto-triggered billing only.

Splitting Revenue Assurance Data by Type of Charge


You can also split revenue assurance data based on the type of charge, such as discounts, usage charges, and one-time and recurring charges. You do this by setting up custom billable items and item subtypes. If you do not configure billable item subtypes, the split revenue assurance data is stored as miscellaneous charges. See "Configuring Item Subtypes" for more information.

About Collecting Revenue Assurance Data from Pipeline Batch Rating


You can collect revenue assurance data to analyze the effect of pipeline rating on Event Data Records (EDRs). You configure Revenue Assurance Manager to collect statistics on EDRs at various points in your pipelines, and then compare those statistics to see how a batch of EDRs changes as it is processed. The statistics collected can include:

The number of EDRs in the batch Retail charged amount Event wholesale value Discounts applied Total time usage Amount of data transferred When a call started When a call ended

Understanding Revenue Assurance Manager

1-5

About Collecting Revenue Assurance Data from Pipeline Batch Rating

Revenue assurance data is collected and aggregated at control points that you configure in pipelines. You establish control points by adding the FCT_AggreGate module at appropriate pipeline locations. You determine the data to be collected by specifying aggregation scenarios used by the module. You can configure related control points into flows that enable you to examine data for a batch sequentially. You can also link pairs of control points to see original and current values. FCT_AggreGate outputs aggregated data into flat files. You configure the Batch Controller to send these flat files to the Universal Event (UE) Loader as they are created. UE Loader parses the flat files and then calls opcodes to load the information into the database as /process_audit/batchstat objects. Figure 12 shows how revenue assurance data is collected from EDRs in pipeline batch rating, stored in the BRM database, and viewed by using Revenue Assurance Center or Revenue Assurance Reports:
Figure 12 Revenue Assurance Data Collection

Collecting revenue assurance data from pipeline batch rating involves these tasks:

Configuring event notification to capture data on written-off EDRs and set up revenue assurance alerts. See "About Using Event Notification to Generate Revenue Assurance Data" for more information.

1-6 BRM Collecting Revenue Assurance Data

About Collecting Revenue Assurance Data from Pipeline Batch Rating

Configuring control points in your pipelines to determine where revenue assurance data is captured. See "About Control Points" for more information.

Associating an aggregation scenario with each of your control points to determine how revenue assurance data is organized. Revenue Assurance Manager includes preconfigured aggregation scenarios that group revenue assurance statistics by using different fields. See "About Aggregation Scenarios" for more information.

Linking pairs of control points related to rating, rerating, and written-off EDRs. Revenue Assurance Center uses these linked pairs to establish the original and current values for a set of EDRs. See "About Linking Pairs of Rating, Rerating, and Written-Off Control Points" for more information.

Defining flows, which are ordered lists of control points that Revenue Assurance Center uses to display revenue assurance data. Flows allow you to track revenue assurance data for EDR batches at various stages during pipeline processing. See "Adding Control Points to Flows" for more information.

Configuring Universal Event (UE) Loader to load revenue assurance data into the database. See About Using UE Loader to Load Revenue Assurance Data for more information. Configuring alerts to be sent when revenue assurance data passes a threshold that you set. See "Generating Revenue Assurance Alerts" for more information.

About Using Event Notification to Generate Revenue Assurance Data


Revenue Assurance Manager uses event notification to collect data on written-off EDRs and set up revenue assurance alerts. The following events are generated specifically to facilitate the revenue assurance event notification process:

/event/notification/suspense/writeoff - When suspended EDRs are written off, Suspense Manager generates this event. By default, when this event occurs, the PCM_OP_PROCESS_AUDIT_CREATE_WRITEOFF_SUMMARY opcode is called. /event/notification/ra_threshold - When specified conditions for producing revenue leakage alerts occur, the "load_pin_config_ra_thresholds" utility generates this event. By default, when this event occurs, the PCM_OP_PROCESS_AUDIT_ POL_ALERT policy opcode is called.

See "Configuring Event Notification" for more information on configuring event notification for Revenue Assurance Manager.

About Control Points


You establish control points in batch pipelines to determine where Revenue Assurance Manager collects data. You can configure control points in locations that enable you to compare data from different stages in the rating processes. You define a control point by adding the FCT_AggreGate module to the pipeline in the desired location and specifying the control point name in the module registry. Each control point must have a unique name that describes its purpose. For example, in a
Understanding Revenue Assurance Manager 1-7

About Collecting Revenue Assurance Data from Pipeline Batch Rating

rating pipeline, you could have control points named Rating and CP_After_Rating. See "Configuring Revenue Assurance Manager" for more information. Each control point is associated with an aggregation scenario that specifies the data to be collected and how it should be organized. See "About Aggregation Scenarios" for more information. You add related control points to flows. In Revenue Assurance Center, you can view data from all the control points in a flow. This enables you to follow the progress of EDR batches of EDRs through the pipeline. See "About Flows" for more information.

About Aggregation Scenarios


Each control point requires an aggregation scenario to specify the data that the control point collects and how the data will be organized. An aggregation scenario specifies:

The EDR fields to collect data from. For example, a scenario can collect information from the discount amount or duration fields. Aggregation functions to apply to the data. For example, you can add data together or average it. Fields by which to group the data collected. For example, you can group data by service type. In this case, the data for each batch is grouped by the type of service, such as TEL, SMS, or GPRS.

You can also collect revenue assurance data on more than one grouping field. For example, in the BatchStat_SvcType_Status scenario, the grouping fields are Service Type and EDR Status. The revenue assurance data collected is the EDR status such as Duplicate, Rejected, or Successful for each service type. You specify the scenario to use when you define a control point in the FCT_AggreGate module registry. Scenarios can be used by any number of control points. See "Configuring the FCT_AggreGate Module to Collect Revenue Assurance Data" for more information. Revenue Assurance Manager provides a number of preconfigured scenarios. These scenarios are suitable for use in a production system. You can also create new scenarios if necessary. See "Preconfigured Aggregation Scenario Details" for descriptions of the preconfigured scenarios. See "About the Revenue Assurance Manager Opcodes" for information about creating new scenarios. For general information on working with pipeline aggregation and aggregation scenarios, see the discussion of setting up pipeline aggregation in BRM Configuring Pipeline Rating and Discounting.

About Linking Pairs of Rating, Rerating, and Written-Off Control Points


Certain types of control points must be linked to establish original and current values displayed in Revenue Assurance Center. You should link these types of control points:

A rating control point to a rerating control point. A rating control point to a writeoff control point. A rerating control point to a writeoff control point.

See "Linking Rating, Rerating, and Write-Off Control Points" for details on creating control point links.

1-8 BRM Collecting Revenue Assurance Data

About Collecting Revenue Assurance Data from Pipeline Batch Rating

When pairs of control points are linked, Revenue Assurance Center shows the linked control points in the same area. Values for the first control point are marked as original values, and the last control point as current values.

About Flows
A flow is an ordered set of related control points that you group together for convenient searching and viewing in Revenue Assurance Center. You can add any number of control points to a flow, from any pipelines that are relevant. See "Adding Control Points to Flows" for information about creating flows. You use Revenue Assurance Center to display data for flows. Each control point appears in its own area. In this example, you can see two control points (P1_END and CP_AfterRating) from Flow 12. The second control point shows the effect that rating had on a small batch of EDRs.
Figure 13 Business Operations Center

About Using UE Loader to Load Revenue Assurance Data


In order to view batch pipeline revenue assurance data, you must first load that data into /process_audit objects in the BRM database. You use Universal Event (UE) Loader to load the data. The UE Loader loads revenue assurance data into these /process_audit objects:

Understanding Revenue Assurance Manager

1-9

About Collecting Revenue Assurance Data from Pipeline Batch Rating

/process_audit/pipeline objects store information about processed EDRs. /process_audit/batchstat objects store information about the revenue assurance data collected for specific scenarios.

You can configure the BRM Batch Controller to probe automatically for revenue assurance data files and then call UE Loader to load them into the database. You can also decide to load the data periodically by using cron or a similar program. See "Setting Up UE Loader to Load Revenue Assurance Data into the Database" and "Setting Up Batch Controller to Call UE Loader" for more information.

About the Revenue Assurance Data Collected in Rated Event Loader


Revenue Assurance Manager collects data from Rated Event (RE) Loader. BRM uses RE Loader to load events that have been rated or rerated with pipeline batch rating. See the discussion of Rated Event Loader in BRM Configuring Pipeline Rating and Discounting for more information. The revenue assurance data collected from RE Loader include:

Total revenue generated by the batch. Total number of EDRs loaded.

You can view the RE Loader data in Revenue Assurance Center or in Revenue Assurance reports. When the rated EDRs are loaded in RE Loader, either all the EDRs are loaded, or they all fail. There is no possibility of some records getting loaded and some records failing. In Revenue Assurance Manager, the data collected for RE Loader is not grouped by status or any other fields. You must load the CollectProcessAuditForIREL.sql file to enable the collection of revenue assurance data from RE Loader. See "Loading the CollectProcessAudit Trigger in Rated Event Loader" for information on loading this trigger.

About Collecting Revenue Assurance Data on Written-Off EDRs


You can use Revenue Assurance Manager to view statistics about the number of EDRs that have been written off. When an EDR is written off through Suspense Manager, an /event/notification/suspense/writeoff event is generated. You configure event notification so that Revenue Assurance Manager collects data every time such an event occurs. The data collected from a written-off EDR includes the original batch ID and the number of EDRs that were written off in that batch of EDRs. See "Setting Up Revenue Assurance Manager to Collect Data on Written-Off EDRs" for configuration information.

1-10 BRM Collecting Revenue Assurance Data

2
2

Installing Revenue Assurance Manager


This chapter describes how to install Oracle Communications Billing and Revenue Management (BRM) Revenue Assurance Manager and the Business Operations Center application (which includes Revenue Assurance Center). Before you read this chapter, you should be familiar with BRM concepts and architecture. See:

BRM Concepts Understanding Revenue Assurance Manager


Important:

Revenue Assurance Manager and Business Operations Center are optional features that you install separately.

Note:

Revenue Assurance Center is a component of Business Operations Center. When you install Business Operations Center, you install Revenue Assurance Center.

System Requirements
Revenue Assurance Manager server component is supported on the Linux, and Solaris operating systems. For information on disk space requirements for these operating systems, see BRM Installation Guide. Business Operations Center is supported on the Windows platform and requires approximately 100 MB of disk space.

Software Requirements
Before installing Revenue Assurance Manager, you must install:

Third-Party software, which includes the Perl libraries and JRE required for installing BRM components. See the instructions for installing the Third-Party software in BRM Installation Guide. BRM. See BRM Installation Guide. Oracle version 10g or 11g.

Installing Revenue Assurance Manager

2-1

Installing Revenue Assurance Manager

Caution: If you are using an earlier version of Oracle, you must upgrade it before you install Revenue Assurance Manager. For information on upgrading Oracle, see your Oracle documentation.

Before installing Business Operations Center, you must install BRM. See BRM Installation Guide for install instructions.

Installing Revenue Assurance Manager


Note:

If you already have Revenue Assurance Manager installed, you must uninstall it before installing a new version.

To install Revenue Assurance Manager:


1.

Download the software to a temporary directory (temp_dir).


Important:

If you download to a Windows workstation, use FTP to copy the .bin file to a temporary directory on your UNIX server. You must increase the heap size used by the Java Virtual Machine (JVM) before running the installation program to avoid Out of Memory error messages in the log file. See "Increasing Heap Size to Avoid Out of Memory Error Messages" in BRM Installation Guide for more information.

2.

Go to the directory where you installed the Third-Party package and source the source.me file.
Caution: You must source the source.me file to proceed with installation, otherwise suitable JVM not found and other error messages appear.

Bash shell:
% source source.me.sh

C shell:
% source source.me.csh 3.

Go to temp_dir and enter this command:


% 7.5.0_RevAssuranceMgr_platform_opt.bin

where platform is the operating system name.

2-2 BRM Collecting Revenue Assurance Data

Loading the CollectProcessAudit Trigger in Rated Event Loader

Note:

You can use the -console parameter to run the installation in command-line mode. To enable a graphical user interface (GUI) installation, install a GUI application such as X Windows and set the DISPLAY environment variable before you install the software.

4.

Follow the instructions displayed during installation. The default installation directory for Revenue Assurance Manager is /opt/portal/7.5.
Note:

The installation program does not prompt you for the installation directory if BRM or Revenue Assurance Manager is already installed on the machine and automatically installs the package at the BRM_Home location.

5.

Go to the directory where you installed the Revenue Assurance Manager package and source the source.me file: Bash shell:
% source source.me.sh

C shell:
% source source.me.csh 6.

Change directory to the BRM_Home/setup directory and run the pin_setup script.
Note:

The pin_setup script starts all required BRM processes.

7.

If your event tables are partitioned, run the partition_utils utility with the -o update parameter from the BRM_Home/apps/partition_utils directory:
% perl Bin_Home/bin/partition_utils -o update

See "Updating Partitions" and partition_utils in BRM System Administrator's Guide for more information. Your Revenue Assurance Manager installation is now complete.

Loading the CollectProcessAudit Trigger in Rated Event Loader


This section explains how to define the CollectProcessAuditForIREL trigger in Rated Event (RE) Loader. You must define this trigger in RE Loader before using Revenue Assurance Manager. CollectProcessAuditForIREL defines event ID and batch ID mapping in rated EDRs and loads them into the BRM database. To load the trigger:
1. 2.

Go to the BRM_Home/sys/data/config directory. Run the following command:


% sqlplus login/password @$ORACLE_SID @CollectProcessAuditForIREL.sql

where ORACLE_SID is the BRM database alias.

Installing Revenue Assurance Manager

2-3

Configuring Universal Event Loader to Load Revenue Assurance Data

Configuring Universal Event Loader to Load Revenue Assurance Data


To configure the Universal Event (UE) Loader properties file to load revenue assurance data:
1. 2.

Open the UE Loader properties file (BRM_Home/apps/uel/Infranet.properties) in a text editor. Change this setting:
infranet.uel.date_pattern = dd/MMM/yyyy:hh:mm:ss a zzzz

to this:
infranet.uel.date_pattern = yyyyMMddHHmmss. 3. 4.

Change the infranet.uel.max_threads entry to 1. (Optional) Change the infranet.uel.max_load_errors entry. This entry determines whether UE Loader will continue loading records even after receiving errors. UE Loader stops loading records when the number of errors it receives reaches the error limit defined in infranet.uel.max_load_errors. To ignore the errors and continue loading the remaining records, set this entry to a higher number. The default is 9999.

5.

Save and close the file.

About Installing Business Operations Center


Business Operations Center is an optional client application you can use to search for and display revenue assurance information that is stored in the BRM database.
Note:

Revenue Assurance Center is a component of Business Operations Center. When you install Business Operations Center, you install Revenue Assurance Center.

Before installing Business Operations Center, obtain information about the machine running the CM to which Business Operations Center will connect, such as:

A location for the software (if other than the default) Computer or server name Port number Database number

Installing Business Operations Center


To install Business Operations Center:
1. 2.

Download the software to a temporary directory (temp_dir). Select the .zip file, and click the Install button. You will be prompted for the following information:

The destination folder. Click Next to use the default location, or enter a different directory.

2-4 BRM Collecting Revenue Assurance Data

Uninstalling Revenue Assurance Manager

On the Connection Manager screen, enter the server, port, and database information. Click Next. On the Select Program Folder screen, accept the default program folder, BRM, or select a new one. Click Next.

3. 4.

On the Start Copying Files screen, click Next to start installing the application. Click Finish to complete the installation process.

Starting and Using Revenue Assurance Center


To start Revenue Assurance Center, go to the Windows Start menu and choose Programs - Portal - Business Operations Center. The command takes you directly to the Revenue Assurance Center user interface.
Note:

When prompted, enter the BRM login and password. Contact your system administrator to obtain the default username and password. Click the Revenue Assurance Center Help button to display information on how to use Revenue Assurance Center.

Click the Revenue Assurance Center Help button to display information on how to use Revenue Assurance Center.

See "Customizing Revenue Assurance Center" for information on how you can change features in Business Operations Center.

Uninstalling Revenue Assurance Manager


To uninstall Revenue Assurance Manager, run the BRM_ Home/uninstaller/RevAssuranceMgr/uninstaller.bin.

Installing Revenue Assurance Manager

2-5

Uninstalling Revenue Assurance Manager

2-6 BRM Collecting Revenue Assurance Data

3
3

Setting Up Revenue Assurance Manager for Pipeline Batch Rating


This chapter describes how to configure Oracle Communications Billing and Revenue Management (BRM) Revenue Assurance Manager to collect revenue assurance data from pipeline batch rating. Before reading this chapter, you should be familiar with the following tasks and concepts:

About Collecting Revenue Assurance Data from Pipeline Batch Rating About pipeline rating in BRM Configuring Pipeline Rating and Discounting Using event notification in BRM Developer's Guide The discussion of working with aggregation scenarios in Pricing Center Help

Configuring Revenue Assurance Manager


To set up Revenue Assurance Manager for pipeline batch rating, you need to complete the following tasks:

Configure event notification to notify Revenue Assurance Manager when events occur. See "Configuring Event Notification" for more information.

Choose scenarios that determine how the revenue assurance data is grouped. See "Selecting Aggregation Scenarios" for more information.

Identify control points for pipeline data collection. See "Identifying Control Point Locations for Revenue Assurance Data" for more information.

Configure FCT_Aggregate to use your aggregation scenarios and control points. See "Configuring the FCT_AggreGate Module to Collect Revenue Assurance Data" for more information.

Configure SimpleSample files to map the batchIDs of the EDRs. See "Configuring SimpleSample Files" for more information.

Add related sets of control points to flows. See "Adding Control Points to Flows" for more information.

Link control points for rating, rerating, and written- off EDRs.

Setting Up Revenue Assurance Manager for Pipeline Batch Rating 3-1

Configuring Revenue Assurance Manager

See "Linking Rating, Rerating, and Write-Off Control Points" for more information.

Configure Universal Event (UE) Loader to load revenue assurance data into the database. See "Setting Up UE Loader to Load Revenue Assurance Data into the Database" for more information.

Configure Batch Controller to call UE Loader. See "Setting Up Batch Controller to Call UE Loader" for more information.

Configuring Event Notification


Revenue Assurance Manager uses event notification to collect data on written-off EDRs and set up revenue assurance alerts. See "About Using Event Notification to Generate Revenue Assurance Data" for more information. Before you can use Revenue Assurance Manager, you must configure the event notification feature as follows:
1.

If your system has multiple configuration files for event notification, merge them. See "Merging Event Notification Lists" in BRM Developer's Guide for more information.

2. 3.

Ensure that the merged file includes the entire event notification list in the BRM_ Home/sys/data/config/pin_notify_ra file. (Optional) If necessary to accommodate your business needs, add, modify, or delete entries in your final event notification list. See "Editing the Event Notification List" in BRM Developer's Guide for more information.

4.

(Optional) If necessary to accommodate your business needs, create custom opcodes for event notification to trigger. See "Triggering Custom Operations" in BRM Developer's Guide for more information.

5.

Load your final event notification list into the BRM database. See "Loading the Event Notification List" in BRM Developer's Guide for more information.
Note:

In addition, your business needs may require that you use event notification to call opcodes when other objects are created in the BRM database.

See "Using Event Notification" in BRM Developer's Guide for more information.

Selecting Aggregation Scenarios


Aggregation scenarios determine what revenue assurance data is collected from pipelines and how that data is grouped. See "About Aggregation Scenarios" for more information. You may be able to use one or more of the preconfigured scenarios supplied with Revenue Assurance Manager. Each scenario groups data differently. See "Using Revenue Assurance Aggregation Scenarios" for detailed descriptions.

3-2 BRM Collecting Revenue Assurance Data

Configuring Revenue Assurance Manager

If none of the preconfigured aggregation scenarios satisfies your business requirements, you can create your own. For details, see "Creating New Aggregation Scenarios for Revenue Assurance" and Pricing Center Help on instructions for defining an aggregation scenario. You must associate aggregation scenarios with control points in the registry of the FCT_Aggregate module. "Configuring the FCT_AggreGate Module to Collect Revenue Assurance Data".

Loading Scenarios into the Pipeline Manager Database


You must load aggregation scenarios into the Pipeline Manager database before you can use them. Scenarios that you create are loaded into the database by Pricing Center at the time of creation. To load scenarios into an Oracle Pipeline Manager database, run the following command against the Pipeline Manager database from the BRM_ Home/database/oracle/scripts directory:
% sqlplus user/password@database RevenueAssurance_Scenarios.sql

where user is the Pipeline Manager user ID, password is the Pipeline Manager user password, and database is the Pipeline Manager database alias.

Identifying Control Point Locations for Revenue Assurance Data


You configure control points in pipeline locations where you want to collect revenue assurance data. You associate an aggregation scenario with the control point to determine the data that is collected. See "About Control Points" for more information. The exact locations where you place control points depend on the data you are collecting. It is often useful to insert control points before and after a critical point in the pipeline. For example, you can insert a control point before and after rating so that you can analyze the impact on EDRs. You place a control point in a pipeline by inserting an instance of the FCT_AggreGate module at the desired point in the pipeline. You specify the control point ID and aggregation scenario in the module registry. See "Configuring the FCT_AggreGate Module to Collect Revenue Assurance Data" for more information. Each control point ID must be unique system-wide.

Configuring the FCT_AggreGate Module to Collect Revenue Assurance Data


You insert the FCT_AggreGate module at locations that you identify to collect revenue assurance data. You define a control point and associated aggregation scenario in the registry of each FCT_AggreGate module that you insert.
Note:

If an aggregation scenario requires one or more iScripts, you must specify them in the Function Pool section of the pipeline registry. See "Using iScripts to Derive Grouping FIelds" for more information.

You also configure other options in the module registry, including details about control and result files. These are standard options unrelated to revenue assurance. See "Setting Up Pipeline Aggregation" in BRM Configuring Pipeline Rating and Discounting for more information. To configure an FCT_AggreGate module for revenue assurance:

Setting Up Revenue Assurance Manager for Pipeline Batch Rating 3-3

Configuring Revenue Assurance Manager

1. 2.

Add the FCT_AggreGate module to the pipeline registry at the desired location. Configure the module for revenue assurance data:

In the Scenarios section of the registry, create a block for the scenario by entering the scenario name. For example, enter RA_03 to use the Service Type scenario. For the ControlPointId parameter, enter an ID for the control point you are defining. The control point ID must be unique and have maximum of 30 characters. For example, if you use the Service Type scenario, you might define the CP_PostRatingBatchStat_Svctype control point. For the TableName registry entry, enter the name of the scenario that you defined earlier.
Note:

The value of the TableName entry is used as the name of the output files for the scenario. Using the scenario name for this entry makes it easier to associate files with the scenarios from which they were created.

Add the registry parameter IncludeProcessingTimestamps and set it to TRUE. Enter values for the standard FCT_AggreGate parameters, such as Threshold, TempDir, DoneDir, CtlDir. See "About Aggregation Scenarios" in BRM Configuring Pipeline Rating and Discounting for more information. Enter a semicolon (;) for the FieldDelimiter. Add the parameters IncludeErrorEDRs and IncludeInvalidDetailEDRs and set them to TRUE.
Note:

When configuring scenarios that do not use grouping based on the field EDRStatus, do not specify the IncludeErrorEDRs and IncludeInvalidDetailEDRs parameters.

This example shows FCT_AggreGate configured for control point CP_ PostRatingBatchStat_Svctype using the Service Type aggregation scenario (RA_03):
# Aggregation -------------------------------------------------# AggreGate { ModuleName = FCT_AggreGate Module { Active = TRUE ScenarioReaderDataModule = ifw.DataPool.ScenarioReader Scenarios { RA_03 { TableName = RA_03 Threshold = 10000 TempDir = ./data/aggregate DoneDir = ./data/aggregate CtlDir = ./data/aggregate

3-4 BRM Collecting Revenue Assurance Data

Configuring Revenue Assurance Manager

FieldDelimiter = ; ControlPointId = CP_PostRatingBatchStat_Svctype IncludeErrorEDRs = TRUE IncludeInvalidDetailEDRs = TRUE IncludeProcessingTimestamps = TRUE ResultFile { IncludeFormat TempSuffix DoneSuffix WriteEmptyFile } ControlFile { IncludeFormat Suffix DataFilePath } } }

= = = =

FALSE .tmp .dat FALSE

= FALSE = .ctl = TRUE

Using iScripts to Derive Grouping FIelds


Review the description of the scenario you are using to see if it requires any iScripts. Scenarios use iScripts to derive grouping fields such as EDR Status, Revenue Stream, and Output Stream. If required, you need to specify the iScripts in the FunctionPool section of the registry file, before the FCT_AggreGate module. See the description of FCT_IScript in BRM Configuring Pipeline Rating and Discounting for more information. See the description of the following iScripts in BRM Configuring Pipeline Rating and Discounting for more information on where to enter these iScripts:

ISC_SetEDRStatus ISC_SetOutputStream ISC_SetRevenueStream ISC_SetRevenueFigures

The following iScript must be placed at the beginning of the pipeline to ensure that the batch ID is inserted before any further processing of the mediation batches.

ISC_SetAndValidateBatchInfo

Configuring SimpleSample Files


Configure the SimpleSample files to map the batchIDs of the EDRs. This is a mandatory step for Revenue Assurance Manager to work correctly. You can find the SimpleSample files at: Pipeline_ home/opt/ifw/formatDesc/Formats/Sample. To configure the SimpleSample files:
1. 2.

Open the SIMPLESAMPLE_v1.dsc file using a text editor such as Notepad. Find the following line:
SERVICE AscString();

Setting Up Revenue Assurance Manager for Pipeline Batch Rating 3-5

Configuring Revenue Assurance Manager

3.

Add the following lines before the aforementioned line:


BATCH_ID ORIGINAL_BATCH_ID SUSPENDED_FROM_BATCH_ID EVENT_ID AscString(); AscString(); AscString(); AscString();

4. 5. 6.

Save and close the file. Open the SIMPLESAMPLE_v1_InMap.dsc file using a text editor such as Notepad. Find the following line:
"020" -> DETAIL.RECORD_TYPE;

7.

Add the following lines before the aforementioned line:


BATCH_ID ORIGINAL_BATCH_ID SUSPENDED_FROM_BATCH_ID EVENT_ID -> DETAIL.BATCH_ID; -> DETAIL.ORIGINAL_BATCH_ID; -> DETAIL.ASS_SUSPENSEEXT.SUSPENDED_FROM_BATCH_ID; -> DETAIL.EVENT_ID;

8. 9.

Save and close the file. Open the SIMPLESAMPLE_v1_InGrammar.dsc file using a text editor such as Notepad.

10. Find the following line: edrInputMap( "SIMPLESAMPLE_V1.DETAIL.STD_MAPPING" ); 11. Add the following lines before the aforementioned line: edrAddDatablock( DETAIL.ASS_SUSPENSE_EXT ); 12. Save and close the file.

Adding Control Points to Flows


Flows are ordered sets of related control points. You group control points into flows so that you can search for and view them conveniently in Revenue Assurance Center. When you view a flow in Revenue Assurance Center, its control points are displayed in the order in which they were defined. You define flows in the pin_config_ra_flows file and load the flows into the database by using the "load_pin_config_ra_flows" utility. Flows are stored as/config/ra_flows objects. The load_pin_config_ra_flows utility overwrites existing flows. You must load a complete set of flows each time you run the utility. To add control points into flows and load them into the database:
1.

Open the BRM_Home/sys/data/config/pin_config_ra_flows file in a text editor. This file includes instructions about the syntax to use to add control points to flows.

2. 3.

Save and close the file. Use the following command to load your control points into the database:
% load_pin_config_ra_flows pin_config_ra_flows

3-6 BRM Collecting Revenue Assurance Data

Configuring Revenue Assurance Manager

If you do not run the utility from the directory in which the file is located, include the complete path to the file; for example:
% load_pin_config_ra_flows BRM_Home/sys/data/config/pin_config_ra_flows

Tip: If you copy the pin_config_ra_flows file to the directory from which you run the load_pin_config_ra_flows utility, you dont have to specify the path or file name. The file must be named load_pin_ config_ra_flows.

To verify that the flows were loaded, you can display the /config/ra_flows object by using the Object Browser, or use the robj command with the testnap utility. See "Reading an Object and Writing its Contents to a File" in BRM Developer's Guide for more information.

Linking Rating, Rerating, and Write-Off Control Points


For Revenue Assurance Center to recognize original and current values for certain types of control points, you must link them and add the links to the BRM database. The control points that require linking include:

Rating to rerating. Rerating to written off. Rating to written-off.

To link control points, you define the links in the "load_pin_config_controlpoint_link" file and then load them into the BRM database by using the "load_pin_config_ controlpoint_link" utility. Links are stored in the /config/link_controlpoint object in the BRM database. The PCM_OP_PROCESS_AUDIT_CREATE_AND_LINK opcode links /process_audit/batchstat objects based on the data in the /config/link_ controlpoint object. See "About the Revenue Assurance Manager Opcodes" for more information.
Important: The load_pin_config_controlpoint_link utility needs a configuration (pin.conf) file in the directory from which you run the utility. See "Creating Configuration Files for BRM utilities" in BRM System Administrator's Guide for more information.

Caution: The load_pin_config_controlpoint_link utility overwrites existing links. You must load a complete set of links each time you run the utility.

To configure your control points into flows and load them into the database:
1. 2. 3.

Open the BRM_Home/sys/data/config/pin_config_controlpoint_link file in a text editor. This file includes instructions on how to add control points into flows. Save and close the file. Use the following command to load your control points into the database:
% load_pin_config_controlpoint_link pin_config_controlpoint_link

Setting Up Revenue Assurance Manager for Pipeline Batch Rating 3-7

Configuring Revenue Assurance Manager

If you do not run the utility from the directory in which the file is located, include the complete path to the file; for example:
% load_pin_config_controlpoint_link BRM_Home/sys/data/config/pin_config_ controlpoint_link

Tip: If you copy the pin_config_controlpoint_link file to the directory from which you run the load_pin_config_controlpoint_link utility, you dont have to specify the path or file name. The file must be named pin_config_controlpoint_link.

See "load_pin_config_controlpoint_link" for more information. To verify that the control point links were loaded, you can display the /config/controlpoint_link object by using Object Browser, or use the robj command with the testnap utility. See "Reading an Object and Writing its Contents to a File" in BRM Developer's Guide for more information.

Setting Up UE Loader to Load Revenue Assurance Data into the Database


UE Loader takes the revenue assurance data from the FCT_AggreGate output files and loads it into the BRM database. The following sections explain how to configure UE Loader.

Setting Up UE Loader Templates


UE Loader requires that each aggregation scenario have a separate UE Loader event input template in XML format to map the data generated by FCT_AggreGate to the input flist for the opcodes that data. Revenue Assurance Manager provides XML templates for each of the preconfigured scenarios. See "About Rating Events Created by External Sources" in BRM Setting Up Pricing and Rating for more information about UE Loader.

Setting Up Batch Controller to Call UE Loader


Batch Controller runs programs such as UE Loader either when a specific event occurs or automatically at timed intervals. See "Controlling Batch Operations" in BRM System Administrator's Guide for instructions on how to configure Batch Controller to run UE Loader to load revenue assurance data into the database. Most implementations use the occurrence-driven execution feature of Batch Controller to run UE Loader whenever FCT_AggreGate creates output files with revenue assurance data.
Important:

If you set up Batch Controller to load scenario data files periodically rather than by occurrence, make sure the files are loaded frequently. Revenue Assurance Center uses the time when records were loaded into the database when it searches for data in time range. For the revenue assurance data to be meaningful, it should be loaded into the database soon after creation.

3-8 BRM Collecting Revenue Assurance Data

Setting Up Revenue Assurance Manager to Collect Data on Written-Off EDRs

Setting Up Revenue Assurance Manager to Collect Data on Written-Off EDRs


For written-off EDRs, Revenue Assurance Manager collects the original batch ID and the number of EDRs that were written off in the batch. See "About Collecting Revenue Assurance Data on Written-Off EDRs" for more information. To collect revenue assurance data on written-off EDRs, do the following:

Enable event notification for Revenue Assurance Manager. See "Configuring Event Notification" for more information.

Set a parameter in the Connection Manager pin.conf file to configure the control point ID to collect the revenue assurance data on written-off EDRs. You can change this control point ID. See "Changing the Control Point for Data on Written-Off EDRs" for more information.

Setting Up Revenue Assurance Manager for Pipeline Batch Rating 3-9

Setting Up Revenue Assurance Manager to Collect Data on Written-Off EDRs

3-10 BRM Collecting Revenue Assurance Data

4
4

Setting Up Revenue Assurance Manager for Billing


This chapter describes how to configure Oracle Communications Billing and Revenue Management (BRM) billing and invoicing to generate data for Revenue Assurance Manager. Before reading this chapter, you should be familiar with the following:

About Collecting Revenue Assurance Data from Billing Running Billing Utilities in BRM Configuring and Running Billing

Configuring BRM Billing to Collect Revenue Assurance Data


Note:

To generate revenue assurance data, you must have Revenue Manager installed. See "Installing Revenue Assurance Manager" for instructions.

You need to complete the following tasks to configure BRM billing for Revenue Assurance Manager:

Enabling Billing Utilities to Generate Revenue Assurance Data Configuring Bill Now, On-Demand Billing, and Auto-Triggered Billing to Collect Revenue Assurance Data

Enabling Billing Utilities to Generate Revenue Assurance Data


By default, billing utilities do not generate revenue assurance data. You enable the utilities to generate data by changing an entry in their configuration (pin.conf) files. You make the same change to three separate configuration files:

BRM_Home/apps/pin_billd/pin.conf BRM_Home/apps/pin_trial_bill/pin.conf BRM_Home/apps/pin_inv/pin.conf

To enable revenue assurance data in billing utilities:


1. 2.

Using a text editor, open the utility configuration file. Change 0 to 1 in the following entry:
- pin_mta enable_ara 0

Setting Up Revenue Assurance Manager for Billing

4-1

Configuring BRM Billing to Collect Revenue Assurance Data

A value of 1 generates revenue assurance data; 0 disables data generation.


3. 4.

Save and close the file. Stop and start the Connection Manager (CM). See the discussion of starting and stopping the BRM system in BRM System Administrator's Guide.

Configuring Bill Now, On-Demand Billing, and Auto-Triggered Billing to Collect Revenue Assurance Data
By default, collecting revenue assurance data for Bill Now, on-demand billing, and auto-triggered billing is disabled. You enable this feature by using the pin_bus_ params utility to modify the EnableARA parameter in the billing instance of the /config/business_params object. Complete these tasks to enable Bill Now, on-demand billing, and auto-triggered billing to generate revenue assurance data:
1.

Run this command to create an editable XML file from the billing instance of the /config/business_params object:
pin_bus_params -r bus_params_billing.xml

This command creates an XML file named bus_params_billing.xml.out in your working directory. (You can specify another location for this file if you want).
2. 3.

Using a text editor, open the new bus_params_billing.xml file. Change disabled to enabled in this entry:
<EnableARA>disabled</EnableARA>

Caution: This file contains the instructions that BRM uses to overwrite the existing /config/business_params object. If you delete or modify other parameters in the file, you may cause unexpected behavior in the BRM A/R configuration.
4. 5.

Save and close the file. Go to BRM_Home/sys/data/config and load the change into the /config/business_ params object by using this command:
pin_bus_params bus_params_billing.xml

Tip: To execute this command from a different directory, see pin_ bus_params in BRM Developer's Guide.

For information on this utility, see pin_bus_params in vT.


6.

To verify that all fields are correct, read the object with the testnap utility or Object Browser.
Tip: See "Using Testnap" and "Reading Objects by Using Object Browser" in BRM Developer's Guide for general instructions on using testnap and for information on how to use Object Browser.

4-2 BRM Collecting Revenue Assurance Data

Configuring BRM Billing to Collect Revenue Assurance Data

7.

Stop and restart the Connection Manager (CM). For more information, see the discussion of starting and stopping the BRM system in BRM System Administrator's Guide.

8.

For multiple databases, run the pin_multidb script with the -R CONFIG parameter. For more information on this script, see pin_multidb in BRM System Administrator's Guide.

Configuring Item Subtypes


For bill items to work as configured in Revenue Assurance Manager, you must configure item subtypes. Item subtypes define the different types of charges for item types such as cycle arrears, cycle forward, cycle forward arrears, and so on. For example, cycle forward fee and cycle arrears fees can be categorized can be included in the recurring subtype and monthly usage in the usage subtype. If you do not configure billable item subtypes, the split revenue assurance data is stored as miscellaneous charges. You define item subtypes in the config_item_types file by using the sub_type property in the ItemType tag. Before configuring item subtypes, you must first configure bill items. See "Creating Custom Bill Items" in BRM Configuring and Running Billing. To configure item subtypes:
1. 2.

Using a text editor, open the config_item_types file in the BRM_ Home/sys/data/pricing/example directory. Define your new item subtypes in the ItemType tag. Use the item subtypes recurring and remit default item subtypes as examples. You can copy and change it as necessary.
<ItemType precreate="false" type="cumulative" sub_type="recurring">/item/cycle_ forward_arrear</ItemType>

Important: Be sure to enter Discount for discount subtypes. Otherwise, Revenue Assurance Center will display the items data on the Revenue sections instead of the Adjustments/Discounts section.
3. 4.

In the Storable Class Editor, create the storable class /item/name, where name is the value in the PIN_FLD_TYPE field of /config/item_types. Run the load_config_item_tags and load_config_item_types utilities in BRM Configuring and Running Billing to configure the item subtypes in the BRM database.

The defined subtypes are displayed in Revenue Assurance Center in the Charge Type column of the Billing Details screen, under the Revenue section, except for subtypes that are defined as discount, which are displayed in the Adjustments/Discounts section of the Billing Details screen. For more information, see Revenue Assurance Center Help.

Setting Up Revenue Assurance Manager for Billing

4-3

Configuring BRM Billing to Collect Revenue Assurance Data

4-4 BRM Collecting Revenue Assurance Data

5
5

Using Batch IDs in Revenue Assurance Manager


This chapter describes how to use batch IDs are used in Oracle Communications Billing and Revenue Management (BRM) Revenue Assurance Manager. Before reading this chapter, you should:

Follow the instructions in "Setting Up Revenue Assurance Manager for Pipeline Batch Rating" to configure Revenue Assurance Manager. Follow the instructions in "About Installing Business Operations Center" and "Customizing Revenue Assurance Center" to install and configure Business Operations Center.

You should also be familiar with the following:


Understanding Revenue Assurance Manager About pipeline rating in BRM Configuring Pipeline Rating and Discounting

Tracking EDRs by Using Batch IDs


In pipeline batch rating, each batch file received from the mediation system is assigned a batch ID, which is stored in every EDR derived from the file. Each EDR also receives a unique event ID.

Note:

The KeepExistingBatchIds registry entry in FCT_PreSuspense module controls the way batch IDs are set. For details, see "Setting the Default Batch ID Behavior".

During rerating and recycling, the EDR receives a new batch ID, but the original batch ID is retained in a different field. Retaining the original batch ID in the EDR makes it possible to determine the revenue impact of EDRs for each batch that is received from mediation, even if some EDRs are rerated or recycled. Revenue Assurance Manager uses the following fields to track EDRs as they are processed by pipelines and as they are rerated or recycled:

DETAIL.BATCH_ID DETAIL.ORIGINAL_BATCH_ID DETAIL.ASS_SUSPENSE_EXT.SUSPENDED_FROM_BATCH_ID

Using Batch IDs in Revenue Assurance Manager

5-1

Tracking EDRs by Using Batch IDs

For example, BRM receives a batch file with batch ID Mediation087. All EDRs for events in the file are assigned this batch ID. The batch rating pipeline processes EDRs from this batch loads their data into the BRM database. Later, some of the EDRs from this batch and a second batch, Mediation099, are rerated. During rerating, the two sets of EDRs from different batches are given the new batch ID ReratingBatch007. When the individual EDRs are given the new batch ID, their original batch IDs are moved to the ORIGINAL_BATCH_ID field. Table 51 contains selected data from an EDR in the batch after rating:
Table 51 Event ID 189 Rating EDR Data Duration 180 Charge 3 Batch ID Mediation087 Original Batch ID Mediation087

Table 52 contains the data for the EDR after rerating:


Table 52 Event ID 189 Rerating EDR Data Duration 180 Charge 5 Batch ID ReratingBatch007 Original Batch ID Mediation087

Keeping Track of Rejected EDRs by Using Batch IDs


When a batch file is processed, some of its EDRs may not be able to be rated because of missing data or another reason. These rejected EDRs can be processed by Suspense Manager and recycled back into the rating pipeline. EDRs that are being rerated can also be rejected and sent to recycling. When Suspense Manager recycles the rerated EDRs back through the pipeline, they receive new batch IDs based on the recycling batch. Their original batch IDs remain to reflect the mediation batch they started in. The suspended-from batch ID field (DETAIL.ASS_SUSPENSE_EXT.SUSPENDED_FROM_BATCH_ID) stores the ID of the batch in which the EDR was rejected. This could be the original batch or a rerating batch. For example, two batches (MED1 and MED2) are received from the mediation system and processed by the batch rating pipeline. Some EDRs from each of the two batches are rejected and then recycled as part of batch RCL1. In addition, some EDRs from the original two batches are rerated as part of batch RRT1. Some of the EDRs in that rerating batch are rejected and then recycled as part of batch RCL2. Table 53 summarizes how the three different batch ID fields change as EDRs are rated, rerated, and recycled.

Table 53

Batch ID Changed Fields Value for BATCH_ ID MED1 MED2 Value for ORIGINAL_ BATCH_ID MED1 MED2 Value for SUSPENDED_ FROM_BATCH_ID MED1*1 MED2*1

Pipeline Process Rating Batch MED1 Rating Batch MED2

5-2 BRM Collecting Revenue Assurance Data

Setting the Default Batch ID Behavior

Table 53 (Cont.) Batch ID Changed Fields Pipeline Process Recycle Batch RCL1 (containing suspended EDRs from MED1 and MED2) Rerating Batch RRT1 (containing EDRs from MED1 and MED2) Recycle Batch RCL2 (containing suspended EDRs from RRT1)
1

Value for BATCH_ ID RCL1

Value for ORIGINAL_ BATCH_ID MED1/MED2

Value for SUSPENDED_ FROM_BATCH_ID MED1/MED2

RRT1 RCL2

MED1/MED2 MED1/MED2

RRT1*1 RRT1

The value of the suspended-from batch ID is ignored in rating and rerating. Because it is left blank, it is assigned the value of batch ID.

By linking the control point in the original mediation pipeline to the control point in the recycle pipeline that processed the rerated EDRs, you can determine the revenue impact for each of the mediation batches and identify the revenue leakage in your system.

Setting the Default Batch ID Behavior


The KeepExistingBatchIds registry entry in FCT_PreSuspense module controls whether the values for batch IDs in EDR records are preserved as originally set by the input module.

A value of True preserves the batch ID in each detail record of the batch input file. A value of False (the default) sets the batch ID of each record to the batch ID contained in the header record of the batch input file.

Using Batch IDs in Revenue Assurance Manager

5-3

Setting the Default Batch ID Behavior

5-4 BRM Collecting Revenue Assurance Data

6
6

Configuring Revenue Assurance Alerts


This chapter describes how to configure alerts based on revenue assurance data collected in your Oracle Communications Billing and Revenue Management (BRM) system. Before reading this chapter, read the following documents:

Understanding Revenue Assurance Manager Installing Revenue Assurance Manager Setting Up Revenue Assurance Manager for Pipeline Batch Rating

About Revenue Assurance Alerts


You can configure Revenue Assurance Manager to send alerts when the data collected meets criteria that you specify. For example, you can configure an alert to be sent when the number of EDRs rejected in one day exceeds a value that you specify. Configuring and using revenue assurance alerts involves:

Configuring alert thresholds in the pin_config_ra_thresholds file and loading them into /config/ra_thresholds objects. See "Configuring Alert Thresholds" for more information.

Configuring email alerts by: Creating the text of the email alerts in the ra_alert_message.locale file and loading it into /strings objects. See "Specifying Email Alert Text" for more information. Defining email details, such as recipient information, in the pin_config_ra_ alerts file and loading it into /config/ra_alerts objects. See "Specifying Email Alert Details" for more information.

Checking for alerts periodically by using the "pin_ra_check_thresholds" utility. See "Generating Revenue Assurance Alerts" for more information.

Alerts also require that event notification be configured. See "Configuring Event Notification" for more information. You can customize the default alert behavior by changing the PCM_OP_PROCESS_ AUDIT_POL_ALERT opcode. For example, you could customize the opcode to log alert information in addition to sending emails. For details, see "Customizing Alert Behavior" for more information.

Configuring Revenue Assurance Alerts

6-1

Configuring Alert Thresholds

Configuring Alert Thresholds


You configure alert thresholds in the pin_config_ra_thresholds file. When you configure an alert threshold, you define:

The data you want to check and the time period in which it will be checked. See "Defining Threshold Data and Time Periods" for more information.

Optional filter criteria to narrow results. See "Defining Filter Conditions" for more information.

Minimum and maximum threshold values for the data you specify. See "Defining Field Value Ranges" for more information.

The values you specify work together to determine whether an alert is triggered. All conditions must be met for an alert to be triggered. The pin_config_ra_thresholds file includes syntax information and examples. Consult the file for more information. Use this section to supplement the information in the file. After your alert thresholds are defined in pin_config_ra_thresholds, you load that information into the databases /config/ra_thresholds objects. See "Loading Alert Details into the Database" for more information.

Defining Threshold Data and Time Periods


You define an alert thresholds data and time periods in a line with the following syntax:
RA_Threshold: <Threshold Name> <Obj Type> <Date Range Type> <WeekDay> <Number of Units> <Start Offset> <Length of Period> <Secs/Mins/Hrs>

For example:
RA_Threshold: Rejected_EDRs_Per_Day /process_audit/batchstat/status 1 1 1 16:00:00 0 Secs

Table 61 provides explanations of the parameters in the definition.

6-2 BRM Collecting Revenue Assurance Data

Configuring Alert Thresholds

Table 61 Parameter

Threshold Parameters Description Defines the threshold name that is used when the alert is issued. The name should be as descriptive as possible. For example, Duplicate_SMS_EDRs_Per_Week is a good name for a weekly alert for the number of duplicate SMS EDRs. Specifies the /process_audit subclass that contains the threshold value to be checked. For example, to generate alerts when the number of rejected EDRs reaches a certain value, enter /process_audit/batchstat/status. Determines the time range covered by the alert. There are three options:

Threshold Name

Obj Type

Date Range Type

Enter 0 to specify an alert configured for a specific time period. For example, you can configure a period alert to check data between 8:00 a.m. and 5:00 p.m. The time period is based on the process end time (PIN_FLD_PROCESS_END_T in the /process_audit object). Period alerts require a value for the Length of Period parameter. Enter 1 to specify a daily alert configured to repeat on a 24-hour basis. For example, you can configure a daily alert to check data every day from 4:00 p.m. on the current day to 4:00 p.m. the next day. Enter 2 to specify an alert configured to run for an entire week. For example, you can configure a weekly alert to check data from 8:00 a.m. Monday to 8:00 a.m. the following Monday.

WeekDay

Indicates the day of the week on which a period or weekly alert is processed. Each day is represented by a numerical value between 1 (Sunday) and 7 (Saturday). Note: This entry is not valid for daily alerts; set the value to 0.

Number of Units

Indicates how many days or weeks a daily or weekly alert will be processed. For example, if a daily alert needs to be processed for five days, enter 5. Note: This entry is not applicable to period alerts. Set the value to 0 if you are configuring a period alert.

Start Offset

Specifies the time of day at which the alert starts. This value should be specified the start time in hours, minutes, and seconds, expressed in 24-hour format. For example, to start an alert at 4:00 p.m., you must specify the start offset time as 16:00:00. Specifies the duration of period alerts, expressed in seconds, minutes, or hours (depending on the value specified in the next parameter). The duration must be less than or equal to one week. Note: This parameter is applicable only to period alerts. For other alert types, set to 0.

Length of Period

Secs/Mins/Hrs

Specifies the time unit that applies to the Length of Period parameter - seconds (Secs), minutes (Mins), or hours (Hrs). This value is ignored for daily and weekly alerts.

Defining Filter Conditions


You set filter conditions by specifying required values for a field or fields in the /process_audit objects defined for the threshold. For example, if the threshold is checking /process_audit/batchstat/status objects, you could specify that the value of the PIN_FLD_EDR_STATUS field must be REJECTED. You can enter more than one filter for a threshold. Data must meet all filter conditions. You define filter conditions with the following syntax:
RA_Filter: <Filter Field Name> <Filter Field Name> <Filter Int Value> <Filter Int Value> <Filter String Value> <Filter String Value>

For example:
RA Filter: Configuring Revenue Assurance Alerts 6-3

Configuring Alert Thresholds

PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_STATUS 0 REJECTED PIN_FLD_GROUP_DETAILS.PIN_FLD_SVC_TYPE 0 SMS

Defining Field Value Ranges


You define threshold values in alerts so that when the thresholds are reached or crossed, the alert generates notifications. You set threshold values by specifying a minimum and maximum value for a field in the /process_audit objects defined for the threshold. For the threshold to be reached, the value of the field must be less than or equal to the minimum value or greater than or equal to the maximum value. For example, if the threshold applies to /process_audit/batchstat/status objects, you could specify 0 and 75 as the minimum and maximum value for the PIN_FLD_EDR_ COUNT field. You can define multiple field value ranges for the same field. This allows you to send a new alert when the field value reaches a new threshold. For example, you could define an additional field value range for the PIN_FLD_EDR_COUNT field with a maximum of 150. This would trigger an alert if the value continues to rise after the initial alert at 75. You define the field value range with the following syntax:
RA_Field_Value_Range: <Field Name> <Max_Field_Value> <Field Name> <Max_Field_Value> <Min_Field_Value> <Min_Field_Value>

For example:
RA_Field_Value_Range: PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_COUNT PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_COUNT 50 0 150 0

Period Alert Example


This period alert runs from 8 a.m. to 5 p.m. every Friday, and is triggered when the number of rejected EDRs exceeds 75 for that period:
RA_Threshold: Rejected_EDRs_Per_Day /process_audit/batchstat/status 0 6 0 08:00:00 9 Hrs

RA Filter: PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_STATUS RA_Field_Value_Range: PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_COUNT

REJECTED

75

Daily Alert Example


This alert runs daily starting at 4:00 p.m. It is triggered when the number of rejected EDRs reaches 1000 for the day. The alert is scheduled to repeat for 90 days.
RA_Threshold: Rejected_EDRs_Per_Day /process_audit/batchstat/status 1 0 90 16:00:00 0 Secs

RA Filter: PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_STATUS RA_Field_Value_Range: PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_COUNT

REJECTED

1000

6-4 BRM Collecting Revenue Assurance Data

Configuring Alert Thresholds

Weekly Alert Example


This alert runs weekly starting at 8:00 a.m. on Monday. It is triggered when the number of rejected SMS EDRs reaches 100 during that period and again when the number reaches 250. It will be valid for an entire year (52 weeks).
RA_Threshold: Reject_SMS_EDRs_Week /process_audit/batchstat/svctype_revstream 2 2 52 08:00:00 0 Secs

RA Filter: PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_STATUS 0 REJECTED PIN_FLD_GROUP_DETAILS.PIN_FLD_SVC_TYPE 0 SMS RA_Field_Value_Range: PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_COUNT PIN_FLD_GROUP_DETAILS.PIN_FLD_EDR_COUNT

100 250

0 0

Loading Alert Details into the Database


After you have configured alert details, you use the "load_pin_config_ra_thresholds" utility to load them into the /config/ra_thresholds object. The "pin_ra_check_ thresholds" utility then uses the threshold information in the /config/ra_thresholds object to search revenue assurance data when it generates alerts.

Loading Alert Details by Using load_pin_config_ra_thresholds


To load your threshold values into the BRM database:
Important:

The load_pin_config_ra_thresholds utility needs a configuration (pin.conf) file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information. If the utility fails, it does not overwrite the existing data.

1. 2. 3. 4.

Open the BRM_Home/sys/data/config/pin_config_ra_thresholds file in a text editor. Use the instructions and examples in pin_config_ra_thresholds to configure alert details. Save and close the file. Load the alert details into the database by using this command:
load_pin_config_ra_thresholds pin_config_ra_thresholds

If you do not run the utility from the directory in which the file is located, include the complete path to the file; for example:
load_pin_config_ra_thresholds BRM_Home/sys/data/config/pin_config_ra_thresholds

Tip: If you copy the pin_config_ra_thresholds file to the directory from which you run the load_pin_config_ra_thresholds utility, you dont have to specify the path or file name. The file must be named pin_config_ra_thresholds.

See "load_pin_config_ra_thresholds" for more information.

Configuring Revenue Assurance Alerts

6-5

Configuring Email Alerts

To verify that the alert details were loaded, display the /config/ra_thresholds object by using Object Browser, or use the robj command with the testnap utility. See "Reading an Object and Writing its Contents to a File" in BRM Developer's Guide for more information.

Configuring Email Alerts


Configuring email alerts involves these tasks:

Specifying the text you want in alert emails and optionally localizing that text. See "Specifying Email Alert Text" for more information.

Specifying email details and loading them into the database. See "Specifying Email Alert Details" for more information.

Specifying Email Alert Text


You configure the subject and message body of email alert messages in the locale of your choice. To configure email alert messages in U.S. English, edit the BRM_ Home/sys/msgs/revenueassurance/ra_alert_message.en_US file. This file includes a default subject line and message body that you can edit. The file also includes information about syntax and required elements, which follow standard rules for localized string files. See "Localizing and Customizing Strings" in BRM Developer's Guide for more information. You can use substitution parameters in the file that are replaced with appropriate information when the alert email is sent. These are the substitution parameters you can use:

%ALERT_NAME - replaced with the alert name. %START_TIME - replaced with the start time of the period for which alert was generated. %END_TIME - replaced with end time of the period for which alert was generated. %OBJECT_TYPE - replaced with object type value configured for the alert. %FILTERS - replaced with the field-value pairs of the filter conditions defined for the alert. %THRESHOLD_VALUES - replaced with the field and corresponding minimum and maximum limits defined for the alert. %LINE_BREAK - replaced with new line. (Applicable to the message body only.)

The default subject line is:


Alert %ALERT_NAME has crossed defined threshold values.

The default message body defined in the file is:


The alert %ALERT_NAME has crossed defined threshold values for the period %START_ TIME to %END_TIME. %LINE_BREAK The alert is configured as given below: %LINE_BREAK ObjectType = %OBJECT_TYPE %LINE_BREAK Filter = %FILTERS %LINE_BREAK Threshold Values = %THRESHOLD_VALUES"

You can define localized versions of the email alert text by creating ra_alert_ message.locale files with the appropriate file name extension for the locales. See

6-6 BRM Collecting Revenue Assurance Data

Configuring Email Alerts

"Creating New Strings and Customizing Existing Strings" in BRM Developer's Guide for more information. After defining the email text, you use the load_localized_strings utility to load the contents of the file into the /strings objects. This is the load command syntax:
load_localized_strings ra_alert_message.locale

See load_localized_strings in BRM Developer's Guide for more information.


Note:

When loading a localized version of this file, be sure to use the correct file extension for your locale. See "Locale Names" in BRM Developer's Guide for a list of file extensions.

See "Loading Localized or Customized Strings" in BRM Developer's Guide for more information.

Specifying Email Alert Details


You specify recipients and other details about email alerts in the pin_config_ra_alerts file. You specify these details for each alert:

Name of the alert Locale to be used for subject and email body. The locale determines which localized version of the alert text is sent.

Name of the sender Email addresses of recipients

You define the sender name and locale for each alert in a single line with this syntax:
RA_Alert: Alert_Name Sender_Name Locale

Note:

Each entry must begin with RA_Alert; the text is case-sensitive.

The Alert_Name parameter must be the name of an alert as defined in the pin_config_ ra_thresholds file. The sender name is the name you want to appear in the From line of emails. You define recipients for each alert by specifying email addresses and types in a block below the RA_Alert line. Use this syntax:
Email_addr_1 Email_Type> Email_addr_2 Email_Type> Email_addr_3 Email_Type>

The email type is optional. It determines how the email is sent to the recipient. Valid values are:

1 - Email is addressed directly to the recipient. 2 - The recipient receives a copy (CC). 3 - The recipient receives a blind copy and doesnt see other recipients (BCC).

Configuring Revenue Assurance Alerts

6-7

Configuring Email Alerts

4 - Specifies that the address is to be used as the Reply To value in the alert message. This address is not a recipient of the alert email.

The default value is 1, which is used if no type is specified. The following example configures email notification for the Rejected_EDRs_Per_Day alert. The sender of alert emails is RA_NOTIFICATION. The primary recipient is RA_ [email protected] and [email protected] receives a copy.
RA_Alert: Rejected_EDRs_Per_Day RA_NOTIFICATION en_US

[email protected] 1 [email protected]

For additional information see, the BRM_Home/sys/data/config/pin_config_ra_alerts file, which includes syntax information and examples. After configuring alert details, you load the file into the database by using the "load_ pin_config_ra_alerts" utility. Email alert data is stored in the /config/ra_alerts object.
Important:

The load_pin_config_ra_alerts utility needs a configuration (pin.conf) file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information. If the utility fails, it does not overwrite the existing data.

To configure and load email details:


1. 2. 3. 4.

Open the BRM_Home/sys/data/config/pin_config_ra_alerts file in a text editor. Add your email details to the file. The file includes instructions and sample data. Save and close the file. Load the email details into the database by using this command:
load_pin_config_ra_alerts pin_config_ra_alerts

If you do not run the utility from the directory in which the file is located, include the complete path to the file; for example:
load_pin_config_ra_alerts BRM_Home/sys/data/config/pin_config_ra_alerts

Tip: If you copy the pin_config_ra_alerts file to the directory from which you run the load_pin_config_ra_alerts utility, you dont have to specify the path or file name. The file must be named pin_config_ ra_alerts.

See "load_pin_config_ra_alerts" for more information. To verify that the email details were loaded, you can display the /config/ra_alerts object by using Object Browser, or use the robj command with the testnap utility. See "Reading an Object and Writing its Contents to a File" in BRM Developer's Guide for more information.

6-8 BRM Collecting Revenue Assurance Data

Generating Revenue Assurance Alerts

Generating Revenue Assurance Alerts


You use the "pin_ra_check_thresholds" utility to check alert thresholds periodically. You can run pin_ra_check_thresholds as part of a chron, chrontab, or at script, or you can run it manually. This utility checks the /config/ra_thresholds object for the revenue assurance thresholds you have set. If it finds that a threshold has been crossed, it generates a notification event that causes the PCM_OP_PROCESS_AUDIT_POL_ALERT policy opcode to prepare and send an email. You can customize the opcode to change the default alert behavior. See "Customizing Alert Behavior" for more information.
Important: The pin_ra_check_thresholds utility needs a configuration (pin.conf) file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information.

Use this command to run the pin_ra_check_thresholds utility:


pin_ra_check_thresholds

See "pin_ra_check_thresholds" for more information.

Configuring Revenue Assurance Alerts

6-9

Generating Revenue Assurance Alerts

6-10 BRM Collecting Revenue Assurance Data

7
7

Using Revenue Assurance Aggregation Scenarios


This chapter describes the aggregation scenarios provided to collect revenue assurance data from Oracle Communications Billing and Revenue Management (BRM) pipeline batch rating. Before you read this chapter, you should be familiar with these concepts:

Pipeline batch rating and aggregation scenarios. See "About Pipeline Rating" in BRM Configuring Pipeline Rating and Discounting and the discussion of aggregation scenarios in Pricing Center Help for more information. How Revenue Assurance Manager uses control points and aggregation scenarios. See "About Control Points" and "About Aggregation Scenarios" for more information.

About Aggregation Scenarios


Aggregation scenarios specify the data that is collected by Revenue Assurance Manager from pipeline batch rating. You must specify an aggregation scenario at every control point you set up in the pipeline. Revenue Assurance Manager includes scenarios that are suitable for use in a production system. These scenarios group revenue assurance data in different ways. See "Data Fields Collected by All Scenarios" for a list of the fields from which the scenarios collect data. See "Fields Used to Group Scenario Data" for a list of the fields by which the scenarios can group data. For example, the EDR statistics for scenario RA_03 are grouped by service type, such as TEL, SMS, or GPRS. Data, such as event count, retail charged amount, and so on, is aggregated for each service type. Most of the scenarios group by combinations of grouping fields. For example, scenario RA_04 groups fields by both service type (TEL, SMS, and so on) and EDR status (duplicate, rejected, written-off or successful). Data is aggregated separately for each combination; duplicate EDRs for the SMS service, for example. If the preconfigured scenarios dont meet your business needs, you can also create your own. For details, see "Creating New Aggregation Scenarios for Revenue Assurance" and instructions for defining aggregation scenarios in Pricing Center Help.
Note:

Custom scenarios require custom UEL templates and cannot be used with Revenue Assurance Center.

Using Revenue Assurance Aggregation Scenarios 7-1

Data Fields Collected by All Scenarios

Before you can use the preconfigured scenarios, you must load them into the pipeline database. See "Loading Scenarios into the Pipeline Manager Database" for instructions.

Data Fields Collected by All Scenarios


All of the preconfigured aggregation scenarios collect statistics from the EDR fields listed in Table 71:

Table 71 Field

All Scenarios Data Fields Description Number of EDRs. Retail charged amount collected. Total wholesale amount charged for the EDR, if appropriate. Discount amount applied. Total usage time, in seconds, if appropriate (for example, for a voice call). Data transferred in bytes, if appropriate (for example, for a GPRS event). Data received in bytes, if appropriate (for example, for a GPRS event). The earliest call start timestamp. The latest call start timestamp.

Event count Retail charged amount Event wholesale value Discount amount Duration Volume sent Volume received Earliest call made Latest call made

Fields Used to Group Scenario Data


The EDR data fields in Table 72 are available to use for grouping data.
Table 72 Grouping Data Fields Description Batch ID of the batch being processed. Mediation batch ID of the rerating or recycling EDR batches. The batch ID from which the EDR was suspended. Type of service, such as TEL, SMS, or GPRS. Retail, Wholesale, or Roaming. The output stream of the EDR. This is based on the service type; for example, if the service type is SMS, the output stream is SMS. Success, Suspense, Duplicate, Discard, Rejected, or Skipped. Suspense reason code assigned to the EDR.

Grouping Field Batch ID Original batch ID Suspended from batch ID Service type Revenue stream Output stream

EDR status Suspense code

7-2 BRM Collecting Revenue Assurance Data

Preconfigured Aggregation Scenario Details

Preconfigured Aggregation Scenario Details


Table 73 provides information about the Revenue Assurance Manager preconfigured aggregation scenarios.

Table 73

RA Manager Preconfigured Aggregation Scenarios Collects Data for an EDR Batch Based On An EDR batch. Grouping Fields (Listed in the Grouping Order) Batch ID, Original batch ID, Suspended from batch ID Batch ID, Original batch ID, Suspended from batch ID, EDR status Batch ID, Original batch ID, Suspended from batch ID, Service type Batch ID, Original batch ID, Suspended from batch ID, Service type, EDR status Installation iScripts Point Required Anywhere in a pipeline Anywhere in a pipeline After FCT_ ServiceCod eMap After FCT_ Servicecode Map None

Scenario/ File Name RA_01, Batchstatat_ simple RA_02, BatchStat_ status RA_03, BatchStat_ SvcType RA_04, BatchStat_ SvcTypeStatu s

Storable Class /process_ audit/batchstat/si mple /process_ audit/batchstat/st atus /process_ audit/batchstat/s vctype /process_ audit/batchstat/s vctype_status

EDR Status.

ISC_ SetEDRStat us None

Service type.

Service type and EDR status. Using this scenario, you can find the number of records that are duplicate, rejected, or successful for each service type. Revenue stream. The revenue streams are: Retail, Wholesale, and Roaming.

ISC_ SetEDRStat us

RA_05, BatchStat_ RevenueStrea m

Batch ID, Original batch ID, Suspended from batch ID, Revenue stream Batch ID, Original batch ID, Suspended from batch ID, Revenue stream, EDR status

/process_ After Post audit/batchstat/re Rating vstream

ISC_ SetRevenue Stream

RA_06, Revenue stream and BatchStat_ EDR status. Revenue Stream_Status

After Post /process_ audit/batchstat/re Rating vstream_status

ISC_ SetRevenue Stream, ISC_ SetEDRStat us ISC_ SetRevenue Stream ISC_ SetRevenue Stream, ISC_ SetEDRStat us ISC_ SetRevenue Stream

RA_07, BatchStat_ RevenueStrea m_SvcType RA_08, BatchStat_ RevenueStrea m_ ServiceType_ Status RA_09, BatchStat_ SvcType_ RevenueStrea m

Revenue stream and service type.

Batch ID, Original batch ID, Suspended from batch ID, Revenue stream, Service type Batch ID, Original batch ID, Suspended from batch ID, Revenue stream, Service type, EDR status Batch ID, Original batch ID, Suspended from batch ID, Revenue stream, Service type

/process_ After Post audit/batchstat/re Rating vstream_svctype /process_ After Post audit/batchstat/re Rating vstream_svctype_ status

Revenue stream, service type, and EDR status.

Service type and the revenue stream.

After Post /process_ audit/batchstat/re Rating vstream_status_ svctype

Using Revenue Assurance Aggregation Scenarios 7-3

Preconfigured Aggregation Scenario Details

Table 73 (Cont.) RA Manager Preconfigured Aggregation Scenarios Scenario/ File Name RA_10, BatchStat_ ServiceType_ RevenueStrea m_Status RA_11, BatchStat_ Outputstream RA_12, BatchStat_ ServiceType_ RevenueStrea m_ Outputstream RA_13, BatchStat_ Suspense RA_14, BatchStat_ ServiceType_ RevenueStrea m_Status_ Outputstream Collects Data for an EDR Batch Based On Service type, revenue stream, and EDR status. Grouping Fields (Listed in the Grouping Order) Batch ID, Original batch ID, Suspended from batch ID, Revenue stream, Service type, EDR status Batch ID, Original batch ID, Suspended from batch ID, Output stream Batch ID, Original batch ID, Suspended from batch ID, Output stream, Service type, Revenue stream Installation iScripts Point Required After Post Rating ISC_ SetRevenue Stream, ISC_ SetEDRStat us ISC_ SetOutputSt ream ISC_ SetRevenue Stream and ISC_ SetOutputSt ream None

Storable Class /process_ audit/batchstat/s vctype_ revstream_status

Output stream.

/process_ audit/batchstat/o utputstream /process_ audit/batchstat/s vctype_ revstream_ outputstream

Just before output

Service type, revenue stream, and output stream.

Just before output

Suspense reason code. Batch ID, Original batch /process_ ID, Suspended from audit/batchstat/s batch ID, Suspense code uspense Service type, revenue stream, EDR status, and output stream. Batch ID, Original batch ID, Suspended from batch ID, Service type, Revenue stream, EDR status, Output stream /process_ audit/batchstat/s vctype_ revstream_ status_ outputstream

After FCT_ Suspense Just before output

ISC_ SetRevenue Stream, ISC_ SetOutputSt ream, and ISC_ SetEDRStat us

7-4 BRM Collecting Revenue Assurance Data

8
8

Customizing Revenue Assurance Manager


This chapter describes how to customize Oracle Communications Billing and Revenue Management (BRM) Revenue Assurance Manager. See "Understanding Revenue Assurance Manager" for general information about Revenue Assurance Manager and its capabilities. To customize Revenue Assurance Manager, you should have knowledge of the Pipeline Manager system architecture, BRM system architecture, PCM opcodes, flists, storable classes, aggregation scenarios, iScripts, and iRules. For more information, see:

BRM Concepts BRM System Administrator's Guide BRM Developer's Guide

About the Revenue Assurance Manager Opcodes


Revenue Assurance Manager uses these Process Audit FM standard opcodes:

PCM_OP_PROCESS_AUDIT_CREATE. This opcode creates audit objects for revenue assurance. It is called by PCM_OP_ BILL_MAKE_BILL_NOW and PCM_OP_BILL_MAKE_BILL_ON_DEMAND and the UE Loader. This opcode performs the following actions: Reads the primary database ID for storing /process_audit objects. Calls the PCM_OP_PROCESS_AUDIT_CREATE_AND_LINK opcode to create /process_audit/batchstat objects. Calls the PCM_OP_PROCESS_AUDIT_POL_CREATE policy opcode to validate data and check for duplicate objects. Calls PCM_OP_CREATE_OBJ to create audit objects.

PCM_OP_PROCESS_AUDIT_CREATE_AND_LINK. This opcode creates /process_audit/batchstat objects and links them together. This opcode performs the following actions: Calls the PCM_OP_PROCESS_AUDIT_POL_CREATE_AND_LINK policy opcode to check for duplicate objects and entries. Calls the PCM_OP_PROCESS_AUDIT_LINK opcode to create the necessary links between /process_audit/batchstat objects.

Customizing Revenue Assurance Manager

8-1

About the Revenue Assurance Manager Opcodes

PCM_OP_PROCESS_AUDIT_LINK. This opcode links /process_audit/batchstat objects according to the configuration specified in the /config/link_controlpoint object.

PCM_OP_PROCESS_AUDIT_CREATE_WRITEOFF_SUMMARY. This opcode creates a summary of a write-off operation. It is triggered by a notification event generated by Suspense Manager when a suspended EDRs are written off. This opcode gets information about the written-off EDRs from the notification event, including the EDRs suspended batch ID and its original batch ID.

PCM_OP_PROCESS_AUDIT_SEARCH. This opcode searches for and returns revenue assurance data from groups of /process_audit/batchstat objects. You pass in: A /process_audit/batchstat object subclass type. A control point name. The detailed grouping or summary data you want. The type of search to perform.

The opcode returns the relevant statistics.

Using Policy Opcodes to Customize Revenue Assurance Manager


You can use the following policy opcodes to customize Revenue Assurance Manager:

PCM_OP_PROCESS_AUDIT_POL_CREATE. See "Customizing Audit Object Validation" for more information.

PCM_OP_PROCESS_AUDIT_POL_CREATE_AND_LINK. See "Customizing /process_audit/batchstat Object Validation" for more information.

PCM_OP_PROCESS_AUDIT_POL_ALERT. See "Customizing Alert Behavior" for more information.

PCM_OP_PROCESS_AUDIT_POL_CREATE_WRITEOFF_SUMMARY. See "Customizing the Revenue Assurance Written-Off EDR Summaries" for more information.

Customizing Audit Object Validation


The PCM_OP_PROCESS_AUDIT_POL_CREATE policy opcode checks for duplication of audit objects and validates audit data. It is called by the PCM_OP_PROCESS_ AUDIT_CREATE opcode. This policy opcode performs the following actions:

Checks for duplicate objects and validates data. Performs validation only if there are no duplicate audit objects.

The opcode returns any validated data and duplicate records.

8-2 BRM Collecting Revenue Assurance Data

About the Revenue Assurance Manager Opcodes

You can customize PCM_OP_PROCESS_AUDIT_POL_CREATE by modifying the fields in the flist, modifying duplicate checks, and adding validation checks.

Customizing /process_audit/batchstat Object Validation


To validate /process_audit/batchstat objects, use the PCM_OP_PROCESS_AUDIT_ POL_CREATE_AND_LINK policy opcode. This opcode checks for duplication of audit objects and entries. It is called by PCM_ OP_PROCESS_AUDIT_CREATE_AND_LINK. You can customize this opcode by modifying the fields in the flist, modifying duplicate checks, and adding validation checks. This opcode sets and returns errors if there are any duplicate objects or entries, otherwise it returns the POIDs of the /process_audit/batchstat objects.

Customizing Alert Behavior


Revenue Assurance Manager uses the PCM_OP_PROCESS_AUDIT_POL_ALERT policy opcode to send email alerts when configured threshold values are crossed. See "Configuring Email Alerts" for information on configuring email alerts. PCM_OP_PROCESS_AUDIT_POL_ALERT reads the details of the alert from the notification event and sends an alert email message using the details in the /config/ra_ alerts object. These details include the recipient e-mail addresses, the locale to be used for subject, and the message body text. PCM_OP_PROCESS_AUDIT_POL_ALERT calls the PCM_OP_DELIVERY_MAIL_ SENDMSGS opcode to send email messages using dm_email. You can customize this opcode to notify an external system or change email. For example, you may want to send alerts via text messages or collect alert information in error logs in addition to sending emails.

Customizing the Revenue Assurance Written-Off EDR Summaries


After Suspense Manager writes off an EDR, Revenue Assurance Manger creates a summary of the EDR by calling the PCM_OP_PROCESS_AUDIT_POL_CREATE_ WRITEOFF_SUMMARY policy opcode. You can change this process by adding custom code to this opcode. By default, PCM_OP_PROCESS_AUDIT_POL_PREPARE_WRITEOFF_SUMMARY reads fields from /suspended_usage/telco object and maps them to fields in the /process_audit/batchstat/status object. Table 81 below shows the mapping; the new fields are grouped by Batch ID and Original batch ID:
Table 81 RA Manager Field Mapping To these Fields in /process_ audit/batchstat/status PIN_FLD_VOLUME_RECEIVED PIN_FLD_BYTES_VOLUME_SEND PIN_FLD_BYTES_EVENT_DURATION PIN_FLD_BYTES_EDR_COUNT

Maps these Fields in /suspended_ usage/telco PIN_FLD_BYTES_IN PIN_FLD_BYTES_OUT PIN_FLD_BYTES_CALL_DURATION PIN_FLD_BYTES_EDR_COUNT

Customizing Revenue Assurance Manager

8-3

Creating New Aggregation Scenarios for Revenue Assurance

PCM_OP_PROCESS_AUDIT_POL_PREPARE_WRITEOFF_SUMMARY sets and returns errors if there are any objects other than /suspended_usage/telco objects in the input flist. You can change the behavior of PCM_OP_PROCESS_AUDIT_POL_PREPARE_ WRITEOFF_SUMMARY to read and aggregate any fields of the /suspended_usage storable class and its subclasses. The opcode can then map this data to corresponding fields in the /process_audit/batchstat/status storable class.

Creating New Aggregation Scenarios for Revenue Assurance


Revenue Assurance Manger uses aggregation scenarios to group the data that it collects from the pipeline. If the aggregation scenarios provided with Revenue Assurance Manager do not meet you needs, you can create your own.
Note:

You cant view data from custom scenarios in Revenue Assurance Center.

See "About Aggregation Scenarios" for more information on how Revenue Assurance Manager uses aggregation scenarios. To create your own aggregation scenarios:
1.

Create an aggregation scenario by using Pricing Center. See the discussion of working with aggregation scenarios in Pricing Center Help.

2.

Create the appropriate /process_audit/batchstat subclasses. See "Creating Custom Fields and Storable Classes" in BRM Developer's Guide for more information.

Note:

The new subclasses created must contain an array field of type PIN_FLD_GROUP_DETAILS. The PIN_FLD_ORIGINAL_BATCHID field must also be created in the array.

3.

Create the XML templates used by Universal Event (UE) Loader to load the aggregation data generated by the new scenario. For more information on how to create new UE Loader templates, see Developer Center Help.

4.

Modify the PCM_OP_PROCESS_AUDIT_POL_CREATE_AND_LINK policy opcode to check for duplication of records in the newly created /process_audit object. See "Customizing /process_audit/batchstat Object Validation" for more information.

Changing the Control Point for Data on Written-Off EDRs


The control point ID to collect revenue assurance data on written-off EDRs is configured in the Connection Manager configuration file (BRM_ Home/sys/cm/pin.conf). See "About Collecting Revenue Assurance Data on Written-Off EDRs" for more information.

8-4 BRM Collecting Revenue Assurance Data

Customizing Revenue Assurance Center

To change the control point ID:


1. 2.

Open the Connection Manager (CM) BRM_Home/sys/cm/pin.conf file in a text editor. Change the control point ID in the writeoff_control_point_id entry. The default control point ID is CP_SuspenseWriteOff.

3. 4.

Save and close the file. Stop and restart the CM. See the discussion of starting and stopping the BRM system in BRM System Administrator's Guide for more information.

Customizing Revenue Assurance Center


You can use the racustom.properties file to customize some features in Revenue Assurance Center. The file is located in BusinessOperationsCenter_ home\RevenueAssuranceCenter\lib. This is the text of the racustom.properties file:
# racustom.properties # Revenue Assurance Center's customizable properties file # RA Details screen default view by option is configured using the # following key. The valid value for this key should be any of 0 #or 1 or 2 or 3 or 4 #Service Type = 0 #BatchID = 1 #Revenue Stream = 2 #Output Stream = 3 #Suspense Reason = 4 ra.ratingdetail.default.viewby.value=0 ra.reratingdetail.default.viewby.value=0 ra.status.success=Success ra.status.suspended=Suspense ra.status.writtenoff=WRITTEN-OFF ra.searchdlg.rating.servicetype.items=SMS,GSM ra.searchdlg.rating.revenuestream.items=Wholesale,Retail ra.searchdlg.rerating.servicetype.items=SMS,GSM ra.searchdlg.rerating.revenuestream.items=Wholesale,Retail ra.common.currency.symbol=$ ra.common.decimal.separator=. ra.common.currentlocale=en

The file specifies:

The option settings from the Revenue Assurance Center Customize Table dialog box. The default grouping parameter for the Revenue Assurance Center Details screen. The Details screen displays revenue assurance data organized by the default grouping parameter. You can manually change this default configuration by changing the number value in the strings of this type:
ra.ratingdetail.default.viewby.value=0

The line above shows Service Type selected as the default. If you change 0 to 2, your default option becomes Revenue Stream.

Customizing Revenue Assurance Manager

8-5

Customizing Revenue Assurance Center

The Service type search options in the rating and rerating Search dialog box. Add service types to these lines to add search options to the dialog box:
ra.searchdlg.rating.servicetype.items=SMS,GSM ra.searchdlg.rerating.servicetype.items=SMS,GSM

The revenue stream options in the rating and rerating Search dialog boxes. Add revenue streams to these lines to add search options to the dialog box:
ra.searchdlg.rating.revenuestream.items=Wholesale,Retail ra.searchdlg.rerating.revenuestream.items=Wholesale,Retail

The default system currency. The default is US Dollars (ISO code 840); you can change this to any other currency type. To change the default currency to Euros, use the Unicode escape sequence code shown below:
ra.common.currency.symbol=\u20AC

The default decimal separator (.) for the default currency. If the default currency is changed from US Dollars to euros, change the decimal separator to a comma (,).
ra.common.decimal.separator=,

The current locale of the BRM server in which CM is running. You can change this locale if necessary. The default setting is English.
ra.common.currentlocale=en

Table 82 lists the additional locales that are supported:


Table 82 Language German Portuguese (Brazilian) Japanese Spanish French Italian Supported Locales Locale de pt_BR ja es fr it

8-6 BRM Collecting Revenue Assurance Data

9
9

Revenue Assurance Utilities

This chapter provides reference information for Oracle Communications Billing and Revenue Management (BRM) revenue assurance utilities.

Revenue Assurance Utilities

9-1

load_ara_config_object

load_ara_config_object
Use the load_ara_config_object utility to specify how to check for duplicate audit objects. This utility loads data into the /config/process_audit_conf object in the Oracle Communications Billing and Revenue Management (BRM) database.
Caution:

The load_ara_config_object utility overwrites existing /config/process_audit_conf objects. If you are updating existing configuration data, you cannot load new configuration data only. You must load complete sets of configuration data each time you run the load_ara_config_object utility.

Important:

To connect to the BRM database, the load_ara_config_ object utility needs a configuration file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information.

Location
BRM_Home/bin

Syntax
load_ara_config_object pin_config_audit_conf_file

Parameters
pin_config_audit_conf_file

The name and location of the file that defines the /process_audit object fields used for performing duplicate checks. By default, the utility uses the BRM_ Home/sys/data/config/pin_config_audit_conf file.
Tip:

The file must be named pin_config_audit_conf.

If you run the command in a different directory from where the pin_config_audit_ conf file is located, you must include the entire path for the file.

Results
The load_ara_config_object utility notifies you only if it encounters errors. Look in the default.pinlog file for errors. This file is either in the directory from which the utility was started, or in a directory specified in the utility configuration file.

9-2 BRM Collecting Revenue Assurance Data

load_pin_config_batchstat_link

load_pin_config_batchstat_link
The load_pin_config_batchstat_link utility loads linking data into the /config/link_ batchstat object in the Oracle Communications Billing and Revenue Management (BRM) database.
Caution: The load_pin_config_batchstat_link utility overwrites existing /config/link_batchstat objects. If you are updating existing linking data, you cannot load new linking data only. You must load complete sets of linking data each time you run the load_pin_config_ batchstat_link utility.

Important:

To connect to the BRM database, the load_pin_config_ batchstat_link utility needs a configuration file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information.

Location
BRM_Home/bin

Syntax
load_pin_config_batchstat_link pin_config_batchstat_link_file

Parameters
pin_config_batchstat_link_file

The name and location of the file that defines the linking data objects. The default pin_ config_batchstat_link file is in BRM_Home/sys/data/config/pin_config_batchstat_ link.
Tip: If you copy the pin_config_batchstat_link file to the directory from which you run the load_pin_config_batchstat_link utility, you dont have to specify the path or file name.

If you load the pin_config_batchstat_link file from a different directory, you must include the entire path for the file.

Results
If the utility doesnt notify you that it was successful, look in the default.pinlog file to find any errors. This file is either in the directory from which the utility was started or in a directory specified in the utility configuration file.

Revenue Assurance Utilities

9-3

load_pin_config_controlpoint_link

load_pin_config_controlpoint_link
The load_pin_config_controlpoint_link utility loads control point linking data into the config/link_controlpoint object in the Oracle Communications Billing and Revenue Management (BRM) database.
Note:

This utility does not support branding.

Caution: The load_pin_config_controlpoint_link utility overwrites existing /config/link_controlpoint objects. If you are updating existing linking data, you cannot load new linking data only. You must load complete sets of linking data each time you run the load_ pin_config_controlpoint_link utility.

Important:

To connect to the BRM database, the load_pin_config_ controlpoint_link utility needs a configuration file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information.

Location
BRM_Home/bin

Syntax
load_pin_config_controlpoint_link pin_config_controlpoint_link

Parameters
pin_config_controlpoint_link

The name and location of the file that defines the linking data objects. The default pin_ config_controlpoint_link file is in BRM_Home/sys/data/config/pin_config_ controlpoint_link.
Tip: If you copy the pinonfig_controlpoint_link file to the directory from which you run the load_pin_config_controlpoint_link utility, you dont have to specify the path or file name.

If you load the pin_config_controlpoint_link file from a different directory, you must include the entire path for the file.

Results
If the utility doesnt notify you that it was successful, look in the default.pinlog file to find any errors. This file is either in the directory from which the utility was started or in a directory specified in the utility configuration file.

9-4 BRM Collecting Revenue Assurance Data

load_pin_config_ra_alerts

load_pin_config_ra_alerts
Use the load_pin_config_ra_alerts utility to configure email details in the /config/ra_ alerts object in the Oracle Communications Billing and Revenue Management (BRM) database. You define these email details in the pin_config_ra_alerts file in BRM_ Home/sys/data/config. See "Configuring Email Alerts" in BRM Collecting Revenue Assurance Data for more information.
Caution: The load_pin_config_ra_alerts utility overwrites existing /config/ra_alerts objects. If you are updating revenue assurance alerts, you cannot load new alerts only. You must load complete sets of alerts each time you run the load_pin_config_ra_alerts utility.

Important:

To connect to the BRM database, the load_pin_config_ ra_alerts utility needs a configuration file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information.

Location
BRM_Home/bin

Syntax
load_pin_config_ra_thresholds pin_config_ra_alerts

Parameters
pin_config_ra_alerts

The name and location of the file that contains the configured alert. The default pin_ config_ra_alerts file is in BRM_Home/sys/data/config. The pin_config_ra_alerts file contains the rules for configuring email details and includes an example. You can customize this example and configure your email details. If you do not run the utility from the directory in which the file is located, you must include the complete path to the file, for example:
load_pin_config_ra_thresholds BRM_Home/sys/data/config/pin_config_ra_alerts

Tip: If you copy the pin_config_ra_alerts file to the directory from which you run the load_pin_config_ra_alerts utility, you dont have to specify the path or file name. The file must be named pin_config_ ra_alerts.

Results
The load_pin_config_ra_alerts utility notifies you when it successfully creates the /config/ra_alerts object. Otherwise, look in the default.pinlog file for errors. This file is

Revenue Assurance Utilities

9-5

load_pin_config_ra_alerts

either in the directory from which the utility was started or in a directory specified in the utility configuration file. To verify that the alerts were loaded, display the /config/ra_alerts object by using the Object Browser, or use the robj command with the testnap utility. See "Reading an Object and Writing its Contents to a File" in BRM Developer's Guide for more information.

9-6 BRM Collecting Revenue Assurance Data

load_pin_config_ra_flows

load_pin_config_ra_flows
Use the load_pin_config_ra_flows utility to load revenue assurance flows into the /config/ra_flows object in the Oracle Communications Billing and Revenue Management (BRM) database. You define the flows in the pin_config_ra_flows file in BRM_Home/sys/data/config. See "Adding Control Points to Flows" in BRM Collecting Revenue Assurance Data for more information.
Caution: The load_pin_config_ra_flows utility overwrites existing flows. If you are updating flows, you cannot load new flows only. You must load complete sets of flows each time you run the load_pin_ config_ra_flows utility.

Important:

To connect to the BRM database, the load_pin_config_ ra_flows utility needs a configuration file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information.

Location
BRM_Home/bin

Syntax
load_pin_config_ra_flows pin_config_ra_flows

Parameters
pin_config_ra_flows

The name and location of the file that contains the configured flows. The default pin_ config_ra_flows file is in BRM_Home/sys/data/config. The pin_config_ra_flows file contains the rules for configuring flows and includes an example. You can customize this example and configure flows. If you do not run the utility from the directory in which the file is located, you must include the complete path to the file, for example:
load_pin_config_ra_flow BRM_Home/sys/data/config/pin_config_ra_flows

Tip: If you copy the pin_config_ra_flows file to the directory from which you run the load_pin_config_ra_flows utility, you dont have to specify the path or file name. The file must be named pin_config_ ra_flows.

Results
The load_pin_config_ra_flows utility notifies you when it successfully creates the /config/ra_flows object. Otherwise, look in the default.pinlog file for errors. This file is either in the directory from which the utility was started or in a directory specified in the utility configuration file.
Revenue Assurance Utilities 9-7

load_pin_config_ra_flows

To verify that the flows were loaded, display the /config/ra_flows object by using the Object Browser, or use the robj command with the testnap utility. See "Reading an Object and Writing its Contents to a File" in BRM Developer's Guide for more information.

9-8 BRM Collecting Revenue Assurance Data

load_pin_config_ra_thresholds

load_pin_config_ra_thresholds
Use the load_pin_config_ra_thresholds utility to load revenue assurance alert threshold details into the /config/ra_thresholds object in the Oracle Communications Billing and Revenue Management (BRM) database. You define these thresholds in the pin_config_ra_thresholds file in BRM_Home/sys/data/config. See "Configuring Alert Thresholds" in BRM Collecting Revenue Assurance Data for more information.
Caution: The load_pin_config_ra_thresholds utility overwrites existing thresholds. If you are updating revenue assurance thresholds, you cannot load new thresholds only. You must load complete sets of thresholds each time you run the load_pin_config_ra_thresholds utility.

Important:

To connect to the BRM database, the load_pin_config_ ra_thresholds utility needs a configuration file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information.

Location
BRM_Home/bin

Syntax
load_pin_config_ra_thresholds pin_config_ra_thresholds

Parameters
pin_config_ra_thresholds

The name and location of the file that contains the configured threshold details. The default pin_config_ra_thresholds file is in BRM_Home/sys/data/config. The pin_config_ra_thresholds file contains the rules for configuring thresholds and includes an example. You can customize this example and configure thresholds. If you do not run the utility from the directory in which the file is located, you must include the complete path to the file, for example:
load_pin_config_ra_thresholds BRM_Home/sys/data/config/pin_config_ra_thresholds

Tip: If you copy the pin_config_ra_thresholds file to the directory from which you run the load_pin_config_ra_thresholds utility, you dont have to specify the path or file name. The file must be named pin_config_ra_thresholds.

Results
The load_pin_config_ra_thresholds utility notifies you when it successfully creates the /config/ra_thresholds object. Otherwise, look in the default.pinlog file for errors.

Revenue Assurance Utilities

9-9

load_pin_config_ra_thresholds

This file is either in the directory from which the utility was started, or in a directory specified in the utility configuration file. To verify that the alert thresholds were loaded, display the /config/ra_thresholds object by using the Object Browser, or use the robj command with the testnap utility.See "Reading an Object and Writing its Contents to a File" in BRM Developer's Guide for more information.

9-10 BRM Collecting Revenue Assurance Data

pin_ra_check_thresholds

pin_ra_check_thresholds
Use the pin_ra_check_thresholds utility to notify you when the /config/re_thresholds object contains revenue assurance alerts. Alerts are loaded into this object if the revenue assurance thresholds you have configured are crossed. See "Configuring Alert Thresholds" in BRM Collecting Revenue Assurance Data for more information.
Important:

To connect to the Oracle Communications Billing and Revenue Management (BRM) database, the pin_ra_check_thresholds utility needs a configuration file in the directory from which you run the utility. See "Creating Configuration Files for BRM Utilities" in BRM System Administrator's Guide for more information. You can change the configuration logfile and loglevel entries as needed.

Location
BRM_Home/bin

Syntax
pin_ra_check_thresholds

Parameters
There are no parameters for the pin_ra_check_thresholds utility.

Results
The pin_ra_check_thresholds utility returns the values listed in "Return Values" and logs other information in the revenue assurance log file. This log file is either in the directory from which this utility was started or in a directory specified in the utility configuration file.

Return Values
pin_ra_check_thresholds returns the following:

0 - on success 1 - error opening the PCM connection 2 - /config/thresholds object not present 3 - all other errors

Revenue Assurance Utilities 9-11

pin_ra_check_thresholds

9-12 BRM Collecting Revenue Assurance Data

You might also like