Tabela N61

Aluno
115camposNome físicoN61010(empresa 01)

Campos da tabela N61

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

115
CampoDescrição
N61_CPF
Caractere (C)(11)
CPF
Máscara:
@R 999.999.999-99
Contexto:
Real
Validação:
CGC(M->N61_CPF)
N61_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
N61_CODIGO
Caractere (C)(9)
Codigo
Contexto:
Real
Validação:
ExistChav("N61")
N61_NOME
Caractere (C)(50)
Nome
Contexto:
Real
Validação:
ExistChav("N61",M->N61_NOME+M->N61_DI+M->N61_ORGEMI+M->N61_DIUF,2)
N61_DI
Caractere (C)(15)
Doc Ident
Contexto:
Real
Validação:
ExistChav("N61",M->N61_NOME+M->N61_DI+M->N61_ORGEMI+M->N61_DIUF,2)
N61_ORGEMI
Caractere (C)(6)
Org Emissor
Máscara:
@!
Contexto:
Real
Validação:
ExistChav("N61",M->N61_NOME+M->N61_DI+M->N61_ORGEMI+M->N61_DIUF,2)
N61_DIUF
Caractere (C)(2)
UF(Doc Iden)
Máscara:
@!
Contexto:
Real
Consulta F3:
12
Validação:
ExistCpo("SX5","12"+M->N61_DIUF).and.ExistChav("N61",M->N61_NOME+M->N61_DI+M->N61_ORGEMI+M->N61_DIUF,2)
N61_DTNASC
Data (D)(8)
Data Nasc
Contexto:
Real
N61_CODESC
Caractere (C)(6)
Cod Escola
Contexto:
Real
Consulta F3:
N60
Validação:
IF(Trim(Substr( cUsuario,7,15)) <> 'Administrador', M->N61_CODESC == cEscola , existcpo("N60") )
N61_NOMESC
Caractere (C)(100)
Escola
Contexto:
Real
N61_CODTUR
Caractere (C)(6)
Cod Turma
Contexto:
Real
Consulta F3:
N6C
Validação:
ExistCpo("N6C",M->N61_CODESC + M->N61_CODTUR)
N61_DESCTU
Caractere (C)(30)
Turma
Contexto:
Real
N61_END
Caractere (C)(50)
Endereco
Contexto:
Real
N61_NUMERO
Caractere (C)(5)
Numero
Contexto:
Real
N61_COMPLE
Caractere (C)(20)
Complemento
Contexto:
Real
N61_BAIRRO
Caractere (C)(20)
Bairro
Contexto:
Real
N61_MUNICI
Caractere (C)(20)
Municipio
Máscara:
@!
Contexto:
Real
Consulta F3:
N31
Validação:
EXISTCPO("N31",M->N61_MUNICI,2)
N61_UF
Caractere (C)(2)
UF
Máscara:
@!
Contexto:
Real
Consulta F3:
12
Validação:
ExistCpo("SX5","12"+M->N61_UF)
N61_CEP
Caractere (C)(8)
CEP
Máscara:
@R 99999-999
Contexto:
Real
N61_FONE2
Caractere (C)(15)
Fone Comerc
Máscara:
@!
Contexto:
Real
N61_FONE1
Caractere (C)(15)
Fone Resid
Máscara:
@!
Contexto:
Real
N61_FONE3
Caractere (C)(15)
Fone Celular
Máscara:
@!
Contexto:
Real
N61_FONE4
Caractere (C)(15)
Fone Recado
Máscara:
@!
Contexto:
Real
N61_SITPAI
Caractere (C)(1)
Pais Sep
Contexto:
Real
Validação:
PERTECE("12")
2 valores possíveis
  • 1SIM
  • 2NAO
N61_PESSOA
Caractere (C)(15)
Pes Recado
Contexto:
Real
N61_EMAIL
Caractere (C)(40)
E-Mail
Contexto:
Real
N61_ESTCIV
Caractere (C)(1)
Estado Civil
Contexto:
Real
5 valores possíveis
  • 0Solteiro
  • 1Casado
  • 2Viuvo
  • 3Separado
  • 9Outros
N61_SEXO
Caractere (C)(1)
Sexo
Contexto:
Real
2 valores possíveis
  • 1Masculino
  • 2Feminino
