Resumo Opcional Faixa Etária
A tabela BPZ faz parte do sistema ERP Protheus da TOTVS e é utilizada para resumo opcional faixa etária.
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 BPZ 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 BPZ, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | BPZ |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | BPZ990 |
| X2_NOME | Resumo Opcional Faixa Etária |
| X2_NOMESPA | Resumen Opcional Rango Edad |
| X2_NOMEENG | Age group option summary |
| 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_ | 1443 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BPZ | 01 | BPZ_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del Sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 23668 | 0 |
| BPZ | 02 | BPZ_ANOMES | C | 6 | 0 | Mes/Ano | Mes/Ano | Month/Year | Mes/Ano referencia | Mes/Ano referencia | Reference Year/Month | @R 99/9999 | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | Trans(Right(BDZ->BDZ_ANOMES, 2) + Left(BDZ->BDZ_ANOMES, 4), "@R 99/9999") | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 23669 | 0 |
| BPZ | 03 | BPZ_CODOPE | C | 4 | 0 | Operadora | Operadora | Operator | Operadora | Operadora | Operator | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 23670 | 0 |
| BPZ | 04 | BPZ_CODPLA | C | 4 | 0 | Codigo Plano | Codigo Plan | Plan code | Codigo do Plano | Codigo del Plan | Plan code | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 23671 | 0 |
| BPZ | 05 | BPZ_VERPLA | C | 3 | 0 | Versao Prod. | Version Prod | Prod.Version | Versao do Produto Agregad | Version de Producto Agreg | Added Product version | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 23672 | 0 |
| BPZ | 06 | BPZ_IDADEI | N | 3 | 0 | Id. Inicial | Ed. Inicial | Initial age | Idade Inicial | Edad Inicial | Initial age | 999 | - | 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 | - | - | - | 23673 | 0 |
| BPZ | 07 | BPZ_IDADEF | N | 3 | 0 | Id. Final | Ed. Final | Final age | Idade Final | Edad Final | Final age | 999 | - | 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 | - | - | - | 23674 | 0 |
| BPZ | 08 | BPZ_TIPUSU | C | 1 | 0 | Tp. Usuario | Tp. Usuario | User type | Tipo de Usuario | Tipo de Usuario | User type | @! | - | x x x x x x x x x x x x x x x x | - | B47PLS | 1 | x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 23675 | 0 |
| BPZ | 09 | BPZ_TPMNT | C | 1 | 0 | Tp Registro | Tp Registro | Record type | Tipo de Registro | Tipo de Registro | Record type | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | - | - | - | - | 1=Incluido;2=Alterado;3=Excluido | 1=Incluido;2=Alterado;3=Borrado | 1=Added;2=Edited;3=Deleted | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 23676 | 0 |
| BPZ | 10 | BPZ_CODEMP | C | 4 | 0 | Cod. Empresa | Cod. Empresa | Company Code | Cod Empresa | Cod Empresa | Company Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 23677 | 0 |
| BPZ | 11 | BPZ_MATRIC | C | 6 | 0 | Matricula | Matricula | Registration | Matricula do Usuario | Matricula del Usuario | User Registration No. | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 23678 | 0 |
| BPZ | 12 | BPZ_TIPREG | C | 2 | 0 | Tp. Registro | Tp. Registro | Record Type | Tipo do Registro | Tipo de Registro | Record Type | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxxxxx x | - | - | - | - | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 23679 | 0 |
| BPZ | 13 | BPZ_DIGITO | C | 1 | 0 | Digito | Digito | Digit | Digito | Digito | Digit | 9 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 23680 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BPZ | 1 | BPZ_FILIAL+BPZ_CODOPE+BPZ_CODEMP+BPZ_MATRIC+BPZ_TIPUSU+BPZ_TIPREG+BPZ_DIGITO+BPZ_ANOMES+BPZ_CODPLA+BPZ_VERPLA | Operadora + Cod. Empresa + Matricula + Tp. Usuario + Tp. Registro + Di | Operadora + Cod. Empresa + Matricula + Tp. Usuario + Tp. Registro + Di | Operator + Company Code + Registration + User type + Record Type + Dig | S | - | - | S | 2 | 3 | - | 3349 | 0 |
Ela é utilizada para resumo opcional faixa etária 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
BPZ_FILIAL,
BPZ_ANOMES,
BPZ_CODOPE,
BPZ_CODPLA,
BPZ_VERPLA,
BPZ_IDADEI,
BPZ_IDADEF,
BPZ_TIPUSU,
BPZ_TPMNT,
BPZ_CODEMP,
BPZ_MATRIC,
BPZ_TIPREG,
BPZ_DIGITO
FROM BPZ
WHERE
D_E_L_E_T_ = ' '
AND BPZ_FILIAL = 'VALOR'
AND BPZ_ANOMES = 'VALOR'
AND BPZ_CODOPE = 'VALOR'
AND BPZ_CODPLA = 'VALOR'
AND BPZ_VERPLA = 'VALOR'
AND BPZ_IDADEI = 0
AND BPZ_IDADEF = 0
AND BPZ_TIPUSU = 'VALOR'
AND BPZ_TPMNT = 'VALOR'
AND BPZ_CODEMP = 'VALOR'
AND BPZ_MATRIC = 'VALOR'
AND BPZ_TIPREG = 'VALOR'
AND BPZ_DIGITO = 'VALOR'