Implementation Guide C2M
Implementation Guide C2M
Implementation Guide
For 22A Releases
F52849-04
April 2022
(Revised August 2022)
Oracle Utilities Cloud Services 22A Implementation Guide
Copyright © 2017, 2022 Oracle and/or its affiliates.
Contents
Chapter 1
Cloud Services Implementation Guide.............................................................................................................................. 1-1
Part One
Implementation Guidelines
Chapter 2
Post-Provisioning Setup..................................................................................................................................................... 2-1
Initial Identity Management Setup................................................................................................................................................... 2-2
Initial Object Storage Setup ............................................................................................................................................................. 2-2
Initial Cloud Service Setup ................................................................................................................................................................ 2-3
Process Automation Tool Setup (for a new cloud service) ........................................................................................ 2-3
Process Automation Tool Setup (after adding new environments to your cloud service).................................... 2-4
Language Pack Setup (Optional)..................................................................................................................................................... 2-4
Available Languages with Cloud Services ..................................................................................................................... 2-5
Setup Instructions ............................................................................................................................................................. 2-6
Chapter 3
Security and Access............................................................................................................................................................ 3-1
Identity Management ......................................................................................................................................................................... 3-2
Use of Identity Domains in OCI Identity and Access Management ........................................................................ 3-2
User Provisioning with Identity and Access Management ......................................................................................... 3-2
Server Access...................................................................................................................................................................................... 3-2
Chapter 4
Configuration Tools........................................................................................................................................................... 4-1
Customization Tools Summary ........................................................................................................................................................ 4-2
Algorithm Types and Algorithms ................................................................................................................................................... 4-3
Application Environments................................................................................................................................................................ 4-4
Environment Names and Codes .................................................................................................................................... 4-4
Application / Environment Access and URL Tokens................................................................................................ 4-4
Creating Batch Processes................................................................................................................................................................... 4-7
Chapter 5
Data Conversion Guidelines .............................................................................................................................................. 5-1
Data Conversion Approach ............................................................................................................................................................. 5-1
Data Conversion Tips....................................................................................................................................................... 5-2
Chapter 6
Integration Guidelines ....................................................................................................................................................... 6-1
Integration Methods........................................................................................................................................................................... 6-2
Integration Method: File-Based ...................................................................................................................................... 6-2
Integration Method: Web Services ................................................................................................................................. 6-2
Integration Middleware..................................................................................................................................................................... 6-3
Integration Middleware: Oracle Integration Cloud (OIC).......................................................................................... 6-3
Integration Middleware: Oracle SOA Suite on Marketplace - Platform-as-a-Service ............................................ 6-3
Contents - 1
Oracle Utilities Cloud Services Implementation Guide
Integration Middleware: Oracle SOA Suite On-Premises .......................................................................................... 6-3
Allowlisting .......................................................................................................................................................................................... 6-4
IP Allowlisting ................................................................................................................................................................... 6-4
Chapter 7
Data Access and Analytics................................................................................................................................................. 7-1
Analytics Publisher ............................................................................................................................................................................. 7-2
Database Access................................................................................................................................................................................. 7-2
Reports and Queries.......................................................................................................................................................................... 7-2
File Access - Cloud Object Storage ................................................................................................................................................. 7-4
Uploading and Downloading File To and From Object Storage .............................................................................. 7-4
Part Two
Data Conversion and Migration
Chapter 8
Overview ............................................................................................................................................................................ 8-1
Data Conversion and Migration Overview .................................................................................................................................... 8-2
Conversion Process Overview ........................................................................................................................................ 8-2
Implementation Effort ..................................................................................................................................................... 8-2
What Is in the Newly Provisioned Environment? ....................................................................................................... 8-3
Data Conversion and Migration on Cloud.................................................................................................................... 8-3
Terms and Definitions ....................................................................................................................................................................... 8-7
Database Tables ................................................................................................................................................................................. 8-7
Scope and Assumptions.................................................................................................................................................................... 8-8
Additional Information..................................................................................................................................................................... 8-8
Chapter 9
Data Conversion and Migration Scenarios........................................................................................................................ 9-1
Legacy Customer Information System to C2MO.......................................................................................................................... 9-2
Legacy Customer Information System to C2M ............................................................................................................................. 9-3
Legacy Meter Data Management to MDM/ODM ....................................................................................................................... 9-4
Customer Care and Billing to C2M.................................................................................................................................................. 9-5
Customer Care and Billing to C2MO .............................................................................................................................................. 9-6
Customer Care & Billing and Meter Data Management to C2M................................................................................................ 9-7
Customer Care & Billing and Meter Data Management and Operational Device Management to C2MO......................... 9-8
Customer Care & Billing and Meter Data Management to C2MO ............................................................................................ 9-9
Meter Data Management to MDM/ODM...................................................................................................................................9-10
Chapter 10
Data Conversion and Migration Design.......................................................................................................................... 10-1
Extract/Upload by Table or Maintenance Object ......................................................................................................................10-2
CLOB Data in a Secondary File .....................................................................................................................................................10-3
Multiple Data Files for Single Table or MO Upload ................................................................................................................. 10-3
Chapter 11
Data Conversion and Migration Processes ..................................................................................................................... 11-1
Customer Data Migration................................................................................................................................................................11-2
Legacy Customer Information System Upgrading to Oracle Utilities Cloud Service .......................................... 11-2
Customer Care and Billing Upgrading to Oracle Utilities Cloud Service............................................................... 11-3
Integrated Customer Care & Billing and Meter Data Management Upgrading to Oracle Utilities Cloud Service...
11-3
Integrated Customer Care & Billing and Meter Data Management Upgrading to Oracle Utilities Cloud Service...
11-4
Integrated Customer Care & Billing, Meter Data Management and Operational Device Management Upgrading
to Oracle Utilities Cloud Service.................................................................................................................................................................... 11-4
Meter Data Management Install Event Migration ..................................................................................................... 11-5
Meter Data Migration.......................................................................................................................................................................11-7
Legacy Meter Data Management Upgrading to Oracle Utilities Meter Solution Cloud Service......................... 11-7
Contents - 2
Oracle Utilities Cloud Services Implementation Guide
Meter Data Management Upgrading to Oracle Utilities Meter Solution Cloud Service...................................... 11-8
Integrated Meter Data Management and Operational Device Management Upgrading to Oracle Utilities Meter
Solution Cloud Service .................................................................................................................................................................................... 11-8
Meter Conversion............................................................................................................................................................ 11-8
Binding Meter Data Management Device IDs and Operational Device Management Asset IDs..................... 11-9
Asset Conversion .......................................................................................................................................................... 11-10
Measurement Data Migration .......................................................................................................................................................11-11
Required Configuration for Measurement Upload .................................................................................................. 11-11
Chapter 12
Preparing for Conversion................................................................................................................................................. 12-1
Preparing Environment for Conversion .......................................................................................................................................12-2
Set Up Conversion Security........................................................................................................................................... 12-2
Prepare Environment for Conversion ......................................................................................................................... 12-2
Preparing Legacy Data Extract for Upload ..................................................................................................................................12-4
ILM Date Fields .............................................................................................................................................................. 12-6
Chapter 13
Data Conversion and Migration Steps............................................................................................................................. 13-1
Upload Data into a Table or Maintenance Object ......................................................................................................................13-2
Review Input Data File Spec ......................................................................................................................................... 13-2
Create Input Data File(s)................................................................................................................................................ 13-2
Switch Schema ................................................................................................................................................................. 13-2
Cleanup Target Table ..................................................................................................................................................... 13-3
Upload Data..................................................................................................................................................................... 13-3
Populate Key Table(s) .................................................................................................................................................... 13-3
Data Upload Orchestration.............................................................................................................................................................13-4
Single Table Upload........................................................................................................................................................ 13-4
Multiple Tables or MOs Upload................................................................................................................................... 13-4
Full Conversion Chain per MO, Parallel Run............................................................................................................. 13-5
Upload All + Subsequent Validate/Transform MOs................................................................................................ 13-5
Chapter 14
Customizing Data Conversion and Migration ................................................................................................................ 14-1
Why Customize.................................................................................................................................................................................14-2
When to Customize......................................................................................................................................................................... 14-2
What to Customize.......................................................................................................................................................................... 14-2
Control File ...................................................................................................................................................................... 14-2
Additional Customization Items................................................................................................................................... 14-3
How to Customize .......................................................................................................................................................................... 14-3
Tips and Important Mistakes to Avoid ........................................................................................................................................ 14-4
Sample Artifacts and Data Files .................................................................................................................................................... 14-7
Part Three
File-Based Integration
Chapter 15
Object Storage Connection Management ....................................................................................................................... 15-1
Oracle Object Storage Setup...........................................................................................................................................................15-2
Oracle Utilities Cloud Service Configuration for Object Storage Connection ...................................................................... 15-2
Creating API Keys .......................................................................................................................................................... 15-2
Creating An Object Storage Connection..................................................................................................................... 15-3
Register API Key to Oracle Cloud Object Storage.................................................................................................................... 15-4
Chapter 16
File Export Sample Implementation ............................................................................................................................... 16-1
Creating a File Export Batch Process............................................................................................................................................16-2
Configuring the Export Process.....................................................................................................................................................16-3
Setting Up Communication Between Cloud Service and Object Storage.............................................................. 16-3
Contents - 3
Oracle Utilities Cloud Services Implementation Guide
Configuring File Export Batch Parameters................................................................................................................. 16-3
Testing the Export Process ........................................................................................................................................... 16-4
Chapter 17
File Import Sample Implementation ............................................................................................................................... 17-1
Identifying Upload File Content Data...........................................................................................................................................17-2
Uploading File to Oracle Cloud Object Storage......................................................................................................................... 17-2
Creating a File Import Batch Process............................................................................................................................................17-3
Plug-In Script ................................................................................................................................................................... 17-3
Algorithm Type and Algorithm .................................................................................................................................... 17-3
File Upload Batch Control............................................................................................................................................. 17-3
Configuring the Import Process.................................................................................................................................................... 17-4
Setting Up Communication Between Cloud Service and Object Storage.............................................................. 17-4
Configuring File Import Batch Controls..................................................................................................................... 17-4
Testing the Import Process ........................................................................................................................................... 17-5
Part Four
Oracle REST Data Services
Chapter 18
SQL Developer Web ........................................................................................................................................................ 18-1
Chapter 19
REST APIs....................................................................................................................................................................... 19-1
Part Five
Product-Specific Integrations
Chapter 20
Customer Cloud Service Receipt Printing....................................................................................................................... 20-1
Oracle Utilities Cloud Services Configuration .............................................................................................................................20-2
Configuring the Point of Sale Printer Integration Master Configuration............................................................... 20-2
Configuring UI Maps and BPA Scripts ....................................................................................................................... 20-2
Printer Installation ........................................................................................................................................................................... 20-3
Recommended Printer Preferences .............................................................................................................................................. 20-4
Printer Preferences for Endorsements and Stubs...................................................................................................... 20-4
Printer Preferences for Payment Receipts................................................................................................................... 20-4
Browser Printer Settings................................................................................................................................................. 20-5
Part Six
Web Services
Chapter 21
Web Services in Oracle Utilities Cloud Services.............................................................................................................. 21-1
Inbound Web Services.................................................................................................................................................................... 21-1
SOAP Inbound Web Services....................................................................................................................................... 21-1
REST Inbound Web Services ....................................................................................................................................... 21-3
Outbound Messages........................................................................................................................................................................ 21-8
Using SOAP Services ..................................................................................................................................................... 21-8
Using REST Services .................................................................................................................................................... 21-11
Web Service Catalog on Cloud Services .................................................................................................................................... 21-12
Web Service Catalog on On-Premises Applications ................................................................................................................ 21-12
User Rights ..................................................................................................................................................................................... 21-12
Debugging & Tracing Options.................................................................................................................................................... 21-13
REST Inbound Web Services ..................................................................................................................................... 21-13
SOAP Inbound Web Services..................................................................................................................................... 21-13
Contents - 4
Oracle Utilities Cloud Services Implementation Guide
Chapter 1
Cloud Services Implementation
Guide
Welcome to the Oracle Utilities Cloud Services Implementation Guide. This guide
provides information about implementation of Oracle Utilities cloud services, including:
• Oracle Utilities Billing Cloud Service
• Oracle Utilities Customer Care and Billing Cloud Service
• Oracle Utilities Customer Cloud Service
• Oracle Utilities Generation Asset Manager Cloud Service
• Oracle Utilities Meter Solution Cloud Service
• Oracle Utilities Operational Device Cloud Service
• Oracle Utilities Rate Cloud Service
• Oracle Utilities Work and Asset Cloud Service
This document includes:
• Part One: Implementation Guidelines
• Part Two: Data Conversion and Migration
• Part Three: File-Based Integration
• Part Four: Oracle REST Data Services
• Part Five: Product-Specific Integrations
• Part Six: Web Services in Oracle Utilities Cloud Services
This section describes global implementation guidelines that apply to all Oracle Utilities
cloud services running on Oracle Cloud Infrastructure (OCI), which includes
• Oracle Utilities Billing Cloud Service
• Oracle Utilities Customer Care and Billing Cloud Service
• Oracle Utilities Customer Cloud Service
• Oracle Utilities Generation Asset Manager Cloud Service
• Oracle Utilities Meter Solution Cloud Service
• Oracle Utilities Operational Device Cloud Service
• Oracle Utilities Rate Cloud Service
• Oracle Utilities Work and Asset Cloud Service
Note that these cloud services are all based on the Oracle Utilities Application
Framework (OUAF), which supports many different configuration and extension
methods, almost all of which are available for use in the cloud. This section provides
recommendations for many aspects of set-up and operation of the services. Note that it
assumes familiarity with OUAF concepts and tools.
In a nutshell, the top cloud service implementation rules to be aware of are the following:
• Use Groovy code in Scripts (not Java)
• Use existing data structures to extend the base model - such as Characteristics
and the Fact table
• Use plug-in driven batch can be used in many scenarios for data fixes - this will
ensure proper data validation
The guidelines in this are intended to help implementers to configure and run their cloud
services efficiently.
This section include the following chapters:
• Chapter 2: Post-Provisioning Setup
• Chapter 3: Security and Access
• Chapter 4: Configuration Tools
• Chapter 5: Data Conversion Guidelines
• Chapter 6: Integration Guidelines
Implementation Guidelines 1 - i
Oracle Utilities Cloud Services Implementation Guide
Implementation Guidelines
Implementation Guidelines 1 - ii
Oracle Utilities Cloud Services Implementation Guide
Chapter 2
Post-Provisioning Setup
When a customer of one of the Oracle Utilities Cloud Services receives notification that
their cloud service was provisioned, there are a number of tasks that have to be
performed before they can start with normal implementation activities.
This chapter provides implementation guidelines related to post-provisioning setup,
including:
• Initial Identity Management Setup
• Initial Object Storage Setup
• Initial Cloud Service Setup
• Language Pack Setup (Optional)
Post-Provisioning Setup 2 - 1
Oracle Utilities Cloud Services Implementation Guide
Initial Identity Management Setup
Post-Provisioning Setup 2 - 2
Oracle Utilities Cloud Services Implementation Guide
Initial Cloud Service Setup
In order to finalize the process automation tools setup, run the process automation
security setup in each environment. Refer to Process Automation Tool in the Oracle
Utilities Cloud Service Foundation Administration User Guide for more information.
Users must flush their browser cache after this security set up.
Post-Provisioning Setup 2 - 3
Oracle Utilities Cloud Services Implementation Guide
Process Automation Tool Setup (after adding new environments to your cloud service)
In order to finalize the process automation tools setup, run the process automation
security setup in each environment. Refer to Process Automation Tool in the Oracle
Utilities Cloud Service Foundation Administration User Guide for more information.
Users must flush their browser cache after this security set up.
Post-Provisioning Setup 2 - 4
Oracle Utilities Cloud Services Implementation Guide
Available Languages with Cloud Services
User Interface /
Product Release Language
Online Help
Post-Provisioning Setup 2 - 5
Oracle Utilities Cloud Services Implementation Guide
Available Languages with Cloud Services
Setup Instructions
Use the following procedure to set up a language an Oracle Utilities cloud service.
1. Define the Language Code for the language to be added and indicate that it is
enabled. For details on this procedure, see Defining Languages in the Administrative
User Guide.
Note: Please use 'ARA' or 'ESA' as the Language Code for Arabic and
for Latin American Spanish, respectively, when defining language codes
for those languages.
2. Confirm that the desired language code is listed in the Available Languages with
Cloud Services section above.
3. Run the "F1-LANG" batch control.
• This process copies descriptions of all language-enabled tables from an existing
translation (e.g., English). The copied values act as placeholders while the strings
are translated into the new language. It is necessary to do this as a first step in
order to create records using the new language code created in the previous step.
• The batch process also updates the new language rows with the translated
metadata descriptions from the language pack, if installed.
Note: The language pack updates all language entries for base owned
system data. If your implementation updates base owned labels and
descriptions after applying a language pack, they will be overwritten the
next time an updated language pack is applied. Note that most user
facing labels and messages support defining an Override Label or
Override Description. This information is not updated by the base
product and should be utilized if your implementation desires a specific
label or description.
Post-Provisioning Setup 2 - 6
Oracle Utilities Cloud Services Implementation Guide
Chapter 3
Security and Access
This chapter provides implementation guidelines related to security and access, including:
• Identity Management
• Server Access
Identity Management
Server Access
While server access is restricted exclusively to members of the Oracle Cloud
Infrastructure and Oracle Utilities Development Operations (DevOps) teams, logs are
available to users. See the Server Logs - Online and Batch section in Chapter 7:
Operational Guidelines for more information.
Configuration Tools 4 - 1
Oracle Utilities Cloud Services Implementation Guide
Customization Tools Summary
Business Entities Add custom business objects for Yes Assuming the Maintenance
product maintenance objects. Object supports Business Object
functionality.
Extend a product business object's Yes See the Algorithm Types and
structure and rules. Algorithms section for more
information.
User Interface Add a custom portal. Yes Restricted to a single tab page in
20C and previous versions.
Additional tab pages are
supported as of release 21A.
Batch processes Add a custom batch process. Yes The program cannot be written in
Java. See the Creating Batch
Processes section for more
information.
The process may only access
designated locations in Object
Storage. See the File Access -
Cloud Object Storage section for
more information.
Configuration Tools 4 - 2
Oracle Utilities Cloud Services Implementation Guide
Algorithm Types and Algorithms
Web Services Add custom inbound and outbound Yes Use Outbound Messaging and
web services. Inbound Web Services.
The services cannot rely on XSL
transformations to occur in the
cloud. See the File Access - Cloud
Object Storage section for more
information.
Reports Add stored procedures to support No See the Database Access section
custom reports. for more information.
Run the high volume extract reports No See the Oracle Utilities Cloud Services
like Bill Print via Analytics Publisher Frequently Asked Questions Guide for
more information.
Configuration Tools 4 - 3
Oracle Utilities Cloud Services Implementation Guide
Application Environments
Application Environments
Each cloud service by default comes with three environments designated as
Development, Test, and Production. Test and Production are sized as full-sized
environments based on the billable metric of the subscription, while Development is a
smaller environment.
Customers can request additional non-production environments through the initial sales
order or in a subsequent order for an additional subscription. When asking for more
environments, the names of the base and additional environment are predefined and
cannot be changed.
Configuration Tools 4 - 4
Oracle Utilities Cloud Services Implementation Guide
Application / Environment Access and URL Tokens
The following URL Tokens are available for direct navigation or web service calls for
each cloud service.
Token Description
MSCS_WS Meter Solution Cloud Service address for web service calls.
MSCS_ONLINE Meter Solution Cloud Service address for online access.
WACS_WS Work and Asset Cloud Service address for web service calls.
WACS_ONLINE Work and Asset Cloud Service address for online access.
Usage Examples:
• The outbound message sender on the Customer Cloud Service configured for
invoking a Meter Solution Cloud Service Inbound Web Service service named
"ABC" (in production) will be have the URL definition of @MSCS_WS@abc.
• The value of @MSCS_WS@ will be different in each environment so that the
same token can be used in all environments, and the runtime value translation
will be based on the environment invoking the call.
• Internal-facing tokens such as DEV_WS can be used for inter-domain
communications, such as the automation of configuration migration between
product domains. These tokens are used by the Process Automation Tool within
Cloud Service Foundation.
Configuration Tools 4 - 5
Oracle Utilities Cloud Services Implementation Guide
Application / Environment Access and URL Tokens
• External facing addresses will use the @EXT_PUB@ prefix, for example:
@[email protected]/api/int01/addPayment
• The port is not required in the URL definition when using EXT_PUB as all
outbound calls from cloud services are sent via Https and port 443 is implied.
Configuration Tools 4 - 6
Oracle Utilities Cloud Services Implementation Guide
Creating Batch Processes
Configuration Tools 4 - 7
Oracle Utilities Cloud Services Implementation Guide
Chapter 5
Data Conversion Guidelines
This chapter provides guidelines related to integration with Oracle Utilities cloud services
including:
• Integration Methods
• Integration Middleware
• Allowlisting
Integration Guidelines 6 - 1
Oracle Utilities Cloud Services Implementation Guide
Integration Methods
Integration Methods
The primary integration methods supported with cloud services are (a) inbound and
outbound files, and (b) inbound and outbound web services. Other protocols and
methods (JMS, SQL Net, etc.) are not currently supported.
Besides standard Oracle Utilities Application Framework integration modules, no
additional extract, transform, and load (ETL) capabilities or middleware are provided
with cloud service offerings. Oracle Cloud middleware solutions—such as SOA Cloud
Service (available via Platform-as-a-Service) or Integration Cloud Service —need to be
licensed to address advanced integration requirements such as complex ETL,
orchestration, etc. Alternatively an on-premise middleware solution could be used.
Integration Guidelines 6 - 2
Oracle Utilities Cloud Services Implementation Guide
Integration Middleware
Integration Middleware
While file-based integration does not require middleware, often real-time integration
benefits from the use of a middleware platform to facilitate message delivery, error
handling, and data transformation. With Oracle Utilities cloud services, there are several
different middleware options which may be useful, and in some cases prebuilt
integrations are available to integrate Oracle applications. This section describes several
middleware options (note: these are not included with your cloud service subscription).
Integration Guidelines 6 - 3
Oracle Utilities Cloud Services Implementation Guide
Allowlisting
Allowlisting
Allowlisting is required to specify allowable access destinations on the public internet.
IP Allowlisting
IP Allowlists enable customers to control how data flows into or out of their SaaS
environments.
Outbound Traffic
Outbound traffic is controlled via allowlist of IP addresses. Only HTTPS traffic is
allowed to port 443.
Configuring IP Allowlists
To configure IP allowlists, customers must log a service request and follow the steps
outlined in the Cloud Operations section of the Oracle Utilities Cloud Services
Administration Guide to provide configuration details.
Integration Guidelines 6 - 4
Oracle Utilities Cloud Services Implementation Guide
Chapter 7
Data Access and Analytics
This chapter provides guidelines related to data access and analytics, including:
• Analytics Publisher
• Database Access
• Reports and Queries
• File Access - Cloud Object Storage
Analytics Publisher
Oracle Utilities Analytics Visualization is included in the cloud service subscription,
available via a separate URL for each environment.
Analytics Publisher is available and included in the service as a reporting/query tool.
Note: Analytics Publisher and Oracle Utilities Analytics Visualization
extract and display data from the production database.
SQL Developer Web is also available and included in the service for querying the
database (see SQL Developer Web in the Oracle Utilities Cloud Services Implementation Guide
for more information).
Data extraction is supported via the Generalized Data Extract and Specialized Data
Extract functionality, and/or DataConnect (CCS & MSCS only) may be a starting point
for extraction of data for a BI/reporting tool such as Cognos.
Database Access
No direct access is permitted to the application database either through Toad, SQL
Developer, or command line utilities. This also means that you cannot create new tables
or related data including new Maintenance Objects, custom audit tables, and database
links.
Query access is supported both in Analytics Publisher and SQL Developer Web (see
SQL Developer Web in the Oracle Utilities Cloud Services Implementation Guide), which are
available as part of the cloud deployment. For more information about Analytics
Publisher, see https://www.oracle.com/middleware/technologies/analytics-
publisher.html.
Analytics Publisher deployment includes a JDBC data source configured with credentials
that allow access to read-only synonyms in the production schema.
Note that in some cases it may be feasible to create a custom zone in the application to
provide online display to view data.
• Reporting Engine User ID = <use the user name having Analytics Publisher role
assigned>
• Reporting Engine Password = <use the password for above mentioned user>
• Reporting folder = ccs <default reporting folder in Analytics Publisher but
implementations can change it, if needed.>
• Reporting Server from Browser= @BI_PUBLISHER_ADMIN@
Oracle Utilities cloud services also offer the option of using SQL Developer Web and
Oracle Utilities Analytics Visualization for reports and queries.
Typically there are a few places where a 'path' to an Object Storage bucket can be
specified, such as on batch job parameters, and some Master Configurations. Refer to the
Object Storage Setup in the Oracle Utilities Cloud Services Administration Guide for more
information. Refer to the Object Storage documentation for more information about
Oracle Cloud Object Storage.
The chapters in this section provide guidelines for migrating and/or converting data
between application environments, including moving data from existing applications into
Oracle Utilities Customer Cloud Service or Oracle Utilities Meter Solution Cloud Service.
Existing applications can include legacy applications as well as on-premises
implementations of Oracle Utilities applications such as Oracle Utilities Customer Care
and Billing and Oracle Utilities Meter Data Management.
See Conversion in the Application Framework Administrative User Guide for information
about the general conversion process.
This overview chapter includes:
• Data Conversion and Migration Overview
• Terms and Definitions
• Database Tables
• Additional Information
Overview 8 - 1
Oracle Utilities Cloud Services Implementation Guide
Data Conversion and Migration Overview
Implementation Effort
Implementers are expected to perform the following tasks for data conversion:
• Analyze the legacy data and decide what portion of it should be converted
• Map the legacy data to target Oracle Utilities Application Framework (OUAF) /
Application data
• Develop legacy data extract process and produce input data files
• Adjust default data upload setup in OUAF / application, if needed
• Rehearse data upload and fine-tune configurations and/or legacy data extract, if
needed
Overview 8 - 2
Oracle Utilities Cloud Services Implementation Guide
What Is in the Newly Provisioned Environment?
Overview 8 - 3
Oracle Utilities Cloud Services Implementation Guide
Data Conversion and Migration on Cloud
Overview 8 - 4
Oracle Utilities Cloud Services Implementation Guide
Data Conversion and Migration on Cloud
Provided by Applications
Each application comes with its own Conversion Accelerator that includes admin and
system data for suggested upload configurations. Applications also provide a set of
processes and tools to validate and transform the uploaded "staging" legacy data into real
production form.
Application Accelerators
The accelerator usually contains suggested configurations for data upload support. It may
include:
• Conversion Instructions for tables/maintenance objects with special data
requiremenets (Conversion Task Types)
• Alternative Control File fragments and custom Control Files (Managed Content)
• Conversion Master Configuration
• Specific Batch Controls for each converted Table or MO, suggested batch job/
batch streams for suggested conversion activities orchestration
Overview 8 - 5
Oracle Utilities Cloud Services Implementation Guide
Data Conversion and Migration on Cloud
Overview 8 - 6
Oracle Utilities Cloud Services Implementation Guide
Terms and Definitions
Term Definition
Legacy CIS A legacy customer information system from which data will
be migrated/converted.
Legacy MDM A legacy meter data management application from which data
will be migrated/converted.
Database Tables
The processes described in this section reference a number of different types of database
tables. These are described below.
Production Tables: Tables used by application when running in a production
environment. Examples of production tables include CI_SP (Service Point - CCB),
D1_SP (Service Point - MDM), W1_ASSET (Asset). Production tables are accessible
through the Table portal in the Customer Cloud Service application.
Staging Tables: Tables used to facilitate import and migration into the product database.
Staging tables are not accessible through the Customer Cloud Service application user
interface.
Key Tables: Tables used to facilitate generation of keys. Examples of key tables include
CI_SP_K (Service Point Key), D1_SP_K (Service Point - MDM), W1_ASSET_K (Asset
Key). Key tables are accessible through the Table portal in the Customer Cloud Service
application.
Overview 8 - 7
Oracle Utilities Cloud Services Implementation Guide
Scope and Assumptions
Additional Information
Refer to the following documentation for additional information about data conversion
and migration with Oracle Utilities cloud services:
• Oracle Utilities Cloud Service Foundation Administrative User Guide
These documents can be found in the Supporting Cloud Service Guides section on
the Oracle Utilities Customer Cloud Service or Oracle Utilities Meter Solution Cloud
Service documentation website.
Overview 8 - 8
Oracle Utilities Cloud Services Implementation Guide
Chapter 9
Data Conversion and Migration
Scenarios
This chapter outlines the ways in which specific types of data are migrated/converted in a
number of specific application configurations, including:
• Legacy Customer Information System to C2MO
• Legacy Customer Information System to C2M
• Legacy Meter Data Management to MDM/ODM
• Customer Care and Billing to C2M
• Customer Care and Billing to C2MO
• Customer Care & Billing and Meter Data Management to C2M
• Customer Care & Billing and Meter Data Management and Operational Device
Management to C2MO
• Customer Care & Billing and Meter Data Management to C2MO
• Meter Data Management to MDM/ODM
The following abbreviations are used in the scenarios described in this chapter.
Abbreviation Description
Notes:
• The tables following layout the data in each of the functional areas (Customer
Care and Billing, Meter Data Management, and Operational Device
Management) as appropriate.
• Data of corresponding types are aligned in the same row in each table. For
example, Person data in CCB corresponds to Contact data in MDM.
Customer Care and Billing Meter Data Management Data Operational Device Data
Data
Service Agreement (SA) Upload from Legacy Usage Subscription (US) Synchronize from CCB
CIS
Service Point (SP) Upload from Legacy Service Point (SP) Synchronize from CCB
CIS
Service Point (SP) Upload from Legacy Node Synchronize from MDM
MDM
Install Event Upload from Legacy Asset Node Synchronize from MDM
MDM
Service Agreement (SA) Import from CCB Usage Subscription (US) Synchronize from CCB
Service Point (SP) Import from CCB Service Point (SP) Synchronize from CCB
Customer Care and Billing Data Meter Data Management Data Operational Device Management Data
Service Point (SP) Import from CCB Service Point (SP) Synchronize from Node Synchronize from
CCB MDM
Service Agreement (SA) Import from CCB Usage Subscription (US) Import from MDM
Service Point (SP) Import from CCB Service Point (SP) Import from MDM
Customer Care and Billing Data Meter Data Management Data Operational Device Management Data
Service Agreement Import from CCB Usage Subscription Import from MDM
(SA) (US)
Service Point (SP) Import from CCB Service Point (SP) Import from MDM Node Import from ODM
Install Event Import from MDM Asset Node Import from ODM
Customer Care and Billing Data Meter Data Management Data Operational Device Management Data
Service Agreement Import from CCB Usage Subscription Import from MDM
(SA) (US)
Service Point (SP) Import from CCB Service Point (SP) Import from MDM Node Synchronize from
MDM
Service Point (SP) Import from MDM Node Synchronize from MDM
Install Event Import from MDM Asset Node Synchronize from MDM
There are several aspects implementation should consider when designing the legacy data
extract processes and creating the Input Data Files. The data conversion process is very
flexible and configurable, and can be fine-tuned to address both application and client
data specifics.
This chapter provides information about designing extract processes, including:
• Extract/Upload by Table or Maintenance Object
• CLOB Data in a Secondary File
• Multiple Data Files for Single Table or MO Upload
This chapter provides specifics regarding the processes used when migrating/converting
customer data, meter data, and measurement data. This includes:
• Customer Data Migration
• Legacy Customer Information System Upgrading to Oracle Utilities Cloud
Service
• Customer Care and Billing Upgrading to Oracle Utilities Cloud Service
• Integrated Customer Care & Billing and Meter Data Management
Upgrading to Oracle Utilities Cloud Service
• Integrated Customer Care & Billing and Meter Data Management
Upgrading to Oracle Utilities Cloud Service
• Integrated Customer Care & Billing, Meter Data Management and
Operational Device Management Upgrading to Oracle Utilities Cloud
Service
• Meter Data Management Install Event Migration
• Meter Data Migration
• Legacy Meter Data Management Upgrading to Oracle Utilities Meter
Solution Cloud Service
• Meter Data Management Upgrading to Oracle Utilities Meter Solution
Cloud Service
• Integrated Meter Data Management and Operational Device Management
Upgrading to Oracle Utilities Meter Solution Cloud Service
• Meter Conversion
• Binding Meter Data Management Device IDs and Operational Device
Management Asset IDs
• Asset Conversion
• Measurement Data Migration
• Required Configuration for Measurement Upload
7 Convert legacy meter to ODM asset. The following steps only apply if
ODM functionality is included.
8 Bind the MDM device to ODM asset. See Binding Meter Data
Management Device IDs and
Operational Device Management
Asset IDs.
9 Bind the ODM asset to MDM device. See Binding Meter Data
Management Device IDs and
Operational Device Management
Asset IDs.
4 Build the staging CC&B SP key mapping See Meter Data Management
table. Install Event Migration.
8 Convert CC&B meters to ODM assets. The following steps only apply if
ODM functionality is included.
9 Bind the MDM devices to ODM assets. See Binding Meter Data
Management Device IDs and
Operational Device Management
Asset IDs.
10 Bind the ODM assets to MDM devices. See Binding Meter Data
Management Device IDs and
Operational Device Management
Asset IDs.
Integrated Customer Care & Billing and Meter Data Management Upgrading
to Oracle Utilities Cloud Service
In this scenario an existing customer using integrated CC&B and MDM applications is
upgrading to Oracle Utilities Customer Cloud Service. This outline assumes that the
MDM meter data has been loaded into the ODM staging tables.
3 Convert MDM meters to ODM assets. The following steps only apply if
ODM functionality is included.
Integrated Customer Care & Billing and Meter Data Management Upgrading
to Oracle Utilities Cloud Service
In this scenario an existing customer using integrated CC&B and MDM applications is
upgrading to Oracle Utilities Customer Cloud Service. This outline assumes that the
MDM meter data has been loaded into the ODM staging tables.
3 Convert MDM meters to ODM assets. The following steps only apply if
ODM functionality is included.
4 Convert legacy meters to ODM assets. The following steps only apply if
ODM functionality is included.
5 Bind the MDM devices to ODM assets. See Binding Meter Data
Management Device IDs and
Operational Device Management
Asset IDs.
6 Bind the ODM assets to MDM devices. See Binding Meter Data
Management Device IDs and
Operational Device Management
Asset IDs.
2 Convert MDM meters to ODM assets. The following steps only apply if
ODM functionality is included.
Meter Conversion
The table below shows the logical sequence in running the meter conversion jobs
implementing the framework conversion tools. This outline assumes that the legacy data
has been loaded into the staging tables
Insertion Insert D1_ Insert D1_ Insert D1_ Insert D1_ Insert D1_SP Insert D1_US Insert D1_
CONTACT DVC DVC_CFG MEASR_ (D1SP000I) (D1US000I) INSTALL_EV
(D1CNT00I) (D1DVC00I) (D1DC000I) COMP T
(D1MC000I) (D1IE000I)
Key Generate Keys Generate Keys Generate Keys Generate Keys Generate Keys Generate Keys Generate Keys
Generation for D1_ for D1_DVC for D1_DVC_ for D1_ for D1_SP for D1_US for D1_
CONTACT (D1DVC00K) CFG MEASR_ (D1SP000K) (D1US000K) INSTALL_EV
(D1CNT00K) (D1DC000K) COMP T
(D1MC000K) (D1IE000K)
Legacy Data Validate D1- Validate D1- Validate D1- Validate D1- Validate D1-SP Validate D1- Validate D1-
Validation CONTACT DEVICE DVCCONFIG MEASRCOM (D1SP000V) US INSTLEVT
(D1CNT00V) (D1DVC00V) (D1DC000V) P (D1US000V) (D1IE000V)
(D1MC000V)
Production Validate D1- Validate D1- Validate D1- Validate D1- Validate D1-SP Validate D1- Validate D1-
Data CONTACT DEVICE DVCCONFIG MEASRCOM (D1SP000V) US INSTLEVT
Validation (D1CNT00V) (D1DVC00V) (D1DC000V) P (D1US000V) (D1IE000V)
(D1MC000V)
XML Resolve XML Resolve XML Resolve XML Resolve XML Resolve XML Resolve XML Resolve XML
Resolution for D1- for D1- for D1- for D1- for D1-SP for D1-US for D1-
CONTACT DEVICE DVCCONFIG MEASRCOM (D1SP000R) (D1US000R) INSTLEVT
(D1CNT00R) (D1DVC00R) (D1DC000R) P (D1IE000R)
(D1MC000R)
Insert D1_ Insert D1_ Insert D1_ Insert D1_SP_ Insert D1_US_
CONTACT_C DVC_CHAR MEASR_CO CHAR CHAR
HAR (D1DVCCHI) MP_CHAR (D1SPCHRI) (D1USCHRI)
(D1CNTCHI) (D1MCCHRI)
Insert D1_US_
SP_CHAR
(D1USSPCI)
The following batch jobs must be run to populate the both Device Identifier and Asset
Identifier tables to bind both converted device and asset IDs.
Asset Conversion
Conversion Sequence
Node Asset
Key Generation Generate Keys for W1_NODE Generate Keys for W1_ASSET
(W1NOD00K) (W1AST00K)
XML Resolution Resolve XML for W1-NODE Resolve XML for W1_ASSET
(W1NOD00R) (W1AST00R)
Insert W1_ASSET_CHAR
(W1ASTCHI)
This chapter describes how to prepare an environment and legacy data for conversion
with Oracle Utilities cloud services, including:
• Preparing Environment for Conversion
• Preparing Legacy Data Extract for Upload
• File List. This file lists the name of the input files that has to be
prepared for the data upload.
• Multiple data files for a single object (Table or Maintenance Object)
are expected if the data is being uploaded contains CLOB columns
AND the upload is configured to load CLOB from secondary file.
• Switch schema to redirect the application to the staging data area.
• Use the menu to navigate to the generator by selecting Admin, then
selecting Conversion Support.
• Truncate tables in the staging data area to ensure that you will be uploading the
data into clean empty tables.
• Disable indexes in the staging data area. This is required because SQL Loader is
not capable of implicitly disabling partitioned indexes during the data upload
• Disable triggers in the staging data area.
The environment is now ready for the legacy data upload:
• Conversion is enabled
• SQL Loader Control Files have been generated, and
• Synonyms in the database schema point to the staging data area tables.
Notes:
• Conversion activities are possible as long as conversion is enabled in the
environment. Once the legacy data is successfully migrated, you should disable
conversion by running the K1-CNVDS batch. By doing this you set an internal
indicator that is queried by conversion-related processes, such as switch schema,
data upload, table cleanup, and index/statistics update. These processes will only
run when conversion is enabled.
Important: The Disable Conversion process should be executed ONLY ONCE
right before the system is ready for go live. It is one-time event and is
irreversible. Once disabled, conversion activities cannot be fully re-enabled as the
assumption is that the re-enabling is happening while the application is running
live in production. Enabling conversion after it has been disabled will result in
the application running in the Incremental Conversion mode with its limitations.
• Switching the schema sets an internal flag that indicates whether the synonyms
are pointing to "staging" or "production" area. The data upload is only allowed
when the application is running in a "staging" mode.
• It is recommended to perform truncate operations at the maintenance object
level as it will prevent leaving orphan records in the database. When truncating
tables one by one always truncate child tables first.
• Locate your target table name in the list and determine how the ILM_DT
field should be populated
• If the table is not listed, please contact Oracle Utilities support.
CI_TD_ENTRY CI_TD_ENTRY.CRE_DTTM
F1_SYNC_REQ_IN F1_SYNC_REQ_IN.CRE_DTTM
F1_OUTMSG F1_OUTMSG.CRE_DTTM
F1_SVC_TASK F1_SVC_TASK.CRE_DTTM
F1_OBJ_REV F1_OBJ_REV.STATUS_UPD_DTTM
F1_BUS_FLG F1_BUS_FLG.CRE_DTTM
F1_REMOTE_MSG F1_REMOTE_MSG.CRE_DTTM
F1_STATS_SNPSHT F1_STATS_SNPSHT.CRE_DTTM
F1_ERASURE_SCHED F1_ERASURE_SCHED.STATUS_UPD_DTTM
F1_PROC_STORE F1_PROC_STORE.STATUS_UPD_DTTM
F1_GNRL_AUDIT F1_GNRL_AUDIT.CRE_DTTM
D1_ACTIVITY D1_ACTIVITY.CRE_DTTM
D1_COMM_IN D1_COMM_IN.CRE_DTTM
D1_COMM_OUT D1_COMM_OUT.CRE_DTTM
D1_DVC_EVT D1_DVC_EVT.CRE_DTTM
D1_COMPL_EVT D1_COMPL_EVT.CRE_DTTM
D1_INIT_MSRMT_DATA D1_INIT_MSRMT_DATA.CRE_DTTM
D1_USAGE D1_USAGE.CRE_DTTM
D1_USAGE_EXCP D1_USAGE_EXCP.CRE_DTTM
D1_VEE_EXCP D1_VEE_EXCP.CRE_DTTM
D1_ACTIVITY D1_ACTIVITY.CRE_DTTM
CI_ADJ CI_ADJ.CRE_DT
CI_BILL CI_BILL.CRE_DTTM
CI_BSEG CI_BSEG.CRE_DTTM
CI_STM CI_STM.STM_DT
C1_OFFCYC_BGEN C1_OFFCYC_BGEN.STATUS_UPD_DTTM
CI_BILL_CHG CI_BILL_CHG.START_DT
CI_FA CI_FA.CRE_DTTM
CI_ENRL CI_ENRL.START_DT
CI_PAY_EVENT CI_PAY_EVENT.PAY_DT
CI_PAY CI_PAY_EVENT.PAY_DT
CI_MATCH_EVT CI_MATCH_EVT.CREATE_DT
C1_USAGE C1_USAGE.CRE_DTTM
C1_CUST_REL_REQ C1_CUST_REL_REQ.CRE_DTTM
CI_CC CI_CC.CC_DTTM or
CI_CC.LETTER_PRINT_DTTM
CI_MR CI_MR.READ_DTTM
C1_PA_RQST C1_PA_RQST.CRE_DTTM
C1_CS_RQST C1_CS_RQST.CRE_DTTM
C1_CS_REQ_ACCT C1_CS_REQ_ACCT.?
C1_CS_REQ_CONT C1_CS_REQ_CONT.CRE_DTTM
C1_CS_RQST_CONT_PROD C1_CS_RQST_CONT_PROD.CRE_DTTM
C1_CS_REQ_PER C1_CS_REQ_PER.CRE_DTTM
C1_CS_REQ_CVS_LOC C1_CS_REQ_CVS_LOC.CRE_DTTM
C1_CS_REQ_PREM C1_CS_REQ_PREM.CRE_DTTM
C1_MKTMSG_CHG C1_MKTMSG_CHG.MKT_CHG_DT
C1_MKTMSG_PAY C1_MKTMSG_PAY.MKT_PAY_DT
C1_MKTMSG_USG C1_MKTMSG_USG.MKT_USG_DT
This chapter describes the steps involved in data conversion and migration, including:
• Upload Data into a Table or Maintenance Object
• Data Upload Orchestration
Switch Schema
Navigate to Admin, then Conversion Support, then Switch Schema, and select
"Conversion" from the drop-down list and click OK.
Upload Data
Upload the input data file created above to the Object Storage location
Run the K1-CNVLD batch process, specifying the target table or maintenance object as a
parameter. Detailed description of data upload parameters can be found in the online
help.
There are multiple strategies to orchestrate the entire conversion run and to build the
optimal sequence of the conversion processes. Below are some of the many possibilities:
• upload all legacy data extract files simultaneously, then run the subsequent
validation and transformation processes for the converted object in a certain
order of precedence, to preserve referential integrity
• begin the upload of very large tables in advance, so all upload is finished
simultaneously, then validate & transform
• include legacy data upload batch(es) in the batch job chain for the target object
• upload some of the data by maintenance object, some table by table
• process maintenance objects end-to-end simultaneously, if there are no inter-
dependencies
Conversion-related configurations define the expected extract file layout and the SQL
Loader run-time upload options and parameters. SQL Loader's Control Files are
generated based on these configurations.
The Batch Job/Batch Job Chain setup defines the overall orchestration of the conversion
process flows.
This chapter describes customizations to the data upload process including:
• Why Customize
• When to Customize
• What to Customize
• How to Customize
• Tips and Important Mistakes to Avoid
• Sample Artifacts and Data Files
Why Customize
There are several reasons for customizing conversion configurations, including:
• fine-tuning data upload performance
• handling unusual data volumes
• marking additional table(s) as eligible for conversion
• reducing creation of unnecessary input files
When to Customize
The layout of the legacy extract files should be finalized as soon as possible, to provide
enough time for the extract process development.
The setup of the batch job chains is less critical at the beginning of the project. The initial
suggested setup is likely to be included in the application Conversion Accelerator. Adjust
the initial setup after you've performed the trial uploads of the actual data, assessed the
performance and figured the optimal flows.
What to Customize
Control File
The majority of the customizations affect the contents of the generated Control File and
the corresponding input data file specifications. The configurations are stored on the
Conversion Task Types that represent Conversion Instructions.
• Customizing the Control File's load options and parameters may improve upload
performance
• Fully customized Control File allows you to use alternative record parsing and
other advanced SQL Loader configuration techniques.
• When CLOB data is supplied as Secondary Files, the system is expecting the
input data files to exist and be named following the specific naming convention.
• For example, if the table has multiple CLOB fields, for every CLOB field that
was not excluded from conversion, the system is expecting the secondary file's
name to be suffixed with _<CLOB Field Name>. See the online help for more
details.
Data Delimiters and Enclosing Characters. Examine the default Conversion
Instructions (Conversion Task Type) setup. Either select another delimiter from the
existing list or add new value to the Extended Lookup.
CLOB as Secondary File? The indicator is defined on Conversion Instructions
(Conversion Task Type).
Applicable when CLOB is supplied as Secondary File:
CLOB Columns Included in Conversion. By default, the control file is generated as if
all CLOB fields are part of the converted data. The legacy data does not necessarily
contain data for all CLOB fields, hence there is no reason to create empty files. The list of
excluded CLOB columns is is defined on Conversion Instructions (Conversion Task
Type). Create new Conversion Instructions (Conversion Task Type) for the Table or MO
with multiple CLOB fields and specify the exclusion list.
Control File "Header" - Load Options. A text stored as Managed Content. Contains
the control file's fragment with options and load parameters. You can amend the options
according to SQL Loader documentation. Examine the entries delivered with the
product.
Note: The text contains several substitution parameters prefixed with
%. The substitution happens at generation time or at run time. Preserve
them while creating a custom Control File header.
If you wish to amend the load options and parameters only, create a new
Managed Content entry. Modify default Conversion Instructions
(Conversion Task Types) or create new ones and add Override
Instructions to Conversion Master Configuration. Run Conversion
Artifact Generator and create new customized Control File. See the
online help for more details.
Custom Control File. A text stored as Managed Content and representing the entire
Control File, including load options, parameters and the field list.
Note: Preserve substitution parameters (see the note above). The input
data file specifications are not generated when the Custom Control File
is used. Make sure that the fields in the input data files correlates to the
field's list in the custom Control File.
How to Customize
Configurations can be amended on several levels:
• To modify the configuration globally, amend the default Conversion Instructions
(Conversion Task Type) that is referenced on Conversion Data Upload Master
Configuration
• To modify the option globally for all tables, amend the default Conversion
Instruction for Table (Conversion Task Type) that is referenced on Conversion
Data Upload Master Configuration
• To modify the option globally for all maintenance objects, amend the default
Conversion Instruction for MO (Conversion Task Type) that is referenced on
Conversion Data Upload Master Configuration
• To modify the option for a specific table(s) or maintnance objects, create new
Conversion Instruction (Conversion Task Type) and add the Override
Instruction for Table or MO on Conversion Data Upload Master Configuration
• To make a non-converted table eligible for conversion, add it to the Override
Conversion Eligibility list on Conversion Data Upload Master Configuration
IMPORTANT! Regenerate Conversion Artifacts to apply the configuration changes.
Download the updated input file specifications.
Issue Details
Run the process The data upload only runs if the environment is pointing to
against the right the STAGING schema.
target.
Navigate to Conversion Support ' Switch Schema. On the
popup screen the current schema is displayed. Make sure the
current schema is Staging.
Provide data files SQL Loader loads the data according to the Control File.
according to the
Input Data File Specifications describe what is expected
specifications
from the input data file:
Regenerate the
• Names of the data files
artifacts after
modifying the data • Data format for all fields
upload configurations • Data delimiters to be used in the input data file
Every time the configuration has changed the artifacts must
be regenerated in order to keep the configurations and the
input data specifications in sync.
Provide input data Conversion Instruction defines whether CLOB data is
files with CLOB data provided as part of the main file or as a separate file. The
IF NECCESSARY system expects the data files to be provided according to this
definition.
Open the Input Data Specifications and read carefully. If the
specification mentions that CLOB is to be provided as a
secondary file, this is what Control File would inspect.
If you wish to include CLOB data in the main file, verify that
the Conversion Instruction is set correctly.
If the configuration was modified you must regenerate
the artifacts.
Issue Details
Avoid creating By default the system expects the data to be provided for all
unnecessary data files target table columns.
for CLOB columns
If the table contains multiple CLOB columns AND the
CLOB data is provided as a secondary file, it means one
input data file per column.
To exclude unnecessary CLOB columns for a table or
maintenance object, configure Conversion Instructions using
the K1-ConvArtMultClobMOTaskType or K1-
ConvArtMultClobTblTaskType business object and specify the
Override Conversion Instruction on the Master
Configuration
Regenerate conversion artifacts and examine the input data
specifications after changing the configuration
Avoid truncating the The K1-SCLTB batch process allows you to truncate a
entire staging data specific table or maintenance object in the STAGING
unintentionally schema.
The K1-CLNTB batch process allows you to truncate a
specific table or maintenance object in the PRODUCTION
schema.
If submitted without input parameter specifying a table or
maintenance object, these batches will process all tables
eligible for conversion. This means that all your staging data
will be wiped out at once.
Clean up duplicate PK Indexes and constraints are disabled during data upload in
values before the data order to boost performance.
upload
De-duplication during the data upload is not supported out-
of-the-box
• SQL Loader direct path upload doesn't perform
duplicate check
• No direct database access means no possibility to
modify data via direct SQL after the upload
Keep track of the legacy data that has been already uploaded
If you re-upload the same data again, always clean up the
target table(s).
Issue Details
Issue Details
Loading Very Large Avoid SQL-based conditions in the control file when loading very
Data Volumes large data volumes. The default values and SQL-based conditions
will cause SQL Loader to switch to the conventional path load
which performs row-by-row inserts.
Additional guidelines:
• Partitioning by month is required for best performance
• Load multiple months in parallel for best performance &
scalability
• Start with ONE thread per month
• Increment number of threads per month. If performance
does not increase, try a smaller increment or stay with your
last best. For example: loaded 12 months data with 48
threads, 4 threads/month
• Large data files are preferable
• Many small files have the overhead of spinning up new
SQL*Loader process for each file
• Set longer SQL timeout on the data upload batch process
• Disable indexes before loading
• Rebuild indexes after direct path load
• Reduce or stop the activities in the environment when
performing the massive data upload
The table below provides more details on each of the sample artifacts available.
Interval Data Set Regular maintenance object, CLOB field as a secondary file.
(INT_DATA_SET)
Configuration: Conversion Task Type K1-CNV-MO
MO Customer Contact Regular maintenance object, CLOB fields in the main file.
(CUST_CONTACT) Configuration: same as Conversion Task Type K1-CNV-
TABLE, but the CLOB as Secondary File indicator set to false.
Table Meter Read (CI_MR) Regular table, CLOB field as a secondary file.
Configuration: Conversion Task Type K1-CNV-TABLE.
Table Adjustment (CI_ADJ) Regular table, CLOB field in the main file.
Configuration: same as Conversion Task Type K1-CNV-
TABLE, but the CLOB as Secondary File indicator set to false.
Table Initial Sync Request Table with Multiple CLOBs as secondary files.
(F1_SYNC_REQ_IN)
Configuration:
For table with multiple CLOBs, the special Conversion Task
Type was created based on the
K1-ConvArtMultClobTblTaskType business object.
Override Control File (Managed Content) was created and
used as a custom Control File.
Review the sample and note that there is a conditional input
data selection. Only records with
BO = W1-CompositeSyncReqGISAsset would be uploaded.
A custom Control File is necessary if you have a requirement
to manipulate the data during upload.
The next three chapters describe how implementations can integrate and exchange
information from Oracle Utilities Cloud Services to other applications and vice versa
through file based integration. File upload and download processes are used by some
implementation for data connect, payment upload, letters extract, financial extracts, other
business processes.
Oracle Utilities Cloud Services can exchange data files from one application to another
by:
• Directly accessing Oracle Cloud Object Storage
• Integrating with Oracle Integration Cloud.
For more information about this approach, refer to the Oracle Integration Cloud
documentation at https://docs.oracle.com/en/cloud/paas/integration-cloud/
These chapters provides information on how Oracle Utilities Cloud Services, specifically
Oracle Utilities Customer Cloud Service (CCS), access data files from Oracle Cloud
Object Storage, including:
• Chapter 15: Object Storage Connection Management
• Chapter 16: File Export Sample Implementation
• Chapter 17: File Import Sample Implementation
File-Based Integration 1 - i
Oracle Utilities Cloud Services Implementation Guide
Chapter 15
Object Storage Connection
Management
This chapter outlines how to manage connections between Oracle Utilities cloud services
and Oracle Object Storage, including:
• Oracle Object Storage Setup
• Oracle Utilities Cloud Service Configuration for Object Storage Connection
• Register API Key to Oracle Cloud Object Storage
• File Adapter: The type of file adapter for the location. Select “Oracle Cloud
Object Storage”.
• User: The user Oracle Cloud ID (ODIC) for the object storage location
• Tenancy: The tenancy Oracle Cloud ID (ODIC) for the object storage location
• Compartment: The compartment Oracle Cloud ID (ODIC) for the object
storage location
• Namespace: The namespace for the object storage location
• Key Ring: The Key Ring you created earlier
• Region: The region of the object storage tenancy for the connection (Values for
this field are defined in the F1_REGION_FLG lookup.
Refer to External File Storage in the Oracle Utilities Application Framework Administrative
User Guide and the Oracle Utilities Cloud Services Object Storage Setup Guide for more
information.
This chapter provides an example of implementing a file export process, which includes:
• Creating a File Export Batch Process
• Configuring the Export Process
Oracle Utilities cloud services include a batch control that can be used as a template for
creating batch controls to import data from a file to the application. This template batch
control is called Plug-in Driven File Upload Template (F1-PDUPL).
To use this template, an implementation can duplicate the F1-PDUPL batch control and
provide the required algorithm for the "File Upload" system event. The algorithm
associated with the batch control is responsible for using provided APIs to read the
content of the file and store the data in appropriate table(s) such as a staging table or the
FACT table. (we will use the FACT table in this sample).
The plug-in scripts written to implement this type of algorithm must use the Groovy
script engine version as the APIs are not accessible using the XPath scripting language.
The sample plug-in scripts provided illustrate using the various available APIs to upload a
flat file, xml file or a delimited file. Implementation can write their own plug-in scripts to
handle their specific file upload needs.
The following steps summarize how to implement a new file import background process:
• Identifying Upload File Content Data
• Uploading File to Oracle Cloud Object Storage
• Creating a File Import Batch Process
• Configuring the Import Process
For more information on how to use Plug-in Driven background processing for import
and upload, refer to the following section in the Oracle Utilities Application Framework
Administrative User Guide:
Background Processes
Understanding Background Processes
Plug-in Driven Background Processes
Uploading Records
This sample data contains 'degree day' data, including a header record and two data
records.
The header record contains the following components (the length of the field is shown in
parenthesis):
• Record Type (4) (Value: 0010)
• Source (30) (Value: MCT-NJ)
• Date Transmitted (10) (Value: 2018-05-15)
• Number of Records (5) (Value 00002)
Individual data records have the following components:
• Record Type (4) (Value: 0020)
• Area (8) (Value: BOSTON01, BOSTON02)
• Degree Date (10) (Value: 2018-04-01, 2018-04-02)
• Degree Day (10) (Value: 29, 20)
• Minimum Temperature (10) (Value: 33, 57)
• Average Temperature (10) (Value: 36, 45)
• Maximum Temperature (10) (Value: 38, 33)
• Comments (254) (Value: Meli Testing FF Upload..., Meli Comment2)
Plug-In Script
The first step is to create a plug-in script that will process the data in the upload file. This
plug-in script should be created for the "Batch Control - File Upload" Algorithm Entity.
You can use sample plug-in scripts provided or create a new plug-in script with logic
required for reading the record and identifying each record detail to properly create the
insert statements for storing the data in the appropriate application tables.
The sample plug-in scripts provided illustrate how to call the supplied APIs for
processing different types of source data including fixed position, comma delimited, and
XML formats.
Sample Plug-in Scripts for Algorithm Entity: Batch Control - File Upload
Note: The F1UplSmplFlt sample script is designed to work with the sample data above.
This section describes how to use Oracle REST Data Services with Oracle Utilities cloud
services. This includes
• Chapter 18: SQL Developer Web
• Chapter 19: REST APIs
Refer to the Oracle REST Data Services documentation for more information about
Oracle REST Data Services.
Oracle SQL Developer Web is a part of Oracle REST Data Services (ORDS), and is the
web-based version of Oracle SQL Developer that enables you to connect to an Oracle
database and execute queries and scripts, create database objects, build data models, and
monitor database activity.
Oracle Utilities cloud services use Oracle SQL Developer Web to connect to a cloud
service database to execute read-only queries on various database schema objects.
Please refer the Oracle REST Data Services documentation for more information about
using Oracle SQL Developer Web.
Users must be assigned to the “SQL Developer Web Online User” application role in
order to use SQL Developer Web with Oracle Utilities cloud services. See Pre-Defined
Application Roles in the Oracle Utilities Cloud Services Administration Guide for more
information about application roles used with Oracle Utilities cloud services.
Access is provided to both CISREAD and STGADM database schemas to perform
select/read-only queries.
• The CISREAD schema can be used to perform select and read-only queries of
the production schema.
• The STGADM schema can be used to perform select and read-only queries of
the staging schema (used with data migration and conversion).
• Oracle REST Data Services can access the production and staging schemas in
both production and non-production environments.
Oracle REST Data Services also provides REST APIs that can be invoked via cURL to
connect to an Oracle database and perform operations.
Users must be assigned to the "REST Enabled SQL" application role in order to use
REST APIs with Oracle Utilities cloud services. See Pre-Defined Application Roles in
the Oracle Utilities Cloud Services Administration Guide for more information about
application roles used with Oracle Utilities cloud services.
The following is an example syntax for cURL command.
curl -i -X POST --user <username>:<password> --data-binary "<SQL
statement>" -H "Content-Type: application/sql" -k <Oracle REST URL>
Contact your system administrator for Oracle SQL Developer Web and REST service
URLs.
No additional configuration is required to use Oracle SQL Developer Web or REST
services.
REST APIs 19 - 1
Oracle Utilities Cloud Services Implementation Guide
Part Five
Product-Specific Integrations
This section describes product-specific integrations available for use with Oracle Utilities
Cloud Services. This includes:
• Chapter 20: Customer Cloud Service Receipt Printing
Product-Specific Integrations 1 - i
Oracle Utilities Cloud Services Implementation Guide
Chapter 20
Customer Cloud Service Receipt Printing
This chapter describes how to configure Oracle Utilities Cloud Services to support
integration with a Point Of Sale (POS) printer for printing of receipts related to the
following payment transactions:
• Payment Event
• Payment Event Quick Add
• Payment Quick Add
Refer to the Oracle Utilities Cloud Services Business User Guide for more information
about these payment transactions.
Configuration to support this functionality includes:
• Oracle Utilities Cloud Services Configuration
• Printer Installation
• Recommended Printer Preferences
Notes:
• The instructions in this document are based on a specific sample printer, the
Epson TM-H6000IV USB POS printer.
POS Printing - Payment Event Quick Add Payment Event Quick Add Print
(C1-PyEvQAPrt)
POS Printing - Payment Quick Add Payment Quick Add Print (C1-PyQAPrt)
Define a BPA script for each of the processing types you want to support.
Note: If your implementation has existing receipt and endorsements
messages configured on the Installation record and/or Company Name
defined in the override text of message (11,99901), the Update Point Of
Sale Printer Configuration (C1-UPPSC) plugin-driven batch process can
be run to copy this data into this master configuration. Refer to the C1-
UPPSC batch control and its related algorithms for more information.
Payment Event Quick Add Print Payment Event Quick Add Print
(C1-PyEvQAPrt) (C1-PaymentEventQuickAddPrint)
The above-mentioned UI maps are designed for local USB point-of-sale printers. This
approach differs from previous base samples that were designed for network printing.
Note that the prior sample UI maps and BPA scripts will no longer be enhanced starting
with this release.
The latest UI map samples print additional payment receipt information related to the:
company, cashiering station, payment, tender and the payee. Refer to the UI map in the
application for more details.
If your implementation requires additional information to be printed and/or certain
information to be composed/printed differently, the sample UI maps and the referencing
BPA scripts should be copied and configured accordingly.
Printer Installation
The following printer installation instructions are specific to the Epson TM-H6000IV
USB printer that was used to code and test the sample UI maps. If using a different
printer brand or model, refer to your printer's installation instructions.
1. Download the printer driver from the manufacturer's site.
For Epson TM-H6000IV, the location is: https://epson.com/Support/Point-of-
Sale/Hybrid-Printers/Epson-TM-H6000IV-with-Validation/s/
SPT_C31CB25A8791?review-filter=Windows+10+64-bit
2. In the InstallShield Wizard, click Next.
3. Accept the terms of the license agreement and click Next.
4. Select Minimum install and click Next.
5. Add the drivers for Receipt and Endorsement. Click Add for each driver.
6. The available drivers are shown. Look for the TM-6000IV Receipt driver to add and
click Next.
7. Click Add again and search for the TM-6000IV Endorsement driver. Click Next.
8. The download begins. After the drivers are installed and configured successfully, click
Finish.
Endorsements
Printer Destination: EPSON TM-H6000IV Endorse
Orientation: Portrait (Endorsements) - Landscape (Stubs)
Paper Sixe: 80 x 100 mm
Scale: Fit to Page
Margins: Minimum
Options: Do not select Print headers and footers or backgrounds. Leave both blank.
Note: Firefox has no print control setting for Quality as does Chrome
and Edge. This makes a difference in the accuracy and quality of the
print. There is still some information missing from the endorsement and
stub and this is made worse by multiple endorsement messages defined
on POS Master Configuration. The more endorsement messages to
print on the endorsement, the more likelihood of the endorsement
detail being either missing or garbled.
Endorsements
Printer Destination: EPSON TM-H6000IV Endorse
Layout: Portrait (Endorsements) - Landscape (Stubs)
Paper Sixe: 80 x 100 mm
Quality: 160 x 144 dpi (Endorsements/Stubs only)
Scale: Fit to Page
Margins: Minimum
Options: Do not select Print headers and footers or backgrounds. Leave both blank.
Endorsements
Printer Destination: EPSON TM-H6000IV Endorse
Layout: Portrait (Endorsements) - Landscape (Stubs)
Paper Sixe: 80 x 100 mm
Quality: 160 x 144 dpi (Endorsements/Stubs only)
Scale: Actual Size 100
Margins: Minimum
Options: Do not select Print headers and footers or backgrounds. Leave both blank.
When you are ready to print a receipt, endorsement or stub, select the appropriate printer
from the Print drop-down list.
Also, pay close attention to Orientation/Layout depending on printing Receipts,
Endorsement and Stubs.
• Select the Receipt printer to print long, short and duplicate receipts.
• Select the Endorse printer to print endorsements and stubs
This section describes how to use web services with Oracle Utilities Cloud Services. This
includes:
• Chapter 21: Web Services in Oracle Utilities Cloud Services
Web Services 1 - i
Oracle Utilities Cloud Services Implementation Guide
Chapter 21
Web Services in Oracle Utilities Cloud Services
This chapter describes how to access SOAP and REST web services in the Oracle
Utilities Cloud Services. This includes:
• Inbound Web Services
• Outbound Messages
• Web Service Catalog on Cloud Services
• Web Service Catalog on On-Premises Applications
• User Rights
• Debugging & Tracing Options
Users cannot access the WSDL by providing the WSDL URL from a browser or from
SOAPUI or any web service testing application. They must use the cloud service
application or a curl command.
Cloud Service Application:
Use the following procedure to access a web service WSDL using an Oracle Utilities
cloud service application:
1. Select Admin, then Integration, then Inbound Web Service, and then Search to
access the Inbound Web Service Query portal.
2. Search for the SOAP service you wish to access (select "SOAP" from the Web
Service Class drop-down list)
3. Once the SOAP web service is displayed in the Inbound Web Service portal, click
the WSDL link in the View WSDL field.
Curl Command:
Use the following procedure to access a web service WSDL using a curl command:
The curl command format:
curl -k -X GET https://{host}:{port}/{tenant}/{domain}/{appName}/
soap/api/iws/{IWSServiceName}?WSDL -u username:password
where:
https://{host}:{port}/{tenant}/ Product Application URL
{domain}/{appName}
Example of Customer Cloud Service
Application URL:
https://cloudenv:port/
tenant/prod/ccs
The endpoint URL to use to make the REST call to get a v2 Swagger Specification
follows this format:
https://{host}:{port}/{tenant}/{domain}/{appName}/rest/openapi/v2/
{IWSServiceName}
When making the REST call, use the Get method. Refer to the sample URL below.
Method: GET
URL: https://host:port/tenant/domain/appName/rest/ouaf/openapi/F1-
GetIWSWSDL
The endpoint URL to use to make the REST call to get a v2 Swagger Specification
follows this format:
https://{host}:{port}/{context}/rest/ouaf/openapi/v2/
{IWSServiceName}
When making the REST call, use the Get method. Refer to the sample URL below.
Method: GET
URL: https://host:port/ouaf/rest/ouaf/openapi/v2/F1-GetIWSWSDL
where:
ComputedURL Base URL referring to the common
path for the API.
Example:
The w1WorkActivity REST inbound web service API Specification has two resource
URI Components:
https://{hostname}:{port}/{tenant}/dev01/wacs/rest/apis/asset/
work/workActivity/scheduleWindow/{activityId}
where:
https://{host}:{port}/{tenant}/ Cloud Product Application URL
{domain}/{appName}
Example of Customer Cloud Service
Application URL:
https://cloudenv:port/
tenant/prod/ccs
Examples:
F1 (Framework): /common
C1 (Customer): /customer
resourceCategoryURLComponent The value is obtained from URI
COMPONENT in Resource Category
for REST services extendable lookup
(F1-RESTResourceCategory) where
there is an entry for each resource
category.
Example:
F1-SYSTEM (System): /system
Note: The Computed URL for cloud applications may not always be
the same as the application URL. Always get the value from the API
Specification of the REST Service.
• Patch
• Post
• Put
The method is defined in the HTTP Method drop-down list in the Operations section
of the Inbound Web Service portal.
For the Get, Put and Patch HTTP Methods, "Query" or "Path" parameters can be passed
with the endpoint. This is specified using the Parameter Type drop-down list in the
Parameters columns in the Operations section of the Inbound Web Service portal
• Path parameters: These are parameters that are part of the endpoint and are
required. Usually they are represented in the endpoint with curly braces.
• Query parameters: These parameters are often optional. They are not part of
the endpoint but rather are included in the endpoint URL after a question mark,
followed by name value pairs.
Example:
'../getAccountBills/
{accountId}?startDate=20190101&endDate=20190630'.
c. On the Header tab, provide the following key value pair to send and accept json
messages.
d. On the Body tab, provide the request message. Sample request and response
messages can also be found on the REST API Specification by expanding each
resource URI.
Outbound Messages
This section describes the setup of components used to send outbound messages by
invoking the SOAP or REST service of the target application. The information below
assumes outbound message types have been created for each web service.
Make sure the target environment you are accessing is allowlisted in the Oracle Cloud
Utilities Entitlement. This is requested by opening a service request for the Oracle
Utilities Cloud Operations team.
4. Select the Context tab and set the values for the following context types:
Example:
<wsdl:operation
name="Get_APPT_SVC">
<soap:operation
soapAction="process"/>
HTTP Timeout 60
Example:
<wsdl:service
name="receiveApptReq_Por
tType">
<wsdl:port
name="receiveApptReq_Por
tType_pt"
binding="receiveApptReq_
PortType_binding">
<soap:address
location="https://
server:port/
servicename"/>
5. Click Save.
The SOAPSNDR message class will add the SOAP Envelope before
sending the message out.
HTTP Timeout 60
@EXT_PUB@RESTEndpointU
RL
where”
@EXT_PUB@ refers to the
outbound proxy and append the
REST endpoint url without the
https:// protocol.
5. Click Save.
The endpoint URL for the SOAP Catalog Service can be obtained by following this
format:
https://{host}:{port}/{tenant}/{domain}/{appName}/soap/api/iws/
ServiceCatalog
The endpoint URL for the SOAP Catalog Service can be obtained by following this
format:
https://{host}:{port}/{context}/webservices/builtin/
ServiceCatalog?WSDL
User Rights
Web service calls must be authorized for the calling user. In other words, the user must
exist as an OUAF User with adequate application services for the underlying services
called by the inbound web service, and the debug services. The debug Application
Services are F1DEBUG to enable a url with the debug=true setting, and F1USERLOG
to view user logs in the online system. Also note that the 'Integration Suite API' has a
separate Application Service (C1-INTG-SUITE-API) which is required (when licensed).
You will probably not want to grant any more access to the inbound web service calling
user than they absolutely need, so Oracle recommends creating a separate User Group as
needed to support very specific access. Check the User Group and Application Services
settings for the user.
For example: if the inbound web service is reading an Account, then the user will need
read rights on the Account service (CILCACCP).