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


TABLE: OKC.OKC_K_HEADERS_ALL_B

Object Details
Object Name: OKC_K_HEADERS_ALL_B
Object Type: TABLE
Owner: OKC
Subobject Name:
Status: VALID


A CONTRACT HEADER is the top level of a contract structure and groups all the lines and terms and conditions of a contract.
It has subtypes of:
CONTRACT TEMPLATE (a skeleton structure which may be copied as the basis for another contract). CONTRACT RFP (a request for proposal, a request that someone offer to fulfill the requirements).
CONTRACT PROPOSAL (an offer to fulfill the requirement).
CONTRACT AGREED (an agreed, signed active contract obliging the fulfillment of the requirement for a consideration).
It also provides an association point for any specific ARTICLEs governing the performance of the contract as a whole.


Storage Details
Tablespace: TablespaceAPPS_TS_TX_DATA
PCT Free: 10
PCT Used:
Indexes
Index Type Uniqueness Tablespace Column
OKC_K_HEADERS_ALL_B_U1 NORMAL UNIQUE TablespaceAPPS_TS_TX_IDX ColumnID
OKC_K_HEADERS_ALL_B_U2 NORMAL UNIQUE TablespaceAPPS_TS_TX_IDX ColumnCONTRACT_NUMBER
ColumnCONTRACT_NUMBER_MODIFIER
OKC_K_HEADERS_ALL_B_FN1 FUNCTION-BASED NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnUPPER("CONTRACT_NUMBER")
OKC_K_HEADERS_ALL_B_N1 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnTEMPLATE_YN
OKC_K_HEADERS_ALL_B_N10 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnBILL_TO_SITE_USE_ID
OKC_K_HEADERS_ALL_B_N11 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnDOCUMENT_ID
OKC_K_HEADERS_ALL_B_N4 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnEND_DATE
OKC_K_HEADERS_ALL_B_N5 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnDATE_SIGNED
OKC_K_HEADERS_ALL_B_N6 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnSTART_DATE
OKC_K_HEADERS_ALL_B_N7 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnDATE_TERMINATED
OKC_K_HEADERS_ALL_B_N8 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnCUST_ACCT_ID
OKC_K_HEADERS_ALL_B_N9 NORMAL NONUNIQUE TablespaceAPPS_TS_TX_IDX ColumnSHIP_TO_SITE_USE_ID
Columns
Name Datatype Length Mandatory Comments
ID NUMBER
Yes Unique identifier of Contract. Also primary key column of the table.
CONTRACT_NUMBER VARCHAR2 (120) Yes Contract (RFP,Proposal etc.) Legal Identifier.
AUTHORING_ORG_ID NUMBER
Yes Identifier of the Operating Unit to which the contract belongs. This is the same as that of the responsibility in case the contract is created manually. If the contract is created from another contract (for example, through a copy operation), then this is the same as that of the source contract
CONTRACT_NUMBER_MODIFIER VARCHAR2 (120)
A unique internal name for the contract number. Conbination of contract number and modifier are unique for a contract.
CHR_ID_RESPONSE NUMBER

Surrogate key used for primary unique identifiers. Refers to ID in OKC_K_HEADERS_B. Not used.( This was meant to use for contracts of type responses)
CHR_ID_AWARD NUMBER

Surrogate key used for primary unique identifiers. Not used ( This was meant to use for contracts of type awards)
CHR_ID_RENEWED NUMBER

ID of the contract from which this contract header was renewed. This column is kept for backward compatibility and will be removed in future releases..
INV_ORGANIZATION_ID NUMBER
Yes Unique identifier of Organization Id. Refers to organization_id in MTL_SYSTEM_ITEMS.
STS_CODE VARCHAR2 (30) Yes Indicates status of Contract Header. Refers to Code in OKC_STATUSES_B. .
QCL_ID NUMBER

