Histórico de Valores de Garant
A tabela NZ0 faz parte do sistema ERP Protheus da TOTVS e é utilizada para histórico de valores de garant.
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 NZ0 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 NZ0, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | NZ0 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | NZ0990 |
| X2_NOME | Histórico de Valores de Garant |
| X2_NOMESPA | Historial de Valores de Garant |
| X2_NOMEENG | History of Process Values |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | NZ0_FILIAL+NZ0_CGARAN+NZ0_ANOMES |
| X2_PYME | S |
| X2_MODULO | 76 |
| 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_ | 7251 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NZ0 | 01 | NZ0_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 | xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 115330 | 0 |
| NZ0 | 02 | NZ0_CGARAN | C | 10 | 0 | Cod Garantia | Cod Garantia | Warranty Cod | Código Garantia | Codigo Garantia | Warranty Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 115331 | 0 |
| NZ0 | 03 | NZ0_ANOMES | C | 6 | 0 | Ano Mês | Ano Mes | Year Month | Ano Mês | Ano Mes | Year Month | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 115332 | 0 |
| NZ0 | 04 | NZ0_CCOMON | C | 2 | 0 | F. Correção | F. Correccio | Correct Meth | Código Forma Correção | Codigo Forma Correccion | Correction Method Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 115333 | 0 |
| NZ0 | 05 | NZ0_DCOMON | C | 20 | 0 | Correção | Correccion | Correction | Descrição forma de correç | Descripcion forma de corr | Correction method descr | - | - | x x x x x x x x x x x x x x x x | IF(!INCLUI, POSICIONE('NW7', 1, XFILIAL('NW7') + NZ0->NZ0_CCOMON, 'NW7_DESC'), '') | - | 1 | xxxx | - | - | - | S | V | V | - | - | - | - | - | - | - | POSICIONE('NW7', 1, XFILIAL('NW7') + NZ0->NZ0_CCOMON, 'NW7_DESC') | 182 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 115334 | 0 |
| NZ0 | 06 | NZ0_VCGARA | N | 12 | 2 | Vlr Correção | Vlr Correcci | Correct Val | Valor de Correção da Gara | Valor Correccion Garantia | GARA Correction Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 115335 | 0 |
| NZ0 | 07 | NZ0_VJGARA | N | 12 | 2 | Valor Juros | Valor Intere | Interest Val | Valor de Juros da Garanti | Valor de Interes Garantia | Warranty Inter Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 115336 | 0 |
| NZ0 | 08 | NZ0_MULATU | N | 12 | 2 | Vlr. Mul Atu | Vlr. Mul Act | Updt Pen Val | Valor Multa Atualizado | Valor Multa Actualizado | Updated Penalty Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 115337 | 0 |
| NZ0 | 09 | NZ0_VLRATU | N | 12 | 2 | Valor Atual | Valor Actual | Updt Val | Valor Atualizado | Valor Actualizado | Updated Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 115338 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NZ0 | 1 | NZ0_FILIAL+NZ0_CGARAN+NZ0_ANOMES | Cod Garantia + Ano Mês | Cod Garantia + Ano Mes | Warranty Cod + Year Month | S | - | - | S | 2 | 3 | - | 16574 | 0 |
Ela é utilizada para histórico de valores de garant 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
NZ0_FILIAL,
NZ0_CGARAN,
NZ0_ANOMES,
NZ0_CCOMON,
NZ0_DCOMON,
NZ0_VCGARA,
NZ0_VJGARA,
NZ0_MULATU,
NZ0_VLRATU
FROM NZ0
WHERE
D_E_L_E_T_ = ' '
AND NZ0_FILIAL = 'VALOR'
AND NZ0_CGARAN = 'VALOR'
AND NZ0_ANOMES = 'VALOR'
AND NZ0_CCOMON = 'VALOR'
AND NZ0_DCOMON = 'VALOR'
AND NZ0_VCGARA = 0
AND NZ0_VJGARA = 0
AND NZ0_MULATU = 0
AND NZ0_VLRATU = 0