Tabela CUO

Fechamento
35camposNome físicoCUO010(empresa 01)

Campos da tabela CUO

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

35
CampoDescrição
CUO_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CUO_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
CUO_VERSAO
Caractere (C)(14)
ID. Ver. Reg
Máscara:
@!
Contexto:
Real
CUO_INDAPU
Caractere (C)(1)
Ind.Per.Apur
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12") .And. XFUNVldUni("CUO",2,M->CUO_INDAPU+FWFLDGET("CUO_PERAPU")+"1")
2 valores possíveis
  • 1Folha de Pagamento Mensal
  • 2Folha de Decimo Terceiro Salario
CUO_PERAPU
Caractere (C)(6)
Per.Apuracao
Máscara:
@R 9999-99
Contexto:
Real
Validação:
XFUNVldUni("CUO",2,FWFLDGET("CUO_INDAPU")+M->CUO_PERAPU)
CUO_REMUN
Caractere (C)(1)
Remuneracao
Máscara:
@!
Contexto:
Real
Validação:
pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_PAGDIV
Caractere (C)(1)
Pagto Diver.
Máscara:
@!
Contexto:
Real
Validação:
pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_SRVTCM
Caractere (C)(1)
Srv Tom. CMO
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_SRVPCM
Caractere (C)(1)
Srv Pres CMO
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_SRVTCO
Caractere (C)(1)
Srv Tom Coop
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_SRVPCO
Caractere (C)(1)
Srv Pres Coo
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_AQUPRU
Caractere (C)(1)
Prod. Rural
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_COMPRO
Caractere (C)(1)
Comerc. Prod
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_REPACF
Caractere (C)(1)
Repasse C.F.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_INFDES
Caractere (C)(1)
Desoneracao
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_RECCON
Caractere (C)(1)
Concomitante
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_VERANT
Caractere (C)(14)
Id. Ver. Ant
Máscara:
@!
Contexto:
Real
CUO_STATUS
Caractere (C)(1)
Status Reg.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 012349")
6 valores possíveis
  • 0Reg.Valido
  • 1Reg.Invalido
  • 2Reg.Transmitido
  • 3Reg.Transmitido com inconsistencia
  • 4Reg.Transmitido valido
  • 9Em Processame
CUO_PROTUL
Caractere (C)(44)
Ult. Prot.
Máscara:
@!
Contexto:
Real
CUO_PROTPN
Caractere (C)(44)
Pnlt. Prot.
Máscara:
@!
Contexto:
Real
CUO_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("AIE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
CUO_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_INDFAP
Caractere (C)(1)
Ind.Apur.FAP
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1FAP atribuido a Empresa
  • 2FAP atribuido a cada Estabelecimento
CUO_PGTSNI
Caractere (C)(1)
Pag.Benefic.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_AQPROD
Caractere (C)(1)
Aq.Prd.Rural
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_COMPRD
Caractere (C)(1)
Com.Producao
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_COAVNP
Caractere (C)(1)
Cont.NaoPort
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_COMPER
Caractere (C)(1)
InfoComplPer
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_COSMVT
Caractere (C)(6)
Comp.S.Movto
Máscara:
@R 9999-99
Contexto:
Real
CUO_MOVFIN
Caractere (C)(1)
Repas.Socios
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CUO_IDRESP
Caractere (C)(36)
Id. Resp.
Máscara:
@!
Contexto:
Real
Consulta F3:
C2J
Validação:
XFUNVldCmp("C2J",5)
CUO_DESCRE
Caractere (C)(111)
Desc. Resp.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CUO_XMLID
Caractere (C)(36)
ID Xml
Contexto:
Real
CUO_GRVTOT
Lógico (L)(1)
Totalizador
Contexto:
Real
CUO_LOGOPE
Caractere (C)(1)
Log Operacao
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • 1Incl.Integr
  • 2Incl.Manual
  • 3Incl.Integr+Alt.Integr
  • 4Incl.Integr+Alt.Manual
  • 5Incl.Manual+Alt.Integr
  • 6Incl.Manual+Alt.Manual

SELECT de exemplo da tabela CUO

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
  CUO.CUO_FILIAL,
  CUO.CUO_ID,
  CUO.CUO_VERSAO,
  CUO.CUO_INDAPU,
  CUO.CUO_PERAPU,
  CUO.CUO_REMUN,
  CUO.CUO_PAGDIV,
  CUO.CUO_SRVTCM
FROM CUO010 CUO
WHERE CUO.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.