Hist. Exc Da Tab Honor - Part
A tabela NV0 faz parte do sistema ERP Protheus da TOTVS e é utilizada para hist. exc da tab honor - part.
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 NV0 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 NV0, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | NV0 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | NV0990 |
| X2_NOME | Hist. Exc Da Tab Honor - Part |
| X2_NOMESPA | Hist. Exc De Tab Honor - Part |
| X2_NOMEENG | Fee Table Book-Keep.Hist.-Part |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | NV0_FILIAL+NV0_CCLIEN+NV0_CLOJA+NV0_CCASO+NV0_CPART+NV0_CCAT+NV0_COD+NV0_AMINI |
| X2_PYME | N |
| X2_MODULO | 77 |
| 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_ | 7112 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NV0 | 01 | NV0_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal de Sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112951 | 0 |
| NV0 | 02 | NV0_COD | C | 6 | 0 | Código | Codigo | Code | Código Exc Tab Honor Part | Codigo Exc Tab Honor Part | Part Fee Tb Surplus Code | - | - | x x x x x x x x x x x x x x x x | GetSXENum("NV0","NV0_COD") | - | 1 | x xx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112952 | 0 |
| NV0 | 03 | NV0_CCLIEN | C | 6 | 0 | Cód cliente | Cod Cliente | Client Code | Código do cliente | Codigo de cliente | Client Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112953 | 0 |
| NV0 | 04 | NV0_CLOJA | C | 2 | 0 | Cód loja | Cod tienda | Store Code | Código da loja do cliente | Código de la tienda del c | Customer Store Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112954 | 0 |
| NV0 | 05 | NV0_CCASO | C | 6 | 0 | Cód caso | Cod caso | Case Code | Código do caso | Codigo de caso | Case Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxx xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 036 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112955 | 0 |
| NV0 | 06 | NV0_AMINI | C | 6 | 0 | Ano-Mês Ini | Ano-Mes Ini | St Year-Mon | Ano-Mês Inicial | Ano-Mes Inicial | Start Year-Month | @R 9999-99 | JHISTVMIni("NV0") | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 112956 | 0 |
| NV0 | 07 | NV0_AMFIM | C | 6 | 0 | Ano-Mes Fim | Ano-Mes Fin | End Year-Mon | Ano-Mês Final | Ano-Mes Final | End Year-Month | @R 9999-99 | JHISTVMFim("NV0") | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112957 | 0 |
| NV0 | 08 | NV0_SIGLA | C | 5 | 0 | Sigla part | Sigla part | PartcptrAcrn | Sigla do Participante | Sigla del Participante | Participator Acronym | - | Vazio().Or.(ExistCpo('RD0',FWFLDGET('NV0_SIGLA'),9).And.JURRD0('NV0DETAIL','NV0_SIGLA','1',.T.)) | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE('RD0',1,XFILIAL('RD0')+NV0->NV0_CPART,'RD0_SIGLA'),'') | RD0ATV | 1 | x | - | S | - | S | A | V | - | - | - | - | - | - | - | Posicione('RD0',1,xFilial('RD0')+NV0->NV0_CPART,'RD0_SIGLA') | 073 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 112958 | 0 |
| NV0 | 09 | NV0_CPART | C | 6 | 0 | Cód particip | Cod particip | Employee Cd | Código do profissional | Codigo de profesional | Professional Code | - | Vazio().Or.Iif(JurIsRest(),(ExistCpo('RD0',FWFLDGET('NV0_CPART'),1).And.JURRD0('NV0DETAIL','NV0_CPART','1')), .T.) | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 112959 | 0 |
| NV0 | 10 | NV0_DPART | C | 50 | 0 | Nome Partic | Nombre Part. | Employee Nam | Nome do participante | Nombre de participante | Employee Name | @! | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("RD0",1,XFILIAL("RD0")+NV0->NV0_CPART,"RD0_NOME"),"") | - | 1 | xx x x | - | - | - | S | V | V | - | - | - | - | - | - | - | POSICIONE("RD0",1,XFILIAL("RD0")+NV0->NV0_CPART,"RD0_NOME") | 174 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112960 | 0 |
| NV0 | 11 | NV0_DCAT1 | C | 55 | 0 | Cat original | Cat original | Origin Cat. | Cód desc categ original | Cod desc categ original | Orig cat desc code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112961 | 0 |
| NV0 | 12 | NV0_VALOR1 | N | 16 | 2 | Vlr original | Vlr original | Original Vl | Valor original particip | Valor original particip | Original Particip. Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112962 | 0 |
| NV0 | 13 | NV0_EXCCAT | C | 1 | 0 | Acumulativo | Acumulativo | Cumulative | Acumula com exec categ | Acumula con ejec cate | Accumulates w/ categ surp | - | Pertence("12") | x x x x x x x x x x x x x x x x | "2" | - | 1 | x xxx | - | S | - | S | A | R | - | - | 1=Sim;2=Nao | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 112963 | 0 |
| NV0 | 14 | NV0_REGRA | C | 1 | 0 | Regra | Regla | Rule | Regra para ajuste | Regla para ajuste | Rule for Adjustment | - | Pertence("1234").And.J70ValNeg("NV0_VALOR2").AND.J70CodCat("NV0") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xxx xxxx | - | S | - | S | A | R | - | - | 1=Porcentagem;2=Soma;3=Fixo;4=Categoria | 1=Porcentaje;2=Suma;3=Fijo;4=Categoria | 1=Percentage;2=Sum;3=Fixed;4=Category | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 112964 | 0 |
| NV0 | 15 | NV0_CCAT | C | 5 | 0 | Cód categ | Cod categ | Categ. Code | Cód categoria ajustada | Cod categoria ajustada | Adjusted Category Code | - | ExistCpo('NRN',M->NV0_CCAT,1).OR.J70CodCat("NV0_CCAT").Or.Vazio() | x x x x x x x x x x x x x x x x | - | NRN | 1 | x xx x | - | S | - | S | A | R | - | - | - | - | - | - | FWFLDGET("NV0_REGRA") =='4' | - | 104 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112965 | 0 |
| NV0 | 16 | NV0_DCAT | C | 50 | 0 | Desc Categ | Desc Categ | Categ Desc | Desc categoria ajustada | Desc categoria ajustada | Adjusted Category Desc. | - | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("NRN",1,XFILIAL("NRN")+NV0->NV0_CCAT,"NRN_DESC"),"") | - | 1 | xx x x | - | - | - | S | V | V | - | - | - | - | - | - | FWFLDGET("NV0_REGRA") =='4' | POSICIONE("NRN",1,XFILIAL("NRN")+NV0->NV0_CCAT,"NRN_DESC") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112966 | 0 |
| NV0 | 17 | NV0_VALOR2 | N | 16 | 4 | Vlr ajuste | Vlr ajuste | Adjust. Vl. | Valor para ajustar | Valor para ajustar | Value to Adjust | @E 99,999,999,999.9999 | J70ValNeg("NV0_VALOR2") | x x x x x x x x x x x x x x x x | - | - | 1 | xx x x | - | S | - | S | A | R | - | - | - | - | - | - | !FwFldGet("NV0_REGRA") == '4' | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112967 | 0 |
| NV0 | 18 | NV0_VALOR3 | N | 16 | 2 | Vlr ajustado | Vlr ajustado | Adjusted Vl. | Valor ajustado da categ | Valor ajustado de categ | Category Adjusted Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 112968 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NV0 | 1 | NV0_FILIAL+NV0_CCLIEN+NV0_CLOJA+NV0_CCASO+NV0_CPART+NV0_AMINI+NV0_AMFIM | Cód cliente + Cód loja + Cód caso + Cód particip + Ano-Mês Ini + Ano-M | Cod Cliente + Cod tienda + Cod caso + Cod particip + Ano-Mes Ini + Ano | Client Code + Store Code + Case Code + Employee Cd + St Year-Mon + End | S | - | - | S | 2 | 3 | - | 16220 | 0 |
| NV0 | 2 | NV0_FILIAL+NV0_CCLIEN+NV0_CLOJA+NV0_CCASO | Cód cliente + Cód loja + Cód caso | Cod Cliente + Cod tienda + Cod caso | Client Code + Store Code + Case Code | S | - | - | N | 2 | 3 | - | 16221 | 0 |
| NV0 | 3 | NV0_FILIAL+NV0_CCLIEN+NV0_CLOJA+NV0_CCASO+NV0_COD | Cód cliente + Cód loja + Cód caso + Código | Cod Cliente + Cod tienda + Cod caso + Codigo | Client Code + Store Code + Case Code + Code | S | - | - | N | 2 | 3 | - | 16222 | 0 |
| NV0 | 4 | NV0_FILIAL+NV0_COD | Código | Codigo | Code | S | - | - | N | 2 | 3 | - | 16223 | 0 |
Ela é utilizada para hist. exc da tab honor - part 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
NV0_FILIAL,
NV0_COD,
NV0_CCLIEN,
NV0_CLOJA,
NV0_CCASO,
NV0_AMINI,
NV0_AMFIM,
NV0_SIGLA,
NV0_CPART,
NV0_DPART,
NV0_DCAT1,
NV0_VALOR1,
NV0_EXCCAT,
NV0_REGRA,
NV0_CCAT,
NV0_DCAT,
NV0_VALOR2,
NV0_VALOR3
FROM NV0
WHERE
D_E_L_E_T_ = ' '
AND NV0_FILIAL = 'VALOR'
AND NV0_COD = 'VALOR'
AND NV0_CCLIEN = 'VALOR'
AND NV0_CLOJA = 'VALOR'
AND NV0_CCASO = 'VALOR'
AND NV0_AMINI = 'VALOR'
AND NV0_AMFIM = 'VALOR'
AND NV0_SIGLA = 'VALOR'
AND NV0_CPART = 'VALOR'
AND NV0_DPART = 'VALOR'
AND NV0_DCAT1 = 'VALOR'
AND NV0_VALOR1 = 0
AND NV0_EXCCAT = 'VALOR'
AND NV0_REGRA = 'VALOR'
AND NV0_CCAT = 'VALOR'
AND NV0_DCAT = 'VALOR'
AND NV0_VALOR2 = 0
AND NV0_VALOR3 = 0