Tabela GUU

MOTORISTAS E AJUDANTES
23camposNome físicoGUU010(empresa 01)

Campos da tabela GUU

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

23
CampoDescrição
GUU_FILIAL
Caractere (C)(2)
Filial
GUU_CDMTR
Caractere (C)(6)
Cod Mot/Ajud
Máscara:
@!
Contexto:
Real
Validação:
ExistChav("GUU")
GUU_NMMTR
Caractere (C)(50)
Nome
Máscara:
@!
Contexto:
Real
Validação:
NAOVAZIO()
GUU_PSEUD
Caractere (C)(20)
Pseud/Apelid
Máscara:
@!
Contexto:
Real
GUU_TPMTR
Caractere (C)(1)
Tipo
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Motorista
  • 2Ajudante
GUU_IDFED
Caractere (C)(14)
CPF
Contexto:
Real
GUU_RG
Caractere (C)(15)
RG
Máscara:
@!
Contexto:
Real
GUU_ORGEXP
Caractere (C)(6)
Orgao Exped
Máscara:
@!
Contexto:
Real
GUU_CDTRP
Caractere (C)(14)
Transp
Máscara:
@!
Contexto:
Real
Consulta F3:
GU3TRP
Validação:
ALLTRIM(M->GUU_CDTRP)=="".OR.GFEExistC("GU3",,M->GUU_CDTRP,"GU3->GU3_SIT='1'.AND.(GU3->GU3_TRANSP=='1'.OR.GU3->GU3_AUTON=='1')")
GUU_NMTRP
Caractere (C)(80)
Nome Transp
Contexto:
Virtual (não existe no banco)
GUU_SIT
Caractere (C)(1)
Sit Mot/Ajud
Máscara:
@!
Contexto:
Real
Modo de edição (When):
ALTERA .And. GFEX000VAC()
3 valores possíveis
  • 1Ativo
  • 2Inativo
  • 3Entr Proib
GUU_DTSIT
Data (D)(8)
Dt Situacao
Contexto:
Real
GUU_DSSIT
Caractere (C)(150)
Mot Situacao
Máscara:
@!
Contexto:
Real
GUU_OBS
Memo (M)(10)
Observacoes
Contexto:
Real
GUU_BITMAP
Caractere (C)(20)
Foto
Contexto:
Real
GUU_MOPP
Caractere (C)(1)
MOPP
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
GUU_NUMCNH
Caractere (C)(11)
Nr CNH
Contexto:
Real
GUU_REGCNH
Caractere (C)(10)
Reg CNH
Máscara:
@!
Contexto:
Real
GUU_DTECNH
Data (D)(8)
Dt Exped CNH
Contexto:
Real
GUU_DTVCNH
Data (D)(8)
Dt Venct CNH
Contexto:
Real
GUU_MUNCNH
Caractere (C)(15)
Munici CNH
Contexto:
Real
GUU_ESTCNH
Caractere (C)(2)
Estado CNH
Contexto:
Real
GUU_CATCNH
Caractere (C)(3)
Cat CNH
Máscara:
@! AA
Contexto:
Real

SELECT de exemplo da tabela GUU

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
  GUU.GUU_FILIAL,
  GUU.GUU_CDMTR,
  GUU.GUU_NMMTR,
  GUU.GUU_PSEUD,
  GUU.GUU_TPMTR,
  GUU.GUU_IDFED,
  GUU.GUU_RG,
  GUU.GUU_ORGEXP
FROM GUU010 GUU
WHERE GUU.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.