Tabela MDG

Configurador TEF
39camposNome físicoMDG010(empresa 01)

Campos da tabela MDG

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

39
CampoDescrição
MDG_FILIAL
Caractere (C)(2)
Filial
MDG_CODEST
Caractere (C)(3)
Estacao
Contexto:
Real
MDG_IPSIT
Caractere (C)(15)
IP Sitef
Contexto:
Real
MDG_EMPSIT
Caractere (C)(8)
Empresa
Contexto:
Real
MDG_TERSIT
Caractere (C)(8)
Num Terminal
Contexto:
Real
MDG_CARSIT
Caractere (C)(1)
Cartao Sitef
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_CHQSIT
Caractere (C)(1)
Cheque Sit
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_RCSIT
Caractere (C)(1)
Recarga Cel
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_CBSIT
Caractere (C)(1)
Corresp Bc
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_PBMSIT
Caractere (C)(1)
PBM Sit
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_TPCBSI
Caractere (C)(2)
Tipo CB
Contexto:
Real
MDG_GPAPL
Caractere (C)(250)
Cam Apl GP
Contexto:
Real
MDG_GPTX
Caractere (C)(250)
Dir TX GP
Contexto:
Real
MDG_GPRX
Caractere (C)(250)
Dir RX GP
Contexto:
Real
MDG_CARGP
Caractere (C)(1)
Cartao GP
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_CHQGP
Caractere (C)(1)
Cheque GP
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_TECAPL
Caractere (C)(250)
Cam Apl TB
Contexto:
Real
MDG_TECTX
Caractere (C)(250)
Dir Tx TB
Contexto:
Real
MDG_TECRX
Caractere (C)(250)
Dir Rx TB
Contexto:
Real
MDG_CARTEC
Caractere (C)(1)
Cartao TB
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_CHQTEC
Caractere (C)(1)
Cheque TB
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_HIPAPL
Caractere (C)(250)
Cam Apl HC
Contexto:
Real
MDG_HIPTX
Caractere (C)(250)
Dir Tx HC
Contexto:
Real
MDG_HIPRX
Caractere (C)(250)
Dir Rx HC
Contexto:
Real
MDG_CARHIP
Caractere (C)(1)
Cartao HC
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_PAYAPL
Caractere (C)(250)
Cam Apl PG
Contexto:
Real
MDG_PAYTX
Caractere (C)(250)
Dir Tx PG
Contexto:
Real
MDG_PAYRX
Caractere (C)(250)
Dir Rx PG
Contexto:
Real
MDG_CARPAY
Caractere (C)(1)
Cartao PG
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_CHQPAY
Caractere (C)(1)
Cheque PG
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_TEFATV
Caractere (C)(1)
TEF Ativo
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_EPHARM
Caractere (C)(1)
Epharma
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_TRNCEN
Caractere (C)(1)
Trn-Centre
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_DIRAPL
Caractere (C)(250)
Cam Apl Di
Contexto:
Real
MDG_DIRTX
Caractere (C)(250)
Dir Tx Di
Contexto:
Real
MDG_DIRRX
Caractere (C)(250)
Dir Rx Di
Contexto:
Real
MDG_CARDIR
Caractere (C)(1)
Cred/Deb
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_CHQDIR
Caractere (C)(1)
Cheque Di
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
MDG_CIELOP
Caractere (C)(1)
Cielo Premia
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao

SELECT de exemplo da tabela MDG

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
  MDG.MDG_FILIAL,
  MDG.MDG_CODEST,
  MDG.MDG_IPSIT,
  MDG.MDG_EMPSIT,
  MDG.MDG_TERSIT,
  MDG.MDG_CARSIT,
  MDG.MDG_CHQSIT,
  MDG.MDG_RCSIT
FROM MDG010 MDG
WHERE MDG.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.