Tabela CU8

Pgto Não Residente no Brasil
10camposNome físicoCU8010(empresa 01)

Campos da tabela CU8

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

10
CampoDescrição
CU8_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CU8_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
CU8_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
CU8_DTPGTO
Data (D)(8)
Dt. Pagto.
Contexto:
Real
CU8_IDTPRE
Caractere (C)(6)
Id Tp. Rend.
Máscara:
@!
Contexto:
Real
Consulta F3:
CUC
Validação:
xFunVldCmp("CUC",,,,1,.T.)
CU8_DIDTPR
Caractere (C)(220)
Tp Rend.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CU8_IDFTRI
Caractere (C)(6)
Id Forma Tr.
Máscara:
@!
Contexto:
Real
Consulta F3:
CUD
Validação:
xFunVldCmp("CUD",,,,1,.T.)
CU8_DIDFTR
Caractere (C)(220)
Forma Trib.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CU8_VLRPGT
Numérico (N)(16,2)
Vlr Pago
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CU8_VLRIRR
Numérico (N)(16,2)
Vlr IRRF.
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real

SELECT de exemplo da tabela CU8

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
  CU8.CU8_FILIAL,
  CU8.CU8_ID,
  CU8.CU8_VERSAO,
  CU8.CU8_DTPGTO,
  CU8.CU8_IDTPRE,
  CU8.CU8_IDFTRI,
  CU8.CU8_VLRPGT,
  CU8.CU8_VLRIRR
FROM CU8010 CU8
WHERE CU8.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.