Tabela CBL

Itens do Embarque Simples
12camposNome físicoCBL010(empresa 01)

Campos da tabela CBL

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

12
CampoDescrição
CBL_FILIAL
Caractere (C)(2)
Filial
CBL_DOC
Caractere (C)(9)
Nota Saida
Máscara:
@!
Contexto:
Real
CBL_SERIE
Caractere (C)(3)
Serie NFS
Máscara:
!!!
Contexto:
Real
CBL_CODETI
Caractere (C)(10)
Cod.Etiqueta
Máscara:
@!
Contexto:
Real
CBL_PROD
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
CBL_QTDEMB
Numérico (N)(12,2)
Qt.Embarcada
Máscara:
@E 999,999,999.99
Contexto:
Real
CBL_CLIENT
Caractere (C)(6)
Cliente
Máscara:
@!
Contexto:
Real
CBL_LOJA
Caractere (C)(2)
Loja Cliente
Máscara:
@!
Contexto:
Real
CBL_LOTECT
Caractere (C)(10)
Lote
Contexto:
Real
CBL_NUMSER
Caractere (C)(20)
Num.Serie
Máscara:
@!
Contexto:
Real
CBL_SDOC
Caractere (C)(3)
Serie Doc.
Máscara:
!!!
Contexto:
Real
CBL_SLOTE
Caractere (C)(6)
Sub-Lote
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela CBL

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
  CBL.CBL_FILIAL,
  CBL.CBL_DOC,
  CBL.CBL_SERIE,
  CBL.CBL_CODETI,
  CBL.CBL_PROD,
  CBL.CBL_QTDEMB,
  CBL.CBL_CLIENT,
  CBL.CBL_LOJA
FROM CBL010 CBL
WHERE CBL.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.