BI_HDR_ATTSS_VW(SQL View) |
Index Back |
---|---|
View invoice attachments - eBPThis view is used in viewing invoice attachments in eBill Payment (files that are not marked as Internal Only). |
SELECT B.BUSINESS_UNIT , B.INVOICE , B.SCM_ATTACH_ID , B.ATT_VERSION , B.ADD_DTTM , B.LAST_MAINT_OPRID , A.ATTACHUSERFILE , B.INVOICE_IMG FROM PS_PV_ATTACHMENTS A , PS_BI_HDR_ATTACH B WHERE A.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND A.ATT_VERSION = B.ATT_VERSION AND B.INTERNAL_FLAG = 'N' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT |
2 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
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 | ADD_DTTM | DateTime(26) | TIMESTAMP | Date Time Added |
6 | LAST_MAINT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Last Maintained By Operator ID |
7 | ATTACHUSERFILE | Character(64) | VARCHAR2(64) NOT NULL | Attached File |
8 | INVOICE_IMG | Character(1) | VARCHAR2(1) NOT NULL |
Invoice Image
0=Not Invoice Image 1=Original Invoice Image |