Datas de Assembléias
A tabela VP5 faz parte do sistema ERP Protheus da TOTVS e é utilizada para datas de assembléias.
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 VP5 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 VP5, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | VP5 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | VP5990 |
| X2_NOME | Datas de Assembléias |
| X2_NOMESPA | Fechas de Asambleas |
| X2_NOMEENG | Meeting Dates |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | S |
| X2_MODULO | 14 |
| 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_ | 10614 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VP5 | 01 | VP5_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 | - | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 173512 | 0 |
| VP5 | 02 | VP5_CODGRU | C | 5 | 0 | Grupo | Grupo | Group | Codigo do Grupo | Codigo de Grupo | Code of Group | 99999 | FG_VALIDA("M->VP5_CODGRU","VP3TM->VP5_CODGRU*","M->VP5_DESGRU:= VP3->VP3_DESGRU").and.FG_NUMASS(M->VP5_CODGRU) | x x x xx x x x x x x x x x x x x x x | - | VP3 | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 173513 | 0 |
| VP5 | 03 | VP5_DESGRU | C | 30 | 0 | Descricao | Descripcion | Description | Descricao do Grupo | Descripcion de Grupo | Description of Group | @! | - | x x x xx x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("VP3",1,xFilial("VP3")+VP5->VP5_CODGRU,"VP3_DESGRU") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 173514 | 0 |
| VP5 | 04 | VP5_NUMASS | C | 3 | 0 | N.Assembleia | N.Asamblea | Meeting Nr | Numero da Assembleia | Numero de Asamblea | Number of Meeting | 999 | FG_STRZERO("M->VP5_NUMASS",3).and.FG_VALIDA("M->VP5_NUMASS","VP5F*").AND.VAL(M->VP5_NUMASS)>0 | x x x xx x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 173515 | 0 |
| VP5 | 05 | VP5_DATASS | D | 8 | 0 | Dt Assembl | Fc Asamblea | Dt Meeting | Data da Assembleia | Fecha de Asamblea | Date of Meeting | @D | - | x x x xx x x x x x x x x x x x x x | DDATABASE | - | 1 | x xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 173516 | 0 |
| VP5 | 06 | VP5_HORASS | N | 4 | 0 | Hr Assembl | Hr Asamblea | Time Meeting | Hora da Assembleia | Hora de Asamblea | Time of Meeting | @R 99:99 | Positivo().And.Val(right(strzero(M->VP5_HORASS,4),2)) < 60 .AND. VAL(left(strzero(M->VP5_HORASS,4),2)) < 24 | x x x xx x x x x x x x x x x x x x | - | - | 1 | xx xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 173517 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VP5 | 1 | VP5_FILIAL+VP5_CODGRU+VP5_NUMASS | Grupo + N.Assembleia | Grupo + N.Asamblea | Group + Meeting Nr | S | - | - | S | 2 | 3 | - | 25046 | 0 |
Ela é utilizada para datas de assembléias 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.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
VP5_FILIAL,
VP5_CODGRU,
VP5_DESGRU,
VP5_NUMASS,
VP5_DATASS,
VP5_HORASS
FROM VP5
WHERE
D_E_L_E_T_ = ' '
AND VP5_FILIAL = 'VALOR'
AND VP5_CODGRU = 'VALOR'
AND VP5_DESGRU = 'VALOR'
AND VP5_NUMASS = 'VALOR'
AND VP5_DATASS BETWEEN '20260401' AND '20260430'
AND VP5_HORASS = 0