CS_DOC_RELHS_VW

(SQL View)
Index Back

RElated docs history

Date Initials Issue Description ============================================ 08/2007 CEL F-AHAYT-25EQ8 History view to use to get related docs

SELECT A.CS_DOC_ID , A.CS_REL_DOC_ID , A.CS_DOC_ATT_VER , A.EXT_FLAG , A.CS_VISIBLE_EXT , B.CS_SOURCE_TRANS FROM PS_CS_DOC_REL_HIST A , PS_CS_DOC_HDR B WHERE A.CS_REL_DOC_ID = B.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 CS_REL_DOC_ID Character(25) VARCHAR2(25) NOT NULL Related Doc ID
3 CS_DOC_ATT_VER Number(3,0) SMALLINT NOT NULL This is the cycle/seq nbr that indicates the change interation/version that the normal attachments are on. Since we want to save them off in history
4 EXT_FLAG Character(1) VARCHAR2(1) NOT NULL External Resource

Y/N Table Edit

5 CS_VISIBLE_EXT Character(1) VARCHAR2(1) NOT NULL Visible to Supplier
6 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