Tabela MG4

HIST MONTAG OS/UMOV
15camposNome físicoMG4010(empresa 01)

Campos da tabela MG4

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

15
CampoDescrição
MG4_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
MG4_NUMLOJ
Caractere (C)(8)
Orcamento
Contexto:
Real
MG4_CODCON
Caractere (C)(6)
Contato Clie
Contexto:
Real
MG4_PRODUT
Caractere (C)(15)
Produto
Contexto:
Real
MG4_HRMONT
Caractere (C)(5)
HR montagem
Máscara:
99:99
Contexto:
Real
MG4_DTMONT
Data (D)(8)
DT montagem
Contexto:
Real
MG4_STATUS
Caractere (C)(1)
Status monta
Contexto:
Real
MG4_FOTO
Caractere (C)(80)
URL foto
Contexto:
Real
MG4_OBSERV
Caractere (C)(250)
Observacao
Contexto:
Real
MG4_REV
Numérico (N)(2)
Rev de monta
Máscara:
99
Contexto:
Real
MG4_DTPROT
Data (D)(8)
Dt Importaca
Contexto:
Real
MG4_HRPROT
Caractere (C)(5)
Hr importaca
Máscara:
99:99
Contexto:
Real
MG4_DTSOLI
Data (D)(8)
Dt Solcitaca
Contexto:
Real
MG4_HRSOLI
Caractere (C)(5)
Hr. solicita
Máscara:
99:99
Contexto:
Real
MG4_USU
Caractere (C)(20)
Usu solicita
Contexto:
Real

SELECT de exemplo da tabela MG4

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
  MG4.MG4_FILIAL,
  MG4.MG4_NUMLOJ,
  MG4.MG4_CODCON,
  MG4.MG4_PRODUT,
  MG4.MG4_HRMONT,
  MG4.MG4_DTMONT,
  MG4.MG4_STATUS,
  MG4.MG4_FOTO
FROM MG4010 MG4
WHERE MG4.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.