Resposta rápida
- Arquivo físico
GM8+ empresa, ex.:GM8010- Chave única
- não declarada no pacote
- Compartilhamento
- Compartilhado
- Estrutura
- 71 campos (14 virtuais), 13 índices, 0 gatilhos
Consultar no seu ambiente
Registros da tabelaSQL
SELECT TOP 100 GM8_FILIAL, GM8_DATAGE, GM8_HORAGE, GM8_FILAGE
FROM GM8010
WHERE D_E_L_E_T_ = ' 'Dicionário do seu ambienteSQL
SELECT X3_ORDEM, X3_CAMPO, X3_TITULO, X3_TIPO, X3_TAMANHO, X3_DECIMAL, X3_CONTEXT
FROM SX3010
WHERE X3_ARQUIVO = 'GM8'
AND D_E_L_E_T_ = ' '
ORDER BY X3_ORDEMCom quem GM8 se liga
Campos 71
Clique no campo para ver validação, inicializador, combo e gatilhos.
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Filial | Caractere | 2 | 0 | Real | — | — | Filial do Sistema | |
| ||||||||
| Data Agenda | Data | 8 | 0 | Real | — | — | Data de Agendamento | |
| ||||||||
| Hora Agenda | Caractere | 5 | 0 | Real | 99:99 | — | Hora de Agendamento | |
| ||||||||
| Filial Agend | Caractere | 2 | 0 | Real | — | SM0 | Filial para Agendamento | |
| ||||||||
| Prontuario | Caractere | 6 | 0 | Real | @! | GH1 | Prontuario do Paciente | |
| ||||||||
| Nome Pacien. | Caractere | 45 | 0 | Real | @! | GH4 | Nome do Paciente | |
| ||||||||
| Matricula | Caractere | 25 | 0 | Real | @! | — | Matricula do Plano | |
| ||||||||
| Fone Pacien. | Caractere | 13 | 0 | Real | @R (99)99999-9999 | GF1 | Telefone do Paciente | |
| ||||||||
| Cod. Plano | Caractere | 6 | 0 | Real | @! | GCM | Codigo do Plano | |
| ||||||||
| Desc Plano | Caractere | 30 | 0 | Virtual | @! | — | Descricao do Plano | |
| ||||||||
| Seq. Categ. | Caractere | 3 | 0 | Real | @! | GFV001 | Seq. Categoria | |
| ||||||||
| Desc. Categ. | Caractere | 30 | 0 | Virtual | @! | — | Descricao Categoria | |
| ||||||||
| Intervalo | Numérico | 3 | 0 | Real | 999 | — | Intervalo entre Sessoes | |
| ||||||||
| Num Sessoes | Numérico | 2 | 0 | Real | 99 | — | Numero de Sessoes | |
| ||||||||
| Protocolo | Caractere | 30 | 0 | Real | @! | GM8002 | Protocolo | |
| ||||||||
| Duracao | Caractere | 5 | 0 | Real | 99:99 | — | Duracao Procedimento | |
| ||||||||
| Cod. Setor | Caractere | 2 | 0 | Real | @! | — | Cod. Setor Marcacao | |
| ||||||||
| Cod. Proced. | Caractere | 10 | 0 | Real | @! | GA7 | Codigo do Procedimento | |
| ||||||||
| Desc Proced. | Caractere | 30 | 0 | Virtual | @! | — | Descricao do Procedimento | |
| ||||||||
| Profissional | Caractere | 7 | 0 | Real | @! | GM8 | CRM do Profissional | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Nome Profis. | Caractere | 40 | 0 | Virtual | @! | — | Nome do Profissional | |
| ||||||||
| Cod. Sala | Caractere | 6 | 0 | Real | @! | GF3 | Codigo Sala | |
| ||||||||
| Desc. Sala | Caractere | 40 | 0 | Virtual | @! | — | Descricao da Sala | |
| ||||||||
| Situacao | Caractere | 1 | 0 | Real | @! | — | Situacai da Agenda | |
| ||||||||
| Desc. Setor | Caractere | 30 | 0 | Virtual | @! | — | Descricao do Setor | |
| ||||||||
| Cod. Disp. | Caractere | 10 | 0 | Real | @! | — | Codigo da Disponibilidade | |
| ||||||||
| Desc Disponi | Caractere | 30 | 0 | Virtual | @! | — | Descricao Disponibilidade | |
| ||||||||
| Hora Inicial | Caractere | 5 | 0 | Virtual | 99:99 | — | Hora Inicial | |
| ||||||||
| Hora Final | Caractere | 5 | 0 | Virtual | 99:99 | — | Hora Final | |
| ||||||||
| Local Agend. | Caractere | 2 | 0 | Real | — | — | Local do Agendamento | |
| ||||||||
| Cod. Conv. | Caractere | 3 | 0 | Real | @! | — | Codigo do Convenio | |
| ||||||||
| Data Cad. | Data | 8 | 0 | Real | — | — | Data de Cadastro | |
| ||||||||
| Hora Cad. | Caractere | 5 | 0 | Real | @! | — | Hora de Cadastro | |
| ||||||||
| Usuario | Caractere | 25 | 0 | Real | @! | — | Usuario | |
| ||||||||
| Observacao | Memo | 10 | 0 | Real | — | — | Observacao do Agendamento | |
| ||||||||
| Origem Canc. | Caractere | 1 | 0 | Real | @9 | — | Origem do Cancelamento | |
| ||||||||
| Motivo | Caractere | 6 | 0 | Real | — | GM7 | Motivo Transferencia/Canc | |
| ||||||||
| Desc Motivo | Caractere | 40 | 0 | Virtual | @! | — | Descricao do Motivo | |
| ||||||||
| Atendimento | Caractere | 6 | 0 | Real | @! | — | Registro de atendimento | |
| ||||||||
| Descricao | Caractere | 40 | 0 | Virtual | @! | — | Descricao Cancelamento | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Tipo | Caractere | 1 | 0 | Real | — | — | Tipo de Agendamento | |
| ||||||||
| Cod Solicit. | Caractere | 6 | 0 | Real | @! | — | Codigo da solicitacao | |
| ||||||||
| Confirm. com | Caractere | 70 | 0 | Real | @! | — | Descricao Confirmacao | |
| ||||||||
| Data Conf. | Data | 8 | 0 | Real | — | — | Data da Confirmacao | |
| ||||||||
| Hora Conf. | Caractere | 5 | 0 | Real | @! | — | Hora da Confirmacao | |
| ||||||||
| Usuario Conf | Caractere | 25 | 0 | Real | @! | — | Usuario da Confirmacao | |
| ||||||||
| OK | Caractere | 2 | 0 | Real | — | — | OK | |
| ||||||||
| Cod. Age. | Caractere | 12 | 0 | Real | @! | — | Codigo do Agendamento | |
| ||||||||
| Exc. Transf. | Lógico | 1 | 0 | Real | — | — | Exclui na Transferencia | |
| ||||||||
| Log. Arq. | Caractere | 50 | 0 | Real | @! | — | Log. Arq. | |
| ||||||||
| Setor Origem | Caractere | 2 | 0 | Real | @! | — | Codigo Setor Origem | |
| ||||||||
| Cod Recurso | Caractere | 6 | 0 | Real | @! | — | Codigo Recurso | |
| ||||||||
| Cod Age Prin | Caractere | 12 | 0 | Real | @! | — | Cod. Agenda Principa | |
| ||||||||
| Id. Marca | Caractere | 2 | 0 | Real | — | — | Id. Marca | |
| ||||||||
| Seq. Age. | Caractere | 12 | 0 | Real | @! | — | Sequencia de Agendamento | |
| ||||||||
| Seq. Sessao | Caractere | 5 | 0 | Real | @! | — | Sequencia da Sessao Agen. | |
| ||||||||
| Nro.Seq.Fat. | Caractere | 6 | 0 | Real | @! | — | Nro Seq da Guia Faturada | |
| ||||||||
| Cod Sol APAC | Caractere | 6 | 0 | Real | @! | — | Codigo da Solic. de APAC | |
| ||||||||
| Codigo Motiv | Caractere | 6 | 0 | Real | @! | — | Codigo Motivo Agendamento | |
| ||||||||
| Descr Motiv | Caractere | 40 | 0 | Virtual | @! | — | Descricao Mot Agendamento | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Usuar. Forc | Caractere | 25 | 0 | Real | @! | — | Usuario Forcou Agendament | |
| ||||||||
| Num Orc Fat | Caractere | 6 | 0 | Real | @! | — | Numero Orcamento Faturam | |
| ||||||||
| Item Orcam | Caractere | 2 | 0 | Real | — | — | Item do Orcamento | |
| ||||||||
| Origem | Caractere | 6 | 0 | Real | @! | GD0 | Origem do paciente | |
| ||||||||
| Descricao | Caractere | 30 | 0 | Virtual | @! | — | Descricao origem paciente | |
| ||||||||
| Solic. mater | Caractere | 6 | 0 | Real | 999999 | — | Solicit. material | |
| ||||||||
| Promocao? | Caractere | 1 | 0 | Real | @! | — | Promocao Saude? | |
| ||||||||
| Cod Programa | Caractere | 6 | 0 | Real | @! | — | Codigo do Programa Saude | |
| ||||||||
| Cod. Evento | Caractere | 6 | 0 | Real | @! | — | Codigo do Evento | |
| ||||||||
| Descr Evento | Caractere | 40 | 0 | Virtual | @! | — | Descricao do Evento | |
| ||||||||
| Cod Sol Sess | Caractere | 6 | 0 | Real | @! | — | Cod Solic Sessão Convênio | |
| ||||||||
Nenhum campo corresponde ao filtro.
Índices 13
| Ordem | Chave | Descrição | Nickname | Pesquisa |
|---|---|---|---|---|
1 | GM8_FILIAL+GM8_CODAGE | Cod. Age. | — | S |
2 | GM8_FILIAL+GM8_FILAGE+DTOS(GM8_DATAGE) | Filial Agend + Data Agenda | — | S |
3 | GM8_FILIAL+GM8_FILAGE+GM8_CODPLA+GM8_CODCRM+GM8_CODPRO | Filial Agend + Cod. Plano + Profissional + Cod. Proced. | — | S |
4 | GM8_FILIAL+GM8_FILAGE+GM8_CODCRM+DTOS(GM8_DATAGE)+GM8_HORAGE+GM8_STATUS+GM8_CODREC | Filial Agend + Profissional + Data Agenda + Hora Agenda + Situacao + C | — | S |
5 | GM8_FILIAL+GM8_FILAGE+GM8_CODDIS+DTOS(GM8_DATAGE)+GM8_CODSAL+GM8_CODREC | Filial Agend + Cod. Disp. + Data Agenda + Cod. Sala + Cod Recurso | — | S |
6 | GM8_FILIAL+GM8_NOMPAC | Nome Pacien. | — | S |
7 | GM8_FILIAL+GM8_FILAGE+GM8_TIPAGE+GM8_STATUS+DTOS(GM8_DATAGE)+GM8_HORAGE | Filial Agend + Tipo + Situacao + Data Agenda + Hora Agenda | — | S |
8 | GM8_FILIAL+GM8_CODCRM+DTOS(GM8_DATAGE)+GM8_HORAGE | Profissional + Data Agenda + Hora Agenda | — | S |
9 | GM8_FILIAL+GM8_CODDIS+DTOS(GM8_DATAGE) | Cod. Disp. + Data Agenda | — | S |
A | GM8_FILIAL+GM8_REGGER+GM8_CODPRO+DTOS(GM8_DATAGE)+GM8_STATUS | Prontuario + Cod. Proced. + Data Agenda + Situacao | — | S |
B | GM8_FILIAL+GM8_DATAGE+GM8_STATUS | Data Agenda + Situacao | — | S |
C | GM8_FILIAL+GM8_AGDPRC | Cod Age Prin | — | N |
D | GM8_FILIAL+GM8_SEQAGE | Seq. Age. | — | S |
Procedência
Dicionário padrão do Protheus 12.1.2510, como a TOTVS distribui, sem customização de ambiente.