Dicionário Protheus
Início

Tabela GMM no Protheus

Reservas Transferidas

O que é a tabela GMM no Protheus?

A tabela GMM faz parte do sistema ERP Protheus da TOTVS e é utilizada para reservas transferidas.

Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.

A tabela GMM possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.

Nesta página você pode consultar a estrutura completa da tabela GMM, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE GMM
X2_PATH \DATA\
X2_ARQUIVO GMM990
X2_NOME Reservas Transferidas
X2_NOMESPA Reservas Transferidas
X2_NOMEENG Reservations Transferred
X2_ROTINA -
X2_MODO E
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO -
X2_PYME S
X2_MODULO 51
X2_DISPLAY -
X2_SYSOBJ -
X2_USROBJ -
X2_POSLGT 1
X2_CLOB 2
X2_AUTREC 2
X2_TAMFIL 2
X2_TAMUN 0
X2_TAMEMP 0
X2_STAMP 2
X2_INSDT 2
D_E_L_E_T_ -
R_E_C_N_O_ 5167
R_E_C_D_E_L_ 0

Campos da Tabela GMM (30 campos)

X3_ARQUIVO X3_ORDEM X3_CAMPO X3_TIPO X3_TAMANHO X3_DECIMAL X3_TITULO X3_TITSPA X3_TITENG X3_DESCRIC X3_DESCSPA X3_DESCENG X3_PICTURE X3_VALID X3_USADO X3_RELACAO X3_F3 X3_NIVEL X3_RESERV X3_CHECK X3_TRIGGER X3_PROPRI X3_BROWSE X3_VISUAL X3_CONTEXT X3_OBRIGAT X3_VLDUSER X3_CBOX X3_CBOXSPA X3_CBOXENG X3_PICTVAR X3_WHEN X3_INIBRW X3_GRPSXG X3_FOLDER X3_PYME X3_CONDSQL X3_CHKSQL X3_IDXSRV X3_ORTOGRA X3_IDXFLD X3_TELA X3_PICBRV X3_AGRUP X3_POSLGT X3_MODAL X3_CHKSUM X3_ADDSUM D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
GMM 01 GMM_FILIAL C 2 0 Filial Sucursal Branch Filial do Sistema Sucursal del sistema Branch of the System - - x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N - - - - - - - - - - 033 - S - - N N N - - - 1 2 - - - 83051 0
GMM 02 GMM_FILAGE C 2 0 Filial Agend Filial Agend Branch Sched Filial para Agendamento Sucursal p/ Agendamiento Branch for scheduling - - x x x x x x x x x x x x x x x x - - 1 x x - - - S A R - - - - - - - - 033 - S - - N N N - - - 1 1 - - - 83052 0
GMM 03 GMM_CODAGE C 12 0 Cod. Age. Cod. Age. Sch. Cod. Codigo do Agendamento Codigo de Agendamiento Schedule Code @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83053 0
GMM 04 GMM_REGGER C 6 0 Prontuario Prontuario Dossier Prontuario do Paciente Prontuario del Paciente Patient dossier @! - x x x x x x x x x x x x x x x x - - 1 x x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83054 0
GMM 05 GMM_NOMPAC C 45 0 Nome Pacien. Nombre Pac. Patient Name Nome do Paciente Nombre del Paciente Patient Name @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83055 0
GMM 06 GMM_TELPAC C 13 0 Fone Pacien. Tel Pacien. Patient Phon Telefone do Paciente Telefono del Paciente Patient Telephone @R (99)99999-9999 - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83056 0
GMM 07 GMM_CODPRO C 10 0 Cod. Proced. Cod. Proced. Proced. Cod. Codigo do Procedimento Codigo del Procedimiento Procedure Code @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83057 0
GMM 08 GMM_DATAGE D 8 0 Data Agenda Fecha Agenda Date Sched Data do Agendamento Fecha del Agendamiento Schedule date @D - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83058 0
GMM 09 GMM_HORAGE C 5 0 Hora Agenda. Hora Agenda. Sched Time Hora do Agendamento Hora del Agendamiento Schedule Time 99:99 - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83059 0
GMM 10 GMM_HORAFI C 5 0 Hora Final Hora Final Final time Hora Final da Cirurgia Hora Final de la Cirugia Surgery final time 99:99 - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 83060 0
GMM 11 GMM_DATCAD D 8 0 Data Cad. Fecha Reg. File Dt Data do Cadastro Fecha del Registro File Date @D - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83061 0
GMM 12 GMM_HORCAD C 5 0 Horario Cad. Horario Cad. Regn Time Horario do Cadastramento Horario do Cadastramento Registration Time 99:99 - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83062 0
GMM 13 GMM_USUCAD C 25 0 Usuario Cad. Usuario Cad. User Reg. Usuario que Cadastrou Usuario que Cadastrou User who registered @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83063 0
GMM 14 GMM_CODCAN C 6 0 Cod. Cancel. Cod. Cancel. Cancel Cod Codigo do Cancelamento Codigo do Cancelamento Cancellation Code @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83064 0
GMM 15 GMM_DESCAN C 40 0 Mot. Cancel. Mot. Cancel. Cancel reas. Motivo de Cancelamento Motivo de Cancelaminto Cancellation reason @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A V - - - - - - - Posicione("GM7",1, xFilial("GM7") +GM9->GM9_CODCAN, "GM7_DESCAN") - - S - - N N N - - - 1 2 - - - 83065 0
GMM 16 GMM_DATCAN D 8 0 Data Cancel. Fecha Cancel Cancel Date Data do Cancelamento Fecha de Cancelamiento Cancellation date @D - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83066 0
GMM 17 GMM_HORCAN C 5 0 Hora Cancel. Hora Cancel. Cancel time Hora do Cancelamento Hora de Cancelamiento Cancellation time 99:99: - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83067 0
GMM 18 GMM_USUCAN C 25 0 Usuario Can. Usuario Can. User cenc. Usuario Cancelamento Usuario Cancelamiento User cancellation @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83068 0
GMM 19 GMM_NOVAGE C 12 0 Novo Agenda. Nuevo Agenda New Sched Novo Agendamento Nuevo Agendamiento New Schedule @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83069 0
GMM 20 GMM_CODPLA C 6 0 Cod. Plano Cod. Plan Plan Cod. Codigo do Plano Codigo del Plan Codigo do Plano @! - x x x x x x x x x x x x x x x x - - 1 x x - - - S A R - - - - - - - - - - S - - N N N - - - 1 1 - - - 83070 0
GMM 21 GMM_CODCRM C 7 0 Profissional Profesional Professional CRM do Profissional CRM del Profesional Professional CRM @! - x x x x x x x x x x x x x x x x - - 1 x x - - - S A R - - - - - - - - - - S - - N N N - - - 1 1 - - - 83071 0
GMM 22 GMM_CODLOC C 2 0 Cod. Setor Cod. Sector Sec.Code Cod. Setor Marcacao Cod. Sector Registro Appoint.Section Code @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S V R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83072 0
GMM 23 GMM_CODDIS C 10 0 Cod. Disp. Cod. Disp. Avail. Cod Codigo da Disponibilidade Codigo de Disponibilidad Availability Code @! - x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83073 0
GMM 24 GMM_SEQAGE C 12 0 Seq. Age. Sec. Age. Sch. Seq. Sequencia de Agendamento Secuencia de Agendamiento Scheduling Sequence - - x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 83074 0
GMM 25 GMM_CODPAT C 8 0 Codigo CID Codigo CID ICD Code Codigo CID Codigo CID ICD Code @! - x x x x x x x x x x x x x x x x - GAS 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 83075 0
GMM 26 GMM_PATOLO C 70 0 Patologia Patologia Pathology Patologia Patologia Pathology @! - x x x x x x x x x x x x x x x x If(!Inclui,Posicione("GAS",1,xFilial("GAS")+GMM->GMM_CODPAT,"GAS_PATOLO")," ") - 1 xxxxxx x - - - S V V - - - - - - - Posicione("GAS",1,xFilial("GAS")+GMM->GMM_CODPAT,"GAS_PATOLO") - - N - - N N N - - - 1 2 - - - 83076 0
GMM 27 GMM_MATRIC C 25 0 Matricula Matricula Registration Matricula Matricula Registration @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 83077 0
GMM 28 GMM_SEQREG C 12 0 Sequencial Secuencial Sequence Sequencial Transferencia Secuencial Transferencia Transfer Sequence @! - x x x x x x x x x x x x x x x x - - 1 xx - - - N A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 83078 0
GMM 29 GMM_LOGARQ C 50 0 Log. Arq. Log. Arch. File log Log. Arq. Log. Arch. File log @! - x x x x x x x x x x x x x x x HS_LOGARQ() - 1 xxxxxx x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 83079 0
GMM 30 GMM_SQCATP C 3 0 Seq. Categ. Sec. Categ. Categ. seq. Seq. Categoria do Plano Sec. Categoria de Plan Plan category sequence @! - x x x x x x x x x x x x x x x x - - 1 xx - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 83080 0

Índices da Tabela GMM (4 índices)

INDICE ORDEM CHAVE DESCRICAO DESCSPA DESCENG PROPRI F3 NICKNAME SHOWPESQ IX_VIRTUAL IX_VIRCUST D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
GMM 1 GMM_FILIAL+GMM_CODAGE Cod. Age. Cod. Age. Sch. Cod. S - - S 2 3 - 12236 0
GMM 2 GMM_FILIAL+GMM_CODCAN Cod. Cancel. Cod. Cancel. Cancel Cod S - - S 2 3 - 12237 0
GMM 3 GMM_FILIAL+GMM_REGGER Prontuario Prontuario Dossier S - - S 2 3 - 12238 0
GMM 4 GMM_FILIAL+GMM_SEQREG Sequencial Secuencial Sequence S - - S 2 3 - 12239 0

Perguntas frequentes

Para que serve a tabela GMM no Protheus?

Ela é utilizada para reservas transferidas dentro do sistema ERP Protheus.

Como consultar os campos da tabela GMM?

Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.

O que são os índices da tabela GMM?

Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.