GP_UDELTA_VW

(SQL View)
Index Back

Unprocessed Deltas

This view selects information about unprocessed retro deltas for the given payee for the given segment.

SELECT A.EMPLID , A.EMPL_RCD , A.GP_PAYGROUP , A.CAL_ID , A.CAL_RUN_ID , A.ORIG_CAL_RUN_ID , A.RSLT_SEG_NUM , A.PIN_NUM , A.DELTA_NUM , A.CALC_DELTA_VAL , A.BASE_DELTA_VAL , A.UNIT_DELTA_VAL , A.CURRENCY_CD , A.RTO_MATCH_ACTN , A.TRGT_PAYGROUP , A.TRGT_CAL_ID , A.ENTRY_TYPE_RTO_ADJ , A.PIN_RTO_ADJ_NUM , A.RSLT_REV_NUM , A.USER_FLD1 , A.USER_FLD2 , A.USER_FLD3 , A.USER_FLD4 , A.USER_FLD5 , A.USER_FLD6 FROM PS_GP_RSLT_DELTA A WHERE A.FORWARD_IND = 'Y' AND A.FWD2_CAL_RUN_ID = ' ' AND A.RTO_MATCH_ACTN <> 'N' AND EXISTS ( SELECT 'X' FROM PS_GP_CAL_RUN B WHERE A.CAL_RUN_ID=B.CAL_RUN_ID AND B.RUN_FINALIZED_TS IS NOT NULL)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
3 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group
4 CAL_ID Character(18) VARCHAR2(18) NOT NULL calendar id
5 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id
6 ORIG_CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Original Calendar Group ID
7 RSLT_SEG_NUM Number(4,0) SMALLINT NOT NULL Result Segment Number
8 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
9 DELTA_NUM Number(3,0) SMALLINT NOT NULL Uniquely defined deltas for the same payee/pin
10 CALC_DELTA_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount Delta
11 BASE_DELTA_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Base Delta
12 UNIT_DELTA_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Unit Delta
13 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
14 RTO_MATCH_ACTN Character(1) VARCHAR2(1) NOT NULL Retro Delta Match Action
C=Apply to Calendar
D=Default Match
N=Do Not Process
15 TRGT_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Pay group to which retro deltas are targeted or forwarded

Prompt Table: GP_UNFIN_PG_VW

16 TRGT_CAL_ID Character(18) VARCHAR2(18) NOT NULL Calendar to which retro deltas are targeted or forwarded

Prompt Table: GP_UNFIN_CAL_VW

17 ENTRY_TYPE_RTO_ADJ Character(3) VARCHAR2(3) NOT NULL Entry (element) type field

Prompt Table: GP_ENT_E_D_VW

18 PIN_RTO_ADJ_NUM Number(8,0) INTEGER NOT NULL Element number field

Prompt Table: %GP_EDIT_FLD1

19 RSLT_REV_NUM Number(4,0) SMALLINT NOT NULL Result Revision Number
20 USER_FLD1 Character(25) VARCHAR2(25) NOT NULL User Field 1
21 USER_FLD2 Character(25) VARCHAR2(25) NOT NULL User Field 2
22 USER_FLD3 Character(25) VARCHAR2(25) NOT NULL User Field 3
23 USER_FLD4 Character(25) VARCHAR2(25) NOT NULL User Field 4
24 USER_FLD5 Character(25) VARCHAR2(25) NOT NULL User FIeld 5
25 USER_FLD6 Character(25) VARCHAR2(25) NOT NULL User Field 6