OKC_TERMS_TEMPLATES_ALL

OKC_TERMS_TEMPLATES_ALL stores the all contract templates and its related information. This has geneal information like Name, Start Date, End Date, Intent

Details

  • Schema: FUSION

  • Object owner: OKC

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

OKC_TERMS_TEMPLATES_ALL_PK

TEMPLATE_ID

Columns

Name Datatype Length Precision Not-null Comments Flexfield-mapping
TEMPLATE_ID NUMBER Yes Unique Identifier for the Contract Template. Primary key column for the template table
DISABLE_AUTO_HTML_PREVIEW_YN VARCHAR2 1 Flag to indicate if the HTML preview should be generated automatically or not. Possible values are Y and N.
SOURCE_CODE VARCHAR2 30 Source of the template.Possible values are STRUCTURED and CONTRACT_FORM.
TEMPLATE_NAME VARCHAR2 240 Yes Name of the Contract Template.
INTENT VARCHAR2 1 Yes Intent of the Contract Template. Possible values are B Buy or S Sell
STATUS_CODE VARCHAR2 30 Yes Status of the Contract Template . Possible values are DRAFT, APPROVED, ON HOLD, PENDING_APPROVAL, REJECTED and REVISION
START_DATE DATE Yes Date from which the Contract Template is available for use.
END_DATE DATE Date after which the Contract Template can no longer be used.
GLOBAL_FLAG VARCHAR2 1 Yes Flag that indicates if the Contract template is Global or not. Possible values are Y and N.
INSTRUCTION_TEXT VARCHAR2 2000 Instructions to use the Contract Template.
DESCRIPTION VARCHAR2 2000 Description of the Contract Template.
WORKING_COPY_FLAG VARCHAR2 1 Flag to indicate if the Contract Template is a Working copy or not. Valid values are Y and N.
PARENT_TEMPLATE_ID NUMBER Identifier of the original Contract Template if the current template is a working copy. Refers to the TEMPLATE_ID in OKC_TERMS_TEMPLATES_ALL
CONTRACT_EXPERT_ENABLED VARCHAR2 1 Yes Flag to indicate whether contract expert can be used once the Contract Template is applied on a business document or not. Possible values are Y and N. For Future Use.
TMPL_NUMBERING_SCHEME NUMBER Numbering scheme used on the Contract Template. Refers to the NUMBERING_SCHEME_ID in OKC_NUM_SCHEMES_B
PRINT_TEMPLATE_ID NUMBER Print Layout Template used. Refers to the TEMPLATE_ID in XDO_TEMPLATES_B
APPROVAL_WF_KEY VARCHAR2 240 Approval work flow key
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
ORG_ID NUMBER 18 Yes Indicates the identifier of the business unit associated to the row.
ORIG_SYSTEM_REFERENCE_CODE VARCHAR2 30 Original system reference code
ORIG_SYSTEM_REFERENCE_ID1 NUMBER Original system reference id
ORIG_SYSTEM_REFERENCE_ID2 NUMBER Original system reference id
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
HIDE_YN VARCHAR2 1 Flag to indicate if the Contract Template should be hidden from the Contract Terms Library or not. Possible values are Y and N.
ATTRIBUTE_CATEGORY VARCHAR2 30 Descriptive Flexfield: structure definition of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE1 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE2 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE3 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE4 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE5 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE6 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE7 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE8 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE9 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE10 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE11 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE12 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE13 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE14 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE15 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE16 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE17 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE18 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE19 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE20 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE21 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE22 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE23 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE24 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE25 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE26 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE27 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE28 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE29 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
ATTRIBUTE30 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. ContractTermsTemplateFlexfield (ContractTermsTemplateFlexfield)
XPRT_CLAUSE_MANDATORY_FLAG VARCHAR2 1 Flag to indicate whether the clauses brought for into a business document by expert are mandatory or not
SECTION_CREATE_WARN_FLAG VARCHAR2 1 Flag to indicate if a warning is displayed before a section is created when inserting conditional clauses.
XPRT_DEFAULT_SCN_ID NUMBER Default section identifier for contract expert
TEMPLATE_LANGUAGE VARCHAR2 4 Language of the current template
TRANSLATED_FROM_TMPL_ID NUMBER Template ID of the template from which the current template has been translated.
TERMS_CONTENT_IN_HTML CLOB Terms Content in HTML
LAYOUT_TEMPLATE_NAME VARCHAR2 200 Refers to Layout Template that will be used for contract template preview
TASK_ID VARCHAR2 64 Task Id for terms template from human task flow .
ALLOW_ASYNC_UPLOAD_YN VARCHAR2 1 Indicates that the contract document of this terms template can be uploaded in the background.
SHOW_CC_BOX_IN_WORD_YN VARCHAR2 1 Display content control boxes in Microsoft Word when the contract is downloaded.

Foreign Keys

Table Foreign Table Foreign Key Column
OKC_TERMS_TEMPLATES_ALL okc_terms_templates_all PARENT_TEMPLATE_ID
okc_xprt_template_rules okc_terms_templates_all TEMPLATE_ID
okc_template_usages_h okc_terms_templates_all TEMPLATE_ID
okc_tmpl_draft_clauses okc_terms_templates_all TEMPLATE_ID
pon_auction_headers_all okc_terms_templates_all CONTRACT_TEMPLATE_ID
okc_terms_templates_all okc_terms_templates_all PARENT_TEMPLATE_ID
okc_template_usages okc_terms_templates_all TEMPLATE_ID
okc_allowed_tmpl_usages okc_terms_templates_all TEMPLATE_ID
okc_xprt_question_orders okc_terms_templates_all TEMPLATE_ID

Indexes

Index Uniqueness Tablespace Columns
OKC_TERMS_TEMPLATES_CTX Non Unique Default DESCRIPTION
OKC_TERMS_TEMPLATES_ALL_N1 Non Unique Default TEMPLATE_NAME
OKC_TERMS_TEMPLATES_ALL_N3 Non Unique Default PARENT_TEMPLATE_ID
OKC_TERMS_TEMPLATES_ALL_N4 Non Unique Default TMPL_NUMBERING_SCHEME
OKC_TERMS_TEMPLATES_ALL_N5 Non Unique Default START_DATE
OKC_TERMS_TEMPLATES_ALL_N6 Non Unique Default END_DATE
OKC_TERMS_TEMPLATES_ALL_N8 Non Unique Default TRANSLATED_FROM_TMPL_ID
OKC_TERMS_TEMPLATES_ALL_N9 Non Unique Default LAYOUT_TEMPLATE_NAME
OKC_TERMS_TEMPLATES_ALL_U1 Unique Default TEMPLATE_ID
OKC_TERMS_TEMPLATES_ALL_U2 Unique Default ORG_ID, TEMPLATE_NAME, WORKING_COPY_FLAG