Treinamento
A tabela RA2 faz parte do sistema ERP Protheus da TOTVS e é utilizada para treinamento.
Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.
A tabela RA2 possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.
Nesta página você pode consultar a estrutura completa da tabela RA2, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | RA2 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | RA2990 |
| X2_NOME | Treinamento |
| X2_NOMESPA | Capacitación |
| X2_NOMEENG | Training |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | RA2_FILIAL+RA2_CALEND+RA2_CURSO+RA2_TURMA+RA2_CC |
| X2_PYME | N |
| X2_MODULO | 26 |
| X2_DISPLAY | RA2_CALEND+RA2_DESC+RA2_CURSO+RA2_CC |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 2 |
| X2_TAMFIL | 2 |
| X2_TAMUN | 0 |
| X2_TAMEMP | 0 |
| X2_STAMP | 2 |
| X2_INSDT | 2 |
| D_E_L_E_T_ | - |
| R_E_C_N_O_ | 7688 |
| R_E_C_D_E_L_ | 0 |
| X3_ARQUIVO | X3_ORDEM | X3_CAMPO | X3_TIPO | X3_TAMANHO | X3_DECIMAL | X3_TITULO | X3_TITSPA | X3_TITENG | X3_DESCRIC | X3_DESCSPA | X3_DESCENG | X3_PICTURE | X3_VALID | X3_USADO | X3_RELACAO | X3_F3 | X3_NIVEL | X3_RESERV | X3_CHECK | X3_TRIGGER | X3_PROPRI | X3_BROWSE | X3_VISUAL | X3_CONTEXT | X3_OBRIGAT | X3_VLDUSER | X3_CBOX | X3_CBOXSPA | X3_CBOXENG | X3_PICTVAR | X3_WHEN | X3_INIBRW | X3_GRPSXG | X3_FOLDER | X3_PYME | X3_CONDSQL | X3_CHKSQL | X3_IDXSRV | X3_ORTOGRA | X3_IDXFLD | X3_TELA | X3_PICBRV | X3_AGRUP | X3_POSLGT | X3_MODAL | X3_CHKSUM | X3_ADDSUM | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RA2 | 01 | RA2_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | System Branch | - | - | x x x x x xx x x x x x x x x x | - | - | 1 | x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121116 | 0 |
| RA2 | 02 | RA2_CALEND | C | 4 | 0 | Cod.Calend. | Calendario | Calendar Cd. | Codigo do Calendario | Codigo del Calendario | Calendar Code | @! | NaoVazio() | x x x x x x x x x x x x x x x xx | - | - | 1 | x xxx | - | - | - | S | - | - | - | - | - | - | - | - | RA2When() | - | - | - | S | - | #RA2_CALEND<>' ' | S | N | N | - | - | - | 1 | 1 | - | - | - | 121117 | 0 |
| RA2 | 03 | RA2_DESC | C | 20 | 0 | Descricao | Descripcion | Description | Descricao | Descripcion | Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | #RA2_DESC <>' ' | S | N | N | - | - | - | 1 | 2 | - | - | - | 121118 | 0 |
| RA2 | 04 | RA2_CURSO | C | 4 | 0 | Cod.Curso | Curso | Course Code | Codigo do Curso | Codigo del Curso | Course Code | 9999 | NaoVazio() .And. ExistCpo("RA1") .And. Tr050Curso(.F.,1) | x x x x x x x x x x x x x x x x | - | RA1 | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | RA2When() | - | - | - | S | - | #RA2_CURSO <>' ' | N | N | N | - | - | - | 1 | 2 | - | - | - | 121119 | 0 |
| RA2 | 05 | RA2_DESCCU | C | 30 | 0 | Desc. Curso | Desc. Curso | Course Desc | Descricao do Curso | Descripcion del Curso | Course Description | @! | - | x x x x x x x x x x x x x x x x | TR050CURSO(.T.,1) | - | 1 | x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("RA1",1,xFilial("RA1")+RA2->RA2_CURSO,"RA1->RA1_DESC") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121120 | 0 |
| RA2 | 06 | RA2_TURMA | C | 3 | 0 | Turma | Grupo | Class | Turma do Curso | Grupo del Curso | Course Class | 999 | NaoVazio() .And. Val(M->RA2_TURMA) > 0 | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | A | R | - | - | - | - | - | - | RA2When() | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121121 | 0 |
| RA2 | 07 | RA2_CC | C | 9 | 0 | Centro Custo | Centro costo | Cost Center | Centro de Custo | Centro de costo | Cost Center | @! | Ctb105CC() | x x x x x x x x x x x x x x x x | - | CTT | 1 | x xx | - | S | - | N | A | R | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 121122 | 0 |
| RA2 | 08 | RA2_DESCCC | C | 30 | 0 | Des. C.Custo | Des. C.Costo | C.C. Desc. | Descrição Centro de Custo | Descrip. Centro de costo | Cost Center Description | @! | - | x x x x x x x x x x x x x x x x | IF(INCLUI,' ',POSICIONE( 'CTT', 1, xFilial('CTT') + RA2->RA2_CC, 'CTT_DESC01') ) | - | 1 | x xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 121123 | 0 |
| RA2 | 09 | RA2_ENTIDA | C | 4 | 0 | Cod.Entidade | Cod. Ente | Entity Cd. | Codigo da Entidade | Codigo del Ente | Entity Code | 9999 | NaoVazio() .And. Tr050Curso(.F.,2) | x x x x x x x x x x x x x x x x | - | RA0 | 1 | x xx | - | - | - | S | A | R | - | - | - | - | - | - | Ra2EntidWhen() | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121124 | 0 |
| RA2 | 10 | RA2_DESCEN | C | 30 | 0 | Desc. Entida | Desc. Entida | Entity Desc | Descricao da Entidade | Descripcion de la Entidad | Entity Description | @! | - | x x x x x x x x x x x x x x x x | Tr050Curso(.T.,2) | - | 1 | x xx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121125 | 0 |
| RA2 | 11 | RA2_DATAIN | D | 8 | 0 | Data Inicio | Fch Inicio | Initial Date | Data Inicio do Curso | Fecha Inicio de Curso | Course Initial Date | - | NaoVazio() | x x x x x x x x x x x x x x x x | CtoD(" / / ") | - | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121126 | 0 |
| RA2 | 12 | RA2_DATAFI | D | 8 | 0 | Data Final | Fch Final | Final Date | Data Final do Curso | Fecha Final del Curso | Course Ending Date | - | NaoVazio() | x x x x x x x x x x x x x x x x | CtoD(" / / ") | - | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121127 | 0 |
| RA2 | 13 | RA2_HORARI | C | 20 | 0 | Horario | Horario | Time | Horario | Horario | Time | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121128 | 0 |
| RA2 | 14 | RA2_DTREF | D | 8 | 0 | Data Ref. | Fch Ref | Ref. Date | Data de Referência | Fecha de referencia | Reference Date | - | NaoVazio() | x x x x x x x x x x x x x x x x | dDataBase | - | 1 | x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 121129 | 0 |
| RA2 | 15 | RA2_DURACA | N | 7 | 2 | Duracao | Duracion | Duração | Duracao | Duraccion | Duração | @E 9,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121130 | 0 |
| RA2 | 16 | RA2_UNDURA | C | 1 | 0 | Un. Duracao | Un. Duracion | Duration Un. | Unidade Duracao | Unidad Duracion | Duration Unit | @! | ExistCpo("SX5","R5"+M->RA2_UNDURA) | x x x x x x x x x x x x x x x x | - | R5 | 1 | x xx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121131 | 0 |
| RA2 | 17 | RA2_VAGAS | N | 4 | 0 | No.Vagas | Nro.Vacantes | Places | Numero de Vagas | Numero de Vacantes | Number of Places | 9999 | Positivo() .And. Tr050Custo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121132 | 0 |
| RA2 | 18 | RA2_RESERV | N | 4 | 0 | Vagas Reserv | Vacan.Reserv | Res. Places | No. Vagas Reservadas | Num Vacantes Reservados | Nr.of Reserved Places | 9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121133 | 0 |
| RA2 | 19 | RA2_INSTRU | C | 6 | 0 | Instrutor | Instructor | Instructor | Instrutor | Instructor | Instructor | @! | ExistCpo("RA7",M->RA2_INSTRU) .And. Tr050Curso(.F.,4) | x x x x x x x x x x x x x x x x | - | RA7 | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 121 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121134 | 0 |
| RA2 | 20 | RA2_NOMEIN | C | 30 | 0 | Nome Instrut | Nombre Instr | Instruct Nam | Nome do Instrutor | Nombre del Instructor | Instructor Name | @! | - | x x x x x x x x x x x x x x x x | Tr050Curso(.T.,4) | - | 1 | x xx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121135 | 0 |
| RA2 | 21 | RA2_LOCAL | C | 30 | 0 | Local | Lugar | Location | Local | Ubicacion | Location | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121136 | 0 |
| RA2 | 22 | RA2_REALIZ | C | 1 | 0 | Realizado | Realizado | Accomplished | Realizado | Realizado | Accomplished | @! | Pertence('SN') | x x x x x x x x x x x x x x x x | 'N' | - | 1 | x xx x | - | - | - | N | - | - | - | - | S=Sim;N=Nao | S=Si;N=No | S=Yes;N=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121137 | 0 |
| RA2 | 23 | RA2_CUSTO | N | 12 | 2 | Custo Estim. | Costo Estim | Estm.Cost | Custo Estimado | Costo Estimado | Estim.Cost | @E 999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121138 | 0 |
| RA2 | 24 | RA2_RESPON | C | 30 | 0 | Responsavel | Responsable | Responsible | Responsavel | Responsable | Responsible | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121139 | 0 |
| RA2 | 25 | RA2_OBSERV | C | 30 | 0 | Observacao | Observacion | Note | Observacao | Observacion | Note | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121140 | 0 |
| RA2 | 26 | RA2_HORAS | N | 7 | 2 | Horas | Horas | Hours | Horas | Horas | Hours | @E 9,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121141 | 0 |
| RA2 | 27 | RA2_AVAL | C | 3 | 0 | Cod. Aval. | Evaluacion | Apprais.Code | Codigo Avaliacao | Codigo de Evaluacion | Appraisal Code | - | ExistCpo("RAB",M->RA2_AVAL) .And. Tr050Curso(.F.,3) | x x x x x x x x x x x x x x x x | - | RAB | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121142 | 0 |
| RA2 | 28 | RA2_DESCAV | C | 30 | 0 | Descr. Aval. | Descr. Eval | Aval. Desc | Descricao Avaliacao | Descripcion Evaluacion | Description Evaluation | - | - | x x x x x x x x x x x x x x x x | TR050Curso(.T.,3) | - | 1 | x xx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121143 | 0 |
| RA2 | 29 | RA2_EFICAC | C | 1 | 0 | Eficacia | Eficacia | Efficacy | Avaliar Eficacia | Evaluar Eficacia | Evaluate efficacy | ! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121144 | 0 |
| RA2 | 30 | RA2_PLANEJ | C | 4 | 0 | Cod.Planej. | Planificac. | Planning Cd. | Codigo do Planejamento | Codigo de Planificacion | Planning Code | 9999 | Vazio() .Or. ExistCpo("RA8") | x x x x x x x x x x x x x x x x | - | RA8 | 1 | xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121145 | 0 |
| RA2 | 31 | RA2_SINON | C | 4 | 0 | Cod.Sinônimo | Cod.Sinonimo | Synonym Code | Codigo do Sinônimo | Codigo del Sinônimo | Synonym Code | 9999 | Tr050Curso(.F.,5) | x x x x x x x x x x x x x x x x | - | XA9 | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | Tr050Sin() | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121146 | 0 |
| RA2 | 32 | RA2_DESCSI | C | 30 | 0 | Desc. Sinôn. | Desc. Sinon. | SynonymDescr | Descrição do Sinônimo | Descripcion del Sinonimo | Synonym Description | @! | - | x x x x x x x x x x x x x x x x | IF(INCLUI,"",Tr050Curso(.T.,5)) | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("RA9",1,xFilial("RA9")+RA2->RA2_SINON,"RA9->RA9_DESCR") | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121147 | 0 |
| RA2 | 33 | RA2_AVISO | C | 20 | 0 | Dias Aviso | Dias Aviso | Notif. Days | N.Dias da Data p/Aviso | N.Dias de Fecha p/Aviso | N.Days Date for Notif. | - | Ra2AvisVld() | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121148 | 0 |
| RA2 | 34 | RA2_WF | C | 8 | 0 | Envio WF | Envio WF | Send WF | Frequencia Envio WF | Frecuencia Envio WF | Send WF frequency | 99;99;99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121149 | 0 |
| RA2 | 35 | RA2_ESOC | C | 4 | 0 | Cód. eSocial | Cód. eSocial | eSocial Code | Cód. Treinamento eSocial | Cód. Capacitaciones eSoci | eSocial training code | @R 9999 | RA2TrVld() | x x x x x x x x x x x x x x x x | - | S139BR | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 121150 | 0 |
| RA2 | 36 | RA2_MODTRE | C | 1 | 0 | Mod. Treinam | Mod. Capacit | Training mod | Modalidade do Treinamento | Modalidad de la capacitac | Training mode | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | 1=Presencial;2=Educação a Distância (EaD);3=Mista | 1=Presencial;2=Educación a distancia (EaD);3=Mixta | 1=On site;2=Remote (EaD);3=Both | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 121151 | 0 |
| RA2 | 37 | RA2_TPTRE | C | 1 | 0 | Tp. Treinam | Tp. Capacit. | Training tp | Tipo do Treinamento | Tipo de capacitación | Training Type | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | 1=Inicial;2=Periódico;3=Reciclagem;4=Eventual;5=Outros | 1=Inicial;2=Periódico;3=Reciclaje;4=Eventual;5=Otros | 1=First;2=Periodic;3=Recycling;4=Sporadic;5=Other | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 121152 | 0 |
| INDICE | ORDEM | CHAVE | DESCRICAO | DESCSPA | DESCENG | PROPRI | F3 | NICKNAME | SHOWPESQ | IX_VIRTUAL | IX_VIRCUST | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RA2 | 1 | RA2_FILIAL+RA2_CALEND+RA2_CURSO+RA2_TURMA+RA2_CC | Cod.Calend. + Cod.Curso + Turma + Centro Custo | Calendario + Curso + Grupo + Centro costo | Calendar Cd. + Course Code + Class + Cost Center | S | - | - | S | 2 | 3 | - | 17522 | 0 |
| RA2 | 2 | RA2_FILIAL+RA2_CURSO+RA2_TURMA | Cod.Curso + Turma | Curso + Grupo | Course Code + Class | S | RA1 | - | S | 2 | 3 | - | 17523 | 0 |
Ela é utilizada para treinamento dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.