Dicionário Protheus
Início

Tabela VDO no Protheus

Programacao Oficina

O que é a tabela VDO no Protheus?

A tabela VDO faz parte do sistema ERP Protheus da TOTVS e é utilizada para programacao oficina.

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 VDO 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 VDO, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE VDO
X2_PATH \DATA\
X2_ARQUIVO VDO990
X2_NOME Programacao Oficina
X2_NOMESPA Programacion Taller
X2_NOMEENG Repair Shop Program
X2_ROTINA -
X2_MODO E
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO VDO_FILIAL+VDO_NUMAGE+VDO_CODCON+VDO_CODSER
X2_PYME S
X2_MODULO 14
X2_DISPLAY -
X2_SYSOBJ -
X2_USROBJ -
X2_POSLGT 1
X2_CLOB 2
X2_AUTREC 2
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_ 10359
R_E_C_D_E_L_ 0

Campos da Tabela VDO (20 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_
VDO 01 VDO_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 - - 1 - - - - N - - - - - - - - - - 033 - S - - N - N - - - 1 2 - - - 168474 0
VDO 02 VDO_NUMAGE C 8 0 Nro.Agendam. No.Programac Schedule No. Nro do Agendamento No.de la programacion Schedule No. @! - x x x x x x x x x x x x x x x x - - 1 x - - - S V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168475 0
VDO 03 VDO_NUMBOX C 3 0 Nro.Box No.Box Box No. Nro do Agendamento No.de la programacion Schedule No. @! - x x x x x x x x x x x x x x x x - - 1 x - - - S V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168476 0
VDO 04 VDO_CODCON C 6 0 Consultor Consultor Consultant Consultor/Gestor Consultor/Gestor Consultant/Manager @! - x x x x x x x x x x x x x x x x - - 1 x - - - S V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168477 0
VDO 05 VDO_NOMCON C 30 0 Nome Consult Nombre cons. Consult.Name Nome Consultor/Gestor Nombre Consultor/Gestor Consultant/Manager Name @! - x x x x x x x x x x x x x x x x If(!INCLUI,Posicione("VAI",1,xFilial("VAI")+M->VDO_CODCON,"VAI_NOMTEC")," ") - 1 x - - - S V V - - - - - - - - - - S - - N - N - - - 1 2 - - - 168478 0
VDO 06 VDO_GRUINC C 3 0 Grupo Incon. Grupo Incon. Inconv. Grp. Grupo do Inconveniente Grupo de Inconveniente Inconvenient Group @! - x x x x x x x x x x x x x x x x IF(!INCLUI,POSICIONE("VST",1,xFilial("VST")+"3"+VDO->VDO_NUMAGE+VDO->VDO_SEQINC,"VST_GRUINC"),"") - 1 x - - - N V V - - - - - - - - - - S - - N - N - - - 1 2 - - - 168479 0
VDO 07 VDO_CODSER C 15 0 Cod.Servico Cod.Servicio Service Code Codigo do Servico Codigo del servicio Service Code @! - x x x x x x x x x x x x x x x x - - 1 x - - - S V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168480 0
VDO 08 VDO_DESSER C 20 0 Descr.Servic Desc.Serv. Serv. Descr. Descricao do Servico Descripcion del servicio Service Description @! - x x x x x x x x x x x x x x x x If(!INCLUI,Posicione("VO6",4,xFilial("VO6")+M->VDO_CODSER,"VO6_DESSER")," ") - 1 x - - - N V V - - - - - - - - - - S - - N - N - - - 1 2 - - - 168481 0
VDO 09 VDO_CODINC C 8 0 Cod. Incon. Cod. Incon. Inconv. Code Codigo do Inconveniente Codigo de Inconvieniente Inconvenient Code @! - x x x x x x x x x x x x x x x x IF(!INCLUI,POSICIONE("VST",1,xFilial("VST")+"3"+VDO->VDO_NUMAGE+VDO->VDO_SEQINC,"VST_CODINC"),"") - 1 x - - - N V V - - - - - - - - - - S - - N - N - - - 1 2 - - - 168482 0
VDO 10 VDO_SEQINC C 3 0 Seq. Inconv. Sec. Inconv Inconv. Seq. Sequencia Inconveniente Secuencia Inconveniente Inconvenient Sequence @! - x x x x x x x x x x x x x x x x - - 1 x - - - N V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168483 0
VDO 11 VDO_TEMPAD N 5 0 Tpo Padrao S Tiem.est.ser Std Serv Tim Tempo Padrao Servico Tiempo estandar servicio Standard Service Time @E 99,999 - x x x x x x x x x x x x x x x x - - 1 x - - - S V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168484 0
VDO 12 VDO_CODPRO C 6 0 Produtivo Productivo Productive Codigo do Produtivo Codigo del productivo Productive Code @! FG_Seek("VAI","M->VDO_CODPRO",1,.f.,"VDO_NOMPRO","VAI_NOMTEC") x x x x x x x x x x x x x x x x - VAI 1 x - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168485 0
VDO 13 VDO_DESINC C 120 0 Descr Inconv Descr Inconv Inconv. Desc Descr do Inconveniente Descr de Inconveniente Inconvenient Description @! - x x x x x x x x x x x x x x x x IF(!INCLUI,POSICIONE("VST",1,xFilial("VST")+"3"+VDO->VDO_NUMAGE+VDO->VDO_SEQINC,"VST_DESINC"),"") - 1 x - - - N V V - - - - - - - - - - S - - N - N - - - 1 2 - - - 168486 0
VDO 14 VDO_NOMPRO C 30 0 Nome Produti Nombre prod. Product.Name Nome do Produtivo Nome del productivo Productive Name @! - x x x x x x x x x x x x x x x x If(!INCLUI,Posicione("VAI",1,xFilial("VAI")+M->VDO_CODPRO,"VAI_NOMTEC")," ") - 1 x - - - N V V - - - - - - - - - - S - - N - N - - - 1 2 - - - 168487 0
VDO 15 VDO_DATINI D 8 0 Dt.Inicio Fch.Inicio Start Date Data de Inicio Fecha de inicio Start Date - M->VDO_DATINI >= DDATABASE x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168488 0
VDO 16 VDO_HORINI N 4 0 Hr.Inicio Hr.Inicio Start Time Hora de Inicio Hora de inicio Start Time @R 99:99 - x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168489 0
VDO 17 VDO_DATFIN D 8 0 Dt.Final Fch.Final End Date Data Final Fecha final End Date - - x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168490 0
VDO 18 VDO_HORFIN N 4 0 Hr.Final Hr.Final End Time Hora Final Hora final End Time @R 99:99 - x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168491 0
VDO 19 VDO_GRUSER C 2 0 Grupo Srvc. Grupo Srvc. Serv. Grp. Grupo do Servico Grupo de Servicio Service Group @! FG_Seek("VOS","VV1->VV1_CODMAR+M->VDO_GRUSER",1,.F.).AND. OM460LIM() .AND. OM460LIM() x x x x x x x x x x x x x x x x - VS4 1 x - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168492 0
VDO 20 VDO_SERINT C 6 0 Cod Srv Int Cod Srv Int Int. Sev. Cd Codigo do Servico Interno Codigo de Servicio Intern Internal Service Code @! - x x x x x x x x x x x x x x x x - - 1 x - - - N V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 168493 0

Índices da Tabela VDO (2 í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_
VDO 1 VDO_FILIAL+VDO_NUMAGE+VDO_CODCON+VDO_CODSER Nro.Agendam. + Consultor + Cod.Servico No.Programac + Consultor + Cod.Servicio Schedule No. + Consultant + Service Code S - - S 2 3 - 24488 0
VDO 2 VDO_FILIAL+VDO_NUMAGE+VDO_CODPRO+VDO_CODSER Nro.Agendam. + Produtivo + Cod.Servico No.Programac + Productivo + Cod.Servicio Schedule No. + Productive + Service Code S - - S 2 3 - 24489 0

Perguntas frequentes

Para que serve a tabela VDO no Protheus?

Ela é utilizada para programacao oficina dentro do sistema ERP Protheus.

Como consultar os campos da tabela VDO?

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

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

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

Exemplo de consulta SQL da tabela VDO

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

SELECT
    VDO_FILIAL,
    VDO_NUMAGE,
    VDO_NUMBOX,
    VDO_CODCON,
    VDO_NOMCON,
    VDO_GRUINC,
    VDO_CODSER,
    VDO_DESSER,
    VDO_CODINC,
    VDO_SEQINC,
    VDO_TEMPAD,
    VDO_CODPRO,
    VDO_DESINC,
    VDO_NOMPRO,
    VDO_DATINI,
    VDO_HORINI,
    VDO_DATFIN,
    VDO_HORFIN,
    VDO_GRUSER,
    VDO_SERINT
FROM VDO
WHERE
    D_E_L_E_T_ = ' '
    AND VDO_FILIAL = 'VALOR'
    AND VDO_NUMAGE = 'VALOR'
    AND VDO_NUMBOX = 'VALOR'
    AND VDO_CODCON = 'VALOR'
    AND VDO_NOMCON = 'VALOR'
    AND VDO_GRUINC = 'VALOR'
    AND VDO_CODSER = 'VALOR'
    AND VDO_DESSER = 'VALOR'
    AND VDO_CODINC = 'VALOR'
    AND VDO_SEQINC = 'VALOR'
    AND VDO_TEMPAD = 0
    AND VDO_CODPRO = 'VALOR'
    AND VDO_DESINC = 'VALOR'
    AND VDO_NOMPRO = 'VALOR'
    AND VDO_DATINI BETWEEN '20260501' AND '20260531'
    AND VDO_HORINI = 0
    AND VDO_DATFIN BETWEEN '20260501' AND '20260531'
    AND VDO_HORFIN = 0
    AND VDO_GRUSER = 'VALOR'
    AND VDO_SERINT = 'VALOR'