MTRC_SDUE_VW2A(SQL View) |
Index Back |
---|---|
Sched. Due Metrics Details |
SELECT V.BUSINESS_UNIT , V.VOUCHER_ID , V.INVOICE_ID , V.INVOICE_DT , V.APPR_STATUS , P.SCHEDULED_PAY_DT , P.PYMNT_GROSS_AMT , P.TXN_CURRENCY_CD , P.PYMNT_HOLD FROM PS_VOUCHER V , PS_PYMNT_VCHR_XREF P WHERE V.BUSINESS_UNIT = P.BUSINESS_UNIT AND V.VOUCHER_ID = P.VOUCHER_ID AND (V.PROCESS_MAN_CLOSE = 'N' OR V.CLOSE_STATUS <> 'C') AND V.ENTRY_STATUS <> 'X' AND P.SCHEDULED_PAY_DT IS NOT NULL AND V.VOUCHER_STYLE NOT IN ('PPAY', 'TMPL') AND P.PYMNT_SELCT_STATUS NOT IN ('P', 'X','S') AND P.PYMNT_TYPE <> 'W' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
3 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
4 | INVOICE_DT | Date(10) | DATE | Invoice Date |
5 | APPR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Approval status flag used on appr_inst_log and derived records to track virtual approver status
A=Approved D=Denied P=Pending |
6 | SCHEDULED_PAY_DT | Date(10) | DATE | Scheduled to Pay |
7 | PYMNT_GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Payment Amount |
8 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
9 | PYMNT_HOLD | Character(1) | VARCHAR2(1) NOT NULL |
Hold Payment
N=No Y=Yes |