Tabela C90

Horários/Turnos de Trabalho
25camposNome físicoC90010(empresa 01)

Campos da tabela C90

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

25
CampoDescrição
C90_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
C90_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
C90_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
C90_DTINI
Caractere (C)(6)
Per Ini Vld
Máscara:
@R 99/9999
Contexto:
Real
Validação:
XFUNVldDt(,"C90_DTFIN") .And. VLDEVTAB("C90",4,FWFLDGET("C90_CODIGO"),M->C90_DTINI,FWFLDGET("C90_DTFIN"),,1)
C90_DTFIN
Caractere (C)(6)
Per. Fim Vld
Máscara:
@R 99/9999
Contexto:
Real
Validação:
XFUNVldDt("C90_DTINI") .And. VLDEVTAB("C90",4,FWFLDGET("C90_CODIGO"),FWFLDGET("C90_DTINI"),M->C90_DTFIN,,1)
C90_CODIGO
Caractere (C)(30)
Cod Turno
Máscara:
@!
Contexto:
Real
Validação:
VldEvTab("C90",4,M->C90_CODIGO,FWFLDGET("C90_DTINI"),FWFLDGET("C90_DTFIN"),,1)
C90_DESCRI
Caractere (C)(220)
Descr Turno
Máscara:
@!
C90_HRENT
Caractere (C)(4)
Hora Entrada
Máscara:
@R 99:99
Contexto:
Real
Validação:
xFunVldHor("C90->C90_HRENT")
C90_HRSAI
Caractere (C)(4)
Hora Saida
Máscara:
@R 99:99
Contexto:
Real
Validação:
xFunVldHor("C90->C90_HRSAI")
C90_DURJOR
Caractere (C)(4)
Dur. Jornada
Máscara:
@R 9999
Contexto:
Real
C90_TPJORN
Caractere (C)(2)
Tp. Jornada
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 0001020399")
5 valores possíveis
  • 00Normal
  • 01Escala12x36
  • 02Escala24x72
  • 03Turno de Revezamento
  • 99Outros
C90_DTPJOR
Caractere (C)(100)
Desc.Tp.Jorn
Máscara:
@!
Contexto:
Virtual (não existe no banco)
C90_TPINT
Caractere (C)(1)
Tp Intervalo
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 012")
3 valores possíveis
  • 0Sem Intevalo
  • 1Intervalo em Horario Fixo
  • 2Intervalo em Horario Variavel
C90_DURINT
Caractere (C)(3)
Dur Interv
Máscara:
@!
Contexto:
Real
C90_DELENT
Caractere (C)(3)
Delta Ent.
Máscara:
@R 999
Contexto:
Real
C90_DELSAI
Caractere (C)(3)
Delta Sai.
Máscara:
@R 999
Contexto:
Real
C90_VERANT
Caractere (C)(14)
Ver Ant Reg
Máscara:
@!
Contexto:
Real
C90_STATUS
Caractere (C)(1)
Status reg.
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
C90_PROTUL
Caractere (C)(44)
Nº do Recibo
Máscara:
@!
Contexto:
Real
C90_PROTPN
Caractere (C)(44)
Nº Recibo A
Máscara:
@!
Contexto:
Real
C90_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
C90_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
C90_PERFLH
Caractere (C)(1)
Flex.Horario
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
C90_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
C90_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 C90

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
  C90.C90_FILIAL,
  C90.C90_ID,
  C90.C90_VERSAO,
  C90.C90_DTINI,
  C90.C90_DTFIN,
  C90.C90_CODIGO,
  C90.C90_DESCRI,
  C90.C90_HRENT
FROM C90010 C90
WHERE C90.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.