CS_DOCTXTCMP_VW

(SQL View)
Index Back

Contract doc - plain text

Exact copy of cs_doc_plaintxt - the one difference is that binds remain unresolved e.g. %%supplier_name%%, %%item_description%%. This record contains entire body of contract document. It gets updated when document is created (cs_object_text.cs_body), regenerated (cs_object_text.cs_body), and checked in (parsed from word xml document with bind values stripped off)

SELECT %subrec(cs_doc_ptxt_sbr, b) , c.cs_body , d.cs_title FROM PS_CS_DOC_HDR a , ps_cs_doc_ptxtcmp b , ps_cs_object_text c , ps_cs_objects_dtl d WHERE a.cs_doc_id = b.cs_doc_id AND a.cs_setid = c.setid AND b.cs_object_Type = c.cs_object_type AND b.cs_object_id = c.cs_object_id AND b.cs_body_type = c.cs_body_type AND b.effdt = c.effdt AND c.setid = d.setid AND c.cs_object_Type = d.cs_object_type AND c.cs_object_id = d.cs_object_id AND c.effdt = d.effdt

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CS_DOC_ID Character(25) VARCHAR2(25) NOT NULL Document ID
2 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
3 CS_KEYVALUE Character(30) VARCHAR2(30) NOT NULL SCC 09/01/04
4 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
5 CS_TITLE Character(254) VARCHAR2(254) NOT NULL title
6 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
7 CS_BODY Long Character CLOB stores the body text for clause/section.
8 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
9 CS_OBJECT_ID Character(20) VARCHAR2(20) NOT NULL Object id -- clause, section
10 CS_BODY_TYPE Character(1) VARCHAR2(1) NOT NULL indicates body type -- full or by ref for clause/section
F=Full Text
R=By Reference Text
11 EFFDT Date(10) DATE Effective Date
12 CS_CLAUSE_LEAD Character(30) VARCHAR2(30) NOT NULL Lead Clause ID
13 CS_CLAUSE_COMPARE Character(1) VARCHAR2(1) NOT NULL Field to indicate if clause is new, change, or delete when clause in document is compared to last executed version (ie baseline).
1=Change
2=Add
3=Delete
4=Add/Change
14 CS_OBJ_GROUP Character(20) VARCHAR2(20) NOT NULL Object Group
15 CS_OBJ_GROUP_TYPE Character(4) VARCHAR2(4) NOT NULL Working doc object grouping type
0001=Repeating Clause
0002=Repeating Section
0004=Rule
0005=SLA Header
0006=SLA Line
16 CS_RULE_FLG Character(1) VARCHAR2(1) NOT NULL Rule Placeholder
17 CS_SLA_FLG Character(1) VARCHAR2(1) NOT NULL Service Level Agreement Flag
18 CS_RPT_FLG Character(1) VARCHAR2(1) NOT NULL Y means this is a repeating object.
19 CS_NUMBERED Character(100) VARCHAR2(100) NOT NULL Outline Number
20 CS_PROTECTED Character(1) VARCHAR2(1) NOT NULL Protected in Document Flag
21 CS_DOC_OBJ_ACTION Character(1) VARCHAR2(1) NOT NULL 10/23/08 RMK Deviation Report - new field to track what object has been changed/added/deleted from document
22 CS_BODY2 Long Character CLOB stores the body text for clause
23 CS_TITLE2 Character(254) VARCHAR2(254) NOT NULL title