AP_AGE_PPAY_VW(SQL View) |
Index Back |
---|---|
AP Aging Prepaid View |
SELECT X.TXN_CURRENCY_CD , V.VENDOR_ID , VEN.VENDOR_NAME_SHORT , V.VENDOR_SETID , V.VNDR_LOC , V.BUSINESS_UNIT , X.SCHEDULED_PAY_DT , X.PYMNT_HOLD , 'P' , VEN.OFAC_STATUS , P.AVAILABLE_AMT FROM PS_VOUCHER V , PS_VCHR_PPAY_XREF P , PS_VENDOR VEN , PS_PYMNT_VCHR_XREF X , PS_BUS_UNIT_TBL_FS BU WHERE V.VOUCHER_STYLE = 'PPAY' AND (V.PROCESS_MAN_CLOSE = 'N' OR V.CLOSE_STATUS <> 'C') AND V.ENTRY_STATUS = 'P' AND V.APPR_STATUS = 'A' AND V.VENDOR_SETID = VEN.SETID AND V.VENDOR_ID = VEN.VENDOR_ID AND V.BUSINESS_UNIT = P.BUSINESS_UNIT AND V.VOUCHER_ID = P.VOUCHER_ID AND P.PREPAID_STATUS = 'P' AND X.SCHEDULED_PAY_DT IS NOT NULL AND V.BUSINESS_UNIT = X.BUSINESS_UNIT AND V.VOUCHER_ID = X.VOUCHER_ID AND X.PYMNT_TYPE = 'R' AND X.PYMNT_SELCT_STATUS = 'P' AND BU.BUSINESS_UNIT = V.BUSINESS_UNIT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CURRENCY_PYMNT | Character(3) | VARCHAR2(3) NOT NULL | Payment Currency |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
4 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
5 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | SCHEDULED_PAY_DT | Date(10) | DATE | Scheduled to Pay |
8 | PYMNT_HOLD | Character(1) | VARCHAR2(1) NOT NULL |
Hold Payment
N=No Y=Yes |
9 | EM_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Type |
10 | OFAC_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
OFAC Status
B=Blocked C=Cleared R=Review V=Valid |
11 | EM_TOTAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | EBPP-Added 2000/10/01-Last Mod 2000/10/19 by Matthias Davet Total amount |