CACO_BATCH

Definition


The CACO_BATCH table contains the description of the charging contract used by the batch service client

Technical Data


Schema Version 5.0.6
Partitioned No

Summary


The CACO_BATCH 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 PK_CACO_BATCH       

    The charging contract unique identifier
    PARTITION_ID        

      The partition of the subscriber account
      BGRP_OID        

        The batch rating group identifier that this charging contract has registered
        RERATING_LOCK_CODE        

          The code of the rerating operation that locks this charging contract

          More...

          RERATING_LAST_CODE        

            The code of the last rerating operation performed on the charging contract

            More...

            RERATING_LAST_STATUS        

              The RERATING_LAST_STATUS field contains the last rerating status of the charging contract to detect if the rerating operation failed or succeeded

              More...

              RERATING_SUGGESTED_DATE        

                The rerating date suggested by the external billing system

                Column Details

                The database schema defines the following columns. Check the definitions, types, available indexes, and formats:

                OID

                Definition The charging contract unique identifier
                Type DECIMAL(28), NOT NULL
                Primary Key PK_CACO_BATCH

                PARTITION_ID

                Definition The partition of the subscriber account
                Type DECIMAL(4), NOT NULL

                BGRP_OID

                Definition The batch rating group identifier that this charging contract has registered
                Type DECIMAL(2), NULL

                RERATING_LOCK_CODE

                Definition The code of the rerating operation that locks this charging contract
                Description

                The code of the rerating operation which locks this charging contract. If this code is set, it means that the charging contract is currently being rerated by the process that owns this code.

                Type NVARCHAR(64), NULL

                RERATING_LAST_CODE

                Definition The code of the last rerating operation performed on the charging contract
                Description

                The code of the last rerating operation performed on the charging contract. This code is only available for offline charging contracts.

                Type NVARCHAR(64), NULL

                RERATING_LAST_STATUS

                Definition The RERATING_LAST_STATUS field contains the last rerating status of the charging contract to detect if the rerating operation failed or succeeded
                Description

                The RERATING_LAST_STATUS field contains the last rerating status of the charging contract to detect if the rerating operation failed or succeeded. This status is a positive value in case of success, and a negative value in case of failure.

                Format

                The possible values are:

                • -9: PREPAID_ACCOUNT_FAILURE. The rerating process has failed due to a contract with a prepaid account.
                • -8: EXPORT_AND_UNLOCK_FAILURE, which means that the rerating operation failed because of a provider contract export and a provider contract unlock issue.
                • -7: UNLOCK_FAILURE, which means that the rerating operation failed because of a provider contract unlock issue.
                • -6: EXPORT_FAILURE, which means that the rerating operation failed because of a provider contract export issue.
                • -5: BART_RESTORATION_FAILURE, which means that the restoration process failed for the last rerating operation because the BART Server denied the rerating operation.
                • -4: DEPRECATED
                • -3: COUNTER_RESTORATION_FAILURE, which means that the counter restoration process failed.
                • -2: NOT_LOCKED_FAILURE, which means that the rerating operation failed because the provider contract was not locked (but should have been locked).
                • -1: ALREADY_LOCKED_FAILURE, which means that the rerating operation failed because the provider contract was locked by a concurrent rating process or another previous rerating operation.
                • 0: UNSET.
                • 1: SELECTION_SUCCESS, which means that the restoration process was successful for the last rerating operation.
                • 2: RESTORATION_SUCCESS.
                • 3: RERATING_SUCCESS, which means that the rerating process was successful.

                Type DECIMAL(1), NULL

                RERATING_SUGGESTED_DATE

                Definition The rerating date suggested by the external billing system
                Type SECONDDATE, NULL

                Primary Key Details

                See the primary key information:

                PK_CACO_BATCH

                Column(s) OID
                Tablespace SUBSCRIBER_INDX