Tabela MA7

Crédito
40camposNome físicoMA7010(empresa 01)

Campos da tabela MA7

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

40
CampoDescrição
MA7_FILIAL
Caractere (C)(2)
Filial
MA7_FILCRE
Caractere (C)(2)
Fil.Crediari
Contexto:
Real
MA7_CODCLI
Caractere (C)(6)
Cliente
Máscara:
@!
Contexto:
Real
MA7_DATA
Data (D)(8)
Data
Máscara:
@D
Contexto:
Real
MA7_SEXO
Caractere (C)(1)
Sexo
Máscara:
9
Contexto:
Real
Validação:
PERTENCE("12 ")
2 valores possíveis
  • 1Masculino
  • 2Feminino
MA7_ECIVIL
Caractere (C)(1)
Est. Civil
Máscara:
9
Contexto:
Real
Validação:
PERTENCE("12345 ")
5 valores possíveis
  • 1Casado
  • 2Solteiro
  • 3Divorciado
  • 4Amasiado
  • 5Viuvo
MA7_OCUPA
Caractere (C)(30)
Ocupacao
Máscara:
@!
Contexto:
Real
MA7_PAI
Caractere (C)(50)
Pai
Máscara:
@!
Contexto:
Real
MA7_MAE
Caractere (C)(50)
Mae
Máscara:
@!
Contexto:
Real
MA7_TRES
Caractere (C)(20)
Temp. resid.
Contexto:
Real
MA7_CELULA
Caractere (C)(15)
Celular
Contexto:
Real
MA7_SPC
Caractere (C)(30)
SPC
MA7_SPCRES
Caractere (C)(30)
Restricoes
Máscara:
@!
Contexto:
Real
MA7_SPCPES
Caractere (C)(30)
Feito por
Máscara:
@!
Contexto:
Real
MA7_SPCOBS
Caractere (C)(30)
Observacoes
Máscara:
@!
Contexto:
Real
MA7_SPCPAR
Caractere (C)(30)
Parecer
Máscara:
@!
Contexto:
Real
MA7_BLOQUE
Caractere (C)(1)
Status Bloq.
Contexto:
Real
4 valores possíveis
  • ""livre
  • 1Bloqueado
  • 2Liberado pelo Credito
  • 3Rejeitado pelo Credito
MA7_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
MA7_HORABL
Caractere (C)(8)
Hr. Bloqueio
Máscara:
99:99:99
Contexto:
Real
MA7_USRBL
Caractere (C)(17)
Usuario Bloq
Contexto:
Real
MA7_MOTBL
Caractere (C)(30)
Motivo Bloq.
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • Para: ""livre
  • 1Bloqueio
  • 2Liberado pelo Credito
  • 3Rejeitado pelo Credito
MA7_VLRBL
Numérico (N)(9,2)
Valor Bloq.
Máscara:
999.999,99
Contexto:
Real
MA7_NOME
Caractere (C)(40)
Nome
Contexto:
Virtual (não existe no banco)
MA7_DTHRDS
Caractere (C)(14)
Dt Hr Invert
Máscara:
@!
Contexto:
Real
MA7_ARQPRO
Caractere (C)(30)
Arq. Itens
Contexto:
Real
MA7_ARQPAR
Caractere (C)(30)
Arq. Parc.
Contexto:
Real
MA7_LC
Numérico (N)(12,2)
Lim. Credito
Máscara:
@E 999,999,999.99
Contexto:
Real
MA7_CARTA
Caractere (C)(1)
Env. Corresp
Máscara:
9
Contexto:
Real
Validação:
PERTENCE("12")
2 valores possíveis
  • 1Residencial
  • 2Comercial
MA7_TPCRED
Caractere (C)(1)
Tipo Endivid
Contexto:
Real
2 valores possíveis
  • 1Endiv. Mensal
  • 2Endiv. Global
MA7_DATABL
Data (D)(8)
Data Bloq
Máscara:
99/99/99
Contexto:
Real
MA7_MOTTRA
Caractere (C)(50)
Motivo
Contexto:
Real
MA7_SEQCAR
Caractere (C)(7)
Seq.Cartao
Contexto:
Real
MA7_PONCRE
Numérico (N)(4,2)
Anal Credito
Máscara:
@E 9999
Contexto:
Real
MA7_PONPER
Numérico (N)(4,2)
Anal Perfil
Máscara:
@E 9999
Contexto:
Real
MA7_CONTRA
Caractere (C)(10)
Contrato
Contexto:
Real
MA7_PONTOS
Numérico (N)(10,2)
Pontos
Máscara:
@E 9,999,999.99
Contexto:
Real
MA7_IPRPC
Caractere (C)(15)
IP RPC
Máscara:
@!
Contexto:
Real
MA7_PORRPC
Caractere (C)(5)
Porta RPC
Máscara:
@!
Contexto:
Real
MA7_ENVRPC
Caractere (C)(100)
Env RPT
Contexto:
Real
MA7_NUMBLQ
Caractere (C)(3)
Msg Analista
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela MA7

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
  MA7.MA7_FILIAL,
  MA7.MA7_FILCRE,
  MA7.MA7_CODCLI,
  MA7.MA7_DATA,
  MA7.MA7_SEXO,
  MA7.MA7_ECIVIL,
  MA7.MA7_OCUPA,
  MA7.MA7_PAI
FROM MA7010 MA7
WHERE MA7.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.