PO_SE_ATT_D(SQL View) |
Index Back |
---|---|
PO Search attach D view |
SELECT A.BUSINESS_UNIT , A.PO_ID , A.SCM_ATTACH_ID , A.ATT_VERSION , A.ATTACH_DESCR , B.COMMENTS_2000 , A.FILENAME , A.FILE_EXTENSION , A.OPRID , C.SERVER_ID , C.SERVER_PATH , C.ATTACHSYSFILENAME FROM PS_PO_COMMENTS A , PS_COMMENTS_TBL B , PS_PV_ATTACHMENTS C WHERE A.OPRID = B.OPRID AND A.COMMENT_ID = B.COMMENT_ID AND C.SERVER_TYPE = 'D' AND A.SCM_ATTACH_ID = C.SCM_ATTACH_ID AND A.ATT_VERSION = C.ATT_VERSION |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
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 | COMMENTS_2000 | Long Character | CLOB | Comment Text |
7 | FILENAME | Character(80) | VARCHAR2(80) NOT NULL | File Name |
8 | FILE_EXTENSION | Character(4) | VARCHAR2(4) NOT NULL | File Extension |
9 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
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 |