Tabela AM1

Tipos de Planejamento
8camposNome físicoAM1010(empresa 01)

Campos da tabela AM1

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

CampoDescrição
AM1_FILIAL
Caractere (C)(2)
Filial
AM1_CODIGO
Caractere (C)(3)
Codigo
Máscara:
@!
Contexto:
Real
AM1_DESCR
Caractere (C)(25)
Descricao
Máscara:
@!
Contexto:
Real
AM1_COND
Caractere (C)(3)
Cond. Pag.
Máscara:
@!
Contexto:
Real
Consulta F3:
SE4
AM1_TIPO
Caractere (C)(1)
Tipo
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12 ")
2 valores possíveis
  • 1Debito
  • 2Credito
AM1_CFGPLN
Caractere (C)(3)
Cod. Conf.
Máscara:
@!
AM1_PROINT
Caractere (C)(6)
Processo Int
Máscara:
@!
Contexto:
Real
Consulta F3:
AKB
Validação:
Vazio() .Or. ExistCpo("AKB")
AM1_ITEINT
Caractere (C)(2)
Item Integ.
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela AM1

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
  AM1.AM1_FILIAL,
  AM1.AM1_CODIGO,
  AM1.AM1_DESCR,
  AM1.AM1_COND,
  AM1.AM1_TIPO,
  AM1.AM1_CFGPLN,
  AM1.AM1_PROINT,
  AM1.AM1_ITEINT
FROM AM1010 AM1
WHERE AM1.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.