Tabela Preços Materiais e Med
A tabela GCA faz parte do sistema ERP Protheus da TOTVS e é utilizada para tabela preços materiais e med.
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 GCA 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 GCA, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GCA |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GCA990 |
| X2_NOME | Tabela Preços Materiais e Med |
| X2_NOMESPA | Lista de Precios Materiales y |
| X2_NOMEENG | Material and Med. Price List T |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | N |
| 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_ | 4861 |
| R_E_C_D_E_L_ | 0 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GCA | 01 | GCA_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78619 | 0 |
| GCA | 02 | GCA_CODTAB | C | 6 | 0 | Cod. Tabela | Cod. Tabla | List Code | Codigo da Tabela de Preco | Codigo Tabla de Precios | Price List Code | - | Existchav('GCA',M->GCA_CODTAB) | x x x x x x x x x x x x x x x x | GETSX8NUM("GCA", "GCA_CODTAB") | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | INCLUI | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 78620 | 0 |
| GCA | 03 | GCA_DESCRI | C | 60 | 0 | Descricao | Descripcion | Description | Descricao da tabela | Descripcion de la tabla | List Description | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 78621 | 0 |
| GCA | 04 | GCA_TABATV | C | 1 | 0 | Tab. Ativa | Tab. Activa | Active List | Tabela ativa | Tabla activa | Active List | - | Pertence("01") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | 0=Nao;1=Sim | 0=No;1=Si | 0=No; 1=Yes | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78622 | 0 |
| GCA | 05 | GCA_DATGER | D | 8 | 0 | Data Geracao | Fecha Genera | Gener. Date | Data da Geracao da Tabela | Fecha Generacion Tabla | Table Generation Date | @D | - | x x x x x x x x x x x x x x x x | DDATABASE | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78623 | 0 |
| GCA | 06 | GCA_DATATU | D | 8 | 0 | Dat. Atualiz | Fech. Actual | Update Date | Data Ultima Atualizacao | Fecha Ultima Actualiz. | Last Update Date | @D | - | x x x x x x x x x x x x x x x x | DDATABASE | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78624 | 0 |
| GCA | 07 | GCA_TIPO | C | 1 | 0 | Tipo | Tipo | Type | tipo do produto | tipo de producto | Product type | @! | HS_VLDA81() | x x x x x x x x x x x x x x x x | "0" | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | 0=Materiais;1=Medicamentos;2=Restaurante/Frigobar | 0=Materiales;1=Medicamentos | 0=Materials;1=Medicines;2=Restaurante/Fridge | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 78625 | 0 |
| GCA | 08 | GCA_TAMFAT | N | 4 | 0 | tamanho fat. | tamano fact | Fact. Size | Tamanho do fator de divis | Tamano del facto de divis | Size of the div. factor | 9999 | - | 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 | - | - | - | 78626 | 0 |
| GCA | 09 | GCA_TAMCOD | N | 4 | 0 | tamanho cod. | tamano cod. | Code Size | tamanho do codigo | tamano de codigo | Code Size | 9999 | HS_VldA81() | 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 | - | - | - | 78627 | 0 |
| GCA | 10 | GCA_COLFAT | N | 4 | 0 | Col.Inicial | Col.Inicial | Initial Col | Coluna inicial | Columna inicial | Initial Column | 9999 | - | 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 | - | - | - | 78628 | 0 |
| GCA | 11 | GCA_COLINI | N | 4 | 0 | Col.Inicial | Col.Inicial | Initial Col | Coluna inicial | Columna inicial | Initial Column | 9999 | - | 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 | - | - | - | 78629 | 0 |
| GCA | 12 | GCA_NOMARQ | C | 50 | 0 | Arquivo Atu. | Archivo Act. | Updated File | Caminh.+Nome do Arq. Atu | Camino.+Nombre del Arch. | Path + Updated File Name | - | - | x x x x x x x x x x x x x x x x | - | GH3 | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78630 | 0 |
| GCA | 13 | GCA_TAMVLR | N | 4 | 0 | tamanho vlr | tamano val | Value Size | Tamanho do valor | tamano de valor | Value size | 9999 | HS_VldA81() | 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 | - | - | - | 78631 | 0 |
| GCA | 14 | GCA_QTDDEC | N | 2 | 0 | Qtd.Decimal | Cant Decimal | Total of dec | Qtde casa decimal | Cant. decimal | Total of decimal places | 99 | HS_VldA81() | x x x x x x x x x x x x x x x x | 2 | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78632 | 0 |
| GCA | 15 | GCA_TAMTIS | N | 4 | 0 | Taman. Tiss | Taman. Tiss | Tiss Size | Tamanho do Tiss | Tamano de Tiss | Tiss Size | 9999 | HS_VldA81() | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78633 | 0 |
| GCA | 16 | GCA_COLINV | N | 4 | 0 | Col.inicial | Col.inicial | Init. Column | coluna inicial valor | columna inicial valor | Value initial column | 9999 | - | 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 | - | - | - | 78634 | 0 |
| GCA | 17 | GCA_COLTIS | N | 4 | 0 | Col. Inicial | Col. Inicial | Initial Col. | Coluna Inicial TISS | Columna Inicial TISS | TISS Initial Column | 9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78635 | 0 |
| GCA | 18 | GCA_TAMLIN | N | 4 | 0 | Tam. Linhas | Tam. Lineas | Line Size | Tamanho de Linhas | Tamano de Lineas | Line Size | 9999 | - | x x x x x x x x x x x x x x x x | 0 | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78636 | 0 |
| GCA | 19 | GCA_LOGARQ | C | 50 | 0 | Log Arquivo | Log Archivo | File Log | Log de Atualizacäo do Arq | Log Actualizacion Archivo | File Log Update | - | - | x x x x x x x x x x x x x x x | HS_LOGARQ() | - | 1 | xxxxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78637 | 0 |
| GCA | 20 | GCA_TBTISS | C | 2 | 0 | Tabela Tiss | Tabla Tiss | Tiss Table | Código da Tabela Tiss | Código de Tabla Tiss | Code da Tabela Tiss | 99 | HS_VldA81() | x x x x x x x x x x x x x x x x | - | G24001 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78638 | 0 |
| GCA | 21 | GCA_DTBTIS | C | 30 | 0 | Desc Tab Tis | Desc Tab Tis | Tis Tb Desc | Descrição daTabela Tiss | Descripcion de Tabla Tiss | Description of Tiss Table | @! | - | x x x x x x x x x x x x x x x x | HS_IniPadR('G24', 1, GCA->GCA_TBTISS, 'G24_DESCRI') | - | 1 | x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_IniPadR('G24', 1, GCA->GCA_TBTISS, 'G24_DESCRI') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78639 | 0 |
| GCA | 22 | GCA_FVCDPR | C | 50 | 0 | Fun. Cd. Pr. | Fun. Cd. Pr. | Fun. Pr. Cd. | Função Vld. Cod. Proprio | Funcion. Val Cod Propio | Function Validate Prop. C | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 78640 | 0 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GCA | 1 | GCA_FILIAL+GCA_CODTAB | Cod. Tabela | Cod. Tabla | List Code | S | - | - | S | 2 | 3 | - | 11531 | 0 |
Ela é utilizada para tabela preços materiais e med dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.