Tabela TD3

LOCAIS DE CONSUMO
6camposNome físicoTD3010(empresa 01)

Campos da tabela TD3

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

CampoDescrição
TD3_FILIAL
Caractere (C)(2)
Filial
TD3_CODPRO
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
Consulta F3:
SB1
Validação:
ExistCpo("SB1",M->TD2_CODPRO)
TD3_ESTRUT
Caractere (C)(3)
Estrutura
Máscara:
@!
Contexto:
Real
TD3_CODNIV
Caractere (C)(3)
Nivel
Máscara:
@!
Contexto:
Real
TD3_NOMNIV
Caractere (C)(30)
Nome Nivel
Máscara:
@!
Contexto:
Virtual (não existe no banco)
TD3_PORCEN
Numérico (N)(5,1)
% PCP/MNT
Máscara:
@E 999.9
Contexto:
Real
Validação:
SG470PORC("TD3", M->TD3_PORCEN, .T.)

SELECT de exemplo da tabela TD3

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
  TD3.TD3_FILIAL,
  TD3.TD3_CODPRO,
  TD3.TD3_ESTRUT,
  TD3.TD3_CODNIV,
  TD3.TD3_PORCEN
FROM TD3010 TD3
WHERE TD3.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.