Histórico Bloqueio Opcionais
A tabela BGT faz parte do sistema ERP Protheus da TOTVS e é utilizada para histórico bloqueio opcionais.
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 BGT 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 BGT, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | BGT |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | BGT990 |
| X2_NOME | Histórico Bloqueio Opcionais |
| X2_NOMESPA | Historial Bloqueo Opcionales |
| X2_NOMEENG | Option block history |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | N |
| X2_MODULO | 33 |
| 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_ | 1166 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BGT | 01 | BGT_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 19600 | 0 |
| BGT | 02 | BGT_MATRIC | C | 14 | 0 | Matricula | Matricula | Registration | Matricula | Matricula | Registration | @R !!!!.!!!!-!!!!!! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 19601 | 0 |
| BGT | 03 | BGT_NOMUSR | C | 70 | 0 | Usuario/Emp | Usuario/Emp | User/Company | Usuario/Empresa | Usuario/Empresa | User/Company | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | V | V | - | - | - | - | - | - | - | - | 034 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 19602 | 0 |
| BGT | 04 | BGT_TIPO | C | 1 | 0 | Tipo | Tipo | Type | Tipo | Tipo | Type | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | - | - | - | - | 0=Bloqueio;1=Desbloqueio | 0=Bloqueo;1=Desbloqueo | 0=Block;1=Unblock | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 19603 | 0 |
| BGT | 05 | BGT_DATA | D | 8 | 0 | Data | Fecha | Date | Data | Fecha | Date | @D | - | x x x x x x x x x x x x x x x x | dDataBase | - | 1 | x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 19604 | 0 |
| BGT | 06 | BGT_MOTBLO | C | 3 | 0 | Motivo | Motivo | Reason | Motivo | Motivo | Reason | @! | existCpo("BG1", PFldGetBGT("BGT_MOTBLO"), 1) | x x x x x x x x x x x x x x x x | - | BG1PLS | 1 | x | - | - | - | S | A | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 19605 | 0 |
| BGT | 07 | BGT_DESBLO | C | 25 | 0 | Descr.Motivo | Descr.Motivo | ReasonDescr. | Descricao | Descripcion | Description | @! | - | x x x x x x x x x x x x x x x x | If(Inclui," ",Posicione("BG1",1,xFilial("BGT")+BGT->BGT_MOTBLO,"BG1_DESBLO")) | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 19606 | 0 |
| BGT | 08 | BGT_USUOPE | C | 30 | 0 | Operador | Operador | Operator | Operador | Operador | Operator | @! | - | x x x x x x x x x x x x x x x x | cUserName | - | 1 | x | - | - | - | S | A | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 19607 | 0 |
| BGT | 09 | BGT_CODPRO | C | 4 | 0 | Cod. Produto | Cod. Product | Product Code | Cod.Produto Opcional | Cod.Producto Opcional | Optional Product Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 19608 | 0 |
| BGT | 10 | BGT_VERSAO | C | 3 | 0 | Versao | Version | Version | Versao | Version | Version | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 19609 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BGT | 1 | BGT_FILIAL+BGT_MATRIC+BGT_CODPRO+BGT_VERSAO+BGT_MOTBLO | Matricula + Cod. Produto + Versao + Motivo | Matricula + Cod. Product + Version + Motivo | Registration + Product Code + Version + Reason | S | - | - | S | 2 | 3 | - | 2827 | 0 |
Ela é utilizada para histórico bloqueio opcionais 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.