PYMNT_ESCHT_SRC(SQL View) |
Index Back |
---|---|
Payments available to escheat |
SELECT BANK_SETID , BANK_CD , BANK_ACCT_KEY , PYMNT_ID_REF , PYMNT_METHOD , PYMNT_AMT , CURRENCY_PYMNT , PYMNT_DT , NAME1 , REMIT_SETID , REMIT_VENDOR , PYMNT_STATUS , CANCEL_ACTION , SCHEDULE_ID , SOURCE_TXN , PYMNT_ID , STL_THROUGH , BUSINESS_UNIT_GL , ACCOUNTING_DT , DOC_TYPE , DOC_SEQ_DATE , DOC_SEQ_NBR , DOC_SEQ_STATUS , PMT_ID , PMT_PYMNT_STATUS , PAY_CYCLE , PAY_CYCLE_SEQ_NUM , PYMNT_HANDLING_CD , EMPLID FROM PS_PAYMENT_TBL PAYM WHERE PYMNT_STATUS IN ('P', 'L', 'W') AND CANCEL_POST_STATUS <> 'P' AND ((PYMNT_METHOD NOT IN ('DFT', 'BOO', 'BEF') AND POST_STATUS_AP IN ('U', 'P')) OR (PYMNT_METHOD IN ('DFT', 'BOO', 'BEF') AND POST_STATUS_AP IN ('U', 'P') AND DFT_STATUS = 'A')) AND ((RECON_TYPE IN ('U','V') AND SCHEDULE_ID = ' ') OR (SCHEDULE_ID <> ' ')) AND IN_PROCESS_FLG = 'N' AND (PAYM.BANK_SETID, PAYM.BANK_CD, PAYM.BANK_ACCT_KEY, PAYM.PYMNT_ID) NOT IN ( SELECT DISTINCT XREF.BANK_SETID , XREF.BANK_CD , XREF.BANK_ACCT_KEY , XREF.PYMNT_ID FROM PS_PYMNT_VCHR_XREF XREF LEFT OUTER JOIN PS_VCHR_PPAY_XREF PPAY ON XREF.BUSINESS_UNIT = PPAY.BUSINESS_UNIT AND XREF.VOUCHER_ID = PPAY.VOUCHER_ID WHERE (XREF.NET_SELCT_STATUS = 'S' AND XREF.NET_TXN_STATUS IN ('B', 'N')) OR PPAY.PREPAID_STATUS IN ('A', 'F')) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL |
The PeopleSoft tableset ID associated with a given bank/counterparty.
Default Value: OPR_BANK_VW_AP.BANK_SETID Prompt Table: SP_SETBNK_NONVW |
2 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL |
Bank Code
Default Value: BANK_CD_VW2.BANK_CD Prompt Table: BANK_CD_VW2 |
3 | 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
Default Value: BANK_ACCT_VW.BANK_ACCT_KEY Prompt Table: BANK_ACCT_VW |
4 | PYMNT_ID_REF | Character(20) | VARCHAR2(20) NOT NULL | Payment Reference |
5 | 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 |
6 | PYMNT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Payment Amount |
7 | CURRENCY_PYMNT | Character(3) | VARCHAR2(3) NOT NULL | Payment Currency |
8 | PYMNT_DT | Date(10) | DATE | Payment Date |
9 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
10 | REMIT_SETID | Character(5) | VARCHAR2(5) NOT NULL | Remit SetID |
11 | REMIT_VENDOR | Character(10) | VARCHAR2(10) NOT NULL | Remit Vendor |
12 | 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 |
13 | CANCEL_ACTION | Character(1) | VARCHAR2(1) NOT NULL |
Cancel Action
C=Do Not Reissue/Close Liability H=Re-Open Voucher(s)/Put on Hold N=No Cancel Action P=Processed R=Re-Open Voucher(s)/Re-Issue S=Stale Dated Check W=Escheated |
14 | SCHEDULE_ID | Character(10) | VARCHAR2(10) NOT NULL | Schedule ID |
15 | SOURCE_TXN | Character(4) | VARCHAR2(4) NOT NULL | Source Transaction |
16 | PYMNT_ID | Character(10) | VARCHAR2(10) NOT NULL | Payment Number |
17 | STL_THROUGH | Character(2) | VARCHAR2(2) NOT NULL |
Settle through
01=Financial Gateway 02=Pay Cycle |
18 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
19 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
20 | DOC_TYPE | Character(8) | VARCHAR2(8) NOT NULL | Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code. |
21 | DOC_SEQ_DATE | Date(10) | DATE | Specifies the date that a document sequence number is assigned to a document or the date the document was created. |
22 | DOC_SEQ_NBR | Character(12) | VARCHAR2(12) NOT NULL | Specifies the sequence number assigned to each financial transaction (a document). The sequence number may be manually entered or system-generated. |
23 | DOC_SEQ_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates a document sequencing error. If there is no error the field is blank and document is considered valid for posting.
1=Document Sequencing Disabled A=GL BU Undefined B=GL BU Blank C=Accounting Date blank D=Doc Type Blank E=Jrnl Type, Code, Doc Undefine F=Sequence Range Undefine G=Max. Sequence Number Reached H=Manual Nbr for Auto Doc Type I=No Manual Number Entered J=Duplicate Manual Number K=Invalid Ledger L=Invalid Ledger Group N=No Status |
24 | PMT_ID | Character(15) | VARCHAR2(15) NOT NULL | Payment id |
25 | PMT_PYMNT_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
Settlement Status
C=Canceled CM=Cancelled with Message E=Error H=Hold L=Loaded N=None P=Paid PC=Pending Cancellation R=Received by Bank S=Send to Bank SC=In Process |
26 | PAY_CYCLE | Character(6) | VARCHAR2(6) NOT NULL | Pay Cycle |
27 | PAY_CYCLE_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Pay Cycle Sequence Number |
28 | PYMNT_HANDLING_CD | Character(2) | VARCHAR2(2) NOT NULL | Payment Handling |
29 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |