Dicionário Protheus
Início

Tabela VRU no Protheus

Solicit.Liberacao de Srv.Esp.

O que é a tabela VRU no Protheus?

A tabela VRU faz parte do sistema ERP Protheus da TOTVS e é utilizada para solicit.liberacao de srv.esp..

Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.

A tabela VRU possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.

Nesta página você pode consultar a estrutura completa da tabela VRU, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE VRU
X2_PATH \DATA\
X2_ARQUIVO VRU990
X2_NOME Solicit.Liberacao de Srv.Esp.
X2_NOMESPA Solicit.Liberac. de Serv.Esp.
X2_NOMEENG Request Release of Spec.Srv.
X2_ROTINA -
X2_MODO E
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO VRU_FILIAL+VRU_CODIGO
X2_PYME S
X2_MODULO 14
X2_DISPLAY -
X2_SYSOBJ -
X2_USROBJ -
X2_POSLGT 1
X2_CLOB 2
X2_AUTREC 1
X2_TAMFIL 2
X2_TAMUN 0
X2_TAMEMP 0
X2_STAMP 2
X2_INSDT 2
D_E_L_E_T_ -
R_E_C_N_O_ 10692
R_E_C_D_E_L_ 0

Campos da Tabela VRU (18 campos)

X3_ARQUIVO X3_ORDEM X3_CAMPO X3_TIPO X3_TAMANHO X3_DECIMAL X3_TITULO X3_TITSPA X3_TITENG X3_DESCRIC X3_DESCSPA X3_DESCENG X3_PICTURE X3_VALID X3_USADO X3_RELACAO X3_F3 X3_NIVEL X3_RESERV X3_CHECK X3_TRIGGER X3_PROPRI X3_BROWSE X3_VISUAL X3_CONTEXT X3_OBRIGAT X3_VLDUSER X3_CBOX X3_CBOXSPA X3_CBOXENG X3_PICTVAR X3_WHEN X3_INIBRW X3_GRPSXG X3_FOLDER X3_PYME X3_CONDSQL X3_CHKSQL X3_IDXSRV X3_ORTOGRA X3_IDXFLD X3_TELA X3_PICBRV X3_AGRUP X3_POSLGT X3_MODAL X3_CHKSUM X3_ADDSUM D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
VRU 01 VRU_FILIAL C 2 0 Filial Sucursal Branch Filial Sucursal Branch - - x x x x x x x x x x x x x x x xFilial("VRU") - 1 - - - - N A R - - - - - - - - 033 - S - - N - N - - 001 1 2 - - - 174660 0
VRU 02 VRU_CODIGO C 8 0 Cod.Interno Cód.Interno Internal Cd Cod.Interno Cód.Interno Internal Cd @! - x x x x x x x x x x x x x x x x GetSXENum("VRU","VRU_CODIGO") - 1 xx - - - N V R - - - - - - - - - - S - - N - N - - 001 1 2 - - - 174661 0
VRU 03 VRU_CODVRR C 8 0 Cod.Int.Cab. Cód.Int.Enca Int Head Cd Cod.Interno Cabecalho Cód.Interno Encabez. Internal Header Code @! - x x x x x x x x x x x x x x x x M->VRR_CODIGO - 1 xx - - - N V R - - - - - - - - - - S - - N - N - - 001 1 2 - - - 174662 0
VRU 04 VRU_TIPSOL C 1 0 Tp.Solicitac Tp.Solicit. Tp. of Req Tipo Solicitacao Tipo solicitud Type of Request @! Pertence("12") x x x x x x x x x x x x x x x x "1" - 1 xx - - - S V R - - 1=Limite Credito;2=Valor Minimo 1=Límite crédito;2=Valor mínimo 1=Credit Limit;2=Minimum Value - - - - - S - - N - N - - 001 1 2 - - - 174663 0
VRU 05 VRU_DATSOL D 8 0 Dt.Solicitac Fch.Solicit. Dt. of Req. Data Solicitacao Fch Solicitud Date of Request - - x x x x x x x x x x x x x x x x dDatabase - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 001 1 2 - - - 174664 0
VRU 06 VRU_HORSOL C 4 0 Hr.Solicitac Hr.Solicit. Tm.Request Hora Solicitacao Hora solicitud Time of Request @R 99:99 - x x x x x x x x x x x x x x x x left(time(),2)+substr(time(),4,2) - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 001 1 2 - - - 174665 0
VRU 07 VRU_USRSOL C 6 0 Usuario Usuario User Usuario Solicitacao Usuario solicitud User of Request @! - x x x x x x x x x x x x x x x x __cUserID - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 001 1 2 - - - 174666 0
VRU 08 VRU_NOMSOL C 25 0 Nome Usuario Nombre usuar User Name Nome Usuario Solicitacao Nomb Usuario solicitud User Name of Req. @! - x x x x x x x x x x x x x x x x Left(UsrRetName(IIf(Inclui,__cUserID,VRU->VRU_USRSOL)),25) - 1 xx - - - S V V - - - - - - - Left(UsrRetName(VRU->VRU_USRSOL),25) - - S - - N - N - - 001 1 2 - - - 174667 0
VRU 09 VRU_VLRSOL N 12 2 Vlr.Solicit. Val.Solicit. Req.Val. Vlr.Solicitado Val.Solicitado Requested Value @E 999,999,999.99 - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 001 1 2 - - - 174668 0
VRU 10 VRU_ATIVO C 1 0 Reg.Ativo Reg.Activo Active Rec. Registro Ativo Registro activo Active Record @! Pertence("01") x x x x x x x x x x x x x x x x "1" - 1 xx - - - S V R - - 0=Cancelado;1=Ativo 0=Anulado;1=Activo 0=Canceled;1=Active - - - - - S - - N - N - - 001 1 2 - - - 174669 0
VRU 11 VRU_STATUS C 1 0 Status Estatus Status Status Estatus Status @! Pertence("012") x x x x x x x x x x x x x x x x "0" - 1 xx - - - S V R - - 0=Solicitacao Pendente;1=Solicitacao Aprovada;2=Solicitacao Reprovada 0=Solicitud pendiente;1=Solicitud aprobada;2=Solicitud rechazada 0=Request Pending;1=Request Approved;2=Request Rejected - - - - - S - - N - N - - 002 1 2 - - - 174670 0
VRU 12 VRU_MOTIVO C 6 0 Motivo Motivo Reason Motivo Aprovacao/Reprovac Motivo Aprobac/Rechazo Approval/Rejection Reason @! - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 002 1 2 - - - 174671 0
VRU 13 VRU_DESMOT C 50 0 Descricao Descripción Description Descricao Descripción Description @! - x x x x x x x x x x x x x x x x OA4710061_DescricaoMotivo() - 1 xx - - - S V V - - - - - - - OA4710061_DescricaoMotivo() - - S - - N - N - - 002 1 2 - - - 174672 0
VRU 14 VRU_DATAPR D 8 0 Dt.Apr./Rep. Fch.Apr./Rec Appr./Rej.Dt Data Aprovacao/Reprovacao Fch. Aprobación/Rechazo Approval/Rejection Date - - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 002 1 2 - - - 174673 0
VRU 15 VRU_HORAPR C 4 0 Hr.Apr./Rep. Hr.Apr./Rech Appr./Rej. T Hora Aprovacao/Reprovacao Hora Aprob./Rechazo Approval/Rejection Time @R 99:99 - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 002 1 2 - - - 174674 0
VRU 16 VRU_USRAPR C 6 0 Usuario Usuario User Usuario Aprovacao/Reprova Usuario Aprob/Rechazo Approval/Repr. User @! - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - 002 1 2 - - - 174675 0
VRU 17 VRU_NOMAPR C 25 0 Nome Usuario Nombre usuar User Name Nome Usuario Aprovacao/Re Nomb Usuario Aprob/Rech Approval/Reject User Name @! - x x x x x x x x x x x x x x x x Left(UsrRetName(VRU->VRU_USRAPR),25) - 1 xx - - - S V V - - - - - - - Left(UsrRetName(VRU->VRU_USRAPR),25) - - S - - N - N - - 002 1 2 - - - 174676 0
VRU 18 VRU_PERSOL N 6 2 % Solicitado % Solicitado Requested % % Solicitado % Solicitado Requested % @E 999.99 - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 174677 0

