Tabela D3C

Operações ANP(SIMP)
6camposNome físicoD3C010(empresa 01)

Campos da tabela D3C

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

CampoDescrição
D3C_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
D3C_CDOPSI
Caractere (C)(7)
Cod Op. SIMP
Máscara:
9999999
Contexto:
Real
Validação:
ExistChav("D3C", M->D3C_CDOPSI,2)
Modo de edição (When):
DCLSMPV004()
D3C_DESCRI
Caractere (C)(80)
Descr. Oper.
Máscara:
@!
Contexto:
Real
D3C_TIPOPE
Caractere (C)(1)
Tipo Operac.
Contexto:
Real
4 valores possíveis
  • 1Nacional
  • 2Internacional
  • 3Estocagem
  • 4Controle
D3C_FINAL
Caractere (C)(40)
Final. Oper.
Máscara:
@!
Contexto:
Real
D3C_CLASSE
Caractere (C)(1)
Classe Oper.
Contexto:
Real
3 valores possíveis
  • 0Sem Movimentacao
  • 1Entrada
  • 2Saida

SELECT de exemplo da tabela D3C

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
  D3C.D3C_FILIAL,
  D3C.D3C_CDOPSI,
  D3C.D3C_DESCRI,
  D3C.D3C_TIPOPE,
  D3C.D3C_FINAL,
  D3C.D3C_CLASSE
FROM D3C010 D3C
WHERE D3C.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.