Tabela C8V

Cargos
17camposNome físicoC8V010(empresa 01)

Campos da tabela C8V

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

17
CampoDescrição
C8V_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
C8V_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
C8V_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
C8V_DTINI
Caractere (C)(6)
Per. Ini Vld
Máscara:
@R 99/9999
Contexto:
Real
Validação:
XFUNVldDt(,"C8V_DTFIN") .And. VLDEVTAB("C8V",5,FWFLDGET("C8V_CODIGO"),M->C8V_DTINI,FWFLDGET("C8V_DTFIN"),,1)
C8V_DTFIN
Caractere (C)(6)
Per. Fim Vld
Máscara:
@R 99/9999
Contexto:
Real
Validação:
XFUNVldDt("C8V_DTINI") .And. VLDEVTAB("C8V",5,FWFLDGET("C8V_CODIGO"),FWFLDGET("C8V_DTINI"),M->C8V_DTFIN,,1)
C8V_CODIGO
Caractere (C)(30)
Cod Cargo
Máscara:
@!
Contexto:
Real
Validação:
VldEvTab("C8V",5,M->C8V_CODIGO,FWFLDGET("C8V_DTINI"),FWFLDGET("C8V_DTFIN"),,1)
C8V_DESCRI
Caractere (C)(100)
Descr Cargo
Máscara:
@!
Contexto:
Real
C8V_VERANT
Caractere (C)(14)
Ver Ant Reg
Máscara:
@!
Contexto:
Real
C8V_STATUS
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 012349")
6 valores possíveis
  • 0Reg.Valido
  • 1Reg.Invalido
  • 2Reg.Transmitido
  • 3Reg.Transmitido com inconsistencia
  • 4Reg.Transmitido valido
  • 9Em Processamento
C8V_PROTUL
Caractere (C)(44)
Nº do Recibo
Máscara:
@!
Contexto:
Real
C8V_PROTPN
Caractere (C)(44)
Nº Recibo A
Máscara:
@!
Contexto:
Real
C8V_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
C8V_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
C8V_CODCBO
Caractere (C)(6)
Class Ocupac
Máscara:
@!
Contexto:
Real
Consulta F3:
C8Z
Validação:
xFunVldCmp("C8Z",,,,2,,.F.)
C8V_DESCCB
Caractere (C)(220)
Desc Clas Oc
Máscara:
@!
Contexto:
Virtual (não existe no banco)
C8V_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
C8V_LOGOPE
Caractere (C)(1)
Log Operacao
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • 1Incl.Integr
  • 2Incl.Manual
  • 3Incl.Integr+Alt.Integr
  • 4Incl.Integr+Alt.Manual
  • 5Incl.Manual+Alt.Integr
  • 6Incl.Manual+Alt.Manual

SELECT de exemplo da tabela C8V

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
  C8V.C8V_FILIAL,
  C8V.C8V_ID,
  C8V.C8V_VERSAO,
  C8V.C8V_DTINI,
  C8V.C8V_DTFIN,
  C8V.C8V_CODIGO,
  C8V.C8V_DESCRI,
  C8V.C8V_VERANT
FROM C8V010 C8V
WHERE C8V.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.