Atributos do template
A tabela CZE faz parte do sistema ERP Protheus da TOTVS e é utilizada para atributos do template.
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 CZE 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 CZE, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | CZE |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | CZE990 |
| X2_NOME | Atributos do template |
| X2_NOMESPA | Atributos del template |
| X2_NOMEENG | Template Attributes |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | CZE_FILIAL+CZE_CDMD+CZE_CDAB |
| X2_PYME | S |
| X2_MODULO | 10 |
| 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_ | 2912 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CZE | 01 | CZE_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 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | S | - | N | - | - | - | 1 | 2 | - | - | - | 45607 | 0 |
| CZE | 02 | CZE_CDMD | C | 5 | 0 | Template | Template | Template | Template | Template | Template | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 1 | - | - | - | 45608 | 0 |
| CZE | 03 | CZE_CDAB | C | 10 | 0 | Atributo | Atributo | Attribute | Atributo | Atributo | Attribute | 9999999999 | PCPA102VAL() | x x x x x x x x x x x x x x x xx | - | CZB003 | 1 | xxx | - | S | - | S | A | R | - | - | - | - | - | - | PCPA102WAB() | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 1 | - | - | - | 45609 | 0 |
| CZE | 04 | CZE_NMAB | C | 15 | 0 | Nome Atrib. | Nombre atrib | Attrib Name | Nome do Atributo | Nombre del atributo | Attribute Name | @! | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_NMAB"),"") | - | 1 | xxxx | - | - | - | S | V | V | - | - | - | - | - | - | - | POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_NMAB") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 45610 | 0 |
| CZE | 05 | CZE_DSAB | C | 30 | 0 | Descrição | Descripcion | Description | Descrição | Descripcion | Description | @! | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_DSAB"),"") | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_DSAB") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 45611 | 0 |
| CZE | 06 | CZE_TPAB | C | 1 | 0 | Tipo Atrib. | Tipo atrib. | Attrib Type | Tipo do Atributo | Tipo de atributo | Attribute Type | - | Pertence("FCNDLIARMTO") | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_TPAB"),"") | - | 1 | xx | - | - | - | S | V | V | - | - | F=Flag;C=Char;N=Numerico;D=Data;L=Lista;I=Imagem;A=Faixa;R=Formula;M=Memo;T=Tabela;O=Tolerancia | F=Flag;C=Char;N=Numerico;D=Fecha;L=Lista;I=Imagen;A=Rango;R=Formula;M=Memo;T=Tabla;O=Tolerancia | F=Flag;C=Char;N=Numeric;D=Date;L=List;I=Image;A=Range;R=Formula;M=Memo;T=Table;O=Tolerance | - | - | POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_TPAB") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 45612 | 0 |
| CZE | 07 | CZE_RLAB | C | 1 | 0 | Relação | Relacion | List | Relacionador Atributo | Relacionador atributo | Attribute List | @! | Pertence("1234") | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_RLAB"),"") | - | 1 | xx | - | - | - | S | V | V | - | - | 1=Produto;2=Recurso;3=Familia tecnica;4=Todos | 1=Producto;2=Recurso;3=Familia tecnica;4=Todos | 1=Product;2=Resource;3=Technical family;4=All | - | - | POSICIONE("CZB",1,XFILIAL("CZB")+CZE->CZE_CDAB,"CZB_RLAB") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 45613 | 0 |
| CZE | 08 | CZE_LGOB | C | 1 | 0 | Obrigatório | Obligatorio | Required | Obrigatório | Obligatorio | Required | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | S | A | R | - | - | 1=Sim;2=Nao | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 45614 | 0 |
| CZE | 09 | CZE_SQAB | N | 10 | 0 | Seq. Atrib | Sec. Atrib | Attrib Seq | Sequencia do Atributo | Secuencia del atributo | Attribute Sequence | @E 9,999,999,999 | PCPA102VSQ() | x x x x x x x x x x x x x x x x | PCPA102SEQ() | - | 1 | x x xxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 45615 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CZE | 1 | CZE_FILIAL+CZE_CDMD+CZE_CDAB | Template + Atributo | Template + Atributo | Template + Attribute | S | Filial+Template+Atributo | - | S | 2 | 3 | - | 7049 | 0 |
| CZE | 2 | CZE_FILIAL+CZE_CDAB | Atributo | Atributo | Attribute | S | Filial+Atributo | - | N | 2 | 3 | - | 7050 | 0 |
| CZE | 3 | CZE_FILIAL+CZE_CDMD+STR(CZE_SQAB)+CZE_CDAB | Template + Seq. Atrib + Atributo | Template + Sec. Atrib + Atributo | Template + Attrib Seq + Attribute | S | - | - | S | 2 | 3 | - | 7051 | 0 |
Ela é utilizada para atributos do template 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
CZE_FILIAL,
CZE_CDMD,
CZE_CDAB,
CZE_NMAB,
CZE_DSAB,
CZE_TPAB,
CZE_RLAB,
CZE_LGOB,
CZE_SQAB
FROM CZE
WHERE
D_E_L_E_T_ = ' '
AND CZE_FILIAL = 'VALOR'
AND CZE_CDMD = 'VALOR'
AND CZE_CDAB = 'VALOR'
AND CZE_NMAB = 'VALOR'
AND CZE_DSAB = 'VALOR'
AND CZE_TPAB = 'VALOR'
AND CZE_RLAB = 'VALOR'
AND CZE_LGOB = 'VALOR'
AND CZE_SQAB = 0