BI_LIN_ATTSS_VW

(SQL View)
Index Back

View invoice attachments - eBP

This view is used in viewing invoice attachments in eBill Payment (files that are not marked as Internal Only).

SELECT B.BUSINESS_UNIT , B.INVOICE , L.INVOICE_LINE , B.LINE_SEQ_NUM , B.SCM_ATTACH_ID , B.ATT_VERSION , B.ADD_DTTM , B.LAST_MAINT_OPRID , A.ATTACHUSERFILE , L.DESCR FROM PS_PV_ATTACHMENTS A , PS_BI_LINE L , PS_BI_LINE_ATTACH B WHERE A.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND A.ATT_VERSION = B.ATT_VERSION AND B.BUSINESS_UNIT = L.BUSINESS_UNIT AND B.INVOICE = L.INVOICE AND B.LINE_SEQ_NUM = L.LINE_SEQ_NUM 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 INVOICE_LINE Number(5,0) INTEGER NOT NULL Invoice Line
4 LINE_SEQ_NUM Number(5,0) INTEGER NOT NULL Sequence
5 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.
6 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.
7 ADD_DTTM DateTime(26) TIMESTAMP Date Time Added
8 LAST_MAINT_OPRID Character(30) VARCHAR2(30) NOT NULL Last Maintained By Operator ID
9 ATTACHUSERFILE Character(64) VARCHAR2(64) NOT NULL Attached File
10 DESCR Character(30) VARCHAR2(30) NOT NULL Description