BI_BILL_HDR_VW

(SQL View)
Index Back

Billing Invoice Header


SELECT a.business_unit ,a.invoice_id ,a.emplid ,a.ADDRESS_TYPE ,a.bill_type_id ,a.prior_invoice_id ,a.invoice_type ,a.bill_req_id ,a.bi_req_nbr ,a.bill_date_time ,a.due_dt ,a.oprid ,a.total_bill ,a.sf_bill_status ,a.name ,%subrec(ADDRESS_SBR, a) ,a.acad_prog_primary ,a.acad_level_proj ,a.prt_bill_flag ,a.re_prt_bill_flag ,a.prt_dttm_stamp ,a.re_prt_dttm_stamp ,a.invoice_dt FROM PS_BI_BILL_HEADER A

# 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_CS.BUSINESS_UNIT

Prompt Table: SP_BU_SF_NONVW

2 INVOICE_ID Character(22) VARCHAR2(22) NOT NULL Invoice Number
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PEOPLE_SRCH

4 ADDRESS_TYPE Character(4) VARCHAR2(4) NOT NULL Address Type

Prompt Table: HCR_ADDR_TYP_I

5 BILL_TYPE_ID Character(3) VARCHAR2(3) NOT NULL Bill Type ID
PP=Payment Plan
PRE=Pre-Payment
STU=Student
TP=Third Party
6 PRIOR_INVOICE_ID Character(22) VARCHAR2(22) NOT NULL Prior Invoice ID
7 INVOICE_TYPE Character(3) VARCHAR2(3) NOT NULL Invoice Type
ACR=Credit Invoice
ADJ=Adjustment Only Bill
ARB=Rebill Bill
RAD=Regular bill with adjustments
REG=Regular Bill

Default Value: REG

8 BILL_REQ_ID Character(10) VARCHAR2(10) NOT NULL Bill Request ID
9 BI_REQ_NBR Number(10,0) DECIMAL(10) NOT NULL Billing Request Nbr
10 BILL_DATE_TIME DateTime(26) TIMESTAMP NOT NULL Bill Date and Time

Default Value: %date

11 DUE_DT Date(10) DATE NOT NULL Due Date

Default Value: %date

12 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).

Default Value: OPR_DEF_TBL_CS.OPRID

Prompt Table: OPR_DEF_TBL_CS

13 TOTAL_BILL Signed Number(17,2) DECIMAL(15,2) NOT NULL Total Billed
14 SF_BILL_STATUS Character(1) VARCHAR2(1) NOT NULL Billing Status
C=Cancelled
I=Initiated
15 NAME Character(50) VARCHAR2(50) NOT NULL Name
16 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: SCC_CNT_ADFMTVW

17 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
18 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
19 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
20 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
21 CITY Character(30) VARCHAR2(30) NOT NULL City
22 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
23 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
24 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat Reference
WW=House Trailer Reference
25 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
26 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
27 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
28 COUNTY Character(30) VARCHAR2(30) NOT NULL County
29 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: STATE_TBL

30 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
31 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
32 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

33 ACAD_PROG_PRIMARY Character(5) VARCHAR2(5) NOT NULL Primary Academic Program
34 ACAD_LEVEL_PROJ Character(3) VARCHAR2(3) NOT NULL Academic Level - Projected
35 PRT_BILL_FLAG Character(1) VARCHAR2(1) NOT NULL Print Bill Flag

Y/N Table Edit

Default Value: N

36 RE_PRT_BILL_FLAG Character(1) VARCHAR2(1) NOT NULL RePrint Bill Flag

Y/N Table Edit

Default Value: N

37 PRT_DTTM_STAMP DateTime(26) TIMESTAMP Print Date/Time Stamp
38 RE_PRT_DTTM_STAMP DateTime(26) TIMESTAMP RePrint Date/Time Stamp
39 INVOICE_DT Date(10) DATE Invoice Date