N61_NREG
Caractere (C)(18)
Num Registro
Máscara:
@!
Contexto:
Real
N61_FOLHA
Caractere (C)(3)
Folha
Contexto:
Real
N61_LIVRO
Caractere (C)(4)
Livro
Contexto:
Real
N61_CARTO
Caractere (C)(10)
Cartorio
Contexto:
Real
N61_CARTMU
Caractere (C)(20)
Municipio
Máscara:
@!
Contexto:
Real
Consulta F3:
N31
Validação:
ExistCpo("N31",M->N61_CARTMU,2)
N61_CARTUF
Caractere (C)(2)
UF
Máscara:
@!
Contexto:
Real
Consulta F3:
12
N61_TITELE
Caractere (C)(11)
Tit. Eleitor
Máscara:
@!
Contexto:
Real
N61_CPSER
Caractere (C)(5)
CP Serie
Contexto:
Real
N61_CP
Caractere (C)(6)
Cart. Trab.
Contexto:
Real
N61_HRTRAB
Caractere (C)(20)
Hr Trabalho
Contexto:
Real
N61_PAI
Caractere (C)(50)
Nome Pai
Contexto:
Real
N61_ENDPAI
Caractere (C)(50)
Endereco
Contexto:
Real
N61_NUMPAI
Caractere (C)(10)
Numero
Contexto:
Real
N61_COMPPA
Caractere (C)(20)
Complemento
Contexto:
Real
N61_BAIPAI
Caractere (C)(20)
Bairro
Contexto:
Real
N61_MUNPAI
Caractere (C)(20)
Municipio
Máscara:
@!
Contexto:
Real
Consulta F3:
N31
Validação:
EXISTCPO("N31",M->N61_MUNPAI,2)
N61_CEPPAI
Caractere (C)(8)
CEP
Máscara:
@R 99999-999
Contexto:
Real
N61_UFPAI
Caractere (C)(2)
UF
Máscara:
@!
Contexto:
Real
Consulta F3:
12
Validação:
ExistCpo("SX5","12"+M->N61_UFPAI)
N61_DIPAI
Caractere (C)(15)
Doc. Ident.
Contexto:
Real
N61_ORGPAI
Caractere (C)(6)
Org. Emissor
Máscara:
@!
Contexto:
Real
N61_CPFPAI
Caractere (C)(11)
CPF
Máscara:
@R 999.999.999-99
Contexto:
Real
Validação:
CGC(M->N61_CPFPAI)
N61_ESTPAI
Caractere (C)(1)
Estado Civil
Contexto:
Real
5 valores possíveis
  • 0Solteiro
  • 1Casado
  • 2Vi·vo
  • 3Separado
  • 9Outros
N61_FONE11
Caractere (C)(15)
Fone Resid
Contexto:
Real
N61_FONE21
Caractere (C)(15)
Fone Comerc
Contexto:
Real
N61_FONE31
Caractere (C)(15)
Fone Celular
Contexto:
Real
N61_FONE41
Caractere (C)(15)
Fone Recado
Contexto:
Real
N61_CONPAI
Caractere (C)(20)
Contato
Contexto:
Real
N61_PROPAI
Caractere (C)(25)
Profissao
Máscara:
@!
Contexto:
Real
N61_EMPPAI
Caractere (C)(30)
Empresa
Máscara:
@!
Contexto:
Real
N61_HORPAI
Caractere (C)(20)
Horario Trab
Contexto:
Real
N61_MAE
Caractere (C)(50)
Mae
Contexto:
Real
N61_ENDMAE
Caractere (C)(50)
End. Mae
Contexto:
Real
N61_NUMMAE
Caractere (C)(10)
Numero
Contexto:
Real
N61_COMPMA
Caractere (C)(10)
Complemento
Contexto:
Real
N61_BAIMAE
Caractere (C)(10)
Bairro
Contexto:
Real
N61_MUNMAE
Caractere (C)(20)
Municipio
Máscara:
@!
Contexto:
Real
Consulta F3:
N31
Validação:
EXISTCPO("N31",M->N61_MUNMAE,2)
N61_CEPMAR
Caractere (C)(8)
CEP
Máscara:
@R 99999-999
Contexto:
Real
N61_UFMAE
Caractere (C)(2)
UF
Máscara:
@!
Contexto:
Real
Consulta F3:
12
Validação:
ExistCpo("SX5","12"+M->N61_UFMAE)
N61_DIMAE
Caractere (C)(15)
Doc.Identid
Contexto:
Real
N61_ORGMAE
Caractere (C)(6)
Org.Emissor
Máscara:
@!
Contexto:
Real
N61_CPFMAE
Caractere (C)(11)
CPF
Máscara:
@R 999.999.999-99
Contexto:
Real
Validação:
CGC(M->N61_CPFMAE)
N61_ESTMAE
Caractere (C)(1)
Estado Civil
Contexto:
Real
5 valores possíveis
  • 0Solteiro
  • 1Casado
  • 2Viuvo
  • 3Separado
  • 9Outros
