RAT_PROC_VW_BRA(SQL View) |
Index Back |
---|---|
RAT Proceeding by EstabRAT Proceeding by Estab |
SELECT COMPANY , EFFDT ,CREATED_FOR_BRA , CASE WHEN AUTH_BY_BRA <> '2' THEN '1' ELSE AUTH_BY_BRA END AS AUTH_BY_BRA , CASE WHEN PRC_TYPE_BRA = '1' THEN 'A' WHEN PRC_TYPE_BRA = '2' THEN 'J' WHEN PRC_TYPE_BRA = '4' THEN 'F' ELSE ' ' END AS PRC_TYPE_BRA , PROC_NBR_BRA , EFF_STATUS ,DESCR100 FROM PS_LEG_PRO_TBL_BRA A |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | CREATED_FOR_BRA | Character(2) | VARCHAR2(2) NOT NULL |
Created For table 1070
1=Tax only or Tax and FGTS 2=Minor Work Permit 2=Minor Work Permit 3=Exemption to Contract PCD 3=Exemption to Contract PCD 4=Exemption for Hiring Aprentice 4=Exemption for Hiring Aprentice 5=Occupational Health and Safety 5=Occupational Health and Safety 6=Conv Health Leave to work Acc 6=Conv Health Leave to work Acc 7=FGTS only/Termination Soc Cont 8=Union Contribution 8=Union Contribution 99=Other 99=Other |
4 | AUTH_BY_BRA | Character(1) | VARCHAR2(1) NOT NULL |
Authorized by BRA
1=Taxpayer 2=Other Entity,Company/Employee |
5 | RAT_PROCEEDING_BRA | Character(1) | VARCHAR2(1) NOT NULL |
RAT Process Type Field
A=Administrative J=Judicial N=None |
6 | RAT_NBR_PROCED_BRA | Character(30) | VARCHAR2(30) NOT NULL | RAT Process Number |
7 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
8 | DESCR100 | Character(100) | VARCHAR2(100) NOT NULL | Length 100 Description |