SS_SES_ATT_SVW

(SQL View)
Index Back

Sourcing Attachment View


SELECT A.BUSINESS_UNIT , A.AUC_ID , A.AUC_ROUND , A.AUC_VERSION , A.LINE_NBR , A.BID_FACTOR_NBR , A.AUC_ATTACH_NUM , A.SCM_ATTACH_ID , A.ATT_VERSION , B.ATTACH_DESCR , B.SERVER_ID , B.SERVER_PATH , B.ATTACHSYSFILENAME , B.ATTACHUSERFILE , CASE SVR.PV_URL_ID WHEN ' ' THEN %Substring(SVR.ATT_SRV_NAME,1 ,30) ELSE SVR.PV_URL_ID END FROM PS_AUC_ATTCH A , PS_PV_ATTACHMENTS B , PS_PV_ATT_SERVERS SVR WHERE A.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND A.ATT_VERSION = B.ATT_VERSION AND A.AUC_EVENT_PDF_FLG = 'N' AND A.AUC_EVENT_XML_FLG = 'N' AND A.BID_FACTOR_NBR = 0 AND SVR.SERVER_ID = B.SERVER_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 AUC_ID Character(10) VARCHAR2(10) NOT NULL Event ID
3 AUC_ROUND Number(5,0) INTEGER NOT NULL Event Round
4 AUC_VERSION Number(5,0) INTEGER NOT NULL Event Version
5 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
6 BID_FACTOR_NBR Number(10,0) DECIMAL(10) NOT NULL Bid Factor Number
7 AUC_ATTACH_NUM Number(5,0) INTEGER NOT NULL Attachment Number
8 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.
9 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.
10 ATTACH_DESCR Character(100) VARCHAR2(100) NOT NULL A description of the file being attached. This field is provided as a convenience to app developers and customers. The attachment utility does not interpret its value in any way, simply storing it as set by the application.
11 SERVER_ID Number(4,0) SMALLINT NOT NULL File Server ID
12 SERVER_PATH Character(254) VARCHAR2(254) NOT NULL For attached files already uploaded to an ftp server, the path under the ftp root directory in which the file is to be found.
13 ATTACHSYSFILENAME Character(128) VARCHAR2(128) NOT NULL Unique Sys Filename
14 ATTACHUSERFILE Character(64) VARCHAR2(64) NOT NULL Attached File
15 PV_URL_ID Character(30) VARCHAR2(30) NOT NULL URL Identifier