Oracle® Communications Billing and Revenue Management: Collecting Revenue Assurance Data Release 7.5
Oracle® Communications Billing and Revenue Management: Collecting Revenue Assurance Data Release 7.5
Oracle® Communications Billing and Revenue Management: Collecting Revenue Assurance Data Release 7.5
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
iii
iv
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.
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.
vii
viii
1
1
Before using Revenue Assurance Manager, you should be familiar with BRM concepts and system architecture. See BRM Concepts for more information.
Note:
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.
1-1
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.
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.
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.
Revenue assurance data for billing is stored in /process_audit/billing objects in the BRM database.
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
1-3
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.
A/R items: If service types are associated with these items, the amount for each service type is also generated:
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.
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
1-5
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.
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.
/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.
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.
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.
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.
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
1-9
/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.
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.
2
2
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.
2-1
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.
If you already have Revenue Assurance Manager installed, you must uninstall it before installing a new version.
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.
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:
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.
2-3
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.
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
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.
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.
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.
2-5
3
3
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
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.
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.
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.
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".
where user is the Pipeline Manager user ID, password is the Pipeline Manager user password, and database is the Pipeline Manager database alias.
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:
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
FieldDelimiter = ; ControlPointId = CP_PostRatingBatchStat_Svctype IncludeErrorEDRs = TRUE IncludeInvalidDetailEDRs = TRUE IncludeProcessingTimestamps = TRUE ResultFile { IncludeFormat TempSuffix DoneSuffix WriteEmptyFile } ControlFile { IncludeFormat Suffix DataFilePath } } }
= = = =
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
Open the SIMPLESAMPLE_v1.dsc file using a text editor such as Notepad. Find the following line:
SERVICE AscString();
3.
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.
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.
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
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.
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
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.
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.
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.
4
4
About Collecting Revenue Assurance Data from Billing Running Billing Utilities in BRM Configuring and Running Billing
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
Using a text editor, open the utility configuration file. Change 0 to 1 in the following entry:
- pin_mta enable_ara 0
4-1
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.
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.
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.
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.
4-3
5
5
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.
Understanding Revenue Assurance Manager About pipeline rating in BRM Configuring Pipeline Rating and Discounting
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:
5-1
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 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
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
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.
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.
5-3
6
6
Understanding Revenue Assurance Manager Installing Revenue Assurance Manager Setting Up Revenue Assurance Manager for Pipeline Batch Rating
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.
6-1
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.
For example:
RA_Threshold: Rejected_EDRs_Per_Day /process_audit/batchstat/status 1 1 1 16:00:00 0 Secs
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
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.
For example:
RA Filter: Configuring Revenue Assurance Alerts 6-3
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
REJECTED
75
REJECTED
1000
100 250
0 0
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.
6-5
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.
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.
%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.)
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
"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
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.
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.
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:
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).
6-7
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.
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-9
7
7
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.
Custom scenarios require custom UEL templates and cannot be used with Revenue Assurance Center.
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.
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
Grouping Field Batch ID Original batch ID Suspended from batch ID Service type Revenue stream Output stream
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.
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
Batch ID, Original batch ID, Suspended from batch ID, Revenue stream Batch ID, Original batch ID, Suspended from batch ID, Revenue stream, EDR 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
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
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
Output stream.
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
8
8
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.
8-1
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.
PCM_OP_PROCESS_AUDIT_POL_CREATE_WRITEOFF_SUMMARY. See "Customizing the Revenue Assurance Written-Off EDR Summaries" for more information.
Checks for duplicate objects and validates data. Performs validation only if there are no duplicate audit objects.
You can customize PCM_OP_PROCESS_AUDIT_POL_CREATE by modifying the fields in the flist, modifying duplicate checks, and adding validation checks.
8-3
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.
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.
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.
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.
8-5
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
9
9
This chapter provides reference information for Oracle Communications Billing and Revenue Management (BRM) 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:
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.
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.
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:
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.
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
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.
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.
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.
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.
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
pin_ra_check_thresholds