CS_DOC_POC_VW

(SQL View)
Index Back

Document Header View

11/21/2012 RMk Improve performance on search page - Added OPRDEFNDESC field to replace related display field on CS_DOC_FIND page

SELECT %subrec(CS_DOCSRCH_SBR1,A) , B.SETID , ' ' , B.CNTRCT_ID , H.VERSION_NBR , H.VENDOR_SETID , H.VENDOR_ID , H.CNTRCT_BEGIN_DT , H.CNTRCT_EXPIRE_DT , ' ' , ' ' , V.NAME1 , V.VENDOR_NAME_SHORT , ' ' , 0 , 0 , O.OPRDEFNDESC , H.CNTRCT_STYLE FROM PS_CS_DOC_HDR A , PS_CS_DOC_PO_KEYS B , PS_CNTRCT_HDR H , PS_VENDOR V , PSOPRDEFN O WHERE A.CS_DOC_ID = B.CS_DOC_ID AND H.SETID = B.SETID AND H.CNTRCT_ID = B.CNTRCT_ID AND H.VERSION_NBR = B.VERSION_NBR AND H.VENDOR_SETID = V.SETID AND H.VENDOR_ID = V.VENDOR_ID AND A.CS_DOC_OWNER = O.OPRID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CS_DOC_ID Character(25) VARCHAR2(25) NOT NULL Document ID
2 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
3 CS_SETID Character(5) VARCHAR2(5) NOT NULL setid for the document objects
4 CS_DOCUMENT_TYPE Character(20) VARCHAR2(20) NOT NULL Document Type
001=Main Document
002=Amendment
003=Preview Document
004=Compare File

Prompt Table: CS_DOCT_ACT_VW

5 CS_TEMPLATE_ID Character(20) VARCHAR2(20) NOT NULL SCC 09/01/04
6 CS_DOC_STATUS Character(2) VARCHAR2(2) NOT NULL Document Status
AA=Approved
AD=Denied
AP=Pending Approval
CC=Collaborated
CP=Pending Collaboration
CR=Collaborated, Pending Review
DC=Complete
DR=Draft
DS=Dispatched
EC=Pending External Collaboration
EX=Executed
PI=Pending Internal Review
7 CS_VERSION Number(6,2) DECIMAL(5,2) NOT NULL Version
8 CS_AMENDMENT Number(3,0) SMALLINT NOT NULL Amendment
9 CS_DOC_OWNER Character(30) VARCHAR2(30) NOT NULL Document Administrator
10 CS_SPONSOR Character(30) VARCHAR2(30) NOT NULL Sponsor
11 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
12 CLOSE_FLAG Character(1) VARCHAR2(1) NOT NULL Close Contract Flag

Y/N Table Edit

