Tabela COU

Permissões itens
5camposNome físicoCOU010(empresa 01)

Campos da tabela COU

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

CampoDescrição
COU_FILIAL
Caractere (C)(2)
Filial
COU_CODUSR
Caractere (C)(6)
Cod. Usuario
Máscara:
@!
Contexto:
Real
Validação:
UsrExist(M->COU_CODUSR)
COU_CODGRP
Caractere (C)(6)
Cod. Grupo
Máscara:
@!
Contexto:
Real
COU_ETAPA
Caractere (C)(6)
Etapas
Máscara:
@!
Contexto:
Real
Consulta F3:
LE
Validação:
ExistCpo("SX5","LE"+M->COU_ETAPA)
COU_DESCET
Caractere (C)(55)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela COU

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
  COU.COU_FILIAL,
  COU.COU_CODUSR,
  COU.COU_CODGRP,
  COU.COU_ETAPA
FROM COU010 COU
WHERE COU.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.