Skip to main content
Skip table of contents

BOC license report

This BTV Or Cod License report brings data from BOC_LICENSE table.

Report columns 

Column name
Source DB field
Description
Creation DateBOC_LICENSE. NOT NULL DATECreation date of licence record
SPIDBOC_LICENSE.LIC_SPIDService Provider ID.
AccountBOC_LICENSE.ACCOUNT_NUMBERAccount Number of the transaction.
Content TypeBOC_LICENSE.CONTENT_TYPEContent type purchased in the transaction.
CAS IdBOC_LICENSE.CAS ID associated to the policy group.
CA/SNBOC_LICENSE.STB_CA_SNCASN of the STB that made the transaction.
NUIDBOC_LICENSE.STB_NUIDNUID of the STB that made the transaction.
License TypeBOC_LICENSE.LICENSE_TYPELicense Type granted in the transaction.
StatusBOC_LICENSE.LICENSE_STATUSLicense Status of the transaction.
Media Player IdBOC_LICENSE.MEDIAPLAYER_IDMedia Player ID of the device in the transaction.
Content IdBOC_LICENSE.CONTENT_IDContent ID involved in the transaction.
Polgrp IdBOC_LICENSE.POLGRP_ORIGIN_KEYProduct/Policy Group ID in the transaction.
License StartBOC_LICENSE.START_DATELicense validity start date.
License EndBOC_LICENSE.END_DATELicense validity end date.
ACL ExpiryBOC_LICENSE.ACL_EXPIRY_DATEExpiry date of the ACL that allowed this license.

Input parameters for report generation

Parameter
Type
Description
Lower date threshold of report periodDateTimeStart Date for the report, including the specified value.
Upper threshold of report periodDateTimeEnd Date for the report, including the specified value.
Service Provider IDStringThe report can be generated only for a specific service provider.

Data extraction file

boc_license_report_kettle.ktr

Query

CODE

  CREATE OR REPLACE FORCE VIEW "KBROSDP3_O"."BOC_LICENSE_CSV_RPT_V" ("BOC_LICENSE_CSV", "CREATION_DATE", "SPID") AS
  SELECT
      bl.creation_date                || ',' ||
      NVL(TO_CHAR(bl.lic_spid), ' ')  || ',' ||
      NVL(bl.account_number, ' ')     || ',' ||
      NVL(bl.content_type, ' ')       || ',' ||
      NVL(bl.content_id, ' ')         || ',' ||
      NVL(bl.stb_ca_sn, ' ')          || ',' ||
      NVL(bl.stb_nuid, ' ')           || ',' ||
      NVL(bl.license_type, ' ')       || ',' ||
      NVL(bl.mediaplayer_id, ' ')     || ',' ||
      NVL(bl.content_origin_key, ' ') || ',' ||
      NVL(bl.polgrp_origin_key, ' ')  || ',' ||
      NVL(bl.license_status, ' ')     || ',' ||
      NVL(bl.license_type, ' ')       || ',' ||
      bl.start_date                   || ',' ||
      bl.end_date                     || ',' ||
      bl.acl_expiry_date AS BOC_LICENSE_CSV,
      bl.creation_date AS creation_date,
      bl.lic_spid AS spid
FROM BOC_LICENSE BL;

BIRT design template file

boc-license-report.rptdesign

Sample report

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.