SCC_CITIZEN_PVW

(SQL View)
Index Back

Citizen change messaging table


SELECT A.PROCESS_INSTANCE , A.SCC_SEQ_ID , A.SCC_SEQ_ID3 , A.EMPLID , A.DEPENDENT_ID , A.COUNTRY , A.CITIZENSHIP_STATUS , %subrec(CITIZEN_SGP_SBR, A) , A.AUDIT_ACTN FROM PS_SCC_CITIZEN_STG A WHERE A.AUDIT_ACTN = 'C' OR A.AUDIT_ACTN = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
2 SCC_SEQ_ID Number(10,0) DECIMAL(10) NOT NULL Sequence ID
3 SCC_SEQ_ID3 Number(3,0) SMALLINT NOT NULL Sequence Nbr
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 DEPENDENT_ID Character(2) VARCHAR2(2) NOT NULL Dependent ID

Prompt Table: DEPENDENT_VW

6 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

7 CITIZENSHIP_STATUS Character(1) VARCHAR2(1) NOT NULL Citizenship Status

Prompt Table: CITIZEN_STS_TBL
Set Control Field: COUNTRY

8 WORKER_TYPE_SGP Character(2) VARCHAR2(2) NOT NULL Worker's Type - Singapore
9 PERM_STATUS_DT_SGP Date(10) DATE Permanent Status Date
10 AUDIT_ACTN Character(1) VARCHAR2(1) NOT NULL Audit Action Code for Application Messages. This tells the subscriber whether the row has been added, changed, or deleted.
A=Add
C=Change Old (PPR Only)
D=Delete
K=Change - Old Values
N=Change - New Values
O=Change - Original Values