Tabela SK5

Registros de SLA correntes
22camposNome físicoSK5010(empresa 01)

Campos da tabela SK5

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

22
CampoDescrição
K5_FILIAL
Caractere (C)(2)
Filial
K5_CODIGO
Caractere (C)(6)
Registro SLA
Máscara:
999999
Contexto:
Real
K5_ITEM
Caractere (C)(6)
Item Reg SLA
Máscara:
999999
Contexto:
Real
K5_CHAVE
Caractere (C)(6)
ID do SLA
Contexto:
Real
K5_OBS
Memo (M)(10)
Observ.
Contexto:
Real
K5_DATA
Data (D)(8)
Data Criacao
Contexto:
Real
K5_HORA
Caractere (C)(8)
Hora Criacao
Máscara:
99:99:99
Contexto:
Real
K5_DTEXPIR
Data (D)(8)
Data Expir.
Contexto:
Real
K5_HREXPIR
Caractere (C)(8)
Hora Expir.
Máscara:
99:99:99
Contexto:
Real
K5_DTENCER
Data (D)(8)
Data Encerr.
Contexto:
Real
K5_HRENCER
Caractere (C)(8)
Hora Encerr.
Máscara:
99:99:99
Contexto:
Real
K5_DTATUA
Data (D)(8)
Data Atualiz
Contexto:
Real
K5_HRATUA
Caractere (C)(8)
Hora Atualiz
Máscara:
99:99:99
Contexto:
Real
K5_SEVERID
Numérico (N)(3)
Nivel Sever.
Contexto:
Real
K5_CODSLA
Caractere (C)(6)
Cod. SLA
Contexto:
Real
K5_CODRESP
Caractere (C)(6)
Cod. Respons
Contexto:
Real
K5_CODANT
Caractere (C)(6)
Reg. Origem
Contexto:
Real
K5_STATUS
Caractere (C)(1)
Status
Contexto:
Real
3 valores possíveis
  • 0Nao notificado
  • 1Notificado
  • 2Encerrado
K5_CODBLK
Caractere (C)(50)
Acao p/ SLA
Contexto:
Real
K5_PAUSED
Lógico (L)(1)
Pausado?
Contexto:
Real
K5_PAUSEDT
Numérico (N)(15,2)
Tempo pausa
Contexto:
Real
K5_SEVE
Caractere (C)(3)
Nivel Sever.
Contexto:
Real

SELECT de exemplo da tabela SK5

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
  SK5.K5_FILIAL,
  SK5.K5_CODIGO,
  SK5.K5_ITEM,
  SK5.K5_CHAVE,
  SK5.K5_OBS,
  SK5.K5_DATA,
  SK5.K5_HORA,
  SK5.K5_DTEXPIR
FROM SK5010 SK5
WHERE SK5.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.