Índices da Tabela VRU (3 índices)

INDICE ORDEM CHAVE DESCRICAO DESCSPA DESCENG PROPRI F3 NICKNAME SHOWPESQ IX_VIRTUAL IX_VIRCUST D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
VRU 1 VRU_FILIAL+VRU_CODIGO Cod.Interno Cód.Interno Internal Cd S - - S 2 3 - 25185 0
VRU 2 VRU_FILIAL+VRU_CODVRR Cod.Int.Cab. Cód.Int.Enca Int Head Cd S - - S 2 3 - 25186 0
VRU 3 VRU_FILIAL+VRU_TIPSOL+VRU_CODIGO Tp.Solicitac + Cod.Interno Tp.Solicit. + Cód.Interno Tp. of Req + Internal Cd S - - S 2 3 - 25187 0

Perguntas frequentes

Para que serve a tabela VRU no Protheus?

Ela é utilizada para solicit.liberacao de srv.esp. dentro do sistema ERP Protheus.

Como consultar os campos da tabela VRU?

Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.

O que são os índices da tabela VRU?

Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.

Exemplo de consulta SQL da tabela VRU

Modelo de query gerado automaticamente com base na estrutura da tabela.

SELECT
    VRU_FILIAL,
    VRU_CODIGO,
    VRU_CODVRR,
    VRU_TIPSOL,
    VRU_DATSOL,
    VRU_HORSOL,
    VRU_USRSOL,
    VRU_NOMSOL,
    VRU_VLRSOL,
    VRU_ATIVO,
    VRU_STATUS,
    VRU_MOTIVO,
    VRU_DESMOT,
    VRU_DATAPR,
    VRU_HORAPR,
    VRU_USRAPR,
    VRU_NOMAPR,
    VRU_PERSOL
FROM VRU
WHERE
    D_E_L_E_T_ = ' '
    AND VRU_FILIAL = 'VALOR'
    AND VRU_CODIGO = 'VALOR'
    AND VRU_CODVRR = 'VALOR'
    AND VRU_TIPSOL = 'VALOR'
    AND VRU_DATSOL BETWEEN '20260401' AND '20260430'
    AND VRU_HORSOL = 'VALOR'
    AND VRU_USRSOL = 'VALOR'
    AND VRU_NOMSOL = 'VALOR'
    AND VRU_VLRSOL = 0
    AND VRU_ATIVO = 'VALOR'
    AND VRU_STATUS = 'VALOR'
    AND VRU_MOTIVO = 'VALOR'
    AND VRU_DESMOT = 'VALOR'
    AND VRU_DATAPR BETWEEN '20260401' AND '20260430'
    AND VRU_HORAPR = 'VALOR'
    AND VRU_USRAPR = 'VALOR'
    AND VRU_NOMAPR = 'VALOR'
    AND VRU_PERSOL = 0