PO_RCVMTCHVCH_V(SQL View) |
Index Back |
---|---|
PO Receipt Match Voucher ViewPO Receipt Match Voucher View |
SELECT R.BUSINESS_UNIT_PO , R.PO_ID , R.LINE_NBR , R.SCHED_NBR FROM PS_RECV_LN_SHIP R WHERE R.PO_ID <> ' ' AND R.RECV_SHIP_STATUS <> 'X' UNION SELECT M.BUSINESS_UNIT , M.PO_ID , M.LINE_NBR , M.SCHED_NBR FROM PS_PO_LINE_MATCHED M UNION SELECT V.BUSINESS_UNIT_PO , V.PO_ID , V.LINE_NBR , V.SCHED_NBR FROM PS_VOUCHER VH , PS_VOUCHER_LINE V WHERE VH.BUSINESS_UNIT = V.BUSINESS_UNIT AND VH.VOUCHER_ID = V.VOUCHER_ID AND VH.ENTRY_STATUS <> 'X' AND VH.VOUCHER_STYLE IN ('REG', 'ADJ', 'CORR', 'THRD', 'PPAY') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
4 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |