ARMTWO_ATCH_VW

(SQL View)
Index Back

Maintenance attach view

Maintenance attach view

SELECT A.WS_BU , A.WS_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_WS_CONTROL_ATT A , PS_PV_ATTACHMENTS C , PS_AR_MAINT_WO_AW AF , PSOPRDEFN OP WHERE A.SCM_ATTACH_ID = C.SCM_ATTACH_ID AND A.ATT_VERSION = C.ATT_VERSION AND A.WS_BU = AF.WS_BU AND A.WS_ID = AF.WS_ID AND OP.OPRID = A.FMS_OPRID AND A.SHOW_APPROVAL = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 WS_BU Character(5) VARCHAR2(5) NOT NULL Worksheet Business Unit

Default Value: OPR_DEF_TBL_AR.GROUP_BU

Prompt Table: SP_BUARWS_NONVW

2 WS_ID Character(15) VARCHAR2(15) NOT NULL Worksheet ID

Default Value: NEXT

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.