DBA Data[Home] [Help] [Dependency Information]


TABLE: OKS.OKS_BILL_SUB_LINES

Object Details
Object Name: OKS_BILL_SUB_LINES
Object Type: TABLE
Owner: OKS
FND Design Data: TableOKS.OKS_BILL_SUB_LINES
Subobject Name:
Status: VALID


This table stores the billing transactions for the contract sub line. Each record includes start date of the billing period, end date of the billing period, amount charged or credit issued.
The table is populated from 'Service Contracts Main Billing', 'Service Contracts Usage Averaging' and 'Service Contracts Usage Settlement' concurrent programs. The table is also populated from the Termination form. When main billing is run, records from this table are sent to billing interface tables to initiate the billing process with Oracle Receivables.


Storage Details
Tablespace: TablespaceAPPS_TS_TX_DATA
PCT Free: 10
PCT Used:
Indexes
Index Type Uniqueness Tablespace Column
OKS_BILL_SUB_LINES_U1 NORMAL UNIQUE TablespaceAPPS_TS_TX_IDX ColumnID
OKS_BILL_SUB_LINES_N1 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnCLE_ID
OKS_BILL_SUB_LINES_N2 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnBCL_ID
Columns
Name Datatype Length Mandatory Comments
ID NUMBER
Yes Bill Sub Line Identifier
BCL_ID NUMBER

ID of contract line billing record. References OKS_BILL_CONT_LINES.ID
CLE_ID NUMBER
Yes Contract line ID. References OKC_K_LINES_B.ID.
OBJECT_VERSION_NUMBER NUMBER (9) Yes Sequential number set at 1 on insert and incremented on update. Used by APIs to ensure current record is passed
CREATED_BY NUMBER (15) Yes Standard who column
CREATION_DATE DATE
Yes Standard who column
LAST_UPDATED_BY NUMBER (15) Yes Standard who column
LAST_UPDATE_DATE DATE
Yes Date the record was last updated.
AVERAGE NUMBER

This column is misnamed. It is copied from OKS_BILL_TXN_LINES.BILL_INSTANCE_NUMBER and it is populated only when Credit Memos are created. This column identifies the invoice to which credit memo will be applied. This column is denormalized for efficiency.
AMOUNT NUMBER (17)
Stores the billing, credit, average and settlement amount for that period associated with sub line. This column is populated from OKS_LEVEL_ELEMENTS.AMOUNT for all sub lines except for usage lines of type 'Fixed per period', 'Actual by quantity' and 'Actual per period', is derived from pricing engine.
DATE_BILLED_FROM DATE
Yes Stores the start date of billing period. For regular invoice, main billing program populates the column from OKS_LEVEL_ELEMENTS.DATE_START. For termination, this column is copied from OKS_BILL_SUB_LINES.DATE_BILLED_FROM of invoice record against which credit memo is been generated.
DATE_BILLED_TO DATE
Yes Stores the end date of billing period. For regular invoice, main billing program populates the column from OKS_LEVEL_ELEMENTS.DATE_END. . For termination, this column is copied from OKS_BILL_SUB_LINES.DATE_BILLED_TO of invoice record against which credit memo is been generated.
LAST_UPDATE_LOGIN NUMBER (15)
Standard who column
ATTRIBUTE_CATEGORY VARCHAR2 (90)
Flex field attribute category column.
ATTRIBUTE1 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE2 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE3 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE4 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE5 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE6 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE7 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE8 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE9 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE10 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE11 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE12 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE13 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE14 VARCHAR2 (450)
Flex field attribute value column.
ATTRIBUTE15 VARCHAR2 (450)
Flex field attribute value column.
SECURITY_GROUP_ID NUMBER

Used in hosted environments
DATE_TO_INTERFACE DATE

Interface Date is populated from termination process to hold the credit till next billing cycle (Hold Credit functionality).
MANUAL_CREDIT NUMBER

Obsolete.
Query Text

Cut, paste (and edit) the following text to query this object:


SELECT ID
,      BCL_ID
,      CLE_ID
,      OBJECT_VERSION_NUMBER
,      CREATED_BY
,      CREATION_DATE
,      LAST_UPDATED_BY
,      LAST_UPDATE_DATE
,      AVERAGE
,      AMOUNT
,      DATE_BILLED_FROM
,      DATE_BILLED_TO
,      LAST_UPDATE_LOGIN
,      ATTRIBUTE_CATEGORY
,      ATTRIBUTE1
,      ATTRIBUTE2
,      ATTRIBUTE3
,      ATTRIBUTE4
,      ATTRIBUTE5
,      ATTRIBUTE6
,      ATTRIBUTE7
,      ATTRIBUTE8
,      ATTRIBUTE9
,      ATTRIBUTE10
,      ATTRIBUTE11
,      ATTRIBUTE12
,      ATTRIBUTE13
,      ATTRIBUTE14
,      ATTRIBUTE15
,      SECURITY_GROUP_ID
,      DATE_TO_INTERFACE
,      MANUAL_CREDIT
FROM OKS.OKS_BILL_SUB_LINES;

Dependencies

[top of page]

OKS.OKS_BILL_SUB_LINES does not reference any database object

OKS.OKS_BILL_SUB_LINES is referenced by following:

SchemaAPPS
SynonymOKS_BILL_SUB_LINES