CAD. REGRA FILIAL FATURAMENTO
A tabela GHY faz parte do sistema ERP Protheus da TOTVS e é utilizada para cad. regra filial faturamento.
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 GHY 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 GHY, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GHY |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GHY990 |
| X2_NOME | CAD. REGRA FILIAL FATURAMENTO |
| X2_NOMESPA | ARCH. REGLA SUC. FACTURACION |
| X2_NOMEENG | INVOICING BRANCH RULE FILE |
| 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_ | 5063 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GHY | 01 | GHY_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do sistema | Sucursal del Sistema | Branch of System | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81526 | 0 |
| GHY | 02 | GHY_CODSEQ | C | 6 | 0 | Codigo | Codigo | Code | Codigo Sequencial | Codigo secuencial | Sequential code | @! | - | x x x x x x x x x x x x x x x x | GetSxENum('GHY', 'GHY_CODSEQ',,1) | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81527 | 0 |
| GHY | 03 | GHY_VIGENC | D | 8 | 0 | Vigencia | Vigencia | Validity | Data da vigencia | Fecha de vigencia | Validity date | @D | - | x x x x x x x x x x x x x x x x | dDataBase | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81528 | 0 |
| GHY | 04 | GHY_CODCON | C | 3 | 0 | Convenio | Convenio | Health. comp | Codigo do convenio | Codigo del convenio | Healthcare company code | @! | HS_VldABX() | x x x x x x x x x x x x x x x x | - | GA9 | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81529 | 0 |
| GHY | 05 | GHY_NOMCON | C | 40 | 0 | Descricao | Descripcion | Description | Descricao do convenio | Descripcion del convenio | Healthcare description | @! | - | x x x x x x x x x x x x x x x x | HS_IniPadr('GA9', 1, GHY->GHY_CODCON, 'GA9_NOME') | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_IniPadr('GA9', 1, GHY->GHY_CODCON, 'GA9_NOME') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81530 | 0 |
| GHY | 06 | GHY_FILFAT | C | 2 | 0 | Fil. Faturam | Suc. Factur. | Inv. Branch | Filial de Faturamento | Sucursal Facturacion | Invoicing Branch | - | - | x x x x x x x x x x x x x x x x | - | HSP005 | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81531 | 0 |
| GHY | 07 | GHY_NFIFAT | C | 40 | 0 | Descricao | Descripcion | Description | Descricao da filial fatur | Descripc suc. fact. | Invoicing branch descript | @! | - | x x x x x x x x x x x x x x x x | HS_DescFil('GHY->GHY_FILFAT', 'M0_NOME', .T.) | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81532 | 0 |
| GHY | 08 | GHY_CODPLA | C | 6 | 0 | Plano | Plan | Plan | Codigo do plano | Codigo del plan | Plan code | @! | HS_VldABX() | x x x x x x x x x x x x x x x x | - | GCM | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81533 | 0 |
| GHY | 09 | GHY_DESPLA | C | 30 | 0 | Descricao | Descripcion | Description | Descricao do Plano | Descripcion del Plan | Plan description | @! | - | x x x x x x x x x x x x x x x x | HS_IniPadr('GCM', 2, GHY->GHY_CODPLA, 'GCM_DESPLA') | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_IniPadr('GCM', 2, GHY->GHY_CODPLA, 'GCM_DESPLA') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81534 | 0 |
| GHY | 10 | GHY_CODLOC | C | 2 | 0 | Setor | Sector | Sector | Codigo do Setor | Codigo del Sector | Sector Code | @! | HS_VldABX() | x x x x x x x x x x x x x x x x | - | GCS | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81535 | 0 |
| GHY | 11 | GHY_NOMLOC | C | 40 | 0 | Descricao | Descripcion | Description | Descricao do setor | Descripcion del sector | Sector description | @! | - | x x x x x x x x x x x x x x x x | HS_IniPadr('GCS', 1, GHY->GHY_CODLOC, 'GCS_NOMLOC') | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_IniPadr('GCS', 1, GHY->GHY_CODLOC, 'GCS_NOMLOC') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81536 | 0 |
| GHY | 12 | GHY_CODTPG | C | 6 | 0 | Tp. Guia | Tipo Formul. | Form type | Tipo de Guia | Tipo de Formulario | Form type | @! | HS_VldABX() | x x x x x x x x x x x x x x x x | - | GCU | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81537 | 0 |
| GHY | 13 | GHY_DESTPG | C | 40 | 0 | Descricao | Descripcion | Description | Descricao do tipo de guia | Descripcion tipo de form. | Form type description | @! | - | x x x x x x x x x x x x x x x x | HS_IniPadr('GCU', 1, GHY->GHY_CODTPG, 'GCU_DESTPG') | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_IniPadr('GCU', 1, GHY->GHY_CODTPG, 'GCU_DESTPG') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81538 | 0 |
| GHY | 14 | GHY_USUINC | C | 15 | 0 | Usu. Cadastr | Usu. Registr | User Registr | Usuario Cadastro | Usuario Registro | User Register | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81539 | 0 |
| GHY | 15 | GHY_DATINC | D | 8 | 0 | Dat. Cadastr | Fecha Regist | Registr Date | Data Cadastro | Fecha Registro | Date of Registration | - | - | 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 | - | - | - | 81540 | 0 |
| GHY | 16 | GHY_HORINC | C | 5 | 0 | Hor. Cadastr | Hor.Registro | Registr Time | Hora de Cadastro | Hora de Registro | Time of Registration | 99:99 | - | x x x x x x x x x x x x x x x | Time() | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81541 | 0 |
| GHY | 17 | GHY_USUALT | C | 15 | 0 | Usu. Alterac | Usu. Modific | User Altertn | Usuario Alteracao | Usuario Modificacion | User Alteration | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81542 | 0 |
| GHY | 18 | GHY_DATALT | D | 8 | 0 | Dat. Alterac | Fch.Modifica | Date Altertn | Data de Alteracao | Fecha de Modificacion | Date of Alteration | - | - | 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 | - | - | - | 81543 | 0 |
| GHY | 19 | GHY_HORALT | C | 5 | 0 | Hor. Alterac | Hor.Modifica | Time Altertn | Hora Alteracao | Hora Modificacion | Time Altertn | 99:99 | - | x x x x x x x x x x x x x x x | Time() | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81544 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GHY | 1 | GHY_FILIAL+GHY_CODSEQ | Codigo | Codigo | Code | S | - | - | S | 2 | 3 | - | 12018 | 0 |
| GHY | 2 | GHY_FILIAL+GHY_CODCON+GHY_CODPLA+GHY_CODLOC+GHY_CODTPG+DTOS(GHY_VIGENC) | Convenio + Plano + Setor + Tp. Guia + Vigencia | Convenio + Plan + Sector + Tipo Formul. + Vigencia | Health. comp + Plan + Sector + Form type + Validity | S | - | - | S | 2 | 3 | - | 12019 | 0 |
Ela é utilizada para cad. regra filial faturamento 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.