13 CS_IMPORT_CODE Character(1) VARCHAR2(1) NOT NULL Import Type
1=Authored
2=Imported
3=Hybrid
4=Automatic Import
14 BUSINESS_UNIT_REQ Character(5) VARCHAR2(5) NOT NULL Requesting Business Unit
15 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
16 CS_SOURCE_TRANS Character(2) VARCHAR2(2) NOT NULL Source Transaction 03/22/07 cel F-AHAYT-748L7: Added Purchase Order (03) as a new source transaction 01/12/11 tbg SCMT-92-MDEM-04: Added RFx (04) as new source transaction for strat sourcing (doc authoring)
01=Ad Hoc
02=Purchasing Contracts
03=Purchase Orders
04=Sourcing Events
97=All Sources
98=Multiple Sources
99=Not Transactional
17 CS_EXT_SIGN_STATUS Character(2) VARCHAR2(2) NOT NULL External Signature Status
NR=Not Initiated
PS=Pending Signatures
RJ=Declined
SS=Signed
18 CS_DOC_START_DATE Date(10) DATE Cycle Start Date
19 CS_DOC_DUE_DATE Date(10) DATE Cycle Due Date
20 CS_DOC_STATUS_DATE Date(10) DATE Last Status Change Date
21 CHECKED_OUT_BY Character(30) VARCHAR2(30) NOT NULL Checked Out By
22 CHECKED_OUT_EX_BY Character(30) VARCHAR2(30) NOT NULL Checked Out By
23 CS_INT_SIGN_STATUS Character(2) VARCHAR2(2) NOT NULL Internal Signature Status
NR=Not Required
PS=Pending Signatures
SS=Signed
24 CS_ROUTE_SIGN_FLG Character(1) VARCHAR2(1) NOT NULL Document in Signature Loop
25 CS_CHAR_USER1 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 1
26 CS_CHAR_USER2 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 2
27 CS_CHAR_USER3 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 3
28 CS_CHAR_USER4 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 4
29 CS_CHAR_USER5 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 5
30 CS_CHAR_USER6 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 6
31 CS_CHAR_USER7 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 7
32 CS_CHAR_USER8 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 8
33 CS_CHAR_USER9 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 9
34 CS_CHAR_USER10 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 10
35 CS_CHAR_USER11 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 11
36 CS_CHAR_USER12 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 12
37 CS_CHAR_USER13 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 13
38 CS_CHAR_USER14 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 14
39 CS_CHAR_USER15 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 15
40 CS_CHAR_USER16 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 16
41 CS_CHAR_USER17 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 17
42 CS_CHAR_USER18 Character(10) VARCHAR2(10) NOT NULL Character 10 User Field 18
43 CS_CHAR_USER19 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 19
44 CS_CHAR_USER20 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 20
45 CS_CHAR_USER21 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 21
46 CS_CHAR_USER22 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 22
47 CS_CHAR_USER23 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 23
48 CS_CHAR_USER24 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 24
49 CS_CHAR_USER25 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 25
50 CS_CHAR_USER26 Character(30) VARCHAR2(30) NOT NULL Character 30 User Field 26
51 CS_CHAR_USER27 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 27
52 CS_CHAR_USER28 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 28
53 CS_CHAR_USER29 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 29
54 CS_CHAR_USER30 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 30
55 CS_CHAR_USER31 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 31
56 CS_CHAR_USER32 Character(60) VARCHAR2(60) NOT NULL Character 60 User Field 32
57 CS_CHAR_USER33 Character(120) VARCHAR2(120) NOT NULL Character 120 User Field 33
58 CS_CHAR_USER34 Character(120) VARCHAR2(120) NOT NULL Character 120 User Field 34
59 CS_CHAR_USER35 Character(120) VARCHAR2(120) NOT NULL Character 120 User Field 35
60 CS_CHAR_USER36 Character(120) VARCHAR2(120) NOT NULL Character 120 User Field 36
61 CS_CHAR_USER37 Character(120) VARCHAR2(120) NOT NULL Character 120 User Field 37
62 CS_CHAR_USER38 Character(120) VARCHAR2(120) NOT NULL Character 120 User Field 38
63 CS_DATE_USER1 Date(10) DATE Date User Field 1
64 CS_DATE_USER2 Date(10) DATE Date User Field 2
65 CS_DATE_USER3 Date(10) DATE Date User Field 3
66 CS_DATE_USER4 Date(10) DATE Date User Field 4
67 CS_DATE_USER5 Date(10) DATE Date User Field 5
68 CS_DATE_USER6 Date(10) DATE Date User Field 6
69 CS_DATE_USER7 Date(10) DATE Date User Field 7
70 CS_DATE_USER8 Date(10) DATE Date User Field 8
71 CS_DATE_USER9 Date(10) DATE Date User Field 9
72 CS_DATE_USER10 Date(10) DATE Date User Field 10
73 CS_DATE_USER11 Date(10) DATE Date User Field 11
74 CS_DATE_USER12 Date(10) DATE Date User Field 12
75 CS_DATE_USER13 Date(10) DATE Date User Field 13
76 CS_DATE_USER14 Date(10) DATE Date User Field 14
77 CS_DATE_USER15 Date(10) DATE Date User Field 15
78 CS_DEC_USER1 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 1 (23.3)
79 CS_DEC_USER2 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 2 (23.3)
80 CS_DEC_USER3 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 3 (23.3)
81 CS_DEC_USER4 Signed Number(17,4) DECIMAL(15,4) NOT NULL Decimal User Field 4 (11.4)
82 CS_DEC_USER5 Signed Number(17,4) DECIMAL(15,4) NOT NULL Decimal User Field5 (11.4)
83 CS_DEC_USER6 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 6 (23.3)
84 CS_DEC_USER7 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 7 (23.3)
85 CS_DEC_USER8 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 8 (23.3)
86 CS_DEC_USER9 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 9 (23.3)
87 CS_DEC_USER10 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 10 (23.3)
88 CS_DEC_USER11 Signed Number(28,3) DECIMAL(26,3) NOT NULL Decimal User Field 11 (23.3)
89 CS_DEC_USER12 Signed Number(17,4) DECIMAL(15,4) NOT NULL Decimal User Field 12 (11.4)
90 CS_DEC_USER13 Signed Number(17,4) DECIMAL(15,4) NOT NULL Decimal User Field 13 (11.4)
91 CS_DEC_USER14 Signed Number(17,4) DECIMAL(15,4) NOT NULL Decimal User Field 14 (11.4)
92 CS_DEC_USER15 Signed Number(17,4) DECIMAL(15,4) NOT NULL Decimal User Field 15 (11.4)
93 CS_INT_USER1 Number(8,0) INTEGER NOT NULL Integer User Field 1
94 CS_INT_USER2 Number(8,0) INTEGER NOT NULL Integer User Field 2
95 CS_INT_USER3 Number(8,0) INTEGER NOT NULL Integer User Field 3
96 CS_INT_USER4 Number(8,0) INTEGER NOT NULL Integer User Field 4
97 CS_INT_USER5 Number(8,0) INTEGER NOT NULL Integer User Field 5
98 CS_INT_USER6 Number(8,0) INTEGER NOT NULL Integer User Field 6
99 CS_INT_USER7 Number(8,0) INTEGER NOT NULL Integer User Field 7
100 CS_INT_USER8 Number(8,0) INTEGER NOT NULL Integer User Field 8
101 CS_INT_USER9 Number(8,0) INTEGER NOT NULL Integer User Field 9
102 CS_INT_USER10 Number(8,0) INTEGER NOT NULL Integer User Field 10
103 CS_INT_USER11 Number(8,0) INTEGER NOT NULL Integer User Field 11
104 CS_INT_USER12 Number(8,0) INTEGER NOT NULL Integer User Field 12
105 CS_INT_USER13 Number(8,0) INTEGER NOT NULL Integer User Field 13
106 CS_INT_USER14 Number(8,0) INTEGER NOT NULL Integer User Field 14
107 CS_INT_USER15 Number(8,0) INTEGER NOT NULL Integer User Field 15
108 CS_INT_USER16 Number(8,0) INTEGER NOT NULL Integer User Field 16
109 CS_INT_USER17 Number(8,0) INTEGER NOT NULL Integer User Field 17
110 CS_INT_USER18 Number(8,0) INTEGER NOT NULL Integer User Field 18
111 CS_INT_USER19 Number(8,0) INTEGER NOT NULL Integer User Field 19
112 CS_INT_USER20 Number(8,0) INTEGER NOT NULL Integer User Field 20
113 CS_INT_USER21 Number(8,0) INTEGER NOT NULL Integer User Field 21
114 CS_INT_USER22 Number(8,0) INTEGER NOT NULL Integer User Field 22
115 CS_INT_USER23 Number(8,0) INTEGER NOT NULL Integer User Field 23
116 CS_INT_USER24 Number(8,0) INTEGER NOT NULL Integer User Field 24
117 SETID Character(5) VARCHAR2(5) NOT NULL SetID
118 CS_ADHOC_ID Character(25) VARCHAR2(25) NOT NULL Ad Hoc ID
119 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
120 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number
121 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
122 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
123 CNTRCT_BEGIN_DT Date(10) DATE Contract Begin Date
124 CNTRCT_EXPIRE_DT Date(10) DATE Expire Date
125 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
126 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
127 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
128 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
129 AUC_ID Character(10) VARCHAR2(10) NOT NULL Event ID
130 AUC_ROUND Number(5,0) INTEGER NOT NULL Event Round
131 AUC_VERSION Number(5,0) INTEGER NOT NULL Event Version
132 OPRDEFNDESC Character(30) VARCHAR2(30) NOT NULL Description field for a user
133 CNTRCT_STYLE Character(10) VARCHAR2(10) NOT NULL Contract Style