Tabela EK1

Capa do historico da DUE
52camposNome físicoEK1010(empresa 01)

Campos da tabela EK1

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

52
CampoDescrição
EK1_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
EK1_PROCES
Caractere (C)(20)
Proc Emb
Máscara:
@!
Contexto:
Real
EK1_NUMSEQ
Caractere (C)(3)
Seq Hitor
Máscara:
@!
Contexto:
Real
EK1_TIPDUE
Caractere (C)(1)
Tem NF?
Máscara:
@!
Contexto:
Real
Validação:
pertence('SN')
2 valores possíveis
  • 1Sim
  • 2Nao
EK1_NRODUE
Caractere (C)(14)
Nro DUE
Máscara:
@!
Contexto:
Real
EK1_URFDSP
Caractere (C)(7)
URF Despacho
Máscara:
@!
Contexto:
Real
EK1_RECALF
Caractere (C)(7)
Recinto Alf.
Máscara:
@!
Contexto:
Real
EK1_EMFRRC
Caractere (C)(3)
Tipo do Des.
Máscara:
@!
Contexto:
Real
EK1_FOREXP
Caractere (C)(4)
Forma Export
Máscara:
@!
Contexto:
Real
EK1_DESFOR
Caractere (C)(30)
Desc F. Expo
Máscara:
@!
Contexto:
Real
EK1_OBSFOR
Memo (M)(80)
Obs F Export
Contexto:
Real
EK1_SITESP
Caractere (C)(4)
Situacao Esp
Máscara:
@!
Contexto:
Real
EK1_DESSIT
Caractere (C)(30)
Desc Sit Esp
Máscara:
@!
Contexto:
Real
EK1_OBSSIT
Memo (M)(80)
Obs Sit Esp
Contexto:
Real
EK1_ESPTRA
Caractere (C)(4)
Caso Esp Tra
Máscara:
@!
Contexto:
Real
EK1_DESTRA
Caractere (C)(30)
Desc E Trans
Máscara:
@!
Contexto:
Real
EK1_OBSTRA
Memo (M)(80)
Obs.Caso Esp
Contexto:
Real
EK1_MOTDIS
Caractere (C)(4)
Motivo Dispe
Máscara:
@!
Contexto:
Real
EK1_FORN
Caractere (C)(6)
Cod Forneced
Máscara:
@!
Contexto:
Real
EK1_MOEDA
Caractere (C)(3)
Moeda
Máscara:
@!
Contexto:
Real
EK1_DESDIS
Caractere (C)(30)
Desc Disp NF
Máscara:
@!
Contexto:
Real
EK1_FOLOJA
Caractere (C)(2)
Loja do Forn
Máscara:
@!
Contexto:
Real
EK1_FORNDE
Caractere (C)(60)
Nome do Forn
Máscara:
@!
Contexto:
Real
EK1_CGC
Caractere (C)(14)
CNPJ/CPF For
Máscara:
@!
Contexto:
Real
EK1_NRORUC
Caractere (C)(35)
Nro RUC
Máscara:
@!
Contexto:
Real
EK1_FOREST
Caractere (C)(2)
Fornece EST
Máscara:
@!
Contexto:
Real
EK1_INCOTE
Caractere (C)(3)
Incoterm
Máscara:
@!
Contexto:
Real
EK1_FOREND
Caractere (C)(60)
Endereco For
Máscara:
@!
Contexto:
Real
EK1_IMPORT
Caractere (C)(6)
Cod. Import
Máscara:
@!
Contexto:
Real
EK1_IMLOJA
Caractere (C)(2)
Loja Import
Máscara:
@!
Contexto:
Real
EK1_IMPODE
Caractere (C)(60)
Nome Import
Máscara:
@!
Contexto:
Real
EK1_PAISDU
Caractere (C)(2)
Cod Pais DUE
Máscara:
@!
Contexto:
Real
EK1_ENDIMP
Caractere (C)(100)
End Import
Máscara:
@!
Contexto:
Real
EK1_PAISIM
Caractere (C)(2)
Pais Import
Máscara:
@!
Contexto:
Real
EK1_ENQCOD
Caractere (C)(5)
Cod Enquad1
Máscara:
@!
Contexto:
Real
EK1_ENQCO1
Caractere (C)(5)
Cod enquad2
Máscara:
@!
EK1_ENQCO2
Caractere (C)(5)
Cod Enquad 3
Máscara:
@!
Contexto:
Real
EK1_ENQCO3
Caractere (C)(5)
Cod Enquad 4
Máscara:
@!
Contexto:
Real
EK1_VALCOM
Numérico (N)(15,4)
Comissao
Máscara:
@E 9,999,999,999.9999
Contexto:
Real
EK1_TOTFOB
Numérico (N)(15,2)
Total FOB
Máscara:
@E 999,999,999,999.99
Contexto:
Real
EK1_OBSPED
Memo (M)(60)
Obs.Doctos
Contexto:
Real
EK1_RESPDE
Caractere (C)(14)
CNPJ Res Des
Máscara:
@R 99.999.999/9999-99
Contexto:
Real
EK1_LATDES
Numérico (N)(11,7)
Latitude Des
Máscara:
@E 999.9999999
Contexto:
Real
EK1_LONDES
Numérico (N)(11,7)
Longitud Des
Máscara:
@E 999.9999999
Contexto:
Real
EK1_ENDDES
Caractere (C)(240)
End. Desp.
Contexto:
Real
EK1_RESPON
Caractere (C)(35)
Analist Resp
Máscara:
@!
Contexto:
Real
EK1_EMAIL
Caractere (C)(40)
Email Analis
Máscara:
@!
Contexto:
Real
EK1_FONE
Caractere (C)(60)
Tel Analista
Contexto:
Real
EK1_JUSRET
Memo (M)(80)
Just. Retif.
Contexto:
Real
EK1_URFENT
Caractere (C)(7)
URF Entrega
Máscara:
@R 9999999
Contexto:
Real
EK1_RECEMB
Caractere (C)(7)
Rec.Alf.Emb.
Contexto:
Real
EK1_ENQCOX
Caractere (C)(5)
Enq.DrawBack
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela EK1

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
  EK1.EK1_FILIAL,
  EK1.EK1_PROCES,
  EK1.EK1_NUMSEQ,
  EK1.EK1_TIPDUE,
  EK1.EK1_NRODUE,
  EK1.EK1_URFDSP,
  EK1.EK1_RECALF,
  EK1.EK1_EMFRRC
FROM EK1010 EK1
WHERE EK1.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.