Tabela G4E

REEMBOLSO
35camposNome físicoG4E010(empresa 01)

Campos da tabela G4E

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

35
CampoDescrição
G4E_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
G4E_NUMID
Caractere (C)(10)
Num. Ident.
Máscara:
@!
Contexto:
Real
G4E_IDITEM
Caractere (C)(4)
Id Item
Máscara:
@!
Contexto:
Real
G4E_NUMSEQ
Caractere (C)(2)
Seq.
Máscara:
@!
Contexto:
Real
G4E_DTSOLI
Caractere (C)(6)
Doc. Solic.
Máscara:
@!
Contexto:
Real
G4E_MOTREE
Caractere (C)(2)
Motivo
Máscara:
@!
Contexto:
Real
Consulta F3:
G8P
Validação:
ExistCpo("G8P")
G4E_DESMOT
Caractere (C)(40)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
G4E_TPREE
Caractere (C)(1)
Tipo Reemb.
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Voluntario
  • 2Involuntario
G4E_LIMREE
Data (D)(8)
Limit. Reemb
Contexto:
Real
G4E_DESTFN
Caractere (C)(1)
Destino Fin.
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Cliente
  • 2Agencia
G4E_DTPREV
Data (D)(8)
Prev. Receb.
Contexto:
Real
G4E_DTCRED
Data (D)(8)
Cred. Agenc.
Contexto:
Real
G4E_OBSINT
Memo (M)(10)
Obs. Interna
Contexto:
Real
G4E_BASTAR
Caractere (C)(12)
Base Tarif.
Máscara:
@!
Contexto:
Real
G4E_TPTAR
Caractere (C)(1)
Tipo Tarifa
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Net
  • 2Comissionada
G4E_MOEDFO
Caractere (C)(2)
Moeda Forn.
Máscara:
@!
Contexto:
Real
Consulta F3:
G5T
Validação:
ExistCpo("G5T",M->G4E_MOEDFO)
G4E_DSCMFO
Caractere (C)(10)
Simb. Moeda
Máscara:
@!
Contexto:
Virtual (não existe no banco)
G4E_TXCAMB
Numérico (N)(11,4)
Taxa Cambio
Máscara:
@E 999,999.9999
Contexto:
Real
G4E_TARPAG
Numérico (N)(12,2)
Tarifa Paga
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_MOEDA
Caractere (C)(2)
Moeda Fin.
Máscara:
@!
Contexto:
Real
Consulta F3:
G5T
Validação:
ExistCpo("G5T",M->G4E_MOEDA)
G4E_DSCMOE
Caractere (C)(10)
Simb. Moeda
Máscara:
@!
Contexto:
Virtual (não existe no banco)
G4E_TPGINT
Numérico (N)(12,2)
Tar. Nacion.
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_TARUTI
Numérico (N)(12,2)
Tar. Utiliz.
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_TREEMB
Numérico (N)(12,2)
Tar. Reemb.
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_TXPG
Numérico (N)(12,2)
Taxas Pagas
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_TXREEM
Numérico (N)(12,2)
Taxas Reemb.
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_EXTPG
Numérico (N)(12,2)
Extras Pagos
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_EXREEM
Numérico (N)(12,2)
Extras Reemb
Máscara:
@E 999,999,999.99
Contexto:
Real
G4E_OBSCAL
Memo (M)(10)
Obs. Calculo
Contexto:
Real
G4E_CONORI
Caractere (C)(6)
Conc. Ori.
Máscara:
@!
Contexto:
Real
G4E_CONINU
Caractere (C)(6)
Conc. Inu.
Máscara:
@!
Contexto:
Real
G4E_ENVCIA
Caractere (C)(1)
Envia CIA
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Aprovado
  • 2Reprovado
G4E_ESTDU
Caractere (C)(1)
Estorno DU
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
G4E_TARVST
Numérico (N)(12,2)
Tar. a Vista
Máscara:
@E 999,999,999.99
G4E_TARCRD
Numérico (N)(12,2)
Tar. a Cred.
Máscara:
@E 999,999,999.99
Contexto:
Real

SELECT de exemplo da tabela G4E

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
  G4E.G4E_FILIAL,
  G4E.G4E_NUMID,
  G4E.G4E_IDITEM,
  G4E.G4E_NUMSEQ,
  G4E.G4E_DTSOLI,
  G4E.G4E_MOTREE,
  G4E.G4E_TPREE,
  G4E.G4E_LIMREE
FROM G4E010 G4E
WHERE G4E.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.