N61_FONE12
Caractere (C)(15)
Fone Resid
Contexto:
Real
N61_FONE22
Caractere (C)(15)
Fone Comerc
Contexto:
Real
N61_FONE32
Caractere (C)(15)
Fone Celular
Contexto:
Real
N61_FONE42
Caractere (C)(15)
Fone Recado
Contexto:
Real
N61_CONMAE
Caractere (C)(20)
Contato
Contexto:
Real
N61_PROMAE
Caractere (C)(20)
Profissao
Contexto:
Real
N61_EMPMAE
Caractere (C)(30)
Empresa
Máscara:
@!
Contexto:
Real
N61_HORMAE
Caractere (C)(20)
Hor.Trabalho
Contexto:
Real
N61_RESP
Caractere (C)(50)
Responsavel
Contexto:
Real
N61_ENDRES
Caractere (C)(50)
Endereco
Contexto:
Real
N61_MEDICO
Caractere (C)(40)
Medico
Contexto:
Real
N61_NUMRES
Caractere (C)(10)
Numero
Contexto:
Real
N61_COMPRE
Caractere (C)(10)
Complemento
Contexto:
Real
N61_BAIRES
Caractere (C)(20)
Bairro
Contexto:
Real
N61_MUNRES
Caractere (C)(30)
Municipio
Máscara:
@!
Contexto:
Real
Consulta F3:
N31
Validação:
EXISTCPO("N31",M->N61_MUNRES,2)
N61_CEPRES
Caractere (C)(8)
CEP
Máscara:
@R 99999-999
Contexto:
Real
N61_UFRES
Caractere (C)(2)
UF
Máscara:
@!
Contexto:
Real
Consulta F3:
12
N61_DIRES
Caractere (C)(15)
Doc. Identid
Contexto:
Real
N61_ORGRES
Caractere (C)(6)
Org. Emissor
Máscara:
@!
Contexto:
Real
N61_DIUFRE
Caractere (C)(2)
UF
Máscara:
@!
Contexto:
Real
Consulta F3:
12
N61_CPFRES
Caractere (C)(11)
CPF
Máscara:
@R 999.999.999-99
Contexto:
Real
Validação:
CGC(M->N61_CPFRES)
N61_ESTRES
Caractere (C)(1)
Estado Civil
Contexto:
Real
Validação:
IF( EMPTY(M->N61_RESP) .AND. M->N61_ESTRES $ '01239', .F., .T.)
5 valores possíveis
  • 0Solteiro
  • 1Casado
  • 2Viuvo
  • 3Separado
  • 9Outros
N61_FONE13
Caractere (C)(15)
Fone Resid
Contexto:
Real
N61_FONE23
Caractere (C)(15)
Fone Comerc
Contexto:
Real
N61_FONE33
Caractere (C)(15)
Fone Celular
Contexto:
Real
N61_FONE43
Caractere (C)(15)
Fone Recado
Contexto:
Real
N61_CONRES
Caractere (C)(20)
Contato
Contexto:
Real
N61_PRORES
Caractere (C)(25)
Profissao
Máscara:
@!
Contexto:
Real
N61_EMPRES
Caractere (C)(30)
Empresa
Máscara:
@!
Contexto:
Real
N61_FONEME
Caractere (C)(15)
Fone Medico
Contexto:
Real
N61_HORRES
Caractere (C)(20)
Horario Trab
Contexto:
Real
N61_MED1
Caractere (C)(50)
Medicamento
Contexto:
Real
N61_MED2
Caractere (C)(50)
Medicamento
Contexto:
Real
N61_MED3
Caractere (C)(50)
Medicamento
Contexto:
Real
N61_ALERG1
Caractere (C)(50)
Alergia 1
Contexto:
Real
N61_ALERG2
Caractere (C)(50)
Alergia 2
Contexto:
Real
N61_ALERG3
Caractere (C)(50)
Alergia 3
Contexto:
Real
N61_OBS1
Caractere (C)(50)
Observacao 1
Contexto:
Real
N61_OBS2
Caractere (C)(50)
Observacao 2
Contexto:
Real
N61_OBS3
Caractere (C)(50)
Observacao 3
Contexto:
Real
N61_VACINA
Caractere (C)(1)
Vacinacao
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
N61_TPGUAR
Caractere (C)(1)
Guard. Defin
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
N61_DTGUAR
Data (D)(8)
Dt. Guarda
Contexto:
Real
N61_COMAR
Caractere (C)(20)
Comarca
Contexto:
Real
N61_TGUARD
Caractere (C)(10)
Termo Guarda
Contexto:
Real

SELECT de exemplo da tabela N61

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
  N61.N61_CPF,
  N61.N61_FILIAL,
  N61.N61_CODIGO,
  N61.N61_NOME,
  N61.N61_DI,
  N61.N61_ORGEMI,
  N61.N61_DIUF,
  N61.N61_DTNASC
FROM N61010 N61
WHERE N61.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.