GPJP_TAXSC1_VW(SQL View) |
Index Back |
---|---|
Social Ins. Establishment ViewTax Establishment View contains Social Insurance Establishment rows from Tax Establishment Table. |
SELECT A.GPJP_TAX_ESTAB , A.GPJP_TAX_ESTAB_TYP , A.DESCR ,GPJP_SC_ESTAB_REF1 ,GPJP_SC_ESTAB_REF2 FROM PS_GPJP_TAX_ESTAB A WHERE A.GPJP_TAX_ESTAB_TYP = 'SC' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_GPJP_TAX_ESTAB B WHERE B.GPJP_TAX_ESTAB = A.GPJP_TAX_ESTAB AND B.GPJP_TAX_ESTAB_TYP = 'SC') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GPJP_TAX_ESTAB | Character(15) | VARCHAR2(15) NOT NULL | Salary Payer Reference Number |
2 | GPJP_TAX_ESTAB_TYP | Character(2) | VARCHAR2(2) NOT NULL |
Tax Establishment Type.
IT=Tax Establishment LA=Labor Ins Establishment SC=Social Ins Establishment |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | GPJP_SC_ESTAB_REF1 | Character(10) | VARCHAR2(10) NOT NULL | Establishment Reference Number. |
5 | GPJP_SC_ESTAB_REF2 | Character(10) | VARCHAR2(10) NOT NULL | Establishment Reference Number 2. |