Tabela NUF

WO
33camposNome físicoNUF010(empresa 01)

Campos da tabela NUF

33 campos no dicionário de dados do TOTVS Protheus.

33
CampoDescrição
NUF_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
NUF_COD
Caractere (C)(8)
Codigo
Contexto:
Real
NUF_SITUAC
Caractere (C)(1)
Situacao
Contexto:
Real
2 valores possíveis
  • 1Ativo
  • 2Cancelado
NUF_DTEMI
Data (D)(8)
Data Emissao
Contexto:
Real
NUF_USREMI
Caractere (C)(6)
Usr Emissao
Contexto:
Real
NUF_CMOTEM
Caractere (C)(3)
Cod Mot Emi
Contexto:
Real
NUF_DMOTEM
Caractere (C)(50)
Desc Mot Emi
Contexto:
Virtual (não existe no banco)
NUF_OBSEMI
Caractere (C)(200)
Obs Emissao
Contexto:
Real
NUF_DTCAN
Data (D)(8)
Data Cancela
Contexto:
Real
NUF_USRCAN
Caractere (C)(6)
Usr Cancelam
Contexto:
Real
NUF_OBSCAN
Caractere (C)(200)
Obs Canc
Máscara:
@S50
Contexto:
Real
NUF_CMOTCA
Caractere (C)(3)
Cod Mot Can
Contexto:
Real
NUF_DMOTCA
Caractere (C)(50)
Desc Mot Can
Contexto:
Virtual (não existe no banco)
NUF_DTLANC
Data (D)(8)
Dt Lanc Cont
Contexto:
Real
NUF_CESCR
Caractere (C)(5)
Cod Escrit
Contexto:
Real
NUF_CFATU
Caractere (C)(9)
Cod Fatura
Contexto:
Real
NUF_DTEMIF
Data (D)(8)
Dt Emi Fatur
Contexto:
Virtual (não existe no banco)
NUF_DTVENF
Data (D)(8)
Dt Venc Fatu
Contexto:
Virtual (não existe no banco)
NUF_CMOEDA
Caractere (C)(2)
Cod Moed Fat
Contexto:
Virtual (não existe no banco)
NUF_DMOEDA
Caractere (C)(10)
Sim Moed Fat
Contexto:
Virtual (não existe no banco)
NUF_VLFATH
Numérico (N)(16,2)
Valor Fat H
Máscara:
@E 9,999,999,999,999.99
Contexto:
Virtual (não existe no banco)
NUF_VLFATD
Numérico (N)(16,2)
Valor Fat D
Máscara:
@E 9,999,999,999,999.99
Contexto:
Virtual (não existe no banco)
NUF_VLACRE
Numérico (N)(12,2)
Vl Acrescimo
Máscara:
@E 999,999,999.99
Contexto:
Virtual (não existe no banco)
NUF_VLDESC
Numérico (N)(16,2)
Valor Desc
Máscara:
@E 9,999,999,999,999.99
Contexto:
Virtual (não existe no banco)
NUF_DREFIH
Data (D)(8)
Dt Ref Ini H
Contexto:
Virtual (não existe no banco)
NUF_DREFFH
Data (D)(8)
Dt Ref Fim H
Contexto:
Virtual (não existe no banco)
NUF_DREFID
Data (D)(8)
Dt Ref Ini D
Contexto:
Virtual (não existe no banco)
NUF_DREFFD
Data (D)(8)
Dt Ref Fim D
Contexto:
Virtual (não existe no banco)
NUF_DREFIT
Data (D)(8)
Dt Ref Ini T
Contexto:
Virtual (não existe no banco)
NUF_DREFFT
Data (D)(8)
Dt Ref Fim T
Contexto:
Virtual (não existe no banco)
NUF_PERFAT
Numérico (N)(16,8)
Percentual
Máscara:
@E 9,999,999.99999999
Contexto:
Real
NUF_DTCEMI
Data (D)(8)
Dt Cont. Emi
Contexto:
Real
NUF_DTCCAN
Data (D)(8)
Dt Cont. Can
Contexto:
Real

SELECT de exemplo da tabela NUF

No Protheus a tabela física leva o código da empresa (01 → 010) e registros excluídos ficam com D_E_L_E_T_ = '*'.

SQL · SQL Server
SELECT TOP 100
  NUF.NUF_FILIAL,
  NUF.NUF_COD,
  NUF.NUF_SITUAC,
  NUF.NUF_DTEMI,
  NUF.NUF_USREMI,
  NUF.NUF_CMOTEM,
  NUF.NUF_OBSEMI,
  NUF.NUF_DTCAN
FROM NUF010 NUF
WHERE NUF.D_E_L_E_T_ = ' '

Tabelas próximas no índice do Protheus

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.