BI_TMPSRCH12_VW(SQL View) |
Index Back |
---|---|
Temp bill srch VW - LOC Doc IDOnly LOC doc Ids on temporary bills marked for approval or deletion during the batch update are included in this view. |
SELECT DISTINCT business_unit , loc_doc_id FROM PS_BI_HDR WHERE (bill_status = 'TMP' OR bill_status = 'TMR') AND pc_distrib_status = 'I' AND process_instance = 0 AND loc_doc_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 | LOC_DOC_ID | Character(30) | VARCHAR2(30) NOT NULL | Letter of Credit Document ID |