Tabela COI

LOG DOS PROCESSOS DE SC
26camposNome físicoCOI010(empresa 01)

Campos da tabela COI

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

26
CampoDescrição
COI_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
COI_NUMSC
Caractere (C)(6)
Num. SC
Máscara:
@!
Contexto:
Real
COI_ITEM
Caractere (C)(3)
Item SC
Máscara:
@
Contexto:
Real
COI_DTHSOL
Caractere (C)(19)
Dt. SC
Máscara:
@!
Contexto:
Real
COI_USOL
Caractere (C)(19)
Usuario SC
Máscara:
@!
Contexto:
Real
COI_DTHAPR
Caractere (C)(19)
Dt. Apro. SC
Máscara:
@!
Contexto:
Real
COI_UAPR
Caractere (C)(19)
Usuario APR
Máscara:
@!
Contexto:
Real
COI_DTHCOT
Caractere (C)(19)
Dt. Cotacao
Máscara:
@!
Contexto:
Real
COI_UCOT
Caractere (C)(19)
Usuario Cot.
Máscara:
@!
Contexto:
Real
COI_DTHANL
Caractere (C)(19)
Dt. Analise
Máscara:
@!
Contexto:
Real
COI_UANL
Caractere (C)(19)
Usuario ANL
Contexto:
Real
COI_DTHCTR
Caractere (C)(19)
Dt. Contrato
Máscara:
@!
Contexto:
Real
COI_UCTR
Caractere (C)(19)
Usuario CTR
Máscara:
@!
Contexto:
Real
COI_DOCSC
Caractere (C)(28)
Doc. SC
Máscara:
@!
Contexto:
Real
COI_DOCAPR
Caractere (C)(28)
Doc. Apr.
Máscara:
@!
Contexto:
Real
COI_DOCCOT
Caractere (C)(28)
Doc. Cotac.
Máscara:
@!
Contexto:
Real
COI_DOCANL
Caractere (C)(28)
Doc. Analise
Máscara:
@!
Contexto:
Real
COI_DOCCTR
Caractere (C)(28)
Doc. Cont.
Máscara:
@!
Contexto:
Real
COI_DTHEDT
Caractere (C)(19)
Dt. Edital
Máscara:
@!
Contexto:
Real
COI_UEDT
Caractere (C)(19)
Usuario EDT
Máscara:
@!
Contexto:
Real
COI_DOCEDT
Caractere (C)(28)
Doc. EDT
Máscara:
@!
Contexto:
Real
COI_DTHTRA
Caractere (C)(19)
Dt. Transf
Máscara:
@!
Contexto:
Real
COI_UTRA
Caractere (C)(19)
Usu. Transf
Máscara:
@!
Contexto:
Real
COI_DOCTRA
Caractere (C)(28)
Doc. Transf
Máscara:
@!
Contexto:
Real
COI_ITTRA
Caractere (C)(2)
Item Trf
Máscara:
@!
Contexto:
Real
COI_FILTRA
Caractere (C)(2)
Filial Trf
Contexto:
Real

SELECT de exemplo da tabela COI

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
  COI.COI_FILIAL,
  COI.COI_NUMSC,
  COI.COI_ITEM,
  COI.COI_DTHSOL,
  COI.COI_USOL,
  COI.COI_DTHAPR,
  COI.COI_UAPR,
  COI.COI_DTHCOT
FROM COI010 COI
WHERE COI.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.