BI_SPLST_VW2(SQL View) |
Index Back |
---|---|
BI bill status by specialist |
SELECT h.business_unit , h.invoice , h.invoice_dt , h.accounting_dt , %DatePart(h.add_dttm) , h.bi_currency_cd , h.bill_status , h.invoice_amount , h.invoice_type , h.bill_to_cust_id , h.bill_source_id , h.bill_type_id , h.billing_frequency , h.billing_specialist , h.contract_num FROM PS_BI_HDR h , ps_bi_usprf_bs_cfg pf WHERE (h.BILL_STATUS IN ('HLD', 'NEW', 'PND', 'RDY') OR ((h.BILL_STATUS = 'TMP' OR h.BILL_STATUS = 'TMR') AND (h.PC_DISTRIB_STATUS <> 'I')) ) AND h.CONSOL_HDR <> 'Y' AND h.CONSOL_INVOICE = ' ' AND h.TEMPLATE_IVC_FLG = 'N' |
# | 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_FS.BUSINESS_UNIT Prompt Table: SP_BU_BI_NONVW |
2 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL |
Invoice
Default Value: NEXT Prompt Table: BI_HDR_IVC_VW |
3 | INVOICE_DT | Date(10) | DATE | Invoice Date |
4 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
5 | DATE_ADDED | Date(10) | DATE | Date Added |
6 | BI_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Billing Currency Code |
7 | BILL_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Bill Status
CAN=Canceled FNL=Finalized Bill HLD=Hold Bill INV=Invoiced Bill NEW=New Bill PND=Pending Approval RDY=Ready to Invoice TMP=Temporary Bill TMR=Temporary Ready Bill |
8 | INVOICE_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Invoice Amount |
9 | INVOICE_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Invoice Type
ACR=Credit Bill ADJ=Adjustment Only bill ARB=Rebill Bill PRF=Pro Forma Invoice RAD=Regular bill with adjustments REG=Regular Bill |
10 | BILL_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Customer
Prompt Table: CUST_BI_A2_VW |
11 | BILL_SOURCE_ID | Character(10) | VARCHAR2(10) NOT NULL | Bill Source |
12 | BILL_TYPE_ID | Character(3) | VARCHAR2(3) NOT NULL | Bill Type Identifier |
13 | BILLING_FREQUENCY | Character(3) | VARCHAR2(3) NOT NULL |
Billing Frequency
INS=Installment ONC=Once REC=Recurring |
14 | BILLING_SPECIALIST | Character(8) | VARCHAR2(8) NOT NULL | Billing Specialist |
15 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |