APOD_PYMTSUM_MV(SQL View) |
Index Back |
---|---|
Voucher Payments Detail MVVoucher Payments Detail MV |
SELECT A.BUSINESS_UNIT , A.VOUCHER_ID , A.PYMNT_ID_REF , A.INVOICE_ID , A.INVOICE_DT , A.PYMNT_DT , A.AP_DAYSBETWEEN , A.AP_DAYSBETWEEN2 , A.GROSS_AMT , A.TXN_CURRENCY_CD , A.VENDOR_SETID , A.VENDOR_ID , A.PYMNT_HANDLING_CD , A.PYMNT_TERMS_CD , B.DISPLAY_ORDER , B.AP_TPERIOD_NAME , B2.DISPLAY_ORDER , B2.AP_TPERIOD_NAME , A.BANK_SETID , A.BANK_CD , A.BANK_ACCT_KEY , A.PYMNT_METHOD FROM %Table(APOP_PYMTVCH_MV) A , %Table(AP_TILES_GROUPS) B , %Table(AP_TILES_GROUPS) B2 WHERE A.AP_DAYSBETWEEN BETWEEN B.DAYS_FROM3 AND B.DAYS_TO3 AND A.AP_DAYSBETWEEN2 BETWEEN B2.DAYS_FROM3 AND B2.DAYS_TO3 |
# | 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_ID_REF | Character(20) | VARCHAR2(20) NOT NULL | Payment Reference |
4 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
5 | INVOICE_DT | Date(10) | DATE | Invoice Date |
6 | PYMNT_DT | Date(10) | DATE | Payment Date |
7 | AP_DAYSBETWEEN | Number(12,0) | DECIMAL(12) NOT NULL | Used to keep the difference between 2 dates. |
8 | AP_DAYSBETWEEN2 | Number(12,0) | DECIMAL(12) NOT NULL | Used to keep the difference between 2 dates. |
9 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
10 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
11 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
12 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
13 | PYMNT_HANDLING_CD | Character(2) | VARCHAR2(2) NOT NULL | Payment Handling |
14 | PYMNT_TERMS_CD | Character(5) | VARCHAR2(5) NOT NULL | Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers. |
15 | DISPLAY_ORDER | Number(3,0) | SMALLINT NOT NULL | Display order for ordering items in a list - web style |
16 | AP_TPERIOD_NAME | Character(15) | VARCHAR2(15) NOT NULL | Period Name |
17 | ORDERBYNUM | Number(3,0) | SMALLINT NOT NULL | Order-By Number |
18 | BI_PERIOD_NAME | Character(15) | VARCHAR2(15) NOT NULL | Period Name |
19 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. |
20 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
21 | BANK_ACCT_KEY | Character(4) | VARCHAR2(4) NOT NULL | A user defined unique identifier that facilitates the identification of a given account with a given bank |
22 | PYMNT_METHOD | Character(3) | VARCHAR2(3) NOT NULL |
Payment Method
ACH=Automated Clearing House BEF=Draft - Customer EFT BOO=Draft - Customer Initiated CHK=System Check D=Deposit DD=Direct Debit DFT=Draft - Supplier Initiated DRA=Draft EFT=Electronic Funds Transfer GE=Giro - EFT GM=Giro - Manual LC=Letter of Credit MAN=Manual Check TRW=Treasury Wire WIR=Wire Transfer |