SPA_TM_ATTCH_VW

(SQL View)
Index Back

sPro Timesheet Fluid Approval

View to display attachments on CAVF Framework for Services Timesheet Fluid Approval transaction.

SELECT A.BUSINESS_UNIT , A.TIME_SHEET_ID , A.SCM_ATTACH_ID , A.ATT_VERSION , B.ATTACH_DESCR , B.SERVER_ID , B.SERVER_TYPE , B.SERVER_PATH , B.ATTACHSYSFILENAME , B.ATTACHUSERFILE FROM PS_SPA_TIME_ATTACH A , PS_PV_ATTACHMENTS B WHERE A.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND A.ATT_VERSION = B.ATT_VERSION

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 TIME_SHEET_ID Character(10) VARCHAR2(10) NOT NULL Time Sheet Unique Identifier (System Generated)
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 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.
6 SERVER_ID Number(4,0) SMALLINT NOT NULL File Server ID
7 SERVER_TYPE Character(1) VARCHAR2(1) NOT NULL One of type ftp or DB, marks each registered attachment server.
D=Database server
F=FTP server
U=URL Server
8 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.
9 ATTACHSYSFILENAME Character(128) VARCHAR2(128) NOT NULL Unique Sys Filename
10 ATTACHUSERFILE Character(64) VARCHAR2(64) NOT NULL Attached File