Tabela MD6

Integracao de Saida
17camposNome físicoMD6010(empresa 01)

Campos da tabela MD6

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

17
CampoDescrição
MD6_FILIAL
Caractere (C)(2)
FILIAL
MD6_REG
Caractere (C)(6)
Registro
Contexto:
Real
MD6_SEQ
Caractere (C)(3)
Sequencia
Contexto:
Real
MD6_TPCPO
Caractere (C)(1)
Tipo Campo
Contexto:
Real
MD6_NOME
Caractere (C)(12)
Nome
Contexto:
Real
MD6_VALOR
Caractere (C)(254)
Valor
Contexto:
Real
MD6_TIPO
Caractere (C)(6)
Tipo
Contexto:
Real
MD6_ORIGEM
Caractere (C)(3)
Origem
Contexto:
Real
MD6_SERVWB
Caractere (C)(10)
Servico Web
Contexto:
Real
MD6_MODULO
Caractere (C)(8)
Modulo
Contexto:
Real
MD6_STATUS
Caractere (C)(1)
Status
Contexto:
Real
MD6_SITPRO
Caractere (C)(1)
Sit. Proced.
Contexto:
Real
MD6_PROCES
Caractere (C)(3)
Cod. Process
Contexto:
Real
MD6_DATA
Data (D)(8)
Data
Contexto:
Real
MD6_TRANS
Caractere (C)(10)
Transacao
Contexto:
Real
MD6_PACOTE
Caractere (C)(3)
PACOTE
MD6_TRCNT
Caractere (C)(10)
Total Reg

SELECT de exemplo da tabela MD6

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
  MD6.MD6_FILIAL,
  MD6.MD6_REG,
  MD6.MD6_SEQ,
  MD6.MD6_TPCPO,
  MD6.MD6_NOME,
  MD6.MD6_VALOR,
  MD6.MD6_TIPO,
  MD6.MD6_ORIGEM
FROM MD6010 MD6
WHERE MD6.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.