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


TABLE: OKS.OKS_STREAM_LEVELS_B

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


This stores the billing stream information for the contract, line and sub line. Records are created through billing Schedule form OKSAUBLG.fmb and through API OKS_BILL_SCH.
A contract can have multiple billing streams, each billing stream has unique date ranges which cannot overlap. The chronological order of the contract's billing streams determines its sequential order and this is tracked in SEQUENCE_NUMBER.
If stream levels records are created for the contract, then CHR_ID column value is copied from OKC_K_HEADERS_B.ID and CLE_ID column will be null. If created from line or sub line, then CHR_ID column will be null and CLE_ID column value will be copied from OKC_K_LINES_B.ID. This information is used to derive the billing schedule..


Storage Details
Tablespace: TablespaceAPPS_TS_TX_DATA
PCT Free: 10
PCT Used:
Indexes
Index Type Uniqueness Tablespace Column
OKS_STREAM_LEVELS_B_U1 NORMAL UNIQUE TablespaceAPPS_TS_TX_IDX ColumnID
OKS_STREAM_LEVELE_B_N1 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnDNZ_CHR_ID
OKS_STREAM_LEVELS_B_N2 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnCHR_ID
OKS_STREAM_LEVELS_B_N3 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnCLE_ID
Columns
Name Datatype Length Mandatory Comments
ID NUMBER
Yes Surrogate key used for primary unique identifiers.
CHR_ID NUMBER

Contract header identifier. This will have value if the stream level is associated with the contract header. References OKC_K_HEADERS_B.ID.
CLE_ID NUMBER

Contract Line ID. References OKC_K_LINES_B.ID.
DNZ_CHR_ID NUMBER
Yes Contract header ID. Denormalized for performance. References OKC_K_HEADERS_B.ID.
SEQUENCE_NO NUMBER

Chronological sequence of the billing stream levels associated with a contract, line and sub line. User enters the value for the column.
UOM_CODE VARCHAR2 (3)
Stores the unit of measure for the duration. Referenced from OKC_TIME_CODE_UNITS_B.UOM_CODE.
START_DATE DATE

Start date of the stream level. The value is start date of the contract line or sub line for the first record and end date of the previous stream plus 1 for subsequent records.
END_DATE DATE

End date of the stream level. The value is calculated using start date, uom, periods and UOM per period information.
LEVEL_PERIODS NUMBER

Total number of billing periods defined for the stream. Entered by user.
UOM_PER_PERIOD NUMBER

Stores the unit of measure frequency. Entered by user.
ADVANCE_PERIODS NUMBER

Not used.
LEVEL_AMOUNT NUMBER

Amount associated with the stream level. This is entered by the user for 'Equal amount' and 'Covered Level' billing type and is derived for 'Top Level' billing type using duration of billing stream, duration of contract line and line amount.
INVOICE_OFFSET_DAYS NUMBER

Invoice offset days for Transaction Date. User enters the value for the column. This is used to calculate DATE_TRANSACTION for billing schedule.
INTERFACE_OFFSET_DAYS NUMBER

Interface offset days for interface to AR. User enters the value for the column. This is used to calculate DATE_TO_INTERFACE for billing schedule.
COMMENTS VARCHAR2 (2000)
Not used.
DUE_ARR_YN VARCHAR2 (1)
Not used.
AMOUNT NUMBER

Obsolete.
LINES_DETAILED_YN VARCHAR2 (1)
Not used.
OBJECT_VERSION_NUMBER NUMBER
Yes Sequential number set at 1 on insert and incremented on update. Used by APIs to ensure current record is passed.
SECURITY_GROUP_ID NUMBER

Used to create a Virtual Private Database which was originally designed to be used by Hosting services. Now obsolete.
REQUEST_ID NUMBER

Unique Identifier of a concurrent request.
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.
LAST_UPDATE_LOGIN NUMBER (15)
OS ID of the user who last updated the record.
ORIG_SYSTEM_ID1 NUMBER

ORIG_SYSTEM_REFERENCE1 VARCHAR2 (30)
ORIG_SYSTEM_SOURCE_CODE VARCHAR2 (30)
Query Text

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


SELECT ID
,      CHR_ID
,      CLE_ID
,      DNZ_CHR_ID
,      SEQUENCE_NO
,      UOM_CODE
,      START_DATE
,      END_DATE
,      LEVEL_PERIODS
,      UOM_PER_PERIOD
,      ADVANCE_PERIODS
,      LEVEL_AMOUNT
,      INVOICE_OFFSET_DAYS
,      INTERFACE_OFFSET_DAYS
,      COMMENTS
,      DUE_ARR_YN
,      AMOUNT
,      LINES_DETAILED_YN
,      OBJECT_VERSION_NUMBER
,      SECURITY_GROUP_ID
,      REQUEST_ID
,      CREATED_BY
,      CREATION_DATE
,      LAST_UPDATED_BY
,      LAST_UPDATE_DATE
,      LAST_UPDATE_LOGIN
,      ORIG_SYSTEM_ID1
,      ORIG_SYSTEM_REFERENCE1
,      ORIG_SYSTEM_SOURCE_CODE
FROM OKS.OKS_STREAM_LEVELS_B;

Dependencies

[top of page]

OKS.OKS_STREAM_LEVELS_B does not reference any database object

OKS.OKS_STREAM_LEVELS_B is referenced by following:

SchemaAPPS
SynonymOKS_STREAM_LEVELS_B