Implementation Guide for Oracle Billing Insight > Load Input File Specifications and Data Mapping >

File Formats for Batch Provisioning Data


This topic shows the file and record formats for batch provisioning data. The input file must be pipe-delimited. The file name must use the pattern PROV_BILLING_YYYYMMDDHHMISS.DAT, where YYYYMMDDHHMISS is the time when the file is generated.

The ProvisioningData batch job processes one file at a time, oldest file first. File processing order is critical, as an object created in the first file must be processed before it can be updated in the second, otherwise the second file will fail.

Each provisioning input file consists of the following:

  • A file header (record type 00)
  • One or more of the following record types, depending on the file type:
    • Company. Record type 10.
    • Account. Record type 20.
    • Service. Record type 30.

Each record has start date, end date, and delete date, which indicate when the object was created, canceled, and deleted. Each of these dates must be a value in the past.

The bill cycle end date is valid only when the file is extracted from the billing file. Also, when the file is extracted from the billing file, the billing cycle end date is not null in file header, and the start date and end date of record will both be null.

The date format is MM/DD/YYYY. The primary contact username and email must both have either a value or no value.

Follow these guidelines when creating batch provisioning input files:

  • Create a pipe-delimited file with the content and the format described in Implementation Guide for Oracle Billing Insight.
  • Use the following naming format for the provisioning input file you generate: PROV_BILLING_YYYYMMDDHHMISS.DAT
  • Add objects records to the input file in the following sequence:
    1. Companies
    2. Accounts
    3. Service Agreements
  • Add a row in the input file for each object with a minimum of the following information:
    • ID
    • Start date attributes
    • End date attributes
  • The start and end dates indicate when the object was created and expired. Use the dates to indicate the following actions:
    • Add, or create. Make the start date not null.
    • Delete. Make the delete date not null.
    • Expire. Make the end date not null (to expire the object).
    • Update. Make both the start and end dates null. Note that provisioning objects are not versioned.
  • You can use multiple input files, however, it is critical to date and load them in chronological order. The ProvisioningData job processes the file with the oldest modified date and time first, so date the files accordingly to sequence the proper load order. If you do not date the files properly, subsequent input files will fail due to missing objects.

    The ProvisioningData job processes the input file one row at a time.

Table 163 shows the file format for batch provisioning file header.

Table 163. File Header Record Format for the Batch Provisioning File
Record Type
Field
Pos
Max Len
Data Type
Req?
Staging Table (STG_CDR) Column Name
DB_TABLE_NAME
DB_COLUMN_NAME
Industry Application
00
Rec Type
1
2
VARCHAR2
Yes
None
None
None
Telco and Utility
00
BILLING SYSTEM
2
20
VARCHAR2
Yes
None
None
None
Telco and Utility
00
Billing Cycle End Date
 
3
10
DATE
No
None
None
None
Telco and Utility

Table 164 shows the file format for the company record in the batch provisioning file.

Table 164. Company Record Format for the Batch Provisioning File
Record Type
Field
Pos
Max Len
Data Type
Req?
Staging Table (STG_CDR) Column Name
DB_TABLE_NAME
DB_COLUMN_NAME
Industry Application
10
Rec Type
1
2
VARCHAR2
Yes
None
None
None
Telco and Utility
10
Start Date
2
10
DATE
No
None
EDX_ OMF
_COMPANY
START_DATE
Telco and Utility
10
End Date
 
3
10
DATE
No
None
EDX_ OMF
_COMPANY
END_DATE
Telco and Utility
10
Delete Date
4
10
DATE
No
None
EDX_ OMF
_COMPANY
DATE_DELETED
Telco and Utility
10
Company ID
5
255
VARCHAR2
Yes
None
EDX_OMF
_COMPANY
COMPANY_CD
Telco and Utility
10
Company Name
6
255
VARCHAR2
Yes
None
EDX_OMF
_COMPANY
DISPLAYNAME
Telco and Utility
10
Display Name
7
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
DISPLAYNAME
Telco and Utility
10
Corp Account No
8
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
CORPACCNO
Telco and Utility
10
Corp Tax ID
9
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
CORPTAXID
Telco and Utility
10
Street
10
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
STREET
Telco and Utility
10
City
11
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
CITY
Telco and Utility
10
State
12
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
STATE
 
Telco and Utility
10
Country
13
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
COUNTRY
Telco and Utility
10
Zip Code
14
20
VARCHAR2
No
None
EDX_OMF
_COMPANY
ZIPCODE
Telco and Utility
10
Primary Contact Username
15
255
VARCHAR2
No
None
EDX_BSL_UMF
_USER
EDX_BSL_AUTH
_SECPROFILE
USERID
Telco and Utility
10
Primary Contact Email
16
255
VARCHAR2
No
None
EDX_BSL_UMF
_USER
EMAIL1
Telco and Utility
10
Primary Contact First Name
17
255
VARCHAR2
No
None
EDX_BSL_UMF
_USER
FIRSTNAME
Telco and Utility
10
Primary Contact Last Name
 
18
255
VARCHAR2
No
None
EDX_BSL_UMF
_USER
LASTNAME
Telco and Utility
10
Flex Field_1
19
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_1
Telco and Utility
10
Flex Field_2
20
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_2
Telco and Utility
10
Flex Field_3
21
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_3
Telco and Utility
10
Flex Field_4
22
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_4
Telco and Utility
10
Flex Field_5
23
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_5
Telco and Utility
10
Flex Field_6
24
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_6
Telco and Utility
10
Flex Field_7
25
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_7
Telco and Utility
10
Flex Field_8
26
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_8
Telco and Utility
10
Flex Field_9
27
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_9
Telco and Utility
10
Flex Field_10
28
255
VARCHAR2
No
None
EDX_OMF
_COMPANY
FLEX_FIELD_10
Telco and Utility

Table 165 shows the file format for the account record in the batch provisioning file.

Table 165. Account Record Format for the Batch Provisioning File
Record Type
Field
Pos
Max Len
Data Type
Req?
Staging Table (STG_CDR) Column Name
DB_TABLE_NAME
DB_COLUMN_NAME
Industry Application
20
Rec Type
1
2
VARCHAR2
Yes
None
None
None
Telco and Utility
20
Start Date
2
10
DATE
No
None
EDX_OMF
_ACCOUNT
STARTDATE
Telco and Utility
20
End Date
 
3
10
DATE
No
None
EDX_OMF
_ACCOUNT
ENDDATE
Telco and Utility
20
Delete Date
4
10
DATE
No
None
EDX_OMF
_ACCOUNT
DELETEDAT
Telco and Utility
20
Company ID
5
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
BILLEE_ID
Telco and Utility
20
Account Number
6
255
VARCHAR2
Yes
None
EDX_OMF
_ACCOUNT
ACCOUNT_NUMBER
Telco and Utility
20
Account Name
7
100
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
NAME
Telco and Utility
20
Account Owner Name
8
100
VARCHAR2
Yes
None
EDX_OMF
_ACCOUNT
CONTACTNAME
Telco and Utility
20
Account Type
9
64
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
ACCOUNT_TYPE_KEY
Telco and Utility
20
Bill Cycle End Day
10
2
NUMBER
No
None
EDX_OMF
_ACCOUNT
BILL_CYCLE_ENDDAY
Telco and Utility
20
Bill Type
11
2
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
BILL_TYPE
Telco and Utility
20
Paper On Flag
12
1
CHAR2
No
None
EDX_OMF
_ACCOUNT
PAPER_ON_FLAG
Telco and Utility
20
Billable Flag
13
1
CHAR2
No
None
EDX_OMF
_ACCOUNT
BILLABLE_FLAG
Telco and Utility
20
Address Type
14
50
VARCHAR2
No
None
EDX_OMF
_ADDRESS
ADDRESS_TYPE_KEY
Telco and Utility
20
Address1
15
200
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
ADDRESS1
Telco and Utility
20
Address2
 
16
200
 
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
ADDRESS2
Telco and Utility
20
Address3
17
200
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
ADDRESS3
Telco and Utility
20
City
 
18
255
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
CITY
Telco and Utility
20
State
19
255
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
STATE
Telco and Utility
20
Country
20
255
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
COUNTRY
Telco and Utility
20
Zip Code
21
20
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
ZIP_CD
Telco and Utility
20
Contact Name
22
255
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
CONTACT_NAME
Telco and Utility
20
Home Number
23
128
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
HOME_PHONE
Telco and Utility
20
Work Number
24
128
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
WORK_PHONE
Telco and Utility
20
Mobile Number
25
128
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
MOBILE_PHONE
Telco and Utility
20
External Reference
26
128
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
EXTERNAL_REF
Telco and Utility
20
Email Address
27
128
VARCHAR2
No
None
EDX_OMF
_CONTACT_INFO
EMAIL_ADDRESS
Telco and Utility
20
Flex Field_1
28
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD1
Telco and Utility
20
Flex Field_2
29
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD2
Telco and Utility
20
Flex Field_3
30
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD3
Telco and Utility
20
Flex Field_4
31
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD4
Telco and Utility
20
Flex Field_5
32
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD5
 
Telco and Utility
20
Flex Field_6
33
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD6
 
Telco and Utility
20
Flex Field_7
34
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD7
 
Telco and Utility
20
Flex Field_8
35
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD8
Telco and Utility
20
Flex Field_9
36
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD9
Telco and Utility
20
Flex Field_10
37
255
VARCHAR2
No
None
EDX_OMF
_ACCOUNT
FLEX_FIELD10
Telco and Utility

Table 166 shows the file format for the service record in the batch provisioning file.

Table 166. Service Record Format for the Batch Provisioning File
Record Type
Field
Pos
Max Len
Data Type
Req?
Staging Table (STG_CDR) Column Name
DB_TABLE_NAME
DB_COLUMN_NAME
Industry Application
30
Rec Type
1
2
VARCHAR2
Yes
None
None
None
Telco and Utility
30
Start Date
2
10
DATE
No
None
EDX_OMF_SERVICEAGREEMENT
START_DATE
Telco and Utility
30
End Date
 
3
10
DATE
No
None
EDX_OMF_SERVICEAGREEMENT
END_DATE
Telco and Utility
30
Delete Date
4
10
DATE
No
None
EDX_OMF_SERVICEAGREEMENT
DELETE_DATE
Telco and Utility
30
Account Number
5
255
VARCHAR2
Yes
None
EDX_OMF_SERVICEAGREEMENT
ACCOUNT_NUMBERY
Telco and Utility
30
Service Number
6
255
VARCHAR2
Yes
None
EDX_OMF_SERVICEAGREEMENT
SERVICE_NUMBER
Telco and Utility
30
Service Type
7
40
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
SERVICE_TYPE_KEY
Telco and Utility
30
Product Code
8
50
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
PRODUCT_KEY
Telco and Utility
30
Subscriber Name
9
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
SUBSCRIBER_NAME
Telco and Utility
30
Zoning
10
1
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
ZONING
Telco and Utility
30
Description
11
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
DESCRIPTION
Telco and Utility
30
Flex Field_1
12
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD1
Telco and Utility
30
Flex Field_2
13
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
 
FLEX_FIELD2
Telco and Utility
30
Flex Field_3
14
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD3
Telco and Utility
30
Flex Field_4
15
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD4
Telco and Utility
30
Flex Field_5
 
16
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD5
Telco and Utility
30
Flex Field_6
17
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD6
Telco and Utility
30
Flex Field_7
18
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD7
Telco and Utility
30
Flex Field_8
19
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD8
Telco and Utility
30
Flex Field_9
20
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
FLEX_FIELD9
Telco and Utility
30
Flex Field_10
 
21
255
VARCHAR2
No
None
EDX_OMF_SERVICEAGREEMENT
 
FLEX_FIELD10
Telco and Utility
Implementation Guide for Oracle Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.