Tabela MF5

IMPORTACAO – XML E-COMMERCE
20camposNome físicoMF5010(empresa 01)

Campos da tabela MF5

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

20
CampoDescrição
MF5_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
MF5_ECALIA
Caractere (C)(3)
Nome Alias
Contexto:
Real
MF5_ECIND
Caractere (C)(2)
Numero Ind
Máscara:
@!
MF5_ECCCHV
Caractere (C)(80)
Chave
Máscara:
@!
Contexto:
Real
MF5_ECVCHV
Caractere (C)(80)
Valor Chave
Máscara:
@!
Contexto:
Real
MF5_ECFLAG
Caractere (C)(1)
Flag
Contexto:
Real
2 valores possíveis
  • 1Ativo
  • 2Inativo
MF5_ECDATA
Data (D)(8)
Data
Contexto:
Real
MF5_ECHORA
Caractere (C)(8)
Hora
Máscara:
00:00:00
Contexto:
Real
MF5_ECXML
Memo (M)(10)
XML
Contexto:
Real
MF5_ECPEDI
Caractere (C)(15)
Ped.E-commer
Contexto:
Real
MF5_ECPEDC
Caractere (C)(15)
PedClie ecom
Contexto:
Real
MF5_ECPAGO
Caractere (C)(1)
Pgto E-Comme
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
MF5_ECDTEX
Caractere (C)(10)
Dt Exportac
Contexto:
Real
MF5_ECSEQ
Caractere (C)(15)
Seq Exportac
Contexto:
Real
MF5_ECPREF
Caractere (C)(3)
Prefixo
Contexto:
Real
MF5_ECTITU
Caractere (C)(9)
Titulo ecomm
Contexto:
Real
MF5_ECCONT
Caractere (C)(6)
Contato
Contexto:
Real
MF5_ECENDE
Caractere (C)(6)
Cd End Entre
Contexto:
Real
MF5_ECSTAT
Caractere (C)(3)
Status ecomm
Contexto:
Real
MF5_ECSTAX
Caractere (C)(3)
Status Copia
Contexto:
Real

SELECT de exemplo da tabela MF5

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
  MF5.MF5_FILIAL,
  MF5.MF5_ECALIA,
  MF5.MF5_ECIND,
  MF5.MF5_ECCCHV,
  MF5.MF5_ECVCHV,
  MF5.MF5_ECFLAG,
  MF5.MF5_ECDATA,
  MF5.MF5_ECHORA
FROM MF5010 MF5
WHERE MF5.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.