PYMNT_XREF_APPL(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.VOUCHER_ID , A.PYMNT_CNT , A.PREPAID_APPLIED_BU , A.PREPAID_APPL_VCHR , B.TXN_CURRENCY_CD , C.GROSS_AMT , A.PREPAID_APPL_PYMNT , B.DUE_DT , ' ' , A.APPLIED_AMT_PPAY , A.REV_POST_STATUS FROM PS_VCHR_PPAY_XREF A , PS_PYMNT_VCHR_XREF B , PS_VOUCHER C WHERE A.PREPAID_STATUS IN ('A' ,'F') AND A.PREPAID_APPLIED_BU = B.BUSINESS_UNIT AND A.PREPAID_APPL_VCHR = B.VOUCHER_ID AND A.PREPAID_APPL_PYMNT = B.PYMNT_CNT AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.VOUCHER_ID = C.VOUCHER_ID |
# | 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 | PYMNT_CNT | Number(5,0) | INTEGER NOT NULL | Payments |
4 | PREPAID_APPLIED_BU | Character(5) | VARCHAR2(5) NOT NULL | Applied Business Unit |
5 | PREPAID_APPL_VCHR | Character(8) | VARCHAR2(8) NOT NULL | Applied Voucher ID |
6 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
7 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
8 | PREPAID_APPL_PYMNT | Number(5,0) | INTEGER NOT NULL | Applied Payment Count |
9 | PYMNT_DT | Date(10) | DATE | Payment Date |
10 | PYMNT_ID_REF | Character(20) | VARCHAR2(20) NOT NULL | Payment Reference |
11 | APPLIED_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Applied Amount |
12 | REV_POST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Reversal Posting Status
N=Payment Not Applied P=Posted U=Unposted |