BI_TMP_SRCH5_VW

(SQL View)
Index Back

Temp bill srch VW - LC_ID


SELECT DISTINCT business_unit , lc_id FROM PS_BI_HDR WHERE (bill_status = 'TMP' OR bill_status = 'TMR') AND process_instance = 0 AND LC_ID <> ' ' AND (PC_DISTRIB_STATUS <> 'I' OR (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 IN ('0', '8'))))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 LC_ID Character(12) VARCHAR2(12) NOT NULL Treasury Letter of Credit Number Assigned by the System