PRCR_DS_VC_SRC1(SQL View) |
Index Back |
---|---|
Procurement Docstatus Work ScrProcurement Docstatus Work Scroll record, used for RTV document status for performence consideration |
( SELECT DISTINCT ' ' , V.BUSINESS_UNIT , ' ' , ' ' , V.VOUCHER_ID , 'VOU' , 'N' , V.TXN_CURRENCY_CD , V.BASE_CURRENCY , V.INVOICE_DT , ' ' , V.POST_STATUS_AP , V.VENDOR_ID , V.VENDOR_SETID , V.VNDR_LOC , V.INVOICE_ID ,RT.BUSINESS_UNIT , RT.RTV_ID FROM PS_VOUCHER V , PS_VOUCHER_LINE VL ,PS_RTV_LN_DISTRIB RT WHERE V.BUSINESS_UNIT = VL.BUSINESS_UNIT AND V.VOUCHER_ID = VL.VOUCHER_ID AND V.ENTRY_STATUS <> 'X' AND VL.BUSINESS_UNIT_PO <> ' ' AND VL.BUSINESS_UNIT_PO = RT.BUSINESS_UNIT_PO AND VL.PO_ID = RT.PO_ID AND VL.LINE_NBR = RT.LINE_NBR AND VL.SCHED_NBR = RT.SCHED_NBR AND VL.BUSINESS_UNIT_RTV = ' ' ) UNION ALL ( SELECT DISTINCT ' ' , V.BUSINESS_UNIT , ' ' , ' ' , V.VOUCHER_ID , 'VOU' , 'N' , V.TXN_CURRENCY_CD , V.BASE_CURRENCY , V.INVOICE_DT , ' ' , V.POST_STATUS_AP , V.VENDOR_ID , V.VENDOR_SETID , V.VNDR_LOC , V.INVOICE_ID ,RT.BUSINESS_UNIT ,RT.RTV_ID FROM PS_VOUCHER V , PS_VOUCHER_LINE VL ,PS_RTV_LN_DISTRIB RT WHERE V.BUSINESS_UNIT = VL.BUSINESS_UNIT AND V.VOUCHER_ID = VL.VOUCHER_ID AND V.ENTRY_STATUS <> 'X' AND VL.BUSINESS_UNIT_RTV = RT.BUSINESS_UNIT AND VL.RTV_ID = RT.RTV_ID AND VL.RTV_LN_NBR = RT.RTV_LN_NBR ) UNION ALL( SELECT DISTINCT ' ' , V.BUSINESS_UNIT , ' ' , ' ' , V.VOUCHER_ID , 'VOU' , 'N' , V.TXN_CURRENCY_CD , V.BASE_CURRENCY , V.INVOICE_DT , ' ' , V.POST_STATUS_AP , V.VENDOR_ID , V.VENDOR_SETID , V.VNDR_LOC , V.INVOICE_ID ,RT.BUSINESS_UNIT ,RT.RTV_ID FROM PS_VOUCHER V , PS_VOUCHER_LINE VL ,PS_RTV_LN_DISTRIB RT WHERE V.BUSINESS_UNIT = VL.BUSINESS_UNIT AND V.VOUCHER_ID = VL.VOUCHER_ID AND V.ENTRY_STATUS <> 'X' AND VL.BUSINESS_UNIT_RECV <> ' ' AND VL.BUSINESS_UNIT_RECV = RT.BUSINESS_UNIT_RECV AND VL.RECEIVER_ID = RT.RECEIVER_ID AND VL.RECV_LN_NBR = RT.RECV_LN_NBR AND VL.RECV_SHIP_SEQ_NBR = RT.RECV_SHIP_SEQ_NBR AND VL.BUSINESS_UNIT_PO = ' ' AND VL.BUSINESS_UNIT_RTV = ' ' ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | SetID | |
2 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
3 | Character(5) | VARCHAR2(5) NOT NULL | Bank Code | |
4 | Character(4) | VARCHAR2(4) NOT NULL | A user defined unique identifier that facilitates the identification of a given account with a given bank | |
5 | Character(25) | VARCHAR2(25) NOT NULL | Document ID | |
6 | Character(3) | VARCHAR2(3) NOT NULL |
Document Type
CNT=Contract IUR=Inter Unit Receipt MSR=MSR PMT=Payment PO=Purchase Order RCV=Receipt REQ=Requisition RFQ=Request For Quote RTV=Return To Vendor (Supplier) SSE=Strategic Sourcing Event VOU=Voucher WO=Work Order |
|
7 | CB_SELECT_PO | Character(1) | VARCHAR2(1) NOT NULL |
Select PO Schedule Checkbox
Y/N Table Edit Default Value: N |
8 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
9 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
10 | DOCSTAT_DATE | Date(10) | DATE | Document Date |
11 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
12 | STATUS_FIELD | Character(30) | VARCHAR2(30) NOT NULL | Payment Status |
13 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
14 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
15 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Location
Prompt Table: VNDR_LOC_ORD_VW |
16 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
17 | BUSINESS_UNIT_RTV | Character(5) | VARCHAR2(5) NOT NULL | RTV Business Unit |
18 | RTV_ID | Character(10) | VARCHAR2(10) NOT NULL | Return To Vendor ID |