Tabela MAB

Referências Pessoais
9camposNome físicoMAB010(empresa 01)

Campos da tabela MAB

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

9
CampoDescrição
MAB_FILIAL
Caractere (C)(2)
Filial
MAB_CODIGO
Caractere (C)(6)
Codigo
MAB_CODCLI
Caractere (C)(6)
Cod. Cliente
Máscara:
@!
Contexto:
Real
MAB_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
MAB_NOME
Caractere (C)(40)
Nome
Máscara:
@!
Contexto:
Real
MAB_DDD
Caractere (C)(3)
DDD
Contexto:
Real
MAB_TEL
Caractere (C)(15)
Telefone
Contexto:
Real
MAB_RAMAL
Caractere (C)(5)
Ramal
Contexto:
Real
MAB_OBS
Caractere (C)(50)
Observacao
Contexto:
Real

SELECT de exemplo da tabela MAB

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
  MAB.MAB_FILIAL,
  MAB.MAB_CODIGO,
  MAB.MAB_CODCLI,
  MAB.MAB_LOJA,
  MAB.MAB_NOME,
  MAB.MAB_DDD,
  MAB.MAB_TEL,
  MAB.MAB_RAMAL
FROM MAB010 MAB
WHERE MAB.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.