BI_XLN_DDS_VW

(SQL View)
Index Back

Bill Line Disc Surch for XML


SELECT C.SETID , C.CUST_ID , A.BUSINESS_UNIT , A.INVOICE , A.LINE_SEQ_NUM , A.DISC_SUR_LVL , A.DISC_SUR_ID , A.DST_ID , A.ACCOUNT , A.ALTACCT , A.DEPTID , %subrec(cf16_an_sbr,a) , A.PROJECT_ID , A.STATISTICS_CODE , A.DEFERRED_STATUS , A.ADD_DTTM , A.PROCESS_INSTANCE , A.AUDIT_ACTN , A.IN_PROCESS_FLG , A.LAST_UPDATE_DTTM , A.LAST_MAINT_OPRID FROM PS_BI_XLN_DDS_TAO A , PS_BI_XLINE_TAO B , PS_BI_XHDR_TAO C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INVOICE = B.INVOICE AND A.LINE_SEQ_NUM = B.LINE_SEQ_NUM AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.INVOICE = C.INVOICE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
5 LINE_SEQ_NUM Number(5,0) INTEGER NOT NULL Sequence
6 DISC_SUR_LVL Number(2,0) SMALLINT NOT NULL Discount/Surcharge Level
7 DISC_SUR_ID Character(15) VARCHAR2(15) NOT NULL Identifier
8 DST_ID Character(10) VARCHAR2(10) NOT NULL Distribution Code
9 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
10 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
11 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

12 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

13 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_BUGL_VW

14 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_BUGL_VW

15 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASSCF_BUGL_VW

16 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_BUGL_VW

17 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_BUGL_VW

18 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

19 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

20 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

21 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_BUGL_VW

22 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_BUGL_VW

23 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_BUGL_VW

24 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
25 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
26 DEFERRED_STATUS Character(1) VARCHAR2(1) NOT NULL Subject to Deferred Booking
27 ADD_DTTM DateTime(26) TIMESTAMP Date Time Added
28 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
29 AUDIT_ACTN Character(1) VARCHAR2(1) NOT NULL Audit Action Code for Application Messages. This tells the subscriber whether the row has been added, changed, or deleted.
A=Add
C=Change Old (PPR Only)
D=Delete
K=Change - Old Values
N=Change - New Values
O=Change - Original Values
30 IN_PROCESS_FLG Character(1) VARCHAR2(1) NOT NULL In process flag
31 LAST_UPDATE_DTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
32 LAST_MAINT_OPRID Character(30) VARCHAR2(30) NOT NULL Last Maintained By Operator ID