Guia Reemb Intercambio - Itens
A tabela B7R faz parte do sistema ERP Protheus da TOTVS e é utilizada para guia reemb intercambio - itens.
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 B7R 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 B7R, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | B7R |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | B7R990 |
| X2_NOME | Guia Reemb Intercambio - Itens |
| X2_NOMESPA | Form Reemb Intercambio-Ítems |
| X2_NOMEENG | Exchange Refund Form - Items |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | B7R_FILIAL+B7R_CODBRJ+B7R_SEQGUI+B7R_CODPAD+B7R_CODPRO |
| 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_ | 852 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B7R | 01 | B7R_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 | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12431 | 0 |
| B7R | 02 | B7R_CODBRJ | C | 8 | 0 | Cód.Import. | Cód.Import. | Import Code | Código Importação | Código importación | Import Code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12432 | 0 |
| B7R | 03 | B7R_SEQGUI | C | 6 | 0 | Seq.Guia | Sec.Form | Seq. Form | Sequencial Guia | Secuencial formulario | Sequential Form | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12433 | 0 |
| B7R | 04 | B7R_NRSEQ | C | 8 | 0 | Seq.Arquiv | Sec.Archiv | File Seq. | Número Seq.Arquivo | Número Sec.Archivo | File Seq. Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12434 | 0 |
| B7R | 05 | B7R_CODPAD | C | 2 | 0 | Cd.Tp.Tabela | Cd.Tp.Tabla | Table Tp Cd | Cód Tipo Tabela | Cód Tipo tabla | Table Type Code | @! | - | x x x x x x x x x x x x x x x x | - | B41PLS | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12435 | 0 |
| B7R | 06 | B7R_CODPRO | C | 16 | 0 | Cd.Proc. | Cd.Proc. | Proc. Cd. | Código Procedimento | Código procedimiento | Procedure Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12436 | 0 |
| B7R | 07 | B7R_DESPRO | C | 50 | 0 | Desc. Proc. | Desc. Proc. | Proc. Desc. | Descrição Procedimento | Descrip. Procedimiento | Procedure Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12437 | 0 |
| B7R | 08 | B7R_QTDAPR | N | 9 | 2 | Qtd Apresen. | Cant Presen | Pres. Qty | Qtd Apresentada | Cant. Presentada | Presented Quantity | @E 999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12438 | 0 |
| B7R | 09 | B7R_VLRDIF | N | 16 | 2 | Valor Dif. | Valor Dif. | Dif. Value | Valor Diferença | Valor diferencia | Difference Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12439 | 0 |
| B7R | 10 | B7R_VLRSER | N | 16 | 2 | Valor Serv. | Valor Serv. | Serv. Value | Valor Serviço | Valor servicio | Service Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12440 | 0 |
| B7R | 11 | B7R_VLRBPG | N | 16 | 2 | Valor Cont. | Valor Cont. | Contr. Value | Valor Contratado | Valor contratado | Contract Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12441 | 0 |
| B7R | 12 | B7R_VLRGLO | N | 16 | 2 | Valor Glosa | Valor glosa | Disal. Value | Valor Glosa | Valor glosa | Disallowance Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12442 | 0 |
| B7R | 13 | B7R_VLRPNE | N | 16 | 2 | Vlr.Pag.Neg | Val.Pag.Neg | Neg.Paym.Val | Valor Pag. Negociado | Valor Pag. Negociado | Negotiated Paym. Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12443 | 0 |
| B7R | 14 | B7R_VLRGNE | N | 16 | 2 | Vlr.Glo.Neg | Val.Glo.Neg | Neg.Dis. Val | Valor Glosa Negociada | Valor glosa negociada | Negotiated Disall. Value | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12444 | 0 |
| B7R | 15 | B7R_SIGEXE | C | 7 | 0 | Sigla Exec. | Sigla Ejec. | Exec. Abbrev | Sigla Executante | Sigla ejecutante | Executing Abbreviation | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12445 | 0 |
| B7R | 16 | B7R_REGEXE | C | 15 | 0 | C.R. Execut. | C.R. Ejecut. | Exec. C.R. | C.R Executante | C.R Ejecutante | Executing C.R. | @R !!!!!!!!!!!!!!! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12446 | 0 |
| B7R | 17 | B7R_ESTEXE | C | 2 | 0 | UF execut. | E/P/R Ejecu | Exec. State | Est. Executante | Est/Prov/Reg Ejecutante | Executing State | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12447 | 0 |
| B7R | 18 | B7R_NOMEXE | C | 40 | 0 | Executante | Ejecutante | Executor | Executante | Ejecutante | Executor | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12448 | 0 |
| B7R | 19 | B7R_CONPRE | C | 3 | 0 | Pref Tit Con | Pref Tít Con | Con Bill Pre | Pref. Título Contestação | Prefijo titulo Contest. | Contest. Bill Prefix | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12449 | 0 |
| B7R | 20 | B7R_CONTIT | C | 9 | 0 | Núm Tit Cont | Nº Tít Cont | Con Bill Num | Número Titulo Contestação | Nº Título Contestación | Contest. Bill Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12450 | 0 |
| B7R | 21 | B7R_CONPAR | C | 2 | 0 | Parc Tit Con | Cta Tít Con | Con Bill Ins | Parcela Título Contest. | Cuota título Contest. | Contest. Bill Installm. | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 011 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12451 | 0 |
| B7R | 22 | B7R_CONTIP | C | 3 | 0 | Tipo Tit Con | Tipo Tít Con | Con Bill Tp | Tipo Título Contestação | Tipo Título Contestación | Contest. Bill Type | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12452 | 0 |
| B7R | 23 | B7R_CODTPA | C | 1 | 0 | Tipo de part | Tipo Part | Type of Part | Tipo de participacao. | Tipo de participación. | Type of Participation | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12453 | 0 |
| B7R | 24 | B7R_TPTAB | C | 1 | 0 | Tp Tabela | Tp Tabla | Table Tp | Tipo de Tabela PTU | Tipo de tabla PTU | Table Type | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 12454 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B7R | 1 | B7R_FILIAL+B7R_CODBRJ+B7R_SEQGUI+B7R_CODPAD+B7R_CODPRO | Cód.Import. + Seq.Guia + Cd.Tp.Tabela + Cd.Proc. | Cód.Import. + Sec.Form + Cd.Tp.Tabla + Cd.Proc. | Import Code + Seq. Form + Table Tp Cd + Proc. Cd. | S | - | - | S | 2 | 3 | - | 1944 | 0 |
| B7R | 2 | B7R_FILIAL+B7R_CODBRJ+B7R_NRSEQ | Cód.Import. + Seq.Arquiv | Cód.Import. + Sec.Archiv | Import Code + File Seq. | S | - | - | S | 2 | 3 | - | 1945 | 0 |
Ela é utilizada para guia reemb intercambio - itens 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
B7R_FILIAL,
B7R_CODBRJ,
B7R_SEQGUI,
B7R_NRSEQ,
B7R_CODPAD,
B7R_CODPRO,
B7R_DESPRO,
B7R_QTDAPR,
B7R_VLRDIF,
B7R_VLRSER,
B7R_VLRBPG,
B7R_VLRGLO,
B7R_VLRPNE,
B7R_VLRGNE,
B7R_SIGEXE,
B7R_REGEXE,
B7R_ESTEXE,
B7R_NOMEXE,
B7R_CONPRE,
B7R_CONTIT,
B7R_CONPAR,
B7R_CONTIP,
B7R_CODTPA,
B7R_TPTAB
FROM B7R
WHERE
D_E_L_E_T_ = ' '
AND B7R_FILIAL = 'VALOR'
AND B7R_CODBRJ = 'VALOR'
AND B7R_SEQGUI = 'VALOR'
AND B7R_NRSEQ = 'VALOR'
AND B7R_CODPAD = 'VALOR'
AND B7R_CODPRO = 'VALOR'
AND B7R_DESPRO = 'VALOR'
AND B7R_QTDAPR = 0
AND B7R_VLRDIF = 0
AND B7R_VLRSER = 0
AND B7R_VLRBPG = 0
AND B7R_VLRGLO = 0
AND B7R_VLRPNE = 0
AND B7R_VLRGNE = 0
AND B7R_SIGEXE = 'VALOR'
AND B7R_REGEXE = 'VALOR'
AND B7R_ESTEXE = 'VALOR'
AND B7R_NOMEXE = 'VALOR'
AND B7R_CONPRE = 'VALOR'
AND B7R_CONTIT = 'VALOR'
AND B7R_CONPAR = 'VALOR'
AND B7R_CONTIP = 'VALOR'
AND B7R_CODTPA = 'VALOR'
AND B7R_TPTAB = 'VALOR'