Cabeçalho Recurso de Glosa
A tabela B4D faz parte do sistema ERP Protheus da TOTVS e é utilizada para cabeçalho 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 B4D 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 B4D, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | B4D |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | B4D990 |
| X2_NOME | Cabeçalho Recurso de Glosa |
| X2_NOMESPA | Encabezado Recurso de Glosa |
| X2_NOMEENG | Disallowance Resource Header |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | B4D_FILIAL+B4D_OPEMOV+B4D_CODLDP+B4D_CODPEG+B4D_NUMAUT+STR(B4D_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_ | 730 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B4D | 01 | B4D_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filia | Sucursal | Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10470 | 0 |
| B4D | 02 | B4D_STATUS | C | 1 | 0 | Status | Estatus | Status | Status do Recurso | Estatus del Recurso | Resource Status | @! | Pertence('012345') | x x x x x x x x x x x x x x x x | '0' | - | 1 | x | - | - | - | S | V | R | - | - | 0=Rec Glosa Edição;1=Rec Glosa Protocolado;2=Rec Glosa Em Analise;3=Rec Glosa Autorizado;4=Rec Glosa Negado;5=Aut Parcial | 0=Rec Glosa Edición;1=Rec Glosa registrado;2=Rec Glosa en análisis;3=Rec Glosa autorizado;4=Rec Glosa negado;5=Aut Parcial | 0=Rec Disallowance Edition;1=Rec Disallowance Protocoled;2=Rec Disallowance in Analysis;3=Rec Disallowance Authorized;4=Rec Disa | - | - | X3COMBO("B4D_STATUS",B4D->B4D_STATUS) | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10471 | 0 |
| B4D | 03 | B4D_PROTOC | C | 12 | 0 | Nr Protocolo | Nº Comprob. | Protocol No. | Número do Protocolo | Número de comprobante | Protocol Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 2 | - | - | - | 10472 | 0 |
| B4D | 04 | B4D_CODPEG | C | 8 | 0 | PEG | PEG | PEG | 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 | - | - | - | 10473 | 0 |
| B4D | 05 | B4D_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 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10474 | 0 |
| B4D | 06 | B4D_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 | - | - | - | 10475 | 0 |
| B4D | 07 | B4D_CODLDP | C | 4 | 0 | Local Digit | Local Digit | Typng Field | Codigo Local de Digitacao | Codigo Local Digitacion | Typing Field 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 | - | - | - | 10476 | 0 |
| B4D | 08 | B4D_ORIMOV | C | 1 | 0 | Origem Movto | Origen Movto | Tranfr Orgn | Origem do Movimento | Origen del Movimiento | Transfer Origin | @! | Pertence('123456') | x x x x x x x x x x x x x x x x | - | - | 1 | 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=Others;4=Dental Authorization;5=Tp Off-Line;6=New Authorizer | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10477 | 0 |
| B4D | 09 | B4D_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 | - | - | - | 10478 | 0 |
| B4D | 10 | B4D_OPEMOV | C | 4 | 0 | Operadora | Operadora | Operator | Operadora | Operadora | Operator | @! | - | x x x x x x x x x x x x x x x x | PLSINTPAD() | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 10479 | 0 |
| B4D | 11 | B4D_GUIREF | C | 18 | 0 | Nro.Gui.Ref | Nro.Form.Ref | Ref.Form No. | Número da Guia Referencia | Numero de Form Referencia | Ref. Form No. | @R !!!!.!!.!!!!!!!!!!!! | If(Empty(M->B4D_GUIREF),.T.,PLA09ALIB(M->B4D_GUIREF)) | 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 | - | - | - | 10480 | 0 |
| B4D | 12 | B4D_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 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10481 | 0 |
| B4D | 13 | B4D_DATSOL | D | 8 | 0 | Data Sol. | Fecha Sol. | Req Date | Data Sol. | Fecha Sol. | Request Date | - | - | x x x x x x x x x x x x x x x x | dDataBase | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | !EMPTY(M->B4D_GLOPRT) .AND. M->B4D_STATUS $ " ,0,4" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10482 | 0 |
| B4D | 14 | B4D_USUARI | C | 17 | 0 | Matricula | Matricula | Registration | Matricula | Matricula | Registration | @R !!!!.!!!!.!!!!!!.!!-! | PLA09AUSU() | x x x x x x x x x x x x x x x x | If(Inclui,"",B4D->(B4D_OPEUSR+B4D_CODEMP+B4D_MATRIC+B4D_TIPREG+B4D_DIGITO)) | - | 1 | xx x | - | - | - | S | V | R | - | - | - | - | - | - | - | B4D->(B4D_OPEUSR+B4D_CODEMP+B4D_MATRIC+B4D_TIPREG+B4D_DIGITO) | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10483 | 0 |
| B4D | 15 | B4D_OPEUSR | C | 4 | 0 | Operadora | Operadora | Operator | Operadora | Operadora | Operator | @! | - | 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 | - | - | - | 10484 | 0 |
| B4D | 16 | B4D_CODEMP | C | 4 | 0 | Empresa | Empresa | Company | Empresa | Empresa | Company | @! | - | 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 | - | - | - | 10485 | 0 |
| B4D | 17 | B4D_CONEMP | C | 12 | 0 | Contrato | Contrato | Contract | Contrato | Contrato | Contract | @! | - | 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 | - | - | - | 10486 | 0 |
| B4D | 18 | B4D_SUBCON | C | 9 | 0 | Subcontrato | Subcontrato | Sub-contract | Subcontrato | Subcontrato | Sub-contract | @! | - | 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 | - | - | - | 10487 | 0 |
| B4D | 19 | B4D_VERCON | C | 3 | 0 | Versao Cont. | Version Cont | Cont.Version | Versao Cont. | Version Cont. | Cont. Version | @! | - | 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 | - | - | - | 10488 | 0 |
| B4D | 20 | B4D_VERSUB | C | 3 | 0 | Ver.Sub.Con. | Ver.Sub.Con. | Con.Sub.Ver. | Ver.Sub.Con. | Ver.Sub.Con. | Con. Sub Version | @! | - | 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 | - | - | - | 10489 | 0 |
| B4D | 21 | B4D_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 x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10490 | 0 |
| B4D | 22 | B4D_TIPREG | C | 2 | 0 | Tipo Reg. | Tipo Reg. | Reg. Type | Tipo Reg. | Tipo Reg. | Registration 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 | - | - | - | 10491 | 0 |
| B4D | 23 | B4D_DIGITO | C | 1 | 0 | Digito | Digito | Digit | Digito | Digito | Digit | @! | - | 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 | - | - | - | 10492 | 0 |
| B4D | 24 | B4D_NOMUSR | C | 70 | 0 | Nome Usr. | Nombre Usr. | User Name | Nome Usr. | Nombre Usr. | User Name | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 034 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10493 | 0 |
| B4D | 25 | B4D_REGANS | C | 6 | 0 | Reg Ans | Reg Ans | ANS Reg. | Registro ANS | Registro ANS | ANS Registration | @! | - | x x x x x x x x x x x x x x x x | Posicione("BA0",1,xFilial("B4A")+M->B4D_OPEMOV,"BA0_SUSEP") | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10494 | 0 |
| B4D | 26 | B4D_NOMOPE | C | 60 | 0 | Nome Oper. | Nombre Oper. | Oper. Name | Nome da Operadora | Nombre de la Operadora | Operator Name | @! | - | 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 | - | - | - | 10495 | 0 |
| B4D | 27 | B4D_OBJREC | C | 1 | 0 | Obj Recurso | Obj Recurso | Resource Pur | Objeto do Recurso | Objeto del Recurso | Resource Purpose | @! | Pertence('123') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | 1=Protocolo;2=Guia;3=Item | 1=Protocolo;2=Form;3=Ítem | 1=Protocol;2=Form;3=Item | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10496 | 0 |
| B4D | 28 | B4D_NGLOPE | C | 20 | 0 | Nro.Gui.Oper | Nro Form Ope | Coop Form No | Nro Guia do Recurso Glosa | Nro Form del Recurso Glos | Disallowance Res Form No. | @! | - | 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 | - | - | - | 10497 | 0 |
| B4D | 29 | B4D_CODRDA | C | 6 | 0 | Cod. RDA | Cod. RDA | RDA Code | Codigo na Operadora | Codigo en la Operadora | Cooperative 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 | - | - | - | 10498 | 0 |
| B4D | 30 | B4D_NOMCON | C | 70 | 0 | Nome Contr. | Nombre Contr | Contr Name | Nome do Contratado | Nombre del Contratado | Contracted Name | @! | - | 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 | - | - | - | 10499 | 0 |
| B4D | 31 | B4D_NUMLOT | C | 12 | 0 | Num. Lote | Num. Lote | Lot Number | Numero do Lote | Numero del Lote | Lot Number | @! | - | 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 | - | - | - | 10500 | 0 |
| B4D | 32 | B4D_GLOPRT | C | 4 | 0 | Cod.Glo.Prot | Cod.Glo.Comp | Prot Dis Cod | Codigo da Glosa do Protoc | Codigo de Glosa del Compr | Dis Code of Protocol | @! | - | 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 | - | - | - | 10501 | 0 |
| B4D | 33 | B4D_JUSPRO | M | 10 | 0 | Justif. Prot | Justif. Comp | Prot Just | Justificativa Glosa Integ | Justificativa Glosa Integ | Integ Disallowance Justif | @ | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | !EMPTY(M->B4D_GLOPRT) .AND. M->B4D_STATUS $ " ,0,4" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10502 | 0 |
| B4D | 34 | B4D_ACAPRO | C | 1 | 0 | Prot. Acatad | Comp. Acatad | Acc Prot | Protocolo Acatado | Comprobante Acatado | Accepted Protocol | @! | Pertence('SN') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | N=Não;S=Sim | N=No;S=Si | N=No;S=Yes | - | M->B4D_OBJREC == "1" .AND. M->B4D_STATUS $ "1,2" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10503 | 0 |
| B4D | 35 | B4D_GUIPRE | C | 20 | 0 | Nr.Guia Pres | Nr.Form Pres | Pr Form No. | Numero da Guia no Prestad | Numero de Form en el Pres | Form Number In Provider | @! | - | 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 | - | - | - | 10504 | 0 |
| B4D | 36 | B4D_ATROPE | C | 20 | 0 | Nr.Guia Oper | Nr.Form Oper | Coop Form No | Numero Guia Atrib Operado | Numero Form Atrib Operado | Coop Attrib Form Number | @! | - | 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 | - | - | - | 10505 | 0 |
| B4D | 37 | B4D_SENHA | C | 20 | 0 | Senha | Contrasena | Password | Senha | Contrasena | Password | @! | - | 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 | - | - | - | 10506 | 0 |
| B4D | 38 | B4D_GLOGUI | C | 4 | 0 | Cod.Glo.Guia | Cod.Glo.Form | Form Dis Cod | Codigo da Glosa da Guia | Codigo de Glosa del Form. | Form Disallowance Code | @! | - | 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 | - | - | - | 10507 | 0 |
| B4D | 39 | B4D_JUSGUI | M | 10 | 0 | Justif. Guia | Justif. Form | Form Just | Jus Glosa Integ Guia | Jus Glosa Integ Form | Form Integ Dis Justif | @ | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | !EMPTY(M->B4D_GLOGUI) .AND. M->B4D_STATUS $ " ,0,4" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10508 | 0 |
| B4D | 40 | B4D_ACAGUI | C | 1 | 0 | Guia Acatado | Form Acatado | Acc Form | Guia Acatado | Formulario Acatado | Accepted Form | @! | Pertence('SN') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | N=Não;S=Sim | N=No;S=Si | N=No;S=Yes | - | M->B4D_OBJREC <> "1" .AND. M->B4D_STATUS $ "1,2" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10509 | 0 |
| B4D | 41 | B4D_TOTREC | N | 16 | 2 | Tot. Recur. | Tot. Recur. | Res Total | Vlr Total Recursado | Vlr Total Recursado | Res Total 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 | - | - | - | 10510 | 0 |
| B4D | 42 | B4D_TOTACA | N | 16 | 2 | Tot. Acat. | Tot. Acat. | Acc Total | Vlr Total Acatado | Vlr Total Acatado | Accepted Total 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 | - | - | - | 10511 | 0 |
| B4D | 43 | B4D_DATREC | D | 8 | 0 | Dt. Recur. | Fch. Recur. | Res Dt | Data do Recurso | Fecha del Recurso | Resource Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | M->B4D_STATUS $ " ,0,4" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10512 | 0 |
| B4D | 44 | B4D_VLRGLO | N | 16 | 2 | Valor Glosad | Valor Glosad | Dis Value | Vlr Total Glosado | Vlr Total Glosado | Dis Total 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 | - | - | - | 10513 | 0 |
| B4D | 45 | B4D_SEQREC | C | 3 | 0 | Seq. Glosa | Sec. Glosa | Dis Seq | Seq. Glosa | Sec. Glosa | Disallowance 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 | - | - | - | 10514 | 0 |
| B4D | 46 | B4D_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 | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10515 | 0 |
| B4D | 47 | B4D_DESGLO | C | 200 | 0 | Descr. Glosa | Descr. Glosa | Disallow Des | Descrição da Glosa | Descripción de la Glosa | Disallowance Description | @! | - | 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 | - | - | - | 10516 | 0 |
| B4D | 48 | B4D_GLOPLS | C | 4 | 0 | Cod.Glo.Pls | Cód.Glo.Pls | 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 | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10517 | 0 |
| B4D | 49 | B4D_QTDIRP | N | 3 | 0 | Qtd.Rec.Port | Ctd.Rec.Port | Port Rec Amn | Qtd.Rec.Incluidos Portal | Ctd.Rec.Incluidos Portal | Portal Added Rec Amount | 999 | - | 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 | - | - | - | 10518 | 0 |
| B4D | 50 | B4D_JUSOPE | M | 10 | 0 | Just. Operad | Just. Operad | Oper Just | Justificativa Operadora | Justificación de operador | Operator justification | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10519 | 0 |
| B4D | 51 | B4D_DCDDLP | C | 4 | 0 | Local Dig De | Lugar Dig De | Place Ent De | Local Digitação Destino | Lugar digitación destino | Place Enter Destination | @! | - | 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 | - | - | - | 10520 | 0 |
| B4D | 52 | B4D_DCDPEG | C | 8 | 0 | PEG Destino | PEG Destino | Dest PEG | PEG de destino | PEG de destino | Destination PEG | @! | - | 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 | - | - | - | 10521 | 0 |
| B4D | 53 | B4D_DNUMER | C | 8 | 0 | Numero Dest. | Número Dest. | Dest number | Número da Guia Destino | Número formulario destino | Destination form number | @! | - | 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 | - | - | - | 10522 | 0 |
| B4D | 54 | B4D_ANOAUT | C | 4 | 0 | Ano Autoria | Ano Autoria | Authoriz Yr | 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 | - | - | - | 10523 | 0 |
| B4D | 55 | B4D_ORIENT | C | 1 | 0 | Orig. Entrad | Orig. Entrad | Inc.Orig. | Origem da entrada Recurso | Origen de entrada recurso | Resource Incoming Origin | @! | Pertence('1234') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | 1=Remote;2=Portal;3=WSDL;4=XML | 1=Remote;2=Portal;3=WSDL;4=XML | 1=Remote;2=Portal;3=WSDL;4=XML | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10524 | 0 |
| B4D | 56 | B4D_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("B4D_CDGTIS")) | x x x x x x x x x x x x x x x x | - | BTQRGL | 1 | xx x | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 2 | - | - | - | 10525 | 0 |
| B4D | 57 | B4D_DSGTIS | C | 70 | 0 | Des Glo TISS | Des Glo TISS | TISS Dis Des | Descrição GlosaTISS | Descrip GlosaTISS | TISS Disallow Descript | @! | - | x x x x x x x x x x x x x x x x | iif(Inclui,"",Posicione("BTQ",1,xFilial("BTQ")+"38"+B4D->B4D_CDGTIS,"BTQ_DESTER")) | - | 1 | xx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 10526 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B4D | 1 | B4D_FILIAL+B4D_OPEMOV+B4D_ANOAUT+B4D_MESAUT+B4D_NUMAUT | Operadora + Ano Autoria + Mes Autori + Nro Autori | Operadora + Ano Autoria + Mes Autori + Nro Autori | Operator + Authoriz Yr + Authoriz Mth + Authoriz Nr. | S | - | - | N | 2 | 3 | - | 1696 | 0 |
| B4D | 2 | B4D_FILIAL+B4D_NOMUSR | Nome Usr. | Nombre Usr. | User Name | S | - | - | S | 2 | 3 | - | 1697 | 0 |
| B4D | 3 | B4D_FILIAL+B4D_OPEUSR+B4D_CODEMP+B4D_MATRIC+B4D_TIPREG+B4D_DIGITO | Operadora + Empresa + Matricula + Tipo Reg. + Digito | Operadora + Empresa + Matricula + Tipo Reg. + Digito | Operator + Company + Registration + Reg. Type + Digit | S | - | - | S | 2 | 3 | - | 1698 | 0 |
| B4D | 4 | B4D_FILIAL+B4D_GUIREF | Nro.Gui.Ref | Nro.Form.Ref | Ref.Form No. | S | - | - | N | 2 | 3 | - | 1699 | 0 |
| B4D | 5 | B4D_FILIAL+B4D_OPEMOV+B4D_CODLDP+B4D_CODPEG+B4D_NUMAUT | Operadora + Local Digit + PEG + Nro Autori | Operadora + Local Digit + PEG + Nro Autori | Operator + Typng Field + PEG + Authoriz Nr. | S | - | - | S | 2 | 3 | - | 1700 | 0 |
| B4D | 6 | B4D_FILIAL+B4D_SEQB4D+B4D_SEQREC | Seq. Glosa + Seq. Glosa | Sec. Glosa + Sec. Glosa | Disall. Seq. + Dis Seq | S | - | - | N | 2 | 3 | - | 1701 | 0 |
| B4D | 7 | B4D_FILIAL+B4D_OPELOT+B4D_NUMLOT | Ope. Lote + Num. Lote | Oper. Lote + Num. Lote | Batch Oper + Lot Number | S | - | - | S | 2 | 3 | - | 1702 | 0 |
| B4D | 8 | B4D_FILIAL+B4D_PROTOC | Nr Protocolo | Nº Comprob. | Protocol No. | S | - | - | S | 2 | 3 | - | 1703 | 0 |
| B4D | 9 | B4D_FILIAL+B4D_DCDDLP+B4D_DCDPEG+B4D_DNUMER | Local Dig De + PEG Destino + Numero Dest. | Lugar Dig De + PEG Destino + Número Dest. | Place Ent De + Dest PEG + Dest number | S | - | - | S | 2 | 3 | - | 1704 | 0 |
Ela é utilizada para cabeçalho 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
B4D_FILIAL,
B4D_STATUS,
B4D_PROTOC,
B4D_CODPEG,
B4D_NUMAUT,
B4D_MESAUT,
B4D_CODLDP,
B4D_ORIMOV,
B4D_SEQB4D,
B4D_OPEMOV,
B4D_GUIREF,
B4D_TIPGUI,
B4D_DATSOL,
B4D_USUARI,
B4D_OPEUSR,
B4D_CODEMP,
B4D_CONEMP,
B4D_SUBCON,
B4D_VERCON,
B4D_VERSUB,
B4D_MATRIC,
B4D_TIPREG,
B4D_DIGITO,
B4D_NOMUSR,
B4D_REGANS,
B4D_NOMOPE,
B4D_OBJREC,
B4D_NGLOPE,
B4D_CODRDA,
B4D_NOMCON,
B4D_NUMLOT,
B4D_GLOPRT,
B4D_JUSPRO,
B4D_ACAPRO,
B4D_GUIPRE,
B4D_ATROPE,
B4D_SENHA,
B4D_GLOGUI,
B4D_JUSGUI,
B4D_ACAGUI,
B4D_TOTREC,
B4D_TOTACA,
B4D_DATREC,
B4D_VLRGLO,
B4D_SEQREC,
B4D_OPELOT,
B4D_DESGLO,
B4D_GLOPLS,
B4D_QTDIRP,
B4D_JUSOPE,
B4D_DCDDLP,
B4D_DCDPEG,
B4D_DNUMER,
B4D_ANOAUT,
B4D_ORIENT,
B4D_CDGTIS,
B4D_DSGTIS
FROM B4D
WHERE
D_E_L_E_T_ = ' '
AND B4D_FILIAL = 'VALOR'
AND B4D_STATUS = 'VALOR'
AND B4D_PROTOC = 'VALOR'
AND B4D_CODPEG = 'VALOR'
AND B4D_NUMAUT = 'VALOR'
AND B4D_MESAUT = 'VALOR'
AND B4D_CODLDP = 'VALOR'
AND B4D_ORIMOV = 'VALOR'
AND B4D_SEQB4D = 'VALOR'
AND B4D_OPEMOV = 'VALOR'
AND B4D_GUIREF = 'VALOR'
AND B4D_TIPGUI = 'VALOR'
AND B4D_DATSOL BETWEEN '20260401' AND '20260430'
AND B4D_USUARI = 'VALOR'
AND B4D_OPEUSR = 'VALOR'
AND B4D_CODEMP = 'VALOR'
AND B4D_CONEMP = 'VALOR'
AND B4D_SUBCON = 'VALOR'
AND B4D_VERCON = 'VALOR'
AND B4D_VERSUB = 'VALOR'
AND B4D_MATRIC = 'VALOR'
AND B4D_TIPREG = 'VALOR'
AND B4D_DIGITO = 'VALOR'
AND B4D_NOMUSR = 'VALOR'
AND B4D_REGANS = 'VALOR'
AND B4D_NOMOPE = 'VALOR'
AND B4D_OBJREC = 'VALOR'
AND B4D_NGLOPE = 'VALOR'
AND B4D_CODRDA = 'VALOR'
AND B4D_NOMCON = 'VALOR'
AND B4D_NUMLOT = 'VALOR'
AND B4D_GLOPRT = 'VALOR'
AND B4D_ACAPRO = 'VALOR'
AND B4D_GUIPRE = 'VALOR'
AND B4D_ATROPE = 'VALOR'
AND B4D_SENHA = 'VALOR'
AND B4D_GLOGUI = 'VALOR'
AND B4D_ACAGUI = 'VALOR'
AND B4D_TOTREC = 0
AND B4D_TOTACA = 0
AND B4D_DATREC BETWEEN '20260401' AND '20260430'
AND B4D_VLRGLO = 0
AND B4D_SEQREC = 'VALOR'
AND B4D_OPELOT = 'VALOR'
AND B4D_DESGLO = 'VALOR'
AND B4D_GLOPLS = 'VALOR'
AND B4D_QTDIRP = 0
AND B4D_DCDDLP = 'VALOR'
AND B4D_DCDPEG = 'VALOR'
AND B4D_DNUMER = 'VALOR'
AND B4D_ANOAUT = 'VALOR'
AND B4D_ORIENT = 'VALOR'
AND B4D_CDGTIS = 'VALOR'
AND B4D_DSGTIS = 'VALOR'