Tabela DY7

Itens Grade de Horario de Voo
22camposNome físicoDY7010(empresa 01)

Campos da tabela DY7

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

22
CampoDescrição
DY7_FILIAL
Caractere (C)(2)
Filial
DY7_AERORI
Caractere (C)(3)
Aeropor.Orig
Máscara:
@!
Contexto:
Real
DY7_CODREG
Caractere (C)(6)
Cod. Regiao
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo("DUY",M->DY7_CODREG,1) .Or. Vazio()
DY7_ITEM
Caractere (C)(3)
Item
Máscara:
@!
Contexto:
Real
DY7_AERDES
Caractere (C)(3)
Aeropor.Dest
Máscara:
@!
Contexto:
Real
Consulta F3:
DD7GHV
Validação:
TMSA940Vld()
DY7_NOMAER
Caractere (C)(20)
Nome Aerop.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
DY7_CODCIA
Caractere (C)(6)
Cia. Aerea
Máscara:
@!
Contexto:
Real
Consulta F3:
SA2CIA
Validação:
TMSA940Vld()
DY7_LOJCIA
Caractere (C)(2)
Loja Cia
Máscara:
@!
Contexto:
Real
Validação:
TMSA940Vld()
DY7_NOMCIA
Caractere (C)(40)
Nome Cia.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
DY7_NUMVOO
Caractere (C)(6)
Nr. Voo
Máscara:
@!
Contexto:
Real
DY7_TIPVOO
Caractere (C)(1)
Tipo Voo
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Direto
  • 2Escala
  • 3Conexao
DY7_AERPAR
Caractere (C)(3)
Aero. Parada
Máscara:
@!
Contexto:
Real
Consulta F3:
M9
Validação:
TMSA940Vld()
Modo de edição (When):
TMSA940Whe()
DY7_SEMAN1
Caractere (C)(1)
Domingo
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
DY7_SEMAN2
Caractere (C)(1)
Segunda
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
DY7_SEMAN3
Caractere (C)(1)
Terca
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
DY7_SEMAN4
Caractere (C)(1)
Quarta
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
DY7_SEMAN5
Caractere (C)(1)
Quinta
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
DY7_SEMAN6
Caractere (C)(1)
Sexta
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
DY7_SEMAN7
Caractere (C)(1)
Sabado
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
DY7_PRESAI
Caractere (C)(4)
Hr.Prev.Sai.
Máscara:
@R 99:99
Contexto:
Real
Validação:
TMSA940Vld()
DY7_PRECHG
Caractere (C)(4)
Hr.Prev.Chg.
Máscara:
@R 99:99
Contexto:
Real
Validação:
TMSA940Vld()
DY7_PRELIB
Caractere (C)(4)
Hr.Prev.Lib.
Máscara:
@R 99:99
Contexto:
Real
Validação:
TMSA940Vld()

SELECT de exemplo da tabela DY7

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
  DY7.DY7_FILIAL,
  DY7.DY7_AERORI,
  DY7.DY7_CODREG,
  DY7.DY7_ITEM,
  DY7.DY7_AERDES,
  DY7.DY7_CODCIA,
  DY7.DY7_LOJCIA,
  DY7.DY7_NUMVOO
FROM DY7010 DY7
WHERE DY7.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.