BI_HDR_ATCSS_VW

(SQL View)
Index Back

View cons invoice attachments

This view is used in viewing invoice attachments for consolidated bills 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 CONSOL_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Specifies the Billing business unit associated with a consolidated bill.

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

2 CONSOL_INVOICE Character(22) VARCHAR2(22) NOT NULL Specifies the invoice identifier associated with a consolidated bill.
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