BI_TMP_SRCH8_VW

(SQL View)
Index Back

Temp bill srch VW - Customers

Only bill to customers on temporary bills marked for approval or deletion during the batch update are included in this view.

SELECT DISTINCT business_unit , bill_to_cust_id FROM PS_BI_HDR WHERE (bill_status = 'TMP' OR bill_status = 'TMR') AND pc_distrib_status = 'I' AND process_instance = 0 AND bill_to_cust_id <> ' ' AND EXISTS ( SELECT 'X' FROM ps_bi_wrksht_stg stg WHERE PS_BI_HDR.business_unit = stg.business_unit AND PS_BI_HDR.invoice = stg.invoice AND stg.wrksht_status <> '9')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 BILL_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer