Responsáveis
A tabela RBA faz parte do sistema ERP Protheus da TOTVS e é utilizada para responsáveis.
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 RBA 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 RBA, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | RBA |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | RBA990 |
| X2_NOME | Responsáveis |
| X2_NOMESPA | Responsables |
| X2_NOMEENG | Responsible |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | N |
| X2_MODULO | 40 |
| X2_DISPLAY | - |
| X2_SYSOBJ | TCFA110 |
| 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_ | 7732 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RBA | 01 | RBA_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del Sistema | Branch System | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121601 | 0 |
| RBA | 02 | RBA_CODRES | C | 3 | 0 | Cod Respons. | Cod Respons. | Respons.Code | Codigo do Responsavel | Codigo del Responsable | Responsible Code | - | ExistChav("RBA",M->RBA_CODRES) | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121602 | 0 |
| RBA | 03 | RBA_MAT | C | 6 | 0 | Matricula | Matricula | Registrat. | Codigo da Matricula | Codigo de la Matricula | Registration Code | @! | ExistCpo("SRA",M->RBA_MAT) | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | - | SRA | 1 | x x | - | S | - | S | - | - | - | - | - | - | - | - | - | - | 121 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121603 | 0 |
| RBA | 04 | RBA_NOME | C | 50 | 0 | Nome | Nombre | Name | Nome do Responsavel | Nombre del Responsable | Responsible Name | @! | NaoVazio() | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | - | - | 1 | x x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121604 | 0 |
| RBA | 05 | RBA_EMAIL | C | 60 | 0 | @! | NaoVazio() | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | - | - | 1 | x x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121605 | 0 | ||||||
| RBA | 06 | RBA_CC | C | 9 | 0 | Centro Custo | Centro Costo | Cost Center | Centro de Custo | Centro de Costo | Cost Center | @! | CTB105CC() | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | - | CTT | 1 | x xx | - | S | - | N | - | - | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121606 | 0 |
| RBA | 07 | RBA_DESCCC | C | 30 | 0 | Desc C.Custo | Desc C.Costo | C.Cent.Desc. | Descricao do C.Centro | Descripcion de C.Costo | Cost Center Description | @! | - | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | IF(INCLUI,"",FDesc("SI3",RBA->RBA_CC,"I3_DESC")) | - | 1 | x xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121607 | 0 |
| RBA | 08 | RBA_DEPTO | C | 9 | 0 | Departamento | Departamento | Department | Departamento | Departamento | Department | @! | ExistCpo("SQB",M->RBA_DEPTO) | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | - | SQB | 1 | x xx | - | S | - | N | - | - | - | - | - | - | - | - | - | - | 025 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121608 | 0 |
| RBA | 09 | RBA_DDEPTO | C | 30 | 0 | Desc Depto | Descr. Depto | Depart.Desc. | Descricao do Departamento | Descripc.del Departamento | Department Description | @! | - | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | IF(INCLUI,"",FDesc("SQB",RBA->RBA_DEPTO,"QB_DESCRIC")) | - | 1 | x xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121609 | 0 |
| RBA | 10 | RBA_CODSUP | C | 3 | 0 | Cod Superior | Cod Superior | Superior Cd. | Codigo do Superior | Codigo del Superior | Superior Code | @! | ExistCpo("RBA",M->RBA_CODSUP) | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | - | RBA | 1 | x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 121610 | 0 |
| RBA | 11 | RBA_SENHA | C | 6 | 0 | Senha Resp. | Clave Resp. | Resp.Passw. | Senha do Responsavel | Clave de Responsable | Responsible Password | @! | - | x xx x x x xxxx xxx x xxxx x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 121611 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RBA | 1 | RBA_FILIAL+RBA_CODRES | Cod Respons. | Cod Respons. | Respons.Code | S | - | - | S | 2 | 3 | - | 17592 | 0 |
| RBA | 2 | RBA_FILIAL+RBA_NOME | Nome | Nombre | Name | S | - | - | S | 2 | 3 | - | 17593 | 0 |
| RBA | 3 | RBA_FILIAL+RBA_CODSUP | Cod Superior | Cod Superior | Superior Cd. | S | - | - | S | 2 | 3 | - | 17594 | 0 |
| RBA | 4 | RBA_FILIAL+RBA_MAT | Matricula | Matricula | Registrat. | S | - | - | S | 2 | 3 | - | 17595 | 0 |
Ela é utilizada para responsáveis 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.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
RBA_FILIAL,
RBA_CODRES,
RBA_MAT,
RBA_NOME,
RBA_EMAIL,
RBA_CC,
RBA_DESCCC,
RBA_DEPTO,
RBA_DDEPTO,
RBA_CODSUP,
RBA_SENHA
FROM RBA
WHERE
D_E_L_E_T_ = ' '
AND RBA_FILIAL = 'VALOR'
AND RBA_CODRES = 'VALOR'
AND RBA_MAT = 'VALOR'
AND RBA_NOME = 'VALOR'
AND RBA_EMAIL = 'VALOR'
AND RBA_CC = 'VALOR'
AND RBA_DESCCC = 'VALOR'
AND RBA_DEPTO = 'VALOR'
AND RBA_DDEPTO = 'VALOR'
AND RBA_CODSUP = 'VALOR'
AND RBA_SENHA = 'VALOR'