VNDR_ATCH_VW

(SQL View)
Index Back

Supplier Attachment View

Supplier Attachment View

SELECT A.SETID , A.VENDOR_ID , C.SCM_ATTACH_ID , C.ATT_VERSION , C.ATTACHSYSFILENAME , C.ATTACHUSERFILE , C.ATTACH_DESCR , AF.EOAWTHREAD_ID , AF.EOAWPRCS_ID , AF.EOAWPARENT_THREAD , A.FMS_OPRID , A.FMS_LASTUPDOPRID , OP.OPRDEFNDESC , A.FMS_DTTM_STAMP , A.FMS_LASTUPDDTTM FROM PS_AP_VNDR_ATT A , PS_PV_ATTACHMENTS C , PS_VNDR_AF_XREF AF , PSOPRDEFN OP WHERE A.SCM_ATTACH_ID = C.SCM_ATTACH_ID AND A.ATT_VERSION = C.ATT_VERSION AND A.SETID = AF.SETID AND A.VENDOR_ID = AF.VENDOR_ID AND OP.OPRID = A.FMS_OPRID AND A.SHOW_APPROVAL = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
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 ATTACHSYSFILENAME Character(128) VARCHAR2(128) NOT NULL Unique Sys Filename
6 ATTACHUSERFILE Character(64) VARCHAR2(64) NOT NULL Attached File
7 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.
8 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
9 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
10 EOAWPARENT_THREAD Number(15,0) DECIMAL(15) NOT NULL Parent Thread ID
11 FMS_OPRID Character(30) VARCHAR2(30) NOT NULL Specifies the User ID which made the original entry.
12 FMS_LASTUPDOPRID Character(30) VARCHAR2(30) NOT NULL Specifies the User ID which made the last update to an entry.
13 OPRDEFNDESC Character(30) VARCHAR2(30) NOT NULL Description field for a user
14 FMS_DTTM_STAMP DateTime(26) TIMESTAMP Specifies the date and time of the original entry.
15 FMS_LASTUPDDTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry.