CS_DOC_CNT_H_VW(SQL View) |
Index Back |
---|---|
Contract Document Header |
SELECT DISTINCT '0008' ,PO.CS_DOC_ID ,PO.SETID ,PO.CNTRCT_ID ,F.CS_DOC_TYPE ,F.SCM_ATTACH_ID ,F.ATT_VERSION , PO.VERSION_NBR ,CNT.VENDOR_SETID ,CNT.VENDOR_ID ,V.VENDOR_NAME_SHORT ,CNT.CNTRCT_STATUS ,CNT.OPRID_APPROVED_BY ,CNT.APPROVAL_DT ,R.AMT_RELSD_OPEN_ITM ,CNT.AMT_RELSD_OITM_CUM ,CNT.CNTRCT_TYPE ,CNT.DESCR ,CNT.CURRENCY_CD ,CNT.BUYER_ID ,CNT.CNTRCT_PROC_OPT ,CNT.MSTR_CNTRCT_ID ,CNT.ALLOW_OPEN_ITEM ,%subrec(PUR_USR_HDR_SBR, CNT) FROM PS_CS_DOC_PO_KEYS PO ,PS_CS_DOC_HDR H ,PS_CS_DOC_ATT_TBL F ,PS_CNTRCT_HDR CNT ,PS_CNTRCT_HDR_RLS R ,PS_VENDOR V WHERE PO.CS_DOC_ID = H.CS_DOC_ID AND H.CS_DOC_ID = F.CS_DOC_ID AND PO.SETID = CNT.SETID AND PO.CNTRCT_ID = CNT.CNTRCT_ID AND PO.VERSION_NBR = CNT.VERSION_NBR AND R.SETID = CNT.SETID AND R.CNTRCT_ID = CNT.CNTRCT_ID AND CNT.VENDOR_SETID = V.SETID AND CNT.VENDOR_ID = V.VENDOR_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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 |
2 | CS_DOC_ID | Character(25) | VARCHAR2(25) NOT NULL | Document ID |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
4 | CS_CONTENT_ID | Character(30) | VARCHAR2(30) NOT NULL | Content ID |
5 | 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 |
6 | SCM_ATTACH_ID | Character(64) | VARCHAR2(64) NOT NULL | The unique ID of each file whose attachment was handled by the attachment utility. Unique across all attachments, all applications. |
7 | ATT_VERSION | Number(3,0) | SMALLINT NOT NULL | The version of the attached file. Currently always 1, this field will find more use once the attachment utitlity starts supporting versioning of files. |
8 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
9 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
10 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Prompt Table: %EDITTABLE18 |
11 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
12 | CNTRCT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Contract Status
A=Approved C=Closed H=On-Hold O=Open P=Pre-Approved X=Canceled Default Value: O |
13 | OPRID_APPROVED_BY | Character(30) | VARCHAR2(30) NOT NULL | Approved By |
14 | APPROVAL_DT | Date(10) | DATE | Date of Approval |
15 | AMT_RELSD_OPEN_ITM | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amt relsd for Open Item |
16 | AMT_RELSD_OITM_CUM | Number(27,3) | DECIMAL(26,3) NOT NULL | Cumulative Relsd for Open Item |
17 | CNTRCT_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Contract Type
AP=Recurring Voucher GN=General Contract MS=Master Contract PO=Purchase Order Default Value: GN |
18 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
19 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Default Value: CNTRCT_CONTROL.CURRENCY_CD Prompt Table: CURRENCY_CD_TBL |
20 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL |
Buyer
Prompt Table: BUYER_ACTIVE_VW |
21 | CNTRCT_PROC_OPT | Character(4) | VARCHAR2(4) NOT NULL |
Contract Process Option
AP=Recurring Voucher BPO=Release to Single PO Only DST=Distributor GN=General Contract GRPM=Group Multi Supplier GRPS=Group Single Supplier MFG=Manufacturer PADV=Prepaid Voucher w/ Advance PO PO=Purchase Order PPAY=Prepaid Voucher RPOV=Recurring PO Voucher SPP=Special Purpose Default Value: GN |
22 | MSTR_CNTRCT_ID | Character(10) | VARCHAR2(10) NOT NULL |
Master Contract ID
Prompt Table: CNTRCT_MSTR_VW |
23 | ALLOW_OPEN_ITEM | Character(1) | VARCHAR2(1) NOT NULL |
Allow Open Item Reference
N=No Y=Yes Y/N Table Edit Default Value: N |
24 | USER_HDR_CHAR1 | Character(1) | VARCHAR2(1) NOT NULL | Custom Character 1 |
25 | CUSTOM_C100_A1 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 1 |
26 | CUSTOM_C100_A2 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 2 |
27 | CUSTOM_C100_A3 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 3 |
28 | CUSTOM_C100_A4 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 4 |
29 | CUSTOM_DATE_A | Date(10) | DATE | Custom Date |
30 | CUSTOM_C1_A | Character(1) | VARCHAR2(1) NOT NULL | Custom Character 2 |