Tabela JGW

CONTROLE DE LOTE DAS BOLSAS
11camposNome físicoJGW010(empresa 01)

Campos da tabela JGW

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

11
CampoDescrição
JGW_FILIAL
Caractere (C)(2)
Filial
JGW_STATUS
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Aguardando Liberacao
  • 2Liberado
JGW_NRLOTE
Caractere (C)(6)
Numero Lote
Máscara:
@!
Contexto:
Real
JGW_USERAB
Caractere (C)(6)
Usuario Aber
Máscara:
@!
Contexto:
Real
JGW_NOMEAB
Caractere (C)(15)
Nome
Máscara:
@!
Contexto:
Virtual (não existe no banco)
JGW_DTABER
Data (D)(8)
Dt. Abertura
Contexto:
Real
JGW_HORABE
Caractere (C)(5)
Hora Abertur
Máscara:
@E 99:99
Contexto:
Real
JGW_USERFE
Caractere (C)(6)
Usuario Aut.
Máscara:
@!
Contexto:
Real
JGW_NOMEFE
Caractere (C)(15)
Nome
Máscara:
@!
Contexto:
Virtual (não existe no banco)
JGW_DTFECH
Data (D)(8)
Dt. Autoriza
Contexto:
Real
JGW_HORFEC
Caractere (C)(5)
Hora Autoriz
Máscara:
@E 99:99
Contexto:
Real

SELECT de exemplo da tabela JGW

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
  JGW.JGW_FILIAL,
  JGW.JGW_STATUS,
  JGW.JGW_NRLOTE,
  JGW.JGW_USERAB,
  JGW.JGW_DTABER,
  JGW.JGW_HORABE,
  JGW.JGW_USERFE,
  JGW.JGW_DTFECH
FROM JGW010 JGW
WHERE JGW.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.