Tabela GCP

Repositório de Respostas
11camposNome físicoGCP010(empresa 01)

Campos da tabela GCP

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

11
CampoDescrição
GCP_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
GCP_SOLICI
Caractere (C)(6)
Nr.Solicitac
Máscara:
@!
Contexto:
Real
GCP_CDQUES
Caractere (C)(6)
Cod. Quest.
Máscara:
@!
Contexto:
Real
GCP_GRPPER
Caractere (C)(6)
Cod.Grp.Perg
Máscara:
@!
Contexto:
Real
GCP_DGRPPE
Caractere (C)(40)
Des.Grp.Perg
Máscara:
@!
Contexto:
Real
GCP_CODPER
Caractere (C)(6)
Cod.Pergunta
Máscara:
@!
Contexto:
Real
GCP_DESPER
Caractere (C)(40)
Des.Pergunta
Máscara:
@!
Contexto:
Real
GCP_RESCAR
Caractere (C)(100)
Res.Caracter
Máscara:
@!
Contexto:
Real
GCP_RESNUM
Caractere (C)(20)
Res.Numerica
Máscara:
@!
Contexto:
Real
GCP_RESDAT
Data (D)(8)
Resp.Datas
Contexto:
Real
GCP_RESMEM
Memo (M)(10)
Resp.Memo
Contexto:
Real

SELECT de exemplo da tabela GCP

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
  GCP.GCP_FILIAL,
  GCP.GCP_SOLICI,
  GCP.GCP_CDQUES,
  GCP.GCP_GRPPER,
  GCP.GCP_DGRPPE,
  GCP.GCP_CODPER,
  GCP.GCP_DESPER,
  GCP.GCP_RESCAR
FROM GCP010 GCP
WHERE GCP.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.