Tabela ALT

Tipos de Despesas
10camposNome físicoALT010(empresa 01)

Campos da tabela ALT

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

10
CampoDescrição
ALT_FILIAL
Caractere (C)(2)
Filial
ALT_CODIGO
Caractere (C)(4)
Codigo
Máscara:
@!
Contexto:
Real
Validação:
ExistChav("ALT")
ALT_DESCR
Caractere (C)(20)
Descricao
Máscara:
@!
Contexto:
Real
ALT_TPVLR
Caractere (C)(1)
Tipo Planej.
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Quantidade
  • 2Valor
ALT_VALOR
Numérico (N)(12,2)
Valor Unit.
Máscara:
@E 9,999,999.99
Contexto:
Real
ALT_COND
Caractere (C)(3)
Cond. Pagto
Máscara:
@!
Contexto:
Real
Consulta F3:
SE4
ALT_PRAZO
Numérico (N)(5)
Prazo
Máscara:
@E 9,999
Contexto:
Real
ALT_TPFORM
Caractere (C)(1)
Tipo Formula
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Vigencia
  • 2Periodo
ALT_FORMUL
Caractere (C)(3)
Formula
Máscara:
@!
Contexto:
Real
Consulta F3:
SM4
ALT_REGPAD
Caractere (C)(6)
Regra Distr.
Máscara:
@!
Contexto:
Real
Consulta F3:
ALS
Validação:
ExistCpo("ALS")

SELECT de exemplo da tabela ALT

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
  ALT.ALT_FILIAL,
  ALT.ALT_CODIGO,
  ALT.ALT_DESCR,
  ALT.ALT_TPVLR,
  ALT.ALT_VALOR,
  ALT.ALT_COND,
  ALT.ALT_PRAZO,
  ALT.ALT_TPFORM
FROM ALT010 ALT
WHERE ALT.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.