Locais de Rede Atendimento
A tabela BB8 faz parte do sistema ERP Protheus da TOTVS e é utilizada para locais de rede atendimento.
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 BB8 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 BB8, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | BB8 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | BB8990 |
| X2_NOME | Locais de Rede Atendimento |
| X2_NOMESPA | Lugares de Red de Atención |
| X2_NOMEENG | Attendance network locations |
| 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_ | 976 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BB8 | 01 | BB8_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 | - | - | - | 14718 | 0 |
| BB8 | 02 | BB8_CODINT | C | 4 | 0 | Operadora | Operadora | Operator | Instituicao | Institucion | Institution | @R !.!!! | PlsSeek("BA0",1,M->BB8_CODINT,"BB8_DESINT","BA0_NOMINT") .and. PlsVldInt(M->BB8_CODINT) | x x x x x x x x x x x x x x x xx | cCodInt | - | 1 | x x | - | - | - | S | V | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14719 | 0 |
| BB8 | 03 | BB8_DESINT | C | 15 | 0 | Descricao | Descripcion | Description | Descricao | Descripcion | Description | - | - | x x x x x x x x x x x x x x x x | IIF(Type("cDesInt")<>"U",cDesInt,Posicione("BA0",1,xFilial("BA0")+PlsIntPad(),"BA0_NOMINT")) | - | 1 | x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("BA0",1,xFilial("BA0")+PlsIntPad(),"BA0_NOMINT") | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14720 | 0 |
| BB8 | 04 | BB8_CODIGO | C | 6 | 0 | Codigo | Codigo | Code | Codigo | Codigo | Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | - | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14721 | 0 |
| BB8 | 05 | BB8_CODLOC | C | 3 | 0 | Codigo Local | Codigo Local | Place Code | Codigo da Localidade | Codigo de la Localidad | Place Code | @! | - | x x x x x x x x x x x x x x x xx | If(FunName() <> "PLSA377",PlsIncre("BB8_CODLOC"),"") | - | 1 | x | - | - | - | S | V | - | - | texto() | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14722 | 0 |
| BB8 | 06 | BB8_LOCAL | C | 3 | 0 | Local | Local | Location | Cod Localidade | Cod Localidad | Location Code | @! | If( Type('cCodInt') == 'C',PlsSeek("BD1",1,cCodInt+M->BB8_LOCAL),'' ) | x x x x x x x x x x x x x x x x | - | BHTPLS | 1 | x | - | S | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | - | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14723 | 0 |
| BB8 | 07 | BB8_DESLOC | C | 30 | 0 | Desc. Local | Desc. Local | Loc. Descr. | Des Local de Atendimento | Des Local de Atencion | Attend. Loc. Descr. | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14724 | 0 |
| BB8 | 08 | BB8_CEP | C | 8 | 0 | CEP | CP | ZIP | Cod Enderecamento Postal | Codigo Postal | Postal Code | @R 99999-999 | ExistCpo("BC9") | x x x x x x x x x x x x x x x x | - | B83PLS | 1 | xxxxxx | - | S | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14725 | 0 |
| BB8 | 09 | BB8_TIPLOG | C | 3 | 0 | Tp Logradour | Tp Direccion | Street type | Tipo Logradouro | Tipo Direccion | Street type | 999 | ExistCpo("B18") .OR. VAZIO() | x x x x x x x x x x x x x x x x | - | B2UPLS | 1 | x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14726 | 0 |
| BB8 | 10 | BB8_DESCTL | C | 25 | 0 | Desc.Tip Log | Desc.Tip Dir | Addr.Tp.Desc | Descrição Tipo Logradouro | Descripc. Tipo Direccion | Address Type Description | @! | - | x x x x x x x x x x x x x x x x | If(Inclui,"",Posicione("B18",1,xFilial("B18")+BB8->BB8_TIPLOG,"B18_DESCRI")) | - | 1 | x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | 1 | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14727 | 0 |
| BB8 | 11 | BB8_END | C | 40 | 0 | Endereco | Direccion | Address | Endereco do cliente | Direccion del cliente | Customer Address | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14728 | 0 |
| BB8 | 12 | BB8_NR_END | C | 6 | 0 | Numero | Numero | Number | Numero do Endereco | Numero de la Direccion | Address number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14729 | 0 |
| BB8 | 13 | BB8_COMEND | C | 30 | 0 | Complemento | Complemento | Complement | Complemento do Endereco | Complemente de Direccion | Address complement | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | A | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14730 | 0 |
| BB8 | 14 | BB8_CODMUN | C | 7 | 0 | Cd Municipio | Cd Municipio | City code | Codigo Municipio | Codigo Municipio | City code | @! | BID->(ExistCpo("BID",M->BB8_CODMUN,1)) | x x x x x x x x x x x x x x x x | - | B57PLS | 1 | x xx | - | S | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14731 | 0 |
| BB8 | 15 | BB8_MUN | C | 30 | 0 | Municipio | Municipio | City | Municipio do cliente | Municipio del Cliente | Customer city | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | - | V | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14732 | 0 |
| BB8 | 16 | BB8_EST | C | 2 | 0 | Estado | Estado | State | Estado do cliente | Estado del Cliente | Customer state | @! | ExistCpo("SX5","12"+M->BB8_EST) | x x x x x x x x x x x x x x x x | - | 12 | 1 | x xx | - | - | - | - | - | - | - | - | - | - | - | - | EMPTY(M->BB8_CODMUN) | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14733 | 0 |
| BB8 | 17 | BB8_BAIRRO | C | 30 | 0 | Bairro | Barrio | District | Bairro do cliente | Barrio del cliente | Customer district | @S15 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14734 | 0 |
| BB8 | 18 | BB8_DDD | C | 4 | 0 | DDD | DDN | Long-distanc | DDD | DDN | DDD | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14735 | 0 |
| BB8 | 19 | BB8_TEL | C | 20 | 0 | Telefone | Telefono | Telephone | Telefone do cliente | Telefono del cliente | Customer Telephone | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14736 | 0 |
| BB8 | 20 | BB8_FAX | C | 15 | 0 | FAX | FAX | FAX | Numero do FAX do cliente | Numero del FAX de cliente | Customer's fax number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14737 | 0 |
| BB8 | 21 | BB8_CONTAT | C | 35 | 0 | Contato | Contacto | Contact | Contato no cliente | Contacto en el cliente | Contact at Customer | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14738 | 0 |
| BB8 | 22 | BB8_CARCON | C | 20 | 0 | Cargo Cont. | Cargo Cont. | ContactTitle | Cargo do Contato | Cargo del Contacto | Contact title | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14739 | 0 |
| BB8 | 23 | BB8_GUIMED | C | 1 | 0 | Guia | Formul. | Guide | Guia | Formul. | Guide | @! | - | x x x x x x x x x x x x x x x x | "1" | - | 1 | xxxx x x | - | - | - | - | - | - | - | - | 0=Nao;1=Sim | 0=No;1=Si | 0=no; 1=yes | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14740 | 0 |
| BB8 | 24 | BB8_TMPCON | C | 5 | 0 | Tmp Consulta | Tmp Consulta | Appoin. dur. | Tempo da consulta | Tiempo de la consulta | Duration of appointment | 99:99 | - | x x x x x x x x x x x x x x x x | GetMv("MV_PLSINTC") | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14741 | 0 |
| BB8 | 25 | BB8_OBRCLI | C | 1 | 0 | Ob.Corpo Cli | Ob.Cuer.Clin | Med.Staff.Co | Obrigatorio Corpo Clinico | Obligator.Cuerpo Clinico | Medical staff compulsory | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | 0=Nao;1=Sim | 0=No;1=Si | 0=No;1=Yes | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14742 | 0 |
| BB8 | 26 | BB8_VALCH | N | 16 | 4 | U.S. | U.S. | U.S. | Unidade de Saude | Unidad de Salud | Health unit | @E 99,999,999,999.9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | PLSBB8When("1") | - | - | 2 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14743 | 0 |
| BB8 | 27 | BB8_VIGUS | D | 8 | 0 | Vigencia de | De Vigencia | Valid from | Vigencia inicial | Vigencia inicial | Initial validity | @D | PLSPOSBN8() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 2 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14744 | 0 |
| BB8 | 28 | BB8_FORMUL | C | 1 | 0 | Formula | Formula | Formula | Formula | Formula | Formula | @! | (If(M->BB8_FORMUL=="1",M->BB8_EXPRES:=Space(Len(M->BB8_EXPRES)),.T.),.T.) | x x x x x x x x x x x x x x x x | "1" | - | 1 | xxxxxx x | - | - | - | S | - | - | - | - | 1=Fixa;2=Expressao | 1=Fija;2=Expresion | 1=Fixed;2=Expression | - | PLSBB8When() | - | - | 2 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14745 | 0 |
| BB8 | 29 | BB8_EXPRES | C | 100 | 0 | Expressao | Expresion | Expression | Expressao | Expresion | Expression | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | PLSBB8When("2") | - | - | 2 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14746 | 0 |
| BB8 | 30 | BB8_CORRES | C | 1 | 0 | Corresp. ? | ¿Corresp. ? | Correspond. | Correspondencia? | ¿Correspondencia? | Correspondence | @! | If(M->BAU_CORRES<>"0",VldCorresp(2,M->BAU_CODIGO,M->BAU_CORRES),.T.) | x x x x x x x x x x x x x x x x | "0" | - | 1 | xxxx x x | - | S | - | - | - | - | - | - | #PLSSITCRTU() | #PLSSITCRTU() | #PLSSITCRTU() | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14747 | 0 |
| BB8 | 31 | BB8_CRPLOC | C | 3 | 0 | Loc. Corresp | Loc. Corresp | Loc. Corresp | Local Atend. P/ Corresp. | Local Atenc. P/ Corresp. | Serv. Loc. for Corresp. | @! | if(type("oGet07") == "O",PL360LOCCRP(oGet07),.F.) | x x x x x x x x x x x x x x x x | - | B2JPLS | 1 | xxxx x x | - | - | - | - | - | - | - | - | - | - | - | - | M->BB8_CORRES=='0' | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14748 | 0 |
| BB8 | 32 | BB8_CODIDE | C | 17 | 0 | Cod Id Ant. | Cod Id Ant. | Former ID Cd | Codigo Identif. Antigo | Codigo Identif. Antiguo | Former ID code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | - | - | - | - | - | - | - | - | - | PLSBB8When() | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14749 | 0 |
| BB8 | 33 | BB8_CODTAB | C | 3 | 0 | Tab.Pag.RDA | Tab.Pag.RDA | RDA PymTable | Tabela Pagamento RDA | Tabla Pago RDA | RDA payment table | @! | If(Empty(M->BB8_CODTAB),.T.,PlsSeek("BF8",1,M->BB8_CODINT+M->BB8_CODTAB+"01","BB8_DESTAB","BF8_DESCM")) | x x x x x x x x x x x x x x x x | IIF(Inclui,"",BB8->BB8_CODTAB) | B72PLS | 1 | xxxx x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14750 | 0 |
| BB8 | 34 | BB8_DESTAB | C | 30 | 0 | Descr. Tab. | Descr.Tabla | Table descr. | Descricao Tabela | Descripcion Tabla | Description of table | @! | - | x x x x x x x x x x x x x x x x | If(Inclui,"",Posicione("BF8",1,xFilial("BF8")+BB8->BB8_CODINT+BB8->BB8_CODTAB,"BF8_DESCM")) | - | 1 | xxxx x x | - | - | - | - | V | V | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14751 | 0 |
| BB8 | 35 | BB8_TABPRE | C | 3 | 0 | Tab Preco | List Precio | Price list | Tabela de Preços | Lista de Precios | Price list | @! | if(type("M->BAU_CODIGO") == "C",BC5->(ExistCpo("BC5",M->BB8_CODINT+M->BB8_CODIGO+M->BB8_TABPRE,1)),.F.) | x x x x x x x x x x x x x x x x | - | B82PLS | 1 | xxxx x x | - | S | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14752 | 0 |
| BB8 | 36 | BB8_DESPRE | C | 30 | 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("BC5",1,xFilial("BC5")+BB8->(BB8_CODINT+BB8_CODIGO+BB8_TABPRE),"BC5_DESCRI")) | - | 1 | xxxx x x | - | - | - | - | V | V | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14753 | 0 |
| BB8 | 37 | BB8_TRTEXE | C | 1 | 0 | Trt.Execut.? | ¿Trat.Ejec? | Process Exec | Tratar Executante da Guia | Tratar Ejecutante Guia | Process form executor | @! | - | x x x x x x x x x x x x x x x x | "1" | - | 1 | xxxxxx x | - | - | - | - | - | - | - | - | 1=Sim;0=Nao | 1=Si;0=No | 1=Yes;0=No | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14754 | 0 |
| BB8 | 38 | BB8_EMAIL | C | 80 | 0 | E-Mail da RDA | E-mail de la RDA | RDA's e-mail | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14755 | 0 | |||
| BB8 | 39 | BB8_WEB | C | 80 | 0 | Pagina Web | Pagina Web | Web site | Pagina Web da RDA | Pagina Web de la RDA | RDA's website | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14756 | 0 |
| BB8 | 40 | BB8_DATBLO | D | 8 | 0 | Data Bloq. | Fecha Bloq. | Block Date | Data da Bloqueio | Fecha del Bloqueo | Block Date | @D | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14757 | 0 |
| BB8 | 41 | BB8_BANDA | N | 16 | 2 | Banda | Banda | Band | Banda | Banda | Band | @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 | - | - | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14758 | 0 |
| BB8 | 42 | BB8_CNES | C | 7 | 0 | CNES | CNES | CNES | CNES | CNES | CNES | @R !!!!!!-! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14759 | 0 |
| BB8 | 43 | BB8_CARSOL | C | 1 | 0 | Car. Solic. | Car. Solic. | Req. type | Caráter da Solicitação | Caracter de la Solicitud | Request type | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | - | - | - | - | - | E=Eletivo;U=Urgência/Emergência | E=Electivo;U=Urgencia/Emergencia | S=Scheduled;U=Urgency/Emergency | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14760 | 0 |
| BB8 | 44 | BB8_REGMUN | C | 3 | 0 | Região | Region | Region | Região | Region | Region | @! | PlsSeek("BIB",1,PLSINTPAD()+M->BB8_REGMUN,"","") | x x x x x x x x x x x x x x x x | - | BIDPLS | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14761 | 0 |
| BB8 | 45 | BB8_UCO | N | 16 | 2 | UCO | UCO | UCO | UCO | UCO | UCO | @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 | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14762 | 0 |
| BB8 | 46 | BB8_CPFCGC | C | 14 | 0 | CPF/CNPJ | RCPF/RCPJ | SSN/EIN | CPF/CNPJ | RCPF/RCPJ | SSN/EIN | @R! NN.NNN.NNN/NNNN-99 | Vazio() .or. CGC(M->BB8_CPFCGC) | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | A | R | - | - | - | - | - | PicCpfCnpj() | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 14763 | 0 |
| BB8 | 47 | BB8_LATLON | C | 50 | 0 | Latit. Long. | Latit. Long. | Latit. Long. | Latitude / Longitude | Latitud / Longitud | Latitude / Longitude | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14764 | 0 |
| BB8 | 48 | BB8_NR_LAT | C | 20 | 0 | Nr Latitude | Nr Latitud | Latitude Nr | Informacao de Latitude | Informac. de Latitud | Latitude Data | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14765 | 0 |
| BB8 | 49 | BB8_NR_LON | C | 20 | 0 | Nr Longitude | Nr Longitud | Longitude Nr | Informacao de Longitude | Informac. de Longitud | Longitude Data | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14766 | 0 |
| BB8 | 50 | BB8_AOINT | C | 1 | 0 | Integrado ? | Integrado | Integrated ? | Integrado com GRC? | Integrado con GRC | Integrated with GRC? | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14767 | 0 |
| BB8 | 51 | BB8_B2B | C | 8 | 0 | B2B | B2B | B2B | Codigo De-Para | Codigo De-A | From-To Code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14768 | 0 |
| BB8 | 52 | BB8_ACAO | C | 1 | 0 | Acao integra | Accion integ | Integ.Action | Acao realizada na integ | Accion realizada integr. | Action executed in integ. | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14769 | 0 |
| BB8 | 53 | BB8_DTINT | C | 20 | 0 | Dt Integra | Fc Integra | Integ. Dt | Data da integracao | Fecha de Integracion | Integration date | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14770 | 0 |
| BB8 | 54 | BB8_PRTACD | C | 1 | 0 | Prest.Acred. | Prest.Acred. | Acc.Provider | Prestador Acreditado | Prestador acreditado | Accredited Provider | @! | Vazio() .Or. Pertence('01') | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | 0=Nao;1=Sim | 0=No;1=Si | 0=No;1=Yes | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14771 | 0 |
| BB8 | 55 | BB8_INSACR | C | 5 | 0 | Ins.Acredit. | Ins.Acredit. | Accredit.Ins | Instituicao Acreditadora | Institucion acreditadora | Accrediting Institution | @! | Vazio() .Or. ExistCPO('SX5','ZJ'+M->BB8_INSACR) | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | M->BB8_PRTACD == '1' | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14772 | 0 |
| BB8 | 56 | BB8_NIVACR | C | 1 | 0 | Nivel Acred. | Nivel Acred. | Accred.Level | Nível de Acreditação | Nivel de acreditacion | Accrediting Level | @! | Vazio() .Or. Pertence('1234') | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Acreditado;2=Acreditado Pleno;3=Acreditado com Excelência;4=Acreditado sem nível de acreditação | 1=Acreditado;2=Acreditado pleno;3=Acreditado con excelencia;4=Acreditado sin nivel de acreditacion | 1=Accredited;2=Completely Accredited;3=Accredited with Excelence;4=Accredited without accreditation level | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14773 | 0 |
| BB8 | 57 | BB8_EMASEC | C | 80 | 0 | E-mail Sec. | E-mail Sec. | Sec e-mail | E-mail Secundário | E-mail Secundario | Secondary e-mail | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14774 | 0 |
| BB8 | 58 | BB8_CODREA | C | 6 | 0 | Cod. Reajust | Cod. Reajust | Adjust Code | Codigo Reajuste B4S | Codigo Reajuste B4S | Adjusted Code B4S | - | - | 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 | - | - | - | 14775 | 0 |
| BB8 | 59 | BB8_RECREA | N | 9 | 0 | Rec. Reajust | Rec. Reajust | Adjust Recno | Recno Reajustado | Recno Reajustado | Adjusted Recno | @E 999999999 | - | 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 | - | - | - | 14776 | 0 |
| BB8 | 60 | BB8_FIMATE | D | 8 | 0 | Dt Fim Atend | Fch Fin Atec | Serv End Dt | Data Final de Atendimento | Fecha final de atención | Service End Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14777 | 0 |
| BB8 | 61 | BB8_TEL2 | C | 20 | 0 | Tel. Local | Tel. Lugar | Phone Loc | Tel. Local Atendimento | Tel. Lugar Atención | Phone Service location | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | PLSBB8When() | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14778 | 0 |
| BB8 | 62 | BB8_DDDWA | C | 4 | 0 | DDD Whatsapp | DDN Whatsapp | Area Code Wh | DDD WhatsApp PTU A400 | DDN WhatsApp PTU A400 | Area Cd WhatsApp PTU A400 | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14779 | 0 |
| BB8 | 63 | BB8_TELWA | C | 12 | 0 | Telef. WhatsApp PTU A400 | Teléf. WhatsApp PTU A400 | Phone WhatsApp PTU A400 | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14780 | 0 | |||
| BB8 | 64 | BB8_CODEXC | C | 2 | 0 | Mot exclusão | Mot Borrado | Deletion Rea | Motivo da exclusão | Motivo de borrado | Deletion Reason | @! | - | x x x x x x x x x x x x x x x x | - | CN | 1 | x | - | S | - | - | - | - | - | - | - | - | - | - | !empty(M->BB8_DATBLO) | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14781 | 0 |
| BB8 | 65 | BB8_MOTDES | C | 70 | 0 | Descrição | Descrip | Description | Descrição | Descrip | Description | @! | - | x x x x x x x x x x x x x x x x | If(Inclui,"",Posicione("SX5",1,xFilial(" ")+"CN"+ BB8->BB8_CODEXC,"X5_DESCRI")) | - | 1 | x | - | - | - | - | V | V | - | - | - | - | - | - | - | - | - | 5 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14782 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BB8 | 1 | BB8_FILIAL+BB8_CODIGO+BB8_CODINT+BB8_CODLOC+BB8_LOCAL | Codigo + Operadora + Codigo Local + Local | Codigo + Operadora + Codigo Local + Local | Code + Operator + Place Code + Location | S | - | - | S | 2 | 3 | - | 2243 | 0 |
| BB8 | 2 | BB8_FILIAL+BB8_DESLOC | Desc. Local | Desc. Local | Loc. Descr. | S | - | - | S | 2 | 3 | - | 2244 | 0 |
| BB8 | 3 | BB8_FILIAL+BB8_CODIGO+BB8_CODINT+BB8_LOCAL+BB8_CODLOC | Codigo + Operadora + Local + Codigo Local | Codigo + Operadora + Local + Codigo Local | Code + Operator + Location + Place Code | S | - | - | S | 2 | 3 | - | 2245 | 0 |
| BB8 | 4 | BB8_FILIAL+BB8_CODIGO+BB8_CODINT+BB8_TIPLOG+BB8_CEP+BB8_NR_END+BB8_EST | Codigo + Operadora + Tp Logradour + CEP + Numero + Estado | Codigo + Operadora + Tp Direccion + CP + Numero + Estado | Code + Operator + Street type + ZIP + Number + State | S | - | - | S | 2 | 3 | - | 2246 | 0 |
| BB8 | 5 | BB8_FILIAL+BB8_TIPLOG+BB8_CEP+BB8_NR_END+BB8_EST+BB8_CODIGO+BB8_CODINT | Tp Logradour + CEP + Numero + Estado + Codigo + Operadora | Tp Direccion + CP + Numero + Estado + Codigo + Operadora | Street type + ZIP + Number + State + Code + Operator | S | - | - | S | 2 | 3 | - | 2247 | 0 |
| BB8 | 6 | BB8_FILIAL+BB8_CODINT+BB8_CODIGO+BB8_CODLOC | Operadora + Codigo + Codigo Local | Operadora + Codigo + Codigo Local | Operator + Code + Place Code | S | - | - | S | 2 | 3 | - | 2248 | 0 |
| BB8 | 7 | BB8_FILIAL+BB8_CNES | CNES | CNES | CNES | S | - | CNES | S | 2 | 3 | - | 2249 | 0 |
Ela é utilizada para locais de rede atendimento 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
BB8_FILIAL,
BB8_CODINT,
BB8_DESINT,
BB8_CODIGO,
BB8_CODLOC,
BB8_LOCAL,
BB8_DESLOC,
BB8_CEP,
BB8_TIPLOG,
BB8_DESCTL,
BB8_END,
BB8_NR_END,
BB8_COMEND,
BB8_CODMUN,
BB8_MUN,
BB8_EST,
BB8_BAIRRO,
BB8_DDD,
BB8_TEL,
BB8_FAX,
BB8_CONTAT,
BB8_CARCON,
BB8_GUIMED,
BB8_TMPCON,
BB8_OBRCLI,
BB8_VALCH,
BB8_VIGUS,
BB8_FORMUL,
BB8_EXPRES,
BB8_CORRES,
BB8_CRPLOC,
BB8_CODIDE,
BB8_CODTAB,
BB8_DESTAB,
BB8_TABPRE,
BB8_DESPRE,
BB8_TRTEXE,
BB8_EMAIL,
BB8_WEB,
BB8_DATBLO,
BB8_BANDA,
BB8_CNES,
BB8_CARSOL,
BB8_REGMUN,
BB8_UCO,
BB8_CPFCGC,
BB8_LATLON,
BB8_NR_LAT,
BB8_NR_LON,
BB8_AOINT,
BB8_B2B,
BB8_ACAO,
BB8_DTINT,
BB8_PRTACD,
BB8_INSACR,
BB8_NIVACR,
BB8_EMASEC,
BB8_CODREA,
BB8_RECREA,
BB8_FIMATE,
BB8_TEL2,
BB8_DDDWA,
BB8_TELWA,
BB8_CODEXC,
BB8_MOTDES
FROM BB8
WHERE
D_E_L_E_T_ = ' '
AND BB8_FILIAL = 'VALOR'
AND BB8_CODINT = 'VALOR'
AND BB8_DESINT = 'VALOR'
AND BB8_CODIGO = 'VALOR'
AND BB8_CODLOC = 'VALOR'
AND BB8_LOCAL = 'VALOR'
AND BB8_DESLOC = 'VALOR'
AND BB8_CEP = 'VALOR'
AND BB8_TIPLOG = 'VALOR'
AND BB8_DESCTL = 'VALOR'
AND BB8_END = 'VALOR'
AND BB8_NR_END = 'VALOR'
AND BB8_COMEND = 'VALOR'
AND BB8_CODMUN = 'VALOR'
AND BB8_MUN = 'VALOR'
AND BB8_EST = 'VALOR'
AND BB8_BAIRRO = 'VALOR'
AND BB8_DDD = 'VALOR'
AND BB8_TEL = 'VALOR'
AND BB8_FAX = 'VALOR'
AND BB8_CONTAT = 'VALOR'
AND BB8_CARCON = 'VALOR'
AND BB8_GUIMED = 'VALOR'
AND BB8_TMPCON = 'VALOR'
AND BB8_OBRCLI = 'VALOR'
AND BB8_VALCH = 0
AND BB8_VIGUS BETWEEN '20260401' AND '20260430'
AND BB8_FORMUL = 'VALOR'
AND BB8_EXPRES = 'VALOR'
AND BB8_CORRES = 'VALOR'
AND BB8_CRPLOC = 'VALOR'
AND BB8_CODIDE = 'VALOR'
AND BB8_CODTAB = 'VALOR'
AND BB8_DESTAB = 'VALOR'
AND BB8_TABPRE = 'VALOR'
AND BB8_DESPRE = 'VALOR'
AND BB8_TRTEXE = 'VALOR'
AND BB8_EMAIL = 'VALOR'
AND BB8_WEB = 'VALOR'
AND BB8_DATBLO BETWEEN '20260401' AND '20260430'
AND BB8_BANDA = 0
AND BB8_CNES = 'VALOR'
AND BB8_CARSOL = 'VALOR'
AND BB8_REGMUN = 'VALOR'
AND BB8_UCO = 0
AND BB8_CPFCGC = 'VALOR'
AND BB8_LATLON = 'VALOR'
AND BB8_NR_LAT = 'VALOR'
AND BB8_NR_LON = 'VALOR'
AND BB8_AOINT = 'VALOR'
AND BB8_B2B = 'VALOR'
AND BB8_ACAO = 'VALOR'
AND BB8_DTINT = 'VALOR'
AND BB8_PRTACD = 'VALOR'
AND BB8_INSACR = 'VALOR'
AND BB8_NIVACR = 'VALOR'
AND BB8_EMASEC = 'VALOR'
AND BB8_CODREA = 'VALOR'
AND BB8_RECREA = 0
AND BB8_FIMATE BETWEEN '20260401' AND '20260430'
AND BB8_TEL2 = 'VALOR'
AND BB8_DDDWA = 'VALOR'
AND BB8_TELWA = 'VALOR'
AND BB8_CODEXC = 'VALOR'
AND BB8_MOTDES = 'VALOR'