PO_SSINVCPAY_VW(SQL View) |
Index Back |
---|
select distinct b.vendor_id, b.vendor_setid, b.business_unit, b.voucher_id, a.BANK_SETID, a.BANK_CD, a.BANK_ACCT_KEY, a.PYMNT_ID, a.PYMNT_ID_REF, a.PYMNT_DT, b.invoice_id, a.PYMNT_AMT, a.CURRENCY_PYMNT, A.PYMNT_METHOD, A.NAME1, A.NAME2, %SUBREC(address_SBR, A), A.BANK_ACCOUNT_NUM, A.PYMNT_STATUS, A.RECON_STATUS from ps_payment_tbl a, ps_vchr_fs b, ps_pymnt_vchr_xref c, PSOPRALIAS D where a.bank_setid = c.bank_setid and a.bank_cd = c.bank_cd and a.bank_acct_key = c.bank_acct_key and a.pymnt_id = c.pymnt_id and b.business_unit = c.business_unit and b.voucher_id = c.voucher_id and a.pymnt_status <> 'X' and a.post_status_ap in ('P','U') and B.VENDOR_SETID = D.SETID AND B.VENDOR_ID = D.OPRALIASVALUE AND D.OPRALIASTYPE = 'VND' AND B.ENTRY_STATUS = 'P' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier | |
2 | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID |
|
3 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
4 | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID | |
5 | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. | |
6 | Character(5) | VARCHAR2(5) NOT NULL | Bank Code | |
7 | Character(4) | VARCHAR2(4) NOT NULL | A user defined unique identifier that facilitates the identification of a given account with a given bank | |
8 | Character(10) | VARCHAR2(10) NOT NULL | Payment Number | |
9 | PYMNT_ID_REF | Character(20) | VARCHAR2(20) NOT NULL | Payment Reference |
10 | PYMNT_DT | Date(10) | DATE | Payment Date |
11 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
12 | PYMNT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Payment Amount |
13 | CURRENCY_PYMNT | Character(3) | VARCHAR2(3) NOT NULL | Payment Currency |
14 | 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 |
15 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
16 | NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Name 2 |
17 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
18 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
19 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
20 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
21 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
22 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
23 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
24 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
25 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
26 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
27 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
28 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
29 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
30 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
31 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
32 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
33 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
34 | BANK_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
35 | PYMNT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Payment Status
A=Alignment E=ACH/EFT Prenote L=Stale Dated Payment N=Reprinted with same ref number O=Overflow P=Paid R=Replaced S=Stopped T=Undo Escheatment U=Undo Cancel V=Void W=Escheated Check X=Deleted |
36 | RECON_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Reconciliation Status
ALG=Alignment Check AMB=Ambiguous Match AMT=Amounts Not Equal CUR=Currency not Defined DAT=Tran Date <> Value Date DPI=Duplicate Input Transactions DUP=Duplicate Transaction MSC=Miscellaneous Transaction NAM=Payee Names Not Equal NTB=Not Found in Statement NTF=Not Found In System NTP=Not Found in POS Data NUL=Null Transaction ID Ref OVR=Overflow PND=Pending Reconciliation REC=Reconciled RPR=Reprinted Check RR=Requires Review - BSAC STP=Stop Payment TYP=Wrong Transaction Type UNR=Unreconciled VOI=Voided Check |