Dados Adiantamento Reembolso
A tabela BKI faz parte do sistema ERP Protheus da TOTVS e é utilizada para dados adiantamento reembolso.
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 BKI 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 BKI, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | BKI |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | BKI990 |
| X2_NOME | Dados Adiantamento Reembolso |
| X2_NOMESPA | Datos anticipo reembolso |
| X2_NOMEENG | Data of Refund Advance |
| 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_ | 1286 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BKI | 01 | BKI_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 | - | - | - | 21274 | 0 |
| BKI | 02 | BKI_CODREE | C | 6 | 0 | Cd Reembolso | Cd Reembolso | Refund code | Codigo Reembolso | Codigo Reembolso | Refund code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21275 | 0 |
| BKI | 03 | BKI_CODTAB | C | 3 | 0 | Cod Tabela | Cod Tabla | Table code | Codigo da Tabela de Honor | Codigo Tabla Honorarios | Fee table code | @! | - | x x x x x x x x x x x x x x x x | Posicione("BA0",1,xFilial("BA0")+M->BKI_CODINT,"BA0_TBRFRE") | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 21276 | 0 |
| BKI | 04 | BKI_CODPRO | C | 16 | 0 | Cod Proced. | Cod Proced. | Proced. Code | Codigo Procedimento | Codigo Procedimiento | Procedure code | @! | ExistCpo("BA8", M->BKI_CODPRO+M->BKI_CODINT+M->BKI_CODTAB,4) | x x x x x x x x x x x x x x x x | - | BKIPLS | 1 | x | - | S | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 21277 | 0 |
| BKI | 05 | BKI_DESCRI | C | 50 | 0 | Descricao | Descripcion | Description | Descricao | Descripcion | Description | @! | - | x x x x x x x x x x x x x x x x | If(Inclui,"",Posicione("BA8",1,xFilial("BA8")+cCodInt+BKI->(BKI_CODTAB+BKI_CODPRO),"BA8_DESCRI")) | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21278 | 0 |
| BKI | 06 | BKI_QTD | N | 4 | 0 | Quantidade | Cantidad | Quantity | Quantidade | Cantidad | Quantity | 9999 | - | x x x x x x x x x x x x x x x x | 1 | - | 1 | x | - | S | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 21279 | 0 |
| BKI | 07 | BKI_VTOTPG | N | 15 | 2 | Valor Recibo | Valor Recibo | Receipt Vl. | Valor do recibo do User | Valor de recibo del User | User Receipt Value | @E 999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 21280 | 0 |
| BKI | 08 | BKI_CLASSE | C | 6 | 0 | Classe Proc. | Clase Proc. | Proced.Class | Classe Procedimento | Clase Procedimiento | Procedure class | @! | ExistCpo("BJE") | x x x x x x x x x x x x x x x x | - | BJFPLS | 1 | xxxxxx x | - | S | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21281 | 0 |
| BKI | 09 | BKI_DESCLA | C | 40 | 0 | Descr Classe | Descr Clase | Categ.Desc. | Descricao Classe | Descripcion Clase | Class description | @! | - | x x x x x x x x x x x x x x x x | If(Inclui,"",Posicione("BJE",1,xFilial("BJE")+BKI->BKI_CLASSE,"BJE_DESCRI")) | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21282 | 0 |
| BKI | 10 | BKI_VLRREM | N | 16 | 2 | Vl Reembolso | Vl Reembolso | RefundedAmnt | Vlr Reembolsado | Vlr Reembolsado | Refunded amount | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21283 | 0 |
| BKI | 11 | BKI_CODINT | 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 | - | - | - | 21284 | 0 |
| BKI | 12 | BKI_CODEMP | C | 4 | 0 | Grp/Empresa | Grp/Empresa | Grp/Company | Grupo | Grupo | Group | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21285 | 0 |
| BKI | 13 | BKI_MATRIC | C | 6 | 0 | Matricula | Matricula | Registration | Matricula | Matricula | Registration | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21286 | 0 |
| BKI | 14 | BKI_TIPREG | C | 2 | 0 | Tp. Registro | Tp. Registro | Record Type | TipReg | Tipo de Registro | Record Type | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21287 | 0 |
| BKI | 15 | BKI_SEQUEN | C | 3 | 0 | Sequencia | Secuencia | Sequence | Sequencia | Secuencia | Sequence | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21288 | 0 |
| BKI | 16 | BKI_CONCES | C | 1 | 0 | Concessao | Concesion | Concession | Concessao | Concesion | Concession | @! | Plsa995Con(M->BKI_CONCES) | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | A | R | - | - | 0=Nao;1=Sim | 0=No;1=Si | 0=No;1=Yes | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21289 | 0 |
| BKI | 17 | BKI_VLRCON | N | 16 | 2 | Vl Concessao | Vl Concesion | Concess.Amnt | Vlr Concessao | Vlr Concesion | Concession amount | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21290 | 0 |
| BKI | 18 | BKI_MOTIVO | C | 3 | 0 | Motivo | Motivo | Reason | Motivo do reembolso | Motivo de reembolso | Reason for refund | @! | ExistCpo("SX5","BH"+M->BKI_MOTIVO) | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | S | - | - | A | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21291 | 0 |
| BKI | 19 | BKI_MOTDES | C | 40 | 0 | Descr.Motivo | Descr.Motivo | Reas. Descr. | Descricao do motivo | Descripcion del motivo | Reason description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 21292 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BKI | 1 | BKI_FILIAL+BKI_CODINT+BKI_CODEMP+BKI_MATRIC+BKI_TIPREG+BKI_SEQUEN | Operadora + Grp/Empresa + Matricula + Tp. Registro + Sequencia | Operadora + Grp/Empresa + Matricula + Tp. Registro + Secuencia | Operator + Grp/Company + Registration + Record Type + Sequence | S | - | - | S | 2 | 3 | - | 3048 | 0 |
| BKI | 2 | BKI_FILIAL+BKI_CODPRO | Cod Proced. | Cod Proced. | Proced. Code | S | - | - | S | 2 | 3 | - | 3049 | 0 |
| BKI | 3 | BKI_FILIAL+BKI_CODREE | Cd Reembolso | Cd Reembolso | Refund code | S | - | - | S | 2 | 3 | - | 3050 | 0 |
Ela é utilizada para dados adiantamento reembolso 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
BKI_FILIAL,
BKI_CODREE,
BKI_CODTAB,
BKI_CODPRO,
BKI_DESCRI,
BKI_QTD,
BKI_VTOTPG,
BKI_CLASSE,
BKI_DESCLA,
BKI_VLRREM,
BKI_CODINT,
BKI_CODEMP,
BKI_MATRIC,
BKI_TIPREG,
BKI_SEQUEN,
BKI_CONCES,
BKI_VLRCON,
BKI_MOTIVO,
BKI_MOTDES
FROM BKI
WHERE
D_E_L_E_T_ = ' '
AND BKI_FILIAL = 'VALOR'
AND BKI_CODREE = 'VALOR'
AND BKI_CODTAB = 'VALOR'
AND BKI_CODPRO = 'VALOR'
AND BKI_DESCRI = 'VALOR'
AND BKI_QTD = 0
AND BKI_VTOTPG = 0
AND BKI_CLASSE = 'VALOR'
AND BKI_DESCLA = 'VALOR'
AND BKI_VLRREM = 0
AND BKI_CODINT = 'VALOR'
AND BKI_CODEMP = 'VALOR'
AND BKI_MATRIC = 'VALOR'
AND BKI_TIPREG = 'VALOR'
AND BKI_SEQUEN = 'VALOR'
AND BKI_CONCES = 'VALOR'
AND BKI_VLRCON = 0
AND BKI_MOTIVO = 'VALOR'
AND BKI_MOTDES = 'VALOR'