Tabela CU4

Advogado Rend. Recebidos Acumu
8camposNome físicoCU4010(empresa 01)

Campos da tabela CU4

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

CampoDescrição
CU4_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CU4_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
CU4_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
CU4_CODIGO
Caractere (C)(2)
Codigo
Máscara:
@!
Contexto:
Real
CU4_IDPROC
Caractere (C)(6)
ID Processo
Máscara:
@!
Contexto:
Real
CU4_IDADV
Caractere (C)(6)
Id Advogado
Máscara:
!@
Contexto:
Real
Consulta F3:
CMW
Validação:
XFUNVldCmp("CMW",,,,1)
CU4_DIDADV
Caractere (C)(220)
Nome Adv.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CU4_VLRADV
Numérico (N)(16,2)
Vlr. Advogad
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real

SELECT de exemplo da tabela CU4

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
  CU4.CU4_FILIAL,
  CU4.CU4_ID,
  CU4.CU4_VERSAO,
  CU4.CU4_CODIGO,
  CU4.CU4_IDPROC,
  CU4.CU4_IDADV,
  CU4.CU4_VLRADV
FROM CU4010 CU4
WHERE CU4.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.