Integração de marcações
A tabela RR1 faz parte do sistema ERP Protheus da TOTVS e é utilizada para integração de marcações.
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 RR1 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 RR1, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | RR1 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | RR1990 |
| X2_NOME | Integração de marcações |
| X2_NOMESPA | Integración de Regists |
| X2_NOMEENG | Punches integration |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | RR1_VALCON |
| X2_PYME | S |
| X2_MODULO | 16 |
| X2_DISPLAY | - |
| 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_ | 8001 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RR1 | 01 | RR1_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125731 | 0 |
| RR1 | 02 | RR1_VALCON | N | 16 | 0 | Control. Mar | Control Reg | Punch Contr | Controle Marcação | Control registro | Punch Control | @E 9,999,999,999,999,999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125732 | 0 |
| RR1 | 03 | RR1_CODREL | C | 100 | 0 | Cod. Relógio | Cód Reloj | Clock Cd | Código Relógio | Código reloj | Clock Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125733 | 0 |
| RR1 | 04 | RR1_CODFUN | C | 100 | 0 | Cod. Func. | Cód Empl. | Empl. Code | Código do funcionário | Código del empleado | Employee code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125734 | 0 |
| RR1 | 05 | RR1_LOGIP | C | 1 | 0 | Log Import. | Log Import. | Imp Log | Log de importação | Log de importación | Import Log | 9 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125735 | 0 |
| RR1 | 06 | RR1_CODNSR | N | 9 | 0 | Cod. NSR | Cód NSR | NSR Code | Código NSR | Código NSR | NSR Code | @E 999,999,999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125736 | 0 |
| RR1 | 07 | RR1_CODPIS | C | 12 | 0 | Cod. PIS | Cód. PIS | PIS Code | Código do PIS | Código del PIS | PIS Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125737 | 0 |
| RR1 | 08 | RR1_DATMAR | D | 8 | 0 | Data Marc. | Fecha Regist | Annot.Dt | Data da marcação | Fecha de registro | Annotation Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125738 | 0 |
| RR1 | 09 | RR1_NUMMAR | N | 6 | 0 | Num Hor Mar. | Núm Hor Reg. | Punch Tm No | Número da hora marcação | Número de la hora registr | Punch time number | @E 999,999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125739 | 0 |
| RR1 | 10 | RR1_CODREP | C | 17 | 0 | Cod. REP | Cód REP | REP Code | Código do REP | Código del REP | REP Cd | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125740 | 0 |
| RR1 | 11 | RR1_CODUNI | C | 100 | 0 | Cod. Unid. | Cód Unid. | Unit Cd | Código da Unidade | Código de la unidad | Unit code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125741 | 0 |
| RR1 | 12 | RR1_CODUSU | C | 100 | 0 | Cod. Usuario | Cód. Usuario | User Cd | Código do usuário | Código del usuario | User Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125742 | 0 |
| RR1 | 13 | RR1_LONGIT | C | 30 | 0 | Longitude | Longitud | Longitude | Longitude | Longitud | Longitude | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125743 | 0 |
| RR1 | 14 | RR1_LATITU | C | 30 | 0 | Latitude | Latitud | Latitude | Latitude | Latitud | Latitude | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125744 | 0 |
| RR1 | 15 | RR1_GEOFEN | C | 1 | 0 | Status Perim | Estatus Perí | Perim Status | Status Perimetro | Estatus perímetro | Perimeter Status | - | Pertence("012") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | 0=Desabilitado;1=Dentro do Perimetro;2=Fora do Perimetro | 0=Deshabilitado;1=Dentro del perímetro;2=Fuera del perímetro | 0=Disabled;1=Inside the Perimeter;2=Outside the Perimeter | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125745 | 0 |
| RR1 | 16 | RR1_FUSO | C | 5 | 0 | Fuso Horário | Huso Horario | Time Zone | Fuso horário da marcação | Huso horario del apunte | Time Zone of Record | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125746 | 0 |
| RR1 | 17 | RR1_CODCPF | C | 11 | 0 | CPF | RCPF | SSN | CPF do funcionário | RCPF del empleado | Employee SSN | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125747 | 0 |
| RR1 | 18 | RR1_VRSLAY | N | 3 | 0 | Vers. Layout | Vers. Layout | Layout Versn | Versão do Layout | Versión del layout | Layout Version | @E 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125748 | 0 |
| RR1 | 19 | RR1_INSCR | C | 14 | 0 | Inscr. Emp | Inscr. Emp | Employer Reg | CNPJ ou CPF do empregador | RCPJ o RCPF del empleador | Employer EIN or SSN | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125749 | 0 |
| RR1 | 20 | RR1_CCTREP | C | 17 | 0 | Código CCT | Código CCT | CCT Code | Código da CCT da marcação | Código de la CCT del regi | CCT code of punch | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 125750 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RR1 | 1 | RR1_CODUNI+RR1_LOGIP+DTOS(RR1_DATMAR) | Cod. Unid. + Log Import. + Data Marc. | Cód Unid. + Log Import. + Fecha Regist | Unit Cd + Imp Log + Annot.Dt | S | - | - | S | 2 | 3 | - | 18367 | 0 |
| RR1 | 2 | RR1_CODUNI+DTOS(RR1_DATMAR) | Cod. Unid. + Data Marc. | Cód Unid. + Fecha Regist | Unit Cd + Annot.Dt | S | - | - | S | 2 | 3 | - | 18368 | 0 |
| RR1 | 3 | RR1_CODREP+RR1_LOGIP+DTOS(RR1_DATMAR) | Cod. REP + Log Import. + Data Marc. | Cód REP + Log Import. + Fecha Regist | REP Code + Imp Log + Annot.Dt | S | - | - | S | 2 | 3 | - | 18369 | 0 |
| RR1 | 4 | RR1_CODREL+RR1_LOGIP+DTOS(RR1_DATMAR) | Cod. Relógio + Log Import. + Data Marc. | Cód Reloj + Log Import. + Fecha Regist | Clock Cd + Imp Log + Annot.Dt | S | - | - | S | 2 | 3 | - | 18370 | 0 |
| RR1 | 5 | RR1_CODREL+STR(RR1_CODNSR,9) | Cod. Relógio + Cod. NSR | Cód Reloj + Cód NSR | Clock Cd + NSR Code | S | - | - | S | 2 | 3 | - | 18371 | 0 |
| RR1 | 6 | STR(RR1_VALCON,16)+RR1_CODREL+STR(RR1_CODNSR,9) | Control. Mar + Cod. Relógio + Cod. NSR | Control Reg + Cód Reloj + Cód NSR | Punch Contr + Clock Cd + NSR Code | S | - | - | S | 2 | 3 | - | 18372 | 0 |
| RR1 | 7 | RR1_CODREP+STR(RR1_CODNSR,9) | Cod. REP + Cod. NSR | Cód REP + Cód NSR | REP Code + NSR Code | S | - | - | S | 2 | 3 | - | 18373 | 0 |
| RR1 | 8 | STR(RR1_VALCON,16)+RR1_CODREP+STR(RR1_CODNSR,9) | Control. Mar + Cod. REP + Cod. NSR | Control Reg + Cód REP + Cód NSR | Punch Contr + REP Code + NSR Code | S | - | - | S | 2 | 3 | - | 18374 | 0 |
Ela é utilizada para integração de marcações 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.