Tabela SUF

Itens Config Telemarketing
16camposNome físicoSUF010(empresa 01)

Campos da tabela SUF

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

16
CampoDescrição
UF_FILIAL
Caractere (C)(2)
Filial
UF_CODIGO
Caractere (C)(6)
Codigo
UF_ITEM
Caractere (C)(2)
Item
UF_ASSUNTO
Caractere (C)(6)
Assunto
Máscara:
999999
Consulta F3:
T1
UF_DESCASS
Caractere (C)(20)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
UF_PRODUTO
Caractere (C)(15)
Produto
Máscara:
@!
Consulta F3:
PRT
Validação:
Vazio() .Or. ExistCpo("SB1",M->UF_PRODUTO,1)
UF_DESCPRO
Caractere (C)(35)
Descricao
Máscara:
@!
UF_OCORREN
Caractere (C)(6)
Ocorrencia
Consulta F3:
OCO
UF_DESCOCO
Caractere (C)(20)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
UF_CODSOL
Caractere (C)(6)
Acao
Máscara:
999999
Consulta F3:
SUR
UF_DESCSOL
Caractere (C)(20)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
UF_OPERADO
Caractere (C)(6)
Responsavel
Máscara:
999999
Consulta F3:
US2
UF_DESCOPE
Caractere (C)(20)
Nome
Máscara:
@!
Contexto:
Virtual (não existe no banco)
UF_DATA
Data (D)(8)
Data Acao
Validação:
Naovazio()
UF_STATUS
Caractere (C)(1)
Status
Máscara:
!
Validação:
Vazio() .OR. Pertence("12")
2 valores possíveis
  • 1Pendente
  • 2Encerrado
UF_OBS
Caractere (C)(128)
Obs

SELECT de exemplo da tabela SUF

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
  SUF.UF_FILIAL,
  SUF.UF_CODIGO,
  SUF.UF_ITEM,
  SUF.UF_ASSUNTO,
  SUF.UF_PRODUTO,
  SUF.UF_DESCPRO,
  SUF.UF_OCORREN,
  SUF.UF_CODSOL
FROM SUF010 SUF
WHERE SUF.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.