AM_SESATTACH_VW

(SQL View)
Index Back

AM PTSF attachment view

AM PTSF attachment view

SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.SCM_ATTACH_ID , A.ATT_VERSION , A.FMS_DTTM_STAMP , A.FMS_OPRID , A.FMS_LASTUPDDTTM , A.FMS_LASTUPDOPRID , B.ATTACH_DESCR , B.SERVER_ID , B.SERVER_PATH , B.ATTACHSYSFILENAME , B.ATTACHUSERFILE , CASE WHEN SVR.PV_URL_ID = ' ' THEN %Substring(SVR.ATT_SRV_NAME,1 ,30) ELSE SVR.PV_URL_ID END FROM PS_AM_ADD_ATT 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 B.SERVER_ID = SVR.SERVER_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
3 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.
4 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.
5 FMS_DTTM_STAMP DateTime(26) TIMESTAMP Specifies the date and time of the original entry.
6 FMS_OPRID Character(30) VARCHAR2(30) NOT NULL Specifies the User ID which made the original entry.
7 FMS_LASTUPDDTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry.
8 FMS_LASTUPDOPRID Character(30) VARCHAR2(30) NOT NULL Specifies the User ID which made the last update to an entry.
9 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.
10 SERVER_ID Number(4,0) SMALLINT NOT NULL File Server ID
11 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.
12 ATTACHSYSFILENAME Character(128) VARCHAR2(128) NOT NULL Unique Sys Filename
13 ATTACHUSERFILE Character(64) VARCHAR2(64) NOT NULL Attached File
14 URL_ID Character(30) VARCHAR2(30) NOT NULL URL Identifier (see PSURLDEFN).