GP_PYMT_BNK_VW

(SQL View)
Index Back

Bank Payment View

This view is used in the Payment Renumber Process to allow validation of entered Payment Numbers.

SELECT A.CAL_RUN_ID ,A.PYMT_ID ,A.PYMT_NBR ,A.EMPLID ,A.EMPL_RCD ,B.NAME ,A.PAYMENT_MTHD1 ,A.PYMT_DT ,A.GP_PMT_AMT ,A.CURRENCY_CD ,A.PMT_GRP_ID ,A.RECON_STAT FROM PS_GP_PYMT_BNK_TBL A , PS_NAMES B WHERE A.PYMT_ID <> ' ' AND A.PYMT_NBR > 0 AND A.RECON_STAT <> '02' AND A.RECON_STAT <> '12' AND B.EMPLID=A.EMPLID AND B.NAME_TYPE = 'PRI' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_NAMES C WHERE C.EMPLID = A.EMPLID AND C.NAME_TYPE = B.NAME_TYPE AND C.EFFDT <= A.PYMT_DT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id
2 PYMT_ID Character(6) VARCHAR2(6) NOT NULL Payment Identification
3 PYMT_NBR Number(18,0) DECIMAL(18) NOT NULL Payment Number
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
6 NAME Character(50) VARCHAR2(50) NOT NULL Name
7 PAYMENT_MTHD1 Character(1) VARCHAR2(1) NOT NULL Zero Net payment method
N=Negative Net
Z=Zero Net
8 PYMT_DT Date(10) DATE Payment Date
9 GP_PMT_AMT Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount field on GP PAYMENT table
10 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Default Value: GP_PAYMENT.CURRENCY_CD

11 PMT_GRP_ID Number(3,0) SMALLINT NOT NULL Group Id for grouping payment
12 RECON_STAT Character(2) VARCHAR2(2) NOT NULL Reconciliation Status
01=Unreconciled
02=Reconciled
03=Date Difference
04=Not Found
05=Amount Difference
06=Duplicate
07=Expired
08=Stop Payment
09=Unclaimed
10=Different Pay Method
11=Void
12=Re-Numbered