GPGB_EDI_AUD_VW(SQL View) |
Index Back |
---|---|
GPUK Audit Detail ViewGPUK Audit Detail View |
SELECT B.EMPLID , B.EMPL_RCD , B.GPGB_EDI_WORKS_ID , B.GPGB_EDI_REF , B.SEQNUM , A.ASOFDATE , A.GPGB_EDI_TRANS , C.GPGB_EDI_FILENAME , B.GPGB_EDI_MESSAGE FROM PS_GPGB_EDI_AUDDTL B , PS_GPGB_EDI_AUDHDR A , PS_GPGB_EDI_AUDHDR C WHERE B.GPGB_EDI_REF = A.GPGB_EDI_REF AND B.SEQNUM = A.SEQNUM AND C.GPGB_EDI_REF = B.GPGB_EDI_REF AND C.SEQNUM = ( SELECT MAX(A1.SEQNUM) FROM PS_GPGB_EDI_AUDHDR A1 WHERE A1.GPGB_EDI_REF = C.GPGB_EDI_REF) AND B.EMPLID <> ' ' |
# | 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 Rcd Nbr |
3 | GPGB_EDI_WORKS_ID | Character(35) | VARCHAR2(35) NOT NULL | GP UK Inland Revenue Works Id (Unique EmplId) |
4 | GPGB_EDI_REF | Number(14,0) | DECIMAL(14) NOT NULL | GPUK EDI stores EDI transaction number |
5 | SEQNUM | Number(3,0) | SMALLINT NOT NULL | Sequence Number |
6 | ASOFDATE | Date(10) | DATE | As of Date |
7 | GPGB_EDI_TRANS | Character(4) | VARCHAR2(4) NOT NULL |
EDI Transaction Types
EDI=EDI Extraction EXPT=P46 Expat Starter Notification P14=P14 P35=P35 P451=P45 Leaver Notification P453=P45 Starter Notification P46=P46 Starters P6=P6 P6B=P6B P9=P9 PEN=P46 Pension Starter WNU=Works Number Update |
8 | GPGB_EDI_FILENAME | Character(35) | VARCHAR2(35) NOT NULL | GPUK EDI stores EDI filename |
9 | GPGB_EDI_MESSAGE | Character(254) | VARCHAR2(254) NOT NULL | EDI Messages |