| Schema Version | 5.0.5 | |
| Filegroup | CDR_DATA | |
| Partitioned | Yes, when you use the partitioning scheme and corresponding SQL scripts | |
The CDR table is defined by the following columns in your back-end database. See the column details for more information.
| Name | PK | FK | IX | Uses | Used by | Definition |
|---|---|---|---|---|---|---|
| OID | IX_CDR_OID |
|
The unique ID of the CDR | |||
| BGRP_OID | IX_SUBS_CDRIX_CDR_OIDIX_CDR_SEIX_STATUS |
|
The unique batch rating group ID | |||
| NAME |
|
The code name of the chargeable item that is sent to the SAP CC Core Server system to be batch charged | ||||
| USER_ID |
|
Part of the user access of the chargeable item | ||||
| SERVICE_ID |
|
Part of the user access of the chargeable item: technical identifier of the customer service. | ||||
| SUBSCRIPTION_ID | IX_SUBS_CDR |
|
The identifier of the subscription (or provider contract) determined by the consolidation operation | |||
| PARTITION_ID |
|
The identifier of the partition determined by the consolidation operation | ||||
| SUAC_ID |
|
The identifier of the subscriber account determined by the consolidation operation | ||||
| CHARGE_ID |
|
The identifier of the charge determined by the consolidation operation | ||||
| CONSUMPTION_DATE | IX_MAGIC_NUMBERIX_CDR_SEIX_STATUS |
|
The service consumption date recorded in the CDR | |||
| STATUS | IX_STATUS |
|
The current status of the CDR | |||
| ACQUISITION_DATE |
|
The acquisition date of the CDR by the BART Server system | ||||
| ACQUISITION_ID |
|
The ID of the acquisition session during which the CDR was acquired from a downstream application or system | ||||
| RATING_DATE |
|
The date of the last batch rating and charging session | ||||
| RATING_ID | IX_STATUS |
|
The ID of the last batch rating and charging session | |||
| ERROR_CODE |
|
The numerical code of the batch rating and charging error | ||||
| ERROR_DESCRIPTION |
|
The text description of the rating/charging error | ||||
| SOURCE |
|
The source which the CDR comes from | ||||
| MAGIC_NUMBER | IX_MAGIC_NUMBERIX_STATUS |
|
The business identifier of the CDR for deduplication | |||
| PROPERTIES |
|
The list of CDR properties values | ||||
| SNAPSHOT_ID |
|
The snapshot identifier of the last rerating session | ||||
| CHARGE_TYPE |
|
The type of the charge (subscription/provider contract) |
The database schema defines the following columns. Check the definitions, types, available indexes, and formats:
| Definition | The unique ID of the CDR |
| Type | DECIMAL(28), NOT NULL |
| Available Index | IX_CDR_OID |
| Definition | The unique batch rating group ID |
| Type | DECIMAL(2), NOT NULL |
| Available Index | IX_SUBS_CDR |
| Available Index | IX_CDR_OID |
| Available Index | IX_CDR_SE |
| Available Index | IX_STATUS |
| Definition | The code name of the chargeable item that is sent to the SAP CC Core Server system to be batch charged |
| Type | NVARCHAR(256), NOT NULL |
| Definition | Part of the user access of the chargeable item |
| Description |
|
| Type | NVARCHAR(256), NOT NULL |
| Definition | Part of the user access of the chargeable item: technical identifier of the customer service. |
| Type | NVARCHAR(256), NOT NULL |
| Definition | The identifier of the subscription (or provider contract) determined by the consolidation operation |
| Type | DECIMAL(28), NOT NULL |
| Available Index | IX_SUBS_CDR |
| Definition | The identifier of the partition determined by the consolidation operation |
| Type | DECIMAL(4), NOT NULL |
| Definition | The identifier of the subscriber account determined by the consolidation operation |
| Type | DECIMAL(28), NOT NULL |
| Definition | The identifier of the charge determined by the consolidation operation |
| Type | DECIMAL(28), NOT NULL |
| Definition | The service consumption date recorded in the CDR |
| Type | DATETIME, NOT NULL |
| Available Index | IX_MAGIC_NUMBER |
| Available Index | IX_CDR_SE |
| Available Index | IX_STATUS |
| Definition | The current status of the CDR |
| Format |
The possible values are:
|
| Type | DECIMAL(1), NOT NULL |
| Available Index | IX_STATUS |
| Definition | The acquisition date of the CDR by the BART Server system |
| Type | DATETIME, NOT NULL |
| Definition | The ID of the acquisition session during which the CDR was acquired from a downstream application or system |
| Type | DECIMAL(28), NULL |
| Definition | The date of the last batch rating and charging session |
| Type | DATETIME, NULL |
| Definition | The ID of the last batch rating and charging session |
| Type | DECIMAL(28), NULL |
| Available Index | IX_STATUS |
| Definition | The numerical code of the batch rating and charging error |
| Description |
The numerical code of the batch rating and charging error. The BART Server system
sets up this value depending
on the charging result received from the Core Server system.
Note Consult the Error Code Reference for Batch Charging documentation for
more information about these codes.
|
| Type | DECIMAL(4), NULL |
| Definition | The text description of the rating/charging error |
| Description |
The detailed text description of the rating and charging error that is sent by the
Core Server system to
the BART Server system. The error description is visible in the BART Tool user interface.
Note Consult the Error Code Reference for Batch Charging documentation for
more information about the necessary investigations.
|
| Type | NVARCHAR(1000), NULL |
| Definition | The source which the CDR comes from |
| Description |
|
| Type | NVARCHAR(1000), NULL |
| Definition | The business identifier of the CDR for deduplication |
| Type | CHAR(34), NULL |
| Available Index | IX_MAGIC_NUMBER |
| Available Index | IX_STATUS |
| Definition | The list of CDR properties values |
| Description |
|
| Type | NVARCHAR(4000), NULL |
| Definition | The snapshot identifier of the last rerating session |
| Type | DECIMAL(8), NOT NULL |
| Default | 0 |
| Definition | The type of the charge (subscription/provider contract) |
| Type | DECIMAL(1), NOT NULL |
| Default | 0 |
The following database indexes are available in the CDR database table to improve the speed of data retrieval operations during the business processes of SAP Convergent Charging:
| Indexed Column(s) | CONSUMPTION_DATE,MAGIC_NUMBER |
| Unique | Yes |
| Partitioned | Yes |
| Clustered | No |
| Filegroup | CDR_INDX |
| Indexed Column(s) | BGRP_OID,SUBSCRIPTION_ID |
| Unique | No |
| Partitioned | Yes |
| Clustered | No |
| Filegroup | CDR_INDX |
| Indexed Column(s) | BGRP_OID,OID |
| Unique | No |
| Partitioned | Yes |
| Clustered | No |
| Filegroup | CDR_INDX |
| Indexed Column(s) | CONSUMPTION_DATE,BGRP_OID |
| Unique | No |
| Partitioned | No |
| Clustered | No |
| Filegroup | CDR_INDX |
| Indexed Column(s) | BGRP_OID,CONSUMPTION_DATE,STATUS,RATING_ID,MAGIC_NUMBER |
| Unique | No |
| Partitioned | Yes |
| Clustered | Yes |
| Filegroup | CDR_INDX |