Tabela BLU

Subcontrato x Procec x CID
14camposNome físicoBLU010(empresa 01)

Campos da tabela BLU

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

14
CampoDescrição
BLU_FILIAL
Caractere (C)(2)
Filial
BLU_CODINT
Caractere (C)(4)
Cd Operadora
Máscara:
@!
Consulta F3:
B41PLS
BLU_CODIGO
Caractere (C)(4)
Grp/Empresa
Máscara:
@!
BLU_SEQUEN
Caractere (C)(3)
Sequencia
Máscara:
@!
BLU_CID
Caractere (C)(8)
CID
Máscara:
@!
Consulta F3:
BA9PLS
Validação:
ExistCpo("BA9",M->BLU_CID,1) .And. PLSVLDGD()
BLU_DESCID
Caractere (C)(30)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
BLU_NUMCON
Caractere (C)(12)
Num.Contrato
BLU_VERCON
Caractere (C)(3)
Versao Cont.
BLU_SUBCON
Caractere (C)(9)
Sub-contrato
BLU_VERSUB
Caractere (C)(3)
Versao Sub.
BLU_CODPRO
Caractere (C)(4)
Produto
BLU_CODPAD
Caractere (C)(2)
Tipo Tab.Pad
BLU_CODPSA
Caractere (C)(16)
Tab. Padrao
BLU_VERPRO
Caractere (C)(3)
Versao
Máscara:
@E
Contexto:
Real

SELECT de exemplo da tabela BLU

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
  BLU.BLU_FILIAL,
  BLU.BLU_CODINT,
  BLU.BLU_CODIGO,
  BLU.BLU_SEQUEN,
  BLU.BLU_CID,
  BLU.BLU_NUMCON,
  BLU.BLU_VERCON,
  BLU.BLU_SUBCON
FROM BLU010 BLU
WHERE BLU.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.