ARDFWO_ATCH_VW(SQL View) |
Index Back |
---|---|
Draft attach viewDraft attach view |
SELECT DISTINCT A.DRAFT_BU , A.DRAFT_ID , H.DRAFT_DOC_REF , 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_DRAFT_ATT A , PS_PV_ATTACHMENTS C , PS_AR_DRAFT_WO_AW AF , PSOPRDEFN OP , PS_ARDFWOHD_FL_VW H WHERE A.SCM_ATTACH_ID = C.SCM_ATTACH_ID AND A.ATT_VERSION = C.ATT_VERSION AND A.DRAFT_BU = AF.DRAFT_BU AND A.DRAFT_ID = AF.DRAFT_ID AND OP.OPRID = A.FMS_OPRID AND A.DRAFT_BU = H.DRAFT_BU AND A.DRAFT_ID = H.DRAFT_ID AND A.SHOW_APPROVAL = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
Identifies the Receivables business unit associated with a draft. This field is maintained by the Draft Creation process.
Default Value: OPR_DEF_TBL_AR.DEPOSIT_BU Prompt Table: SP_BUARDS_NONVW |
|
2 | Character(15) | VARCHAR2(15) NOT NULL |
Uniquely identifies a payment draft. The Draft ID is system-generated during the Draft Creation process or manually entered.
Default Value: NEXT Prompt Table: DRAFT_CONTROL |
|
3 | DRAFT_DOC_REF | Character(20) | VARCHAR2(20) NOT NULL | Draft Reference |
4 | 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. | |
5 | 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. | |
6 | ATTACHSYSFILENAME | Character(128) | VARCHAR2(128) NOT NULL | Unique Sys Filename |
7 | ATTACHUSERFILE | Character(64) | VARCHAR2(64) NOT NULL | Attached File |
8 | 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. |
9 | EOAWTHREAD_ID | Number(15,0) | DECIMAL(15) NOT NULL | Approval Framework Thread ID |
10 | EOAWPRCS_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Process ID |
11 | EOAWPARENT_THREAD | Number(15,0) | DECIMAL(15) NOT NULL | Parent Thread ID |
12 | FMS_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Specifies the User ID which made the original entry. |
13 | FMS_LASTUPDOPRID | Character(30) | VARCHAR2(30) NOT NULL | Specifies the User ID which made the last update to an entry. |
14 | OPRDEFNDESC | Character(30) | VARCHAR2(30) NOT NULL | Description field for a user |
15 | FMS_DTTM_STAMP | DateTime(26) | TIMESTAMP | Specifies the date and time of the original entry. |
16 | FMS_LASTUPDDTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. |