BI_BILL_HDR_VW2

(SQL View)
Index Back

Billing Invoice Header


SELECT A.BUSINESS_UNIT ,A.INVOICE_ID ,A.EXT_ORG_ID ,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_CAREER ,A.ACAD_CAREER_SRCH ,A.ACAD_CAREER_INC ,A.ACAD_PROG_PRIMARY ,A.ACAD_PROG_SRCH ,A.ACAD_PROG ,A.ACAD_LEVEL_PROJ ,A.ACAD_LVL_PROJ_SRCH ,A.ACAD_LEVEL_PROJ_CL ,A.ACAD_PLAN ,A.ACAD_PLAN_SRCH ,A.ACAD_PLAN_INC ,A.TUITION_RES ,A.PRT_BILL_FLAG ,A.RE_PRT_BILL_FLAG ,A.PRT_DTTM_STAMP ,A.RE_PRT_DTTM_STAMP ,A.INVOICE_DT ,A.PRIOR_IVC_BALANCE ,A.MESSAGE_NBR ,A.SSF_ERROR_WARN ,A.CONTACT_NAME FROM PS_BI_BILL_HEADER A WHERE TYPE_OF_REQUEST = 'C'

# 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 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID

Prompt Table: EXT_ORG_TBL

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: OPRID_VW

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_CAREER Character(4) VARCHAR2(4) NOT NULL Academic Career
BAC=Bachelor (NLD)
BBL=Vocational Coaching (NLD)
BOL=Vocational Training (NLD)
BUSN=Graduate Business
CNED=Continuing Education
CRED=Semester Credit
EDU=Education (NLD)
EXED=Extended Education
GRAD=Graduate
LAW=Law
MEDS=Medical School
NONA=Non Award
PGRD=Postgraduate
RSCH=Research
TECH=Technical
UENG=Undergraduate Engineering
UGRD=Undergraduate
VAVO=Advanced General Educ. (NLD)
VETM=Veterinary Medicine
34 ACAD_CAREER_SRCH Character(4) VARCHAR2(4) NOT NULL Academic Career
35 ACAD_CAREER_INC Character(4) VARCHAR2(4) NOT NULL Academic Career
36 ACAD_PROG_PRIMARY Character(5) VARCHAR2(5) NOT NULL Primary Academic Program
37 ACAD_PROG_SRCH Character(5) VARCHAR2(5) NOT NULL Academic Program
38 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
39 ACAD_LEVEL_PROJ Character(3) VARCHAR2(3) NOT NULL Academic Level - Projected
40 ACAD_LVL_PROJ_SRCH Character(3) VARCHAR2(3) NOT NULL Academic Level - Projected
41 ACAD_LEVEL_PROJ_CL Character(3) VARCHAR2(3) NOT NULL Acad Level Proj Calculated
5AR=Fifth year Architecture
DOC=Doctorate
FR=Freshman
GR=Graduate
HS=High School Concurrent
JR=Junior
MAS=Masters
NDG=Non-deg Graduate
NDU=Non-deg Undergraduate
NST=Not Set
P1=Professional Year 1
P2=Professional Year 2
P3=Professional Year 3
P4=Professional Year 4
PBC=Post-bacc Teach Certificate
PBU=Post-bacc Undergraduate
PMC=Post-mast Teach Cert
PPR=Post-Professional
PRE=Pre-Candidate
SO=Sophomore
SR=Senior
42 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
43 ACAD_PLAN_SRCH Character(10) VARCHAR2(10) NOT NULL Academic Plan
44 ACAD_PLAN_INC Character(10) VARCHAR2(10) NOT NULL Academic Plan
45 TUITION_RES Character(5) VARCHAR2(5) NOT NULL Tuition Residency
46 PRT_BILL_FLAG Character(1) VARCHAR2(1) NOT NULL Print Bill Flag

Y/N Table Edit

Default Value: N

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

Y/N Table Edit

Default Value: N

48 PRT_DTTM_STAMP DateTime(26) TIMESTAMP Print Date/Time Stamp
49 RE_PRT_DTTM_STAMP DateTime(26) TIMESTAMP RePrint Date/Time Stamp
50 INVOICE_DT Date(10) DATE Invoice Date
51 PRIOR_IVC_BALANCE Signed Number(17,2) DECIMAL(15,2) NOT NULL Prior Invoice Amount
52 MESSAGE_NBR Number(5,0) INTEGER NOT NULL Message Number. This field refers to the Message Number in the Message Catalog.
53 SSF_ERROR_WARN Character(1) VARCHAR2(1) NOT NULL Field to hold translate values for Message Types - Error/Warning/Message
E=Error
M=Message
W=Warning
54 CONTACT_NAME Character(50) VARCHAR2(50) NOT NULL Contact Name