CS_DOC_TXT_ADHV

(SQL View)
Index Back

Contract doc - plain text


SELECT ADH.CS_DOC_ID ,ADH.SETID ,ADH.CS_ADHOC_ID ,T.CS_DOC_TYPE ,T.SEQ_NBR ,T.EFFDT ,'0008' ,H.DESCR60 ,T.CS_TITLE ,T.DESCR60 ,T.CS_BODY ,T.CS_OBJECT_TYPE ,T.CS_OBJECT_ID ,T.CS_CLAUSE_LEAD , H.CS_VERSION , H.CS_AMENDMENT FROM PS_CS_DOC_ADH_KEYS ADH ,PS_CS_DOC_HDR H ,PS_CS_DOC_PLAINTXT T WHERE ADH.CS_DOC_ID = T.CS_DOC_ID AND ADH.CS_DOC_ID = H.CS_DOC_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CS_DOC_ID Character(25) VARCHAR2(25) NOT NULL Document ID
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID
3 CS_CONTENT_ID Character(30) VARCHAR2(30) NOT NULL Content ID
4 CS_DOC_TYPE Character(3) VARCHAR2(3) NOT NULL stores the file type -- main file, amendment, preview, throwaway Date Initials Issue Description ========================================== 06/2007 CEL F-AHAYT-25EQ8 added the external main and amendment types 7/2008 cel Added new executive summary file type. 9/30/2008 RMK Changed values 005 and 006 to 095 and 096, and added 010 for executive summary. This change is due to the search on file type using range (001-010 for non-attachment search, and 001-096 for attachment search)
001=Main Document
002=Amendment
003=Preview Document
004=Compare File
005=Document Attachment
006=Transaction Attachment
007=Config Selector
008=Main Signature Document
009=Amendment Signature File
010=Executive Summary
011=Exec-Sign
095=Document Attachment
096=Transaction Attachment
101=Main Document
102=Amendment Document
998=Main Document - ext collab
999=Amendment External Collab

Default Value: 001

5 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
6 EFFDT Date(10) DATE Effective Date

Default Value: %date

7 CS_CONTENT_TYPE Character(4) VARCHAR2(4) NOT NULL 06/08/09 F-AHAYT-XOES6 Add capability to use binds in headers and/or footers of contract document; new translate value added to support Where Used from Document Templates and Styles 06/25/07 F-AHAYT-XOES6 Added 0016 for Document Format and Options; this type is only used when displayed where a word template is used with doc options. We do not search doc format and options.
0001=Clause
0002=Section
0003=Ad Hoc Clause
0004=Rule
0005=Bind Variables
0006=Wizard Definition
0007=Document Configurator
0008=Document
0009=Contract Agreement
0010=Bid Factor
0011=Contract
0012=Sourcing Event
0013=Question Group
0014=Document Type
0015=Word Template
0016=Document Format and Options
8 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
9 CS_TITLE Character(254) VARCHAR2(254) NOT NULL title
10 DESCR60_2 Character(60) VARCHAR2(60) NOT NULL Description
11 CS_BODY Long Character CLOB stores the body text for clause/section.
12 CS_OBJECT_TYPE Character(4) VARCHAR2(4) NOT NULL 06/08/09 F-AHAYT-XOES6 Add capability to use binds in headers and/or footers of contract document; new translate value added to support Where Used from Document Templates and Styles
0001=Clause
0002=Section
0003=Ad Hoc Clause
0004=Rule
0005=Bind Variables
0006=Wizard Definition
0007=Document Configurator
0008=Document
0015=Word Template
1000=All
13 CS_OBJECT_ID Character(20) VARCHAR2(20) NOT NULL Object id -- clause, section
14 CS_CLAUSE_LEAD Character(30) VARCHAR2(30) NOT NULL Lead Clause ID
15 CS_VERSION Number(6,2) DECIMAL(5,2) NOT NULL Version
16 CS_AMENDMENT Number(3,0) SMALLINT NOT NULL Amendment