BI_TMP_SRCH7_VW(SQL View) |
Index Back |
---|---|
Temp Bill Srch VW - InvoicesOnly temporary bills marked for approval or deletion during the batch update are included in this view. |
SELECT DISTINCT business_unit , invoice FROM PS_BI_HDR WHERE (bill_status = 'TMP' OR bill_status = 'TMR') AND process_instance = 0 AND pc_distrib_status = 'I' 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 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |