Tabela SOR

Movimentações do MRP
10camposNome físicoSOR010(empresa 01)

Campos da tabela SOR

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

10
CampoDescrição
OR_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
OR_EMP
Caractere (C)(2)
Empresa
Máscara:
@!
Contexto:
Real
OR_FILEMP
Caractere (C)(12)
Filial
Máscara:
@!
Contexto:
Real
OR_NRMRP
Caractere (C)(6)
Num MRP
Máscara:
@!
Contexto:
Real
OR_NRLV
Caractere (C)(2)
Nivel
Máscara:
99
Contexto:
Real
OR_PROD
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
OR_OPCORD
Caractere (C)(200)
Opc ordem
Máscara:
@!
Contexto:
Real
OR_NRRV
Caractere (C)(3)
Revisao
Máscara:
@!
Contexto:
Real
OR_OPC
Memo (M)(10)
Opcionais
Máscara:
@!
Contexto:
Real
OR_MOPC
Memo (M)(10)
M. opcional
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela SOR

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
  SOR.OR_FILIAL,
  SOR.OR_EMP,
  SOR.OR_FILEMP,
  SOR.OR_NRMRP,
  SOR.OR_NRLV,
  SOR.OR_PROD,
  SOR.OR_OPCORD,
  SOR.OR_NRRV
FROM SOR010 SOR
WHERE SOR.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.