Estabelecimento Espetac. Desp
A tabela CRT faz parte do sistema ERP Protheus da TOTVS e é utilizada para estabelecimento espetac. desp.
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 CRT 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 CRT, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | CRT |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | CRT990 |
| X2_NOME | Estabelecimento Espetac. Desp |
| X2_NOMESPA | Establecim.Espectaculo Deport. |
| X2_NOMEENG | Sports Event Establishment |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | CRT_FILIAL+CRT_ID+CRT_VERSAO+CRT_TPINSC+CRT_NRINSC |
| X2_PYME | S |
| X2_MODULO | 84 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 1 |
| X2_AUTREC | 1 |
| 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_ | 2661 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CRT | 01 | CRT_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 | - | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 41401 | 0 |
| CRT | 02 | CRT_ID | C | 6 | 0 | ID | ID | ID | Identificador do registro | Identificador del registr | Record identification | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 41402 | 0 |
| CRT | 03 | CRT_VERSAO | C | 14 | 0 | Id. Ver. Reg | Id. Ver. Reg | Rec.Ver.Id. | Id da Versão do Registro | Id de Version del Registr | Record Version Id. | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 078 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 41403 | 0 |
| CRT | 04 | CRT_TPINSC | C | 1 | 0 | Tipo Insc. | Tipo Insc. | Reg Type | Tipo de Inscrição | Tipo de Inscripcion | Register Type | @! | Pertence(" 1") | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | A | R | - | - | 1=CNPJ | 1=RCPF | 1=CNPJ | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 41404 | 0 |
| CRT | 05 | CRT_NRINSC | C | 14 | 0 | Num. Inscric | Num. Inscric | Register Num | Número de Inscrição | Numero de Inscripcion | Register Number | @R 99.999.999/9999-99 | XFUNVldPJF(,2,.F.) | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 41405 | 0 |
| CRT | 06 | CRT_CODCON | C | 6 | 0 | Cod Rel Cont | Cod Rel Cont | Contr Rep Cd | Cód Rel Contrib Apur | Cod Rel Contrib Calc | Calc Contr Report Code | @! | XFUNVldCmp("C8H",,,,2,.T.) | x x x x x x x x x x x x x x x x | - | C8H | 1 | x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 41406 | 0 |
| CRT | 07 | CRT_DCODCO | C | 220 | 0 | Desc Contrib | Desc Contrib | Contr Disc | Desc Contrib | Desc Contrib | Contrib Disc | @! | - | x x x x x x x x x x x x x x x x | Iif(!INCLUI .and. !Empty(CRT->CRT_CODCON),Posicione("C8H",1,xFilial("C8H")+CRT->CRT_CODCON,"C8H_CODIGO+' - '+C8H_DESCRI"),"") | - | 1 | x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 41407 | 0 |
| CRT | 08 | CRT_VLCONT | N | 14 | 2 | Vlr Contribr | Vlr Contribr | Contrib. Vl. | Valor Contribuição | Valor Contribucion | Contribution Value | @E 99,999,999,999.99 | - | 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 | 1 | - | - | - | 41408 | 0 |
| CRT | 09 | CRT_VLRBRU | N | 14 | 2 | Vlr Receita | Vlr Ingreso | Income Value | Valor da Receita Bruta | Valor del Ingreso Bruto | Gross Income Value | @E 99,999,999,999.99 | - | 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 | 1 | - | - | - | 41409 | 0 |
| CRT | 10 | CRT_VLCLUB | N | 14 | 2 | Vlr Rec Club | Vlr Ing Club | Club Inc Vl | Valor Total Receita Clube | Valor Total Ingreso Club | Club Total Income Value | @E 99,999,999,999.99 | - | 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 | 1 | - | - | - | 41410 | 0 |
| CRT | 11 | CRT_VLPARC | N | 14 | 2 | Vlr Ret Prc | Vlr Ret Plz | W/h Vl Instl | Vlr Retido Clube Parcelam | Vlr Reten. Club Pg Plazo | Withheld Vl Installm Club | @E 99,999,999,999.99 | - | 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 | 1 | - | - | - | 41411 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CRT | 1 | CRT_FILIAL+CRT_ID+CRT_VERSAO+CRT_TPINSC+CRT_NRINSC | ID + Id. Ver. Reg + Tipo Insc. + Num. Inscric | ID + Id. Ver. Reg + Tipo Insc. + Num. Inscric | ID + Rec.Ver.Id. + Reg Type + Register Num | S | - | - | S | 2 | 3 | - | 6368 | 0 |
Ela é utilizada para estabelecimento espetac. desp 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.