Resumo Geração da ANS (SIP)
A tabela BDZ faz parte do sistema ERP Protheus da TOTVS e é utilizada para resumo geração da ans (sip).
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 BDZ 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 BDZ, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | BDZ |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | BDZ990 |
| X2_NOME | Resumo Geração da ANS (SIP) |
| X2_NOMESPA | Resumen p/Generacion de ANS |
| X2_NOMEENG | Summary for ANS generation |
| 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_ | 1074 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BDZ | 01 | BDZ_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 | - | - | - | 17253 | 0 |
| BDZ | 02 | BDZ_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 | - | - | - | 17254 | 0 |
| BDZ | 03 | BDZ_ANOMES | C | 6 | 0 | Mes/Ano | Mes/Ano | Month/Year | Mes/Ano referencia | Mes/Ano referencia | Reference month/year | @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 | - | - | - | 17255 | 0 |
| BDZ | 04 | BDZ_GRUGEN | C | 4 | 0 | Gr Gerencial | Gr.Gestion | Mngrl.Grp. | Grupo Gerencial | Grupo de Gestion | Managerial group | @! | - | 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 | - | - | - | 17256 | 0 |
| BDZ | 05 | BDZ_TIPPLA | C | 1 | 0 | Plano | Plan | Plan | Plano | Plan | Plan | @! | - | 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 | - | - | - | 17257 | 0 |
| BDZ | 06 | BDZ_GRUBEN | C | 1 | 0 | Grupo Benef | Grupo Benef | Benef. group | Grupo de Beneficiarios | Grupo de Beneficiarios | Beneficiaries group | @! | - | 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 | - | - | - | 17258 | 0 |
| BDZ | 07 | BDZ_CODIGO | C | 7 | 0 | Codigo | Codigo | Code | Codigo | Codigo | Code | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxxxxx x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 17259 | 0 |
| BDZ | 08 | BDZ_CODPSA | C | 16 | 0 | Cod.Tab.Pad. | Cod.Tab.Est. | StndrTbCode | Codigo Tabela Padrao | Codigo Tabla estandar | Standard table 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 | - | - | - | 17260 | 0 |
| BDZ | 09 | BDZ_QTDBEN | N | 8 | 0 | Qtd Benef | Cant Benef | Benef. Qty. | Qtd de Beneficiarios | Ctd.de Beneficiarios | Number of beneficiaries | @E 9999.9999 | - | 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 | - | - | - | 17261 | 0 |
| BDZ | 10 | BDZ_TXMORT | N | 5 | 0 | Taxa Mort | Tasa Mort. | MortalityRt. | Taxa Mortalidade Materna | Ts.Mortalidad Materna | Mother mortality rate | @E 99,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 | - | - | - | 17262 | 0 |
| BDZ | 11 | BDZ_CFMORT | N | 5 | 0 | Coef Mort | Coef.Mort. | MortalityQt. | Coef Mortalidade Materna | Coef.Mortalidad Materna | Mother mortality quotient | @E 99,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 | - | - | - | 17263 | 0 |
| BDZ | 12 | BDZ_VIDAS | N | 11 | 2 | Vidas | Vidas | Lives | Numero de Vidas do Evento | Cantidad Vidas del Evento | Event's number of lives | @E 99,999,999.99 | - | 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 | - | - | - | 17264 | 0 |
| BDZ | 13 | BDZ_EVENTO | N | 7 | 0 | Nro Proc. | Cant.Procedi | Nbr.of Proc. | Numero de Procedimentos | Cantidad de Procedimiento | Number of procedures | @E 9,999,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 | - | - | - | 17265 | 0 |
| BDZ | 14 | BDZ_CUSTO | N | 11 | 2 | Tot Despesas | Total Gastos | Exp. total | Total das Despesas | Total de Gastos | Expenses total | @E 99,999,999.99 | - | 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 | - | - | - | 17266 | 0 |
| BDZ | 15 | BDZ_RECUPE | N | 11 | 2 | Rec.Ind.Ass. | Rec.Ind.Asis | Rec.Ind.Ass. | Rec.Indenizacao Assist. | Rec.Indemnizacion Asis. | Rec.Indemnificat. Assist. | @E 99,999,999.99 | - | 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 | - | - | - | 17267 | 0 |
| BDZ | 16 | BDZ_STATUS | C | 1 | 0 | Status | Estatus | Status | Status | Estatus | Status | ! | - | 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 | - | - | - | 17268 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BDZ | 1 | BDZ_FILIAL+BDZ_CODOPE+BDZ_GRUGEN+BDZ_CODIGO+BDZ_CODPSA+BDZ_ANOMES | Operadora + Gr Gerencial + Codigo + Cod.Tab.Pad. + Mes/Ano | Operadora + Gr.Gestion + Codigo + Cod.Tab.Est. + Mes/Ano | Operator + Mngrl.Grp. + Code + StndrTbCode + Month/Year | S | - | - | S | 2 | 3 | - | 2558 | 0 |
| BDZ | 2 | BDZ_FILIAL+BDZ_CODOPE+BDZ_ANOMES+BDZ_GRUGEN+BDZ_CODIGO+BDZ_CODPSA | Operadora + Mes/Ano + Gr Gerencial + Codigo + Cod.Tab.Pad. | Operadora + Mes/Ano + Gr.Gestion + Codigo + Cod.Tab.Est. | Operator + Month/Year + Mngrl.Grp. + Code + StndrTbCode | S | - | - | S | 2 | 3 | - | 2559 | 0 |
| BDZ | 3 | BDZ_FILIAL+BDZ_CODOPE+BDZ_ANOMES+BDZ_GRUGEN+BDZ_TIPPLA+BDZ_GRUBEN+BDZ_CODIGO+BDZ_CODPSA | Operadora + Mes/Ano + Gr Gerencial + Plano + Grupo Benef + Codigo + Co | Operadora + Mes/Ano + Gr.Gestion + Plan + Grupo Benef + Codigo + Cod.T | Operator + Month/Year + Mngrl.Grp. + Plan + Benef. group + Code + Stnd | S | - | - | S | 2 | 3 | - | 2560 | 0 |
Ela é utilizada para resumo geração da ans (sip) 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
BDZ_FILIAL,
BDZ_CODOPE,
BDZ_ANOMES,
BDZ_GRUGEN,
BDZ_TIPPLA,
BDZ_GRUBEN,
BDZ_CODIGO,
BDZ_CODPSA,
BDZ_QTDBEN,
BDZ_TXMORT,
BDZ_CFMORT,
BDZ_VIDAS,
BDZ_EVENTO,
BDZ_CUSTO,
BDZ_RECUPE,
BDZ_STATUS
FROM BDZ
WHERE
D_E_L_E_T_ = ' '
AND BDZ_FILIAL = 'VALOR'
AND BDZ_CODOPE = 'VALOR'
AND BDZ_ANOMES = 'VALOR'
AND BDZ_GRUGEN = 'VALOR'
AND BDZ_TIPPLA = 'VALOR'
AND BDZ_GRUBEN = 'VALOR'
AND BDZ_CODIGO = 'VALOR'
AND BDZ_CODPSA = 'VALOR'
AND BDZ_QTDBEN = 0
AND BDZ_TXMORT = 0
AND BDZ_CFMORT = 0
AND BDZ_VIDAS = 0
AND BDZ_EVENTO = 0
AND BDZ_CUSTO = 0
AND BDZ_RECUPE = 0
AND BDZ_STATUS = 'VALOR'