Itens Recurso de Glosa
A tabela B4E faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens recurso de glosa.
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 B4E 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 B4E, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | B4E |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | B4E990 |
| X2_NOME | Itens Recurso de Glosa |
| X2_NOMESPA | Items Recurso de Glosa |
| X2_NOMEENG | Disallowance Resource Items |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | B4E_FILIAL+B4E_OPEMOV+B4E_CODLDP+B4E_CODPEG+B4E_NUMAUT+B4E_ORIMOV+B4E_SEQUEN+B4E_STATUS+STR(B4E_QTDIRP) |
| X2_PYME | S |
| 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_ | 731 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B4E | 01 | B4E_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 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10527 | 0 |
| B4E | 02 | B4E_OPEMOV | C | 4 | 0 | Operadora | Operadora | Operator | Operadora | Operadora | Operator | @! | If(Empty(M->B4E_OPEMOV),.T.,BA0->(ExistCpo("BA0",M->B4E_OPEMOV,1))) | x x x x x x x x x x x x x x x x | - | B89PLS | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 10528 | 0 |
| B4E | 03 | B4E_MESAUT | C | 2 | 0 | Mes Autori | Mes Autori | Authoriz Mth | Mes Auditoria | Mes Auditoria | Audit Mth | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10529 | 0 |
| B4E | 04 | B4E_ANOAUT | C | 4 | 0 | Ano Auditori | Ano Auditori | Audit Year | Ano Auditoria | Ano Auditoria | Audit Year | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10530 | 0 |
| B4E | 05 | B4E_NUMAUT | C | 8 | 0 | Nro Autori | Nro Autori | Authoriz Nr. | Nro Auditoria | Nro Auditoria | Audit Nr. | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10531 | 0 |
| B4E | 06 | B4E_SEQUEN | C | 3 | 0 | Seq. | Sec. | Seq. | Sequencial | Secuencial | Sequence | @! | - | x x x x x x x x x x x x x x x x | PLSA09BSEQ | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10532 | 0 |
| B4E | 07 | B4E_SEQB4D | C | 6 | 0 | Seq. Glosa | Sec. Glosa | Disall. Seq. | Seq. Glosa | Sec. Glosa | Disallowance Sequence | @! | - | 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 | - | - | - | 10533 | 0 |
| B4E | 08 | B4E_CODLDP | C | 4 | 0 | Local Digit | Local Digit | Typing Locat | Codigo Local de Digitacao | Codigo Local Digitacion | Typing Location Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10534 | 0 |
| B4E | 09 | B4E_ORIMOV | C | 1 | 0 | Origem Movto | Origen Movto | Transfr Orgn | Origem do Movimento | Origen del Movimiento | Movement Origin | @! | Pertence('123456') | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | 1=Guias de Consultas/Servicos;2=Guia de Internacao;3=Outros;4=Autorizacao Odontologica;5=Dig. Off-Line;6=Novo Autorizador | 1=Formulario de Consultas/Servicios;2=Formulario de internación;3=Otros;4=Autorización odontológica;5=Dig. Off-Line;6=Nuevo auto | 1=Queries/Services Forms;2=Hospitalization Form;3=Other;4=Dental Authorization;5=Offline Entry;6=New Authorizer | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10535 | 0 |
| B4E | 10 | B4E_CODPEG | C | 8 | 0 | Codigo PEG | Codigo PEG | PEG Code | Codigo da PEG | Codigo de PEG | PEG Code | @! | - | 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 | - | - | - | 10536 | 0 |
| B4E | 11 | B4E_TIPGUI | C | 2 | 0 | Tipo de Guia | Tipo de Form | Form Type | Tipo de Guia | Tipo de Formulario | Form Type | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10537 | 0 |
| B4E | 12 | B4E_DATPRO | D | 8 | 0 | Data de Real | Fch de Real. | Prfmnce Date | Data de Realização | Fecha de Realizacion | Performance Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10538 | 0 |
| B4E | 13 | B4E_DATFIN | D | 8 | 0 | Dt. Final | Fc. Final | End Dt | Data Final do Periodo | Fecha Final del Periodo | Period End Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10539 | 0 |
| B4E | 14 | B4E_CODPAD | C | 2 | 0 | Tp.Pad. | Tl.Est. | St. Tp | Tabela | Tabla | Table | @! | Vazio() .Or. (BR4->(ExistCpo("BR4",M->B4E_CODPAD,1))) | x x x x x x x x x x x x x x x x | GETMV("MV_PLSTBPD") | B41PLS | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10540 | 0 |
| B4E | 15 | B4E_CODPRO | C | 16 | 0 | Cod.Proc. | Cod.Proc. | Proc Code | Cod. Procedimento | Cod. Procedimiento | Procedure Code | @! | Vazio() .Or. (PLSA090PRO()) | x x x x x x x x x x x x x x x x | - | PLSB4E | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10541 | 0 |
| B4E | 16 | B4E_DESPRO | C | 150 | 0 | Descrição | Descripcion | Description | Descrição | Descripcion | Description | - | - | 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 | - | - | - | 10542 | 0 |
| B4E | 17 | B4E_STATUS | C | 1 | 0 | Status Rec | Estatus Rec | Res Status | Status Recurso | Estatus Recurso | Resource Status | @! | Pertence('012345') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | 0=Sem rec de glosa;1=Rec Glosa Protocolado;2=Rec Glosa Em Analise;3=Rec Glosa Autorizado;4=Rec Glosa Negado;5=Aut Parcial | 0=Sin rec de glosa;1=Rec Glosa Protocolado;2=Rec Glosa En Analisis;3=Rec Glosa Autorizado;4=Rec Glosa Negado;5=Aut Parcial | 0=Without dis rec;1=Protocol Dis Rec;2=In analysis Dis Rec;3=Authorized Dis Rec;4=Denied Dis All;5=Partial Au | - | - | X3COMBO("B4E_STATUS",B4E->B4E_STATUS) | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10543 | 0 |
| B4E | 18 | B4E_GRAUPA | C | 2 | 0 | Grau Part. | Grado Part. | Part Degree | Grau Part. | Grado Part. | Part Degree | @! | 'Vazio() .Or. (ExistCpo("BWT",M->(B4E_OPEMOV+B4E_GRAUPA),1) .AND. PLSA090PRO())' | x x x x x x x x x x x x x x x x | - | BGDPLS | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10544 | 0 |
| B4E | 19 | B4E_CODGLO | C | 4 | 0 | Cod. Glosa | Cod. Glosa | Dis Code | Codigo da Glosa | Codigo de la Glosa | Disallowance Code | @! | - | 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 | - | - | - | 10545 | 0 |
| B4E | 20 | B4E_GLOTIS | C | 4 | 0 | TISS Glo. | TISS Glo. | Disall TISS | Codigo TISS da Glosa | Codigo TISS de Glosa | Disallowance TISS Code | - | - | x x x x x x x x x x x x x x x x | IIF(Empty(ALLTRIM(B4E->B4E_CODGLO)), "", PLSGETVINC("BTU_CDTERM", "BCT", .F., "38", ALLTRIM(B4E->B4E_CODGLO))) | - | 1 | xx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10546 | 0 |
| B4E | 21 | B4E_VLRGLO | N | 16 | 2 | Vlr. Glosado | Vlr. Glosado | Dis Vl | Vlr. Glosado | Vlr. Glosado | Disallowance Vl | @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 x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10547 | 0 |
| B4E | 22 | B4E_VLRREC | N | 16 | 2 | Vlr.Recurso | Vlr.Recurso | Res Vl | Vlr.Recursado | Vlr.Recursado | Res 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 | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10548 | 0 |
| B4E | 23 | B4E_JUSPRE | M | 10 | 0 | Just. Prest. | Just. Prest. | Prov Just | Justificativa Prestador | Justificativa Prestador | Provider Justification | @! | - | 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 | - | - | - | 10549 | 0 |
| B4E | 24 | B4E_VLRACA | N | 16 | 2 | Vlr.Acatado | Vlr.Acatado | Acc Vl | Valor acatado | Valor acatado | Accepted 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 | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10550 | 0 |
| B4E | 25 | B4E_SLDREC | N | 16 | 2 | Saldo Recurs | Saldo Recurs | Res Balance | Saldo Recurso | Saldo Recurso | Resource Balance | @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 | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10551 | 0 |
| B4E | 26 | B4E_JUSOPE | M | 10 | 0 | Just. Oper. | Just. Oper. | Coop Just | Justificativa Operadora | Justificativa Operadora | Cooperative Justification | @! | - | 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 | - | - | - | 10552 | 0 |
| B4E | 27 | B4E_IMGSTA | C | 7 | 0 | Image Status | Image Estat. | Image Status | Image Status | Image Estatus | Image Status | @BMP | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10553 | 0 |
| B4E | 28 | B4E_OPELOT | C | 4 | 0 | Ope. Lote | Oper. Lote | Batch Oper | Operadora do Lote | Operadora del Lote | Batch Operator | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10554 | 0 |
| B4E | 29 | B4E_SEQREC | C | 3 | 0 | Seq. Recurso | Sec. Recurso | Res Seq | Seq. Recurso | Sec. Recurso | Resource Sequence | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10555 | 0 |
| B4E | 30 | B4E_DESGLO | C | 200 | 0 | Descr. Glosa | Descr. Glosa | Disal Descr | Descrição da Glosa | Descripción de Glosa | Disallowance Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10556 | 0 |
| B4E | 31 | B4E_GLOPLS | C | 4 | 0 | Cod.Glo.Pls | Cód.Glo.Pls | Int Dis Code | Codigo da Glosa Interno | Código de Glosa Interno | Internal Disallowance Cod | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10557 | 0 |
| B4E | 32 | B4E_QTDIRP | N | 3 | 0 | Qtd.Rec.Port | Ctd.Rec.Port | Port Add Qty | Qtd.Rec.Incluidos Portal | Ctd.Rec.Incluidos Portal | Portal Added Rec Qty | 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10558 | 0 |
| B4E | 33 | B4E_CDGTIS | C | 4 | 0 | Cod Glo TISS | Cód Glo TISS | TISS Dis Cd | Código da Glosa TISS | Código de glosa TISS | TISS Disallow Code | @! | PlsSeek("BTQ",1,"38"+FwFldGet("B4E_CDGTIS")) | x x x x x x x x x x x x x x x x | - | BTQRGL | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10559 | 0 |
| B4E | 34 | B4E_DSGTIS | C | 70 | 0 | Des Glo TISS | Des Glo TISS | TISS Dis Des | Descrição da Glosa TISS | Descrip Glosa TISS | TISS Disallowance Descrip | @! | - | x x x x x x x x x x x x x x x x | iif(Inclui,"",Posicione("BTQ",1,xFilial("BTQ")+"38"+B4E->B4E_CDGTIS,"BTQ_DESTER")) | - | 1 | x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10560 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B4E | 1 | B4E_FILIAL+B4E_OPEMOV+B4E_ANOAUT+B4E_MESAUT+B4E_NUMAUT+B4E_SEQUEN | Operadora + Ano Auditori + Mes Autori + Nro Autori + Seq. | Operadora + Ano Auditori + Mes Autori + Nro Autori + Sec. | Operator + Audit Year + Authoriz Mth + Authoriz Nr. + Seq. | S | - | - | S | 2 | 3 | - | 1705 | 0 |
| B4E | 2 | B4E_FILIAL+B4E_SEQB4D+B4E_SEQUEN+B4E_CODPEG | Seq. Glosa + Seq. + Codigo PEG | Sec. Glosa + Sec. + Codigo PEG | Disall. Seq. + Seq. + PEG Code | S | - | - | S | 2 | 3 | - | 1706 | 0 |
| B4E | 3 | B4E_FILIAL+B4E_OPEMOV+B4E_CODLDP+B4E_CODPEG+B4E_NUMAUT+B4E_ORIMOV+B4E_SEQUEN+B4E_STATUS | Operadora + Local Digit + Codigo PEG + Nro Autori + Origem Movto + Seq | Operadora + Local Digit + Codigo PEG + Nro Autori + Origen Movto + Sec | Operator + Typing Locat + PEG Code + Authoriz Nr. + Transfr Orgn + Seq | S | - | - | S | 2 | 3 | - | 1707 | 0 |
| B4E | 4 | B4E_FILIAL+B4E_OPEMOV+B4E_ANOAUT+B4E_MESAUT+B4E_NUMAUT+B4E_CODPAD+B4E_CODPRO | Operadora + Ano Auditori + Mes Autori + Nro Autori + Tp.Pad. + Cod.Pro | Operadora + Ano Auditori + Mes Autori + Nro Autori + Tl.Est. + Cod.Pro | Operator + Audit Year + Authoriz Mth + Authoriz Nr. + St. Tp + Proc Co | S | - | - | S | 2 | 3 | - | 1708 | 0 |
Ela é utilizada para itens recurso de glosa 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
B4E_FILIAL,
B4E_OPEMOV,
B4E_MESAUT,
B4E_ANOAUT,
B4E_NUMAUT,
B4E_SEQUEN,
B4E_SEQB4D,
B4E_CODLDP,
B4E_ORIMOV,
B4E_CODPEG,
B4E_TIPGUI,
B4E_DATPRO,
B4E_DATFIN,
B4E_CODPAD,
B4E_CODPRO,
B4E_DESPRO,
B4E_STATUS,
B4E_GRAUPA,
B4E_CODGLO,
B4E_GLOTIS,
B4E_VLRGLO,
B4E_VLRREC,
B4E_JUSPRE,
B4E_VLRACA,
B4E_SLDREC,
B4E_JUSOPE,
B4E_IMGSTA,
B4E_OPELOT,
B4E_SEQREC,
B4E_DESGLO,
B4E_GLOPLS,
B4E_QTDIRP,
B4E_CDGTIS,
B4E_DSGTIS
FROM B4E
WHERE
D_E_L_E_T_ = ' '
AND B4E_FILIAL = 'VALOR'
AND B4E_OPEMOV = 'VALOR'
AND B4E_MESAUT = 'VALOR'
AND B4E_ANOAUT = 'VALOR'
AND B4E_NUMAUT = 'VALOR'
AND B4E_SEQUEN = 'VALOR'
AND B4E_SEQB4D = 'VALOR'
AND B4E_CODLDP = 'VALOR'
AND B4E_ORIMOV = 'VALOR'
AND B4E_CODPEG = 'VALOR'
AND B4E_TIPGUI = 'VALOR'
AND B4E_DATPRO BETWEEN '20260501' AND '20260531'
AND B4E_DATFIN BETWEEN '20260501' AND '20260531'
AND B4E_CODPAD = 'VALOR'
AND B4E_CODPRO = 'VALOR'
AND B4E_DESPRO = 'VALOR'
AND B4E_STATUS = 'VALOR'
AND B4E_GRAUPA = 'VALOR'
AND B4E_CODGLO = 'VALOR'
AND B4E_GLOTIS = 'VALOR'
AND B4E_VLRGLO = 0
AND B4E_VLRREC = 0
AND B4E_VLRACA = 0
AND B4E_SLDREC = 0
AND B4E_IMGSTA = 'VALOR'
AND B4E_OPELOT = 'VALOR'
AND B4E_SEQREC = 'VALOR'
AND B4E_DESGLO = 'VALOR'
AND B4E_GLOPLS = 'VALOR'
AND B4E_QTDIRP = 0
AND B4E_CDGTIS = 'VALOR'
AND B4E_DSGTIS = 'VALOR'