Configuracao de Calc Beneficio
A tabela TDZ faz parte do sistema ERP Protheus da TOTVS e é utilizada para configuracao de calc beneficio.
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 TDZ 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 TDZ, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | TDZ |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | TDZ990 |
| X2_NOME | Configuracao de Calc Beneficio |
| X2_NOMESPA | Configurac Cálc Beneficio |
| X2_NOMEENG | Benefit Calc Configuration |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | TDZ_FILIAL+TDZ_CODIGO+TDZ_REVISA |
| X2_PYME | S |
| X2_MODULO | 28 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| 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_ | 9256 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TDZ | 01 | TDZ_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153772 | 0 |
| TDZ | 02 | TDZ_CODIGO | C | 6 | 0 | Codigo | Código | Code | Codigo | Código | Code | @! | - | x x x x x x x x x x x x x x x x | GETSXENUM('TDZ','TDZ_CODIGO') | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153773 | 0 |
| TDZ | 03 | TDZ_CODTCW | C | 6 | 0 | Cod. Benefic | Cód. Benefic | Benef. Cd | Codigo do Beneficios | Código de beneficios | Benefit Code | @! | - | 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 | - | - | - | 153774 | 0 |
| TDZ | 04 | TDZ_ITEM | C | 3 | 0 | Item | Ítem | Item | Item | Ítem | Item | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153775 | 0 |
| TDZ | 05 | TDZ_TABELA | C | 1 | 0 | Tabela | Tabla | Table | Tabela | Tabla | Table | @! | - | x x x x x x x x x x x x x x x x | '1' | - | 1 | xx | - | - | - | - | V | R | - | - | 1=SWY | 1=SWY | 1=SWY | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153776 | 0 |
| TDZ | 06 | TDZ_TIPBEN | C | 2 | 0 | Tip. Benefic | Tipo Benefic | Benefit Type | Tipo de Beneficio | Tipo de beneficio | Type of Benefit | @! | - | x x x x x x x x x x x x x x x x | - | SLYBEN | 1 | xx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153777 | 0 |
| TDZ | 07 | TDZ_DESCRI | C | 50 | 0 | Beneficio | Beneficio | Benefit | Descrição do Beneficio | Descripción del beneficio | Benefit Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,ALLTRIM(AT996ADCTP(TDZ->TDZ_TIPBEN,.T.)),"") | - | 1 | x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153778 | 0 |
| TDZ | 08 | TDZ_CODSLY | C | 8 | 0 | Cod. Benefic | Cód. Benefic | Benef. Cd | Codigo do Beneficios | Código de beneficios | Benefit Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153779 | 0 |
| TDZ | 09 | TDZ_DSCBEN | C | 30 | 0 | Descrição | Descripción | Description | Descrição do Beneficio | Descripción del beneficio | Benefit Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,ALLTRIM(AT996ADSC(TDZ->TDZ_CODSLY,TDZ->TDZ_TIPBEN,.T.)),"") | - | 1 | xx | - | - | - | - | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 153780 | 0 |
| TDZ | 10 | TDZ_VALOR | N | 12 | 2 | Vlr. Dia CCT | Val. Día CCT | CCT Day Val | Valor dia da CCT | Valor día de la CCT | CCT Day Value | @E 999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153781 | 0 |
| TDZ | 11 | TDZ_VLRDIF | N | 14 | 2 | Vlr Dia Dif | Val Día Dif | Dif Day Val | Valor diario diferenciado | Valor diario diferenciado | Differentiated Daily Valu | @E 99,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153782 | 0 |
| TDZ | 12 | TDZ_NICKVL | C | 25 | 0 | Nome Cel Vlr | Nomb Cel Val | V. Cell Name | Nome da Celula de Valor | Nombre celda de valor | Value Cell Name | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153783 | 0 |
| TDZ | 13 | TDZ_NICK | C | 25 | 0 | Nome Celula | Nomb Celda | Cell Name | Nome Celula | Nomb Celda | Cell Name | @! | - | 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 | - | - | - | 153784 | 0 |
| TDZ | 14 | TDZ_FORMUL | C | 99 | 0 | Formula Plan | Fórmula Plan | Spreads.Form | Formula Planilha de Calc. | Fórmula Planilla de Cálc. | Price Spreads. Formula | @! | - | 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 | - | - | - | 153785 | 0 |
| TDZ | 15 | TDZ_OBRGT | C | 1 | 0 | Obrigatório? | ¿Obligat? | Required? | Preenche na planilha ? | ¿Completa en la planilla | Fill in the spreadsheet ? | @! | Pertence(" 12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | x | - | - | - | N | A | R | - | - | 1=Sim;2=Não | 1=Sí;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153786 | 0 |
| TDZ | 16 | TDZ_REVISA | C | 4 | 0 | Revisão | Revisión | Revision | Controle de Revisão | Control de revisión | Revision Control | @999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153787 | 0 |
| TDZ | 17 | TDZ_ALTERA | C | 1 | 0 | Alterável | Modificable | Editable | Campo pode ser alterado? | ¿Campo puede modificarse? | Can the field be edited? | @! | Pertence(" 12") | x x x x x x x x x x x x x x x | "1" | - | 1 | x | - | - | - | N | A | R | - | - | 1=Sim;2=Não | 1=Sí;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 153788 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TDZ | 1 | TDZ_FILIAL+TDZ_CODIGO+TDZ_REVISA | Codigo + Revisão | Código + Revisión | Code + Revision | S | - | - | S | 2 | 3 | - | 21992 | 0 |
Ela é utilizada para configuracao de calc beneficio 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
TDZ_FILIAL,
TDZ_CODIGO,
TDZ_CODTCW,
TDZ_ITEM,
TDZ_TABELA,
TDZ_TIPBEN,
TDZ_DESCRI,
TDZ_CODSLY,
TDZ_DSCBEN,
TDZ_VALOR,
TDZ_VLRDIF,
TDZ_NICKVL,
TDZ_NICK,
TDZ_FORMUL,
TDZ_OBRGT,
TDZ_REVISA,
TDZ_ALTERA
FROM TDZ
WHERE
D_E_L_E_T_ = ' '
AND TDZ_FILIAL = 'VALOR'
AND TDZ_CODIGO = 'VALOR'
AND TDZ_CODTCW = 'VALOR'
AND TDZ_ITEM = 'VALOR'
AND TDZ_TABELA = 'VALOR'
AND TDZ_TIPBEN = 'VALOR'
AND TDZ_DESCRI = 'VALOR'
AND TDZ_CODSLY = 'VALOR'
AND TDZ_DSCBEN = 'VALOR'
AND TDZ_VALOR = 0
AND TDZ_VLRDIF = 0
AND TDZ_NICKVL = 'VALOR'
AND TDZ_NICK = 'VALOR'
AND TDZ_FORMUL = 'VALOR'
AND TDZ_OBRGT = 'VALOR'
AND TDZ_REVISA = 'VALOR'
AND TDZ_ALTERA = 'VALOR'