BI_XLN_TXDT_VW

(SQL View)
Index Back

Bill Line Tax Detail for XML


SELECT C.SETID , C.CUST_ID , A.BUSINESS_UNIT , A.INVOICE , A.LINE_SEQ_NUM , A.TAX_AUTHORITY_CD , A.BI_CURRENCY_CD , A.BASE_CURRENCY , A.CURRENCY_CD_XEU , A.TAX_AMT , A.TAX_AMT_BSE , A.TAX_AMT_XEU , A.TAX_PCT , 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_TXDT_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 TAX_AUTHORITY_CD Character(3) VARCHAR2(3) NOT NULL Tax Authority
7 BI_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Billing Currency Code

Default Value: BI_HDR.BI_CURRENCY_CD

8 BASE_CURRENCY Character(3) VARCHAR2(3) NOT NULL "Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. "

Default Value: BI_HDR.BASE_CURRENCY

9 CURRENCY_CD_XEU Character(3) VARCHAR2(3) NOT NULL Euro Currency

Default Value: BI_HDR.CURRENCY_CD_XEU

10 TAX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Amount
11 TAX_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Amount (base)
12 TAX_AMT_XEU Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Amount - Euro
13 TAX_PCT Number(7,4) DECIMAL(6,4) NOT NULL Tax Percent
14 ADD_DTTM DateTime(26) TIMESTAMP Date Time Added
15 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
16 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
17 IN_PROCESS_FLG Character(1) VARCHAR2(1) NOT NULL In process flag
18 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.
19 LAST_MAINT_OPRID Character(30) VARCHAR2(30) NOT NULL Last Maintained By Operator ID