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


TABLE: OKS.OKS_BILL_CONT_LINES

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


This table stores the billing transactions for the contract lines. Each record includes start date, end date, amount charged or credit issued and billing type. The data is shown in 'History' tab of 'Billing Schedule' form.
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_CONT_LINES_U1 NORMAL UNIQUE TablespaceAPPS_TS_TX_IDX ColumnID
OKS_BILL_CONT_LINES_N2 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnCLE_ID
ColumnDATE_BILLED_FROM
ColumnBILL_ACTION
Columns
Name Datatype Length Mandatory Comments
ID NUMBER
Yes Surrogate key used for primary unique identifiers.
CLE_ID NUMBER
Yes Contract line ID. References OKC_K_LINES_B.ID.
BTN_ID NUMBER

Bill Transaction line ID. References OKS_BILL_TRANSACTIONS.ID.
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_CONT_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_CONT_LINES.DATE_BILLED_TO of invoice record against which credit memo is been generated.
SENT_YN VARCHAR2 (3) Yes Not used.
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 ID of the user whom created the record.
CREATION_DATE DATE
Yes Date the record was created.
LAST_UPDATED_BY NUMBER (15) Yes ID of the last user who updated the record.
LAST_UPDATE_DATE DATE
Yes Date the record was last updated.
AMOUNT NUMBER (17)
Stores the billing, credit, average and settlement amount for a period associated with the contract line. This is the total AMOUNT from OKS_BILL_SUB_LINES table for a contract line.
BILL_ACTION VARCHAR2 (9)
Stores billing transaction type. Valid values include Regular Invoice -RI, Termination Credit - TR, Averaging - AV, Settlement Invoice - SRI, Settlement Credit - STR.
DATE_NEXT_INVOICE DATE

Not used.
LAST_UPDATE_LOGIN NUMBER (15)
OS ID of the user who last updated the record.
ATTRIBUTE_CATEGORY VARCHAR2 (90)
Typically, a reference field from which a descriptive flexfield can get a context field value (optional, but recommended).
ATTRIBUTE1 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE2 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE3 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE4 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE5 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE6 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE7 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE8 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE9 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE10 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE11 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE12 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE13 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE14 VARCHAR2 (450)
Descriptive flexfield
ATTRIBUTE15 VARCHAR2 (450)
Descriptive flexfield
SECURITY_GROUP_ID NUMBER

Used to create a Virtual Private Database which was originally designed to be used by Hosting services. Now obsolete.
CURRENCY_CODE VARCHAR2 (15)
Contract Currency Code. References OKC_K_HEADERS_B.CURRENCY_CODE
AVERAGED_YN VARCHAR2 (1)
Specifically used for usage billing. 'Y' - means Averaging was done for this billing period.
SETTLED_YN VARCHAR2 (1)
Specifically used usage billing. 'Y' - means settlement was done for this billing period.
Query Text

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


SELECT ID
,      CLE_ID
,      BTN_ID
,      DATE_BILLED_FROM
,      DATE_BILLED_TO
,      SENT_YN
,      OBJECT_VERSION_NUMBER
,      CREATED_BY
,      CREATION_DATE
,      LAST_UPDATED_BY
,      LAST_UPDATE_DATE
,      AMOUNT
,      BILL_ACTION
,      DATE_NEXT_INVOICE
,      LAST_UPDATE_LOGIN
,      ATTRIBUTE_CATEGORY
,      ATTRIBUTE1
,      ATTRIBUTE2
,      ATTRIBUTE3
,      ATTRIBUTE4
,      ATTRIBUTE5
,      ATTRIBUTE6
,      ATTRIBUTE7
,      ATTRIBUTE8
,      ATTRIBUTE9
,      ATTRIBUTE10
,      ATTRIBUTE11
,      ATTRIBUTE12
,      ATTRIBUTE13
,      ATTRIBUTE14
,      ATTRIBUTE15
,      SECURITY_GROUP_ID
,      CURRENCY_CODE
,      AVERAGED_YN
,      SETTLED_YN
FROM OKS.OKS_BILL_CONT_LINES;

Dependencies

[top of page]

OKS.OKS_BILL_CONT_LINES does not reference any database object

OKS.OKS_BILL_CONT_LINES is referenced by following:

SchemaAPPS
SynonymOKS_BILL_CONT_LINES