Tabela C9J

Remuneração Outras Empresas
9camposNome físicoC9J010(empresa 01)

Campos da tabela C9J

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

9
CampoDescrição
C9J_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
C9J_ID
Caractere (C)(6)
ID
Máscara:
@!
C9J_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
C9J_TPINSC
Caractere (C)(1)
Tp.Ins.Out.E
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12") .AND. XVldTNrIns(M->C9J_TPINSC , FWFLDGET("C9J_NRINSC"))
2 valores possíveis
  • 1CNPJ
  • 2CPF
C9J_NRINSC
Caractere (C)(15)
Nr.Insc.Out.
Máscara:
@!
Contexto:
Real
Validação:
XVldTNrIns(FWFLDGET("C9J_TPINSC") ,M->C9J_NRINSC)
C9J_VLREMU
Numérico (N)(15,2)
Vlr.Remuner.
Máscara:
@E 999,999,999,999.99
Contexto:
Real
C9J_NOMEVE
Caractere (C)(5)
Nome Evento
Máscara:
@!
Contexto:
Virtual (não existe no banco)
C9J_CODCAT
Caractere (C)(6)
Cod. Categor
Máscara:
@!
Contexto:
Real
Consulta F3:
C87
C9J_DCODCA
Caractere (C)(220)
Des. Categor
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela C9J

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
  C9J.C9J_FILIAL,
  C9J.C9J_ID,
  C9J.C9J_VERSAO,
  C9J.C9J_TPINSC,
  C9J.C9J_NRINSC,
  C9J.C9J_VLREMU,
  C9J.C9J_CODCAT
FROM C9J010 C9J
WHERE C9J.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.