ID of QA check list applicable to this contract.
SCS_CODE VARCHAR2 (30) Yes Indicates subclass of the Contract. Refers to code in okc_subclasses.
TRN_CODE VARCHAR2 (30)
Contract Termination Code. Refers to the LOOKUP_CODE in FND_LOOKUPS whereLOOKUP_TYPE IS OKC_TERMINATION_REASON.
CURRENCY_CODE VARCHAR2 (15)
Unique identifier of Currency code. Refers to CURRENCY_CODE in FND_CURRENCIES.
ARCHIVED_YN VARCHAR2 (3) Yes Indicates if this contract is Archived. Valid values Y and N.
DELETED_YN VARCHAR2 (3) Yes Indicates if the contract has been SOFT deleted. Future use column. Valid values Y and N.
TEMPLATE_YN VARCHAR2 (3) Yes Indicates if this contract is a Template. Valid values are Y and N.
CHR_TYPE VARCHAR2 (30) Yes Indicates the type of Contract such as Response, Award etc. Contract Classification based on this column is not implemented and hence this column is always defaulted to one value CYA.
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.
CUST_PO_NUMBER_REQ_YN VARCHAR2 (3)
Indicates if a Purchase Order is required. Valid values Y and N.
PRE_PAY_REQ_YN VARCHAR2 (3)
Indicates if Contract pre-payment required . Valid values Y and N.
CUST_PO_NUMBER VARCHAR2 (150)
Customer''s Purchase Order Number.
DPAS_RATING VARCHAR2 (24)
DPAS ( Defense Priorities and Allocations System) rating. Indicates standard followed for government contracts.
TEMPLATE_USED VARCHAR2 (120)
Stores the name of the template if used.
DATE_APPROVED DATE

Date contract was approved.
DATETIME_CANCELLED DATE

Date / Time Contract was cancelled.
AUTO_RENEW_DAYS NUMBER (4)
Number of days prior to expiration before which the contract is automatically renewed.
DATE_ISSUED DATE

Date contract Issued.
DATETIME_RESPONDED DATE

Date / time response sent.
RFP_TYPE VARCHAR2 (30)
RFP Type. Not Used.
KEEP_ON_MAIL_LIST VARCHAR2 (3)
Keep us on the mailing list? Not implemented.
SET_ASIDE_PERCENT NUMBER (5)
Percent set aside for reason specified. Not implemented.
RESPONSE_COPIES_REQ NUMBER (2)
Number of proposal copies required. Not implemented.
DATE_CLOSE_PROJECTED DATE

Date that contract is expected to be signed.
DATETIME_PROPOSED DATE

Date / time proposal sent.
DATE_SIGNED DATE

Date contract was signed.
DATE_TERMINATED DATE

Date contract terminated.
DATE_RENEWED DATE

Date contract was renewed.
START_DATE DATE

The beginning of the active period, one second after midnight on the date indicated.
END_DATE DATE

The end of the active period, one second before midnight on the date indicated.
BUY_OR_SELL VARCHAR2 (3)
Intent of the contract, Buy or Sell.
ISSUE_OR_RECEIVE VARCHAR2 (3)
Issue or Receive.
LAST_UPDATE_LOGIN NUMBER (15)
Standard Who column.
ESTIMATED_AMOUNT NUMBER

Estimated amount of contract.
ATTRIBUTE_CATEGORY VARCHAR2 (90)
Descriptive flexfield category column.
LAST_UPDATE_DATE DATE
Yes Standard Who column.
ATTRIBUTE1 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE2 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE3 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE4 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE5 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE6 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE7 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE8 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE9 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE10 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE11 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE12 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE13 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE14 VARCHAR2 (450)
Descriptive flexfield column.
ATTRIBUTE15 VARCHAR2 (450)
Descriptive flexfield column.
SECURITY_GROUP_ID NUMBER

Used in hosted environments
CHR_ID_RENEWED_TO NUMBER

Indicates the contract header that is the renewal of this contract header. Only present in renewed contracts. This column is kept for backward compatibility and will be removed in future releases.
ESTIMATED_AMOUNT_RENEWED NUMBER

The estimated amount of the contract of which this contract is a renewal. Only present in renewal contracts.
CURRENCY_CODE_RENEWED VARCHAR2 (15)
Currency code from FND_CURRENCIES. The currency for the contract of which this contract is a renewal. Only present in renewal contracts.
UPG_ORIG_SYSTEM_REF VARCHAR2 (60)
Identifies original source of data
UPG_ORIG_SYSTEM_REF_ID NUMBER

Unique Id from original system
APPLICATION_ID NUMBER

Identifier of the Oracle application to which the contract belongs. This is same as the application of the class to which the contract belongs
RESOLVED_UNTIL DATE

Date till which time-values have been resolved for long contracts.
ORIG_SYSTEM_SOURCE_CODE VARCHAR2 (30)
Identifier of the source system
ORIG_SYSTEM_ID1 NUMBER

Unique identifier in the source system
ORIG_SYSTEM_REFERENCE1 VARCHAR2 (30)
Unique identifier in the source system
PROGRAM_APPLICATION_ID NUMBER

Standard Who Column
PROGRAM_ID NUMBER

Standard Who Column
PROGRAM_UPDATE_DATE DATE

Standard Who Column
REQUEST_ID NUMBER

Standard Who Column
PRICE_LIST_ID NUMBER

Identifier of the Price List used for pricing this Contract. Quickcodes : LIST_HEADER_ID from QP_LIST_HEADERS_B
PRICING_DATE DATE

Effective date used for pricing this Contract
TOTAL_LINE_LIST_PRICE NUMBER

Sum of the list price of all the priced lines in the Contract.
SIGN_BY_DATE DATE

Date by which the Contract must be signed.
USER_ESTIMATED_AMOUNT NUMBER

Estimated Amount of the Contract
GOVERNING_CONTRACT_YN VARCHAR2 (3)
Indicates if this contract is a governing contract or not - Not Used
DOCUMENT_ID NUMBER

Document Id.
CONVERSION_TYPE VARCHAR2 (30)
Contract currency conversion type
CONVERSION_RATE NUMBER

Rate for converting amount to functional currency
CONVERSION_RATE_DATE DATE

Valid date for conversion rate
CONVERSION_EURO_RATE NUMBER

This column identifies the Euro conversion rate for foreign currency contracts of the Euro countries.
CUST_ACCT_ID NUMBER (15)
Contract customer account. Not implemented.
BILL_TO_SITE_USE_ID NUMBER (15)
Stores account site use identifier. This column is used to identify the billing address of the customer account. References HZ_CUST_ACCT_SITES_ALL.SITE_USE_ID where SITE_USE_CODE='BILL_TO'.
INV_RULE_ID NUMBER (15)
Stores invoicing rule identifier. This column is used to bill invoices in Advance or Arrears. References RA_RULES.RULE_ID where TYPE='I'
RENEWAL_TYPE_CODE VARCHAR2 (30)
This specifies how the contract will be renewed e.g. Manual, Electronic or Evergreen . References fnd_lookup-values.lookup_code where lookup_type = OKC_RENEWAL_TYPE.
RENEWAL_NOTIFY_TO NUMBER

Not used for Service Contracts as Salesrep is derived from the Party role contacts.
RENEWAL_END_DATE DATE

The end date till which the contract can be renewed as Evergreen
SHIP_TO_SITE_USE_ID NUMBER (15)
Stores account site use identifier. This column is used to identify the shipping address of the customer account. References HZ_CUST_ACCT_SITES_ALL.SITE_USE_ID where SITE_USE_CODE='SHIP_TO'.
PAYMENT_TERM_ID NUMBER (15)
Stores Payment terms identifier. This column is used to identify the payment terms for the invoice. References AP_TERMS_TL.TERM_ID.
APPROVAL_TYPE VARCHAR2 (30)
This column indicates whether approval is needed after the renewal of the contract. If Electonic Renewal is to be used, it further specifies whether the approval (if needed) will be submitted automatically or manually. Valid values are 'M', 'Y', 'N', 'A'. References FND_LOOKUP_VALUES.LOOKUP_CODE where LOOKUP_TYPE='OKS_REN_ONLINE_APPROVAL' for Renewal Type = ERN. For other renewal types, this column references FND_LOOKUP_VALUES.LOOKUP_CODE where LOOKUP_TYPE='OKS_MANUAL_ONLINE_APPROVAL'
TERM_CANCEL_SOURCE VARCHAR2 (30)
Indicates the termination / cancelation source (Ex: MANUAL / IBTRANSFER / IBREPLACE...)
PAYMENT_INSTRUCTION_TYPE VARCHAR2 (3)
This is the payment instruction type e.g. Purchase Order Number, Wire, Check
ORG_ID NUMBER
Yes Identifier of the Operating Unit to which the contract belongs. This is the same as Vendor Operating Unit in case the contract is created manually. If the contract is created from another contract (for example, through a copy or renewal operation) or Order Management, then this is the same as that of the source contract.
CANCELLED_AMOUNT NUMBER

Canceled amount of the contract, if there exists any canceled lines or sublines.
BILLED_AT_SOURCE VARCHAR2 (1)
Y to indicate that the contract is fully billed at source system before being imported and N to indicate that it is not billed. If the contract is not imported, the column will be NULL.
Query Text

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


SELECT ID
,      CONTRACT_NUMBER
,      AUTHORING_ORG_ID
,      CONTRACT_NUMBER_MODIFIER
,      CHR_ID_RESPONSE
,      CHR_ID_AWARD
,      CHR_ID_RENEWED
,      INV_ORGANIZATION_ID
,      STS_CODE
,      QCL_ID
,      SCS_CODE
,      TRN_CODE
,      CURRENCY_CODE
,      ARCHIVED_YN
,      DELETED_YN
,      TEMPLATE_YN
,      CHR_TYPE
,      OBJECT_VERSION_NUMBER
,      CREATED_BY
,      CREATION_DATE
,      LAST_UPDATED_BY
,      CUST_PO_NUMBER_REQ_YN
,      PRE_PAY_REQ_YN
,      CUST_PO_NUMBER
,      DPAS_RATING
,      TEMPLATE_USED
,      DATE_APPROVED
,      DATETIME_CANCELLED
,      AUTO_RENEW_DAYS
,      DATE_ISSUED
,      DATETIME_RESPONDED
,      RFP_TYPE
,      KEEP_ON_MAIL_LIST
,      SET_ASIDE_PERCENT
,      RESPONSE_COPIES_REQ
,      DATE_CLOSE_PROJECTED
,      DATETIME_PROPOSED
,      DATE_SIGNED
,      DATE_TERMINATED
,      DATE_RENEWED
,      START_DATE
,      END_DATE
,      BUY_OR_SELL
,      ISSUE_OR_RECEIVE
,      LAST_UPDATE_LOGIN
,      ESTIMATED_AMOUNT
,      ATTRIBUTE_CATEGORY
,      LAST_UPDATE_DATE
,      ATTRIBUTE1
,      ATTRIBUTE2
,      ATTRIBUTE3
,      ATTRIBUTE4
,      ATTRIBUTE5
,      ATTRIBUTE6
,      ATTRIBUTE7
,      ATTRIBUTE8
,      ATTRIBUTE9
,      ATTRIBUTE10
,      ATTRIBUTE11
,      ATTRIBUTE12
,      ATTRIBUTE13
,      ATTRIBUTE14
,      ATTRIBUTE15
,      SECURITY_GROUP_ID
,      CHR_ID_RENEWED_TO
,      ESTIMATED_AMOUNT_RENEWED
,      CURRENCY_CODE_RENEWED
,      UPG_ORIG_SYSTEM_REF
,      UPG_ORIG_SYSTEM_REF_ID
,      APPLICATION_ID
,      RESOLVED_UNTIL
,      ORIG_SYSTEM_SOURCE_CODE
,      ORIG_SYSTEM_ID1
,      ORIG_SYSTEM_REFERENCE1
,      PROGRAM_APPLICATION_ID
,      PROGRAM_ID
,      PROGRAM_UPDATE_DATE
,      REQUEST_ID
,      PRICE_LIST_ID
,      PRICING_DATE
,      TOTAL_LINE_LIST_PRICE
,      SIGN_BY_DATE
,      USER_ESTIMATED_AMOUNT
,      GOVERNING_CONTRACT_YN
,      DOCUMENT_ID
,      CONVERSION_TYPE
,      CONVERSION_RATE
,      CONVERSION_RATE_DATE
,      CONVERSION_EURO_RATE
,      CUST_ACCT_ID
,      BILL_TO_SITE_USE_ID
,      INV_RULE_ID
,      RENEWAL_TYPE_CODE
,      RENEWAL_NOTIFY_TO
,      RENEWAL_END_DATE
,      SHIP_TO_SITE_USE_ID
,      PAYMENT_TERM_ID
,      APPROVAL_TYPE
,      TERM_CANCEL_SOURCE
,      PAYMENT_INSTRUCTION_TYPE
,      ORG_ID
,      CANCELLED_AMOUNT
,      BILLED_AT_SOURCE
FROM OKC.OKC_K_HEADERS_ALL_B;

Dependencies

[top of page]

OKC.OKC_K_HEADERS_ALL_B does not reference any database object

OKC.OKC_K_HEADERS_ALL_B is referenced by following:

SchemaAPPS
SynonymOKC_K_HEADERS_ALL_B
SynonymOKC_K_HEADERS_B