Oportunidades de Negócios
A tabela VDL faz parte do sistema ERP Protheus da TOTVS e é utilizada para oportunidades de negócios.
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 VDL 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 VDL, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | VDL |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | VDL990 |
| X2_NOME | Oportunidades de Negócios |
| X2_NOMESPA | Oportunidades de negócios |
| X2_NOMEENG | Business Opportunities |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | VDL_FILIAL+VDL_CODOPO |
| X2_PYME | S |
| X2_MODULO | 11 |
| 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_ | 10356 |
| R_E_C_D_E_L_ | 0 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VDL | 01 | VDL_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 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168347 | 0 |
| VDL | 02 | VDL_CODOPO | C | 6 | 0 | Cod. Oport. | Cod. Oport. | Opport. Cd. | Codigo da Oportunidade | Codigo de la oportunidad | Opportunity 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 | - | - | - | 168348 | 0 |
| VDL | 03 | VDL_CODCLI | C | 6 | 0 | Cod. Cliente | Cod. Cliente | Customer Cd. | Codigo do Cliente | Codigo del cliente | Customer Code | @! | VCM680FOK() | x x x x x x x x x x x x x x x x | - | VEISA1 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168349 | 0 |
| VDL | 04 | VDL_LOJCLI | C | 2 | 0 | Loja Cliente | Tienda clien | Customer Un | Loja Cliente | Tienda cliente | Customer Unit | @! | VCM680FOK() | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168350 | 0 |
| VDL | 05 | VDL_CDPROS | C | 6 | 0 | Cod.Prospect | Cód.Prospect | Prospect Cd | Codigo Prospect | Código Prospect | Prospect Code | @! | VCM680FOK() | x x x x x x x x x x x x x x x x | - | SUS | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168351 | 0 |
| VDL | 06 | VDL_LJPROS | C | 2 | 0 | Loj.Prospect | Tda.Prospect | Prospect St | Loja Prospect | Tienda Prospect | Prospect Store | @! | VCM680FOK() | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168352 | 0 |
| VDL | 07 | VDL_NOMCLI | C | 30 | 0 | Nome Cliente | Nombre clien | Custom. Name | Nome do Cliente | Nombre del cliente | Customer Name | @! | VCM680FOK() | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168353 | 0 |
| VDL | 08 | VDL_DDDCLI | C | 3 | 0 | DDD Telefone | DDD Telefono | Phone Ar Cd | DDD Telefone | DDD Telefono | Phone Area Code | 999 | - | 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 | - | - | - | 168354 | 0 |
| VDL | 09 | VDL_TELCLI | C | 15 | 0 | Telefone | Telefono | Phone Number | Telefone | Telefono | Phone Number | @R 999999999999999 | - | 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 | - | - | - | 168355 | 0 |
| VDL | 10 | VDL_EMACLI | C | 200 | 0 | @S50 | - | 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 | - | - | - | 168356 | 0 | ||||||
| VDL | 11 | VDL_NIVIMP | C | 2 | 0 | Nivel Import | Nivel Import | Importan. Lv | Nivel de Importancia do C | Nivel de importancia de c | C. Importance Level | @! | - | 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 | - | - | - | 168357 | 0 |
| VDL | 12 | VDL_PERFIL | C | 6 | 0 | Perfil | Perfil | Profile | Perfil do Cliente | Perfil del cliente | Customer Profile | @! | ExistCpo("VX5","025"+M->VDL_PERFIL) | x x x x x x x x x x x x x x x x | - | VX5 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168358 | 0 |
| VDL | 13 | VDL_TMPNEG | C | 1 | 0 | Temperatura | Temperatura | Temperature | Temperatura Negociacao | Temperatura de negociació | Business Temperature | @! | Pertence("123") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | 1=Quente;2=Morno;3=Frio | 1=Caliente;2=Tibio;3=Frío | 1=Hot;2=Warm;3=Cold | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168359 | 0 |
| VDL | 14 | VDL_UUID | C | 36 | 0 | UUID | UUID | UUID | Id unico universal | Id Único universal | Universal unique ID | - | - | x x x x x x x x x x x x x x x x | FWUUIDV4(.t.) | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | .f. | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168360 | 0 |
| VDL | 15 | VDL_DATINC | C | 14 | 0 | Dt Inclusao | Fch Inclusió | Inclusion Dt | Data Inclusao Registro | Fecha inclusión registro | Record Inclusion Date | - | - | x x x x x x x x x x x x x x x x | FGX_Timestamp() | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | .f. | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168361 | 0 |
| VDL | 16 | VDL_DATALT | C | 14 | 0 | Dt Alteracao | Fch. Modif. | Edit Dt | Data Alteracao Registro | Fecha modificación regist | Record Edit Date | - | - | x x x x x x x x x x x x x x x x | FGX_Timestamp() | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | .f. | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168362 | 0 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VDL | 1 | VDL_FILIAL+VDL_CODOPO | Cod. Oport. | Cod. Oport. | Opport. Cd. | S | - | - | S | 2 | 3 | - | 24484 | 0 |
Ela é utilizada para oportunidades de negócios dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
VDL_FILIAL,
VDL_CODOPO,
VDL_CODCLI,
VDL_LOJCLI,
VDL_CDPROS,
VDL_LJPROS,
VDL_NOMCLI,
VDL_DDDCLI,
VDL_TELCLI,
VDL_EMACLI,
VDL_NIVIMP,
VDL_PERFIL,
VDL_TMPNEG,
VDL_UUID,
VDL_DATINC,
VDL_DATALT
FROM VDL
WHERE
D_E_L_E_T_ = ' '
AND VDL_FILIAL = 'VALOR'
AND VDL_CODOPO = 'VALOR'
AND VDL_CODCLI = 'VALOR'
AND VDL_LOJCLI = 'VALOR'
AND VDL_CDPROS = 'VALOR'
AND VDL_LJPROS = 'VALOR'
AND VDL_NOMCLI = 'VALOR'
AND VDL_DDDCLI = 'VALOR'
AND VDL_TELCLI = 'VALOR'
AND VDL_EMACLI = 'VALOR'
AND VDL_NIVIMP = 'VALOR'
AND VDL_PERFIL = 'VALOR'
AND VDL_TMPNEG = 'VALOR'
AND VDL_UUID = 'VALOR'
AND VDL_DATINC = 'VALOR'
AND VDL_DATALT = 'VALOR'