Tabela RE3

Escritório de Advocacia
19camposNome físicoRE3010(empresa 01)

Campos da tabela RE3

19 campos no dicionário de dados do TOTVS Protheus.

19
CampoDescrição
RE3_FILIAL
Caractere (C)(2)
Filial
RE3_CODIGO
Caractere (C)(6)
Codigo
Validação:
NAOVAZIO() .AND. EXISTCHAV("RE3")
RE3_NOME
Caractere (C)(30)
Nome
Máscara:
@!
Contexto:
Real
Validação:
!EMPTY(M->RE3_NOME)
RE3_RAZSOC
Caractere (C)(50)
Razao Social
Máscara:
@!
Contexto:
Real
RE3_CNPJ
Caractere (C)(14)
CNPJ
Máscara:
@R 99.999.999/9999-99
Validação:
VAZIO() .OR. CGC(M->RE3_CNPJ)
RE3_INSCR
Caractere (C)(17)
Inscr.Estad.
RE3_RUA
Caractere (C)(30)
Rua
Máscara:
@!
Contexto:
Real
RE3_NUM
Caractere (C)(5)
Numero
Máscara:
@!
Contexto:
Real
RE3_COMPL
Caractere (C)(15)
Complemento
Máscara:
@!
Contexto:
Real
RE3_BAIRRO
Caractere (C)(15)
Bairro
Máscara:
@!
Contexto:
Real
RE3_MUNIC
Caractere (C)(20)
Municipio
Máscara:
@!
Contexto:
Real
RE3_UF
Caractere (C)(2)
UF
Máscara:
@!
Contexto:
Real
Consulta F3:
12
Validação:
VAZIO() .OR. EXISTCPO("SX5","12"+M->RE3_UF)
RE3_CEP
Caractere (C)(8)
CEP
Máscara:
@!
Contexto:
Real
RE3_DDI
Caractere (C)(3)
Cod. DDI
Máscara:
@!
Contexto:
Real
RE3_DDD
Caractere (C)(3)
Cod. DDD
Máscara:
@!
Contexto:
Real
RE3_FONE1
Caractere (C)(20)
Fone Princ.
Máscara:
@!
Contexto:
Real
RE3_FONE2
Caractere (C)(20)
Fone Secund.
Máscara:
@!
Contexto:
Real
RE3_FAX
Caractere (C)(20)
Fax
Máscara:
@!
Contexto:
Real
RE3_EMAIL
Caractere (C)(60)
E-mail
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela RE3

No Protheus a tabela física leva o código da empresa (01 → 010) e registros excluídos ficam com D_E_L_E_T_ = '*'.

SQL · SQL Server
SELECT TOP 100
  RE3.RE3_FILIAL,
  RE3.RE3_CODIGO,
  RE3.RE3_NOME,
  RE3.RE3_RAZSOC,
  RE3.RE3_CNPJ,
  RE3.RE3_INSCR,
  RE3.RE3_RUA,
  RE3.RE3_NUM
FROM RE3010 RE3
WHERE RE3.D_E_L_E_T_ = ' '

Tabelas próximas no índice do Protheus

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.