Pedido de Transferencia
A tabela VDD faz parte do sistema ERP Protheus da TOTVS e é utilizada para pedido de transferencia.
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 VDD 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 VDD, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | VDD |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | VDD990 |
| X2_NOME | Pedido de Transferencia |
| X2_NOMESPA | Pedido de Transferencia |
| X2_NOMEENG | Transfer Request |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | VDD_FILIAL+VDD_CODIGO |
| 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_ | 10348 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VDD | 01 | VDD_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 | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168231 | 0 |
| VDD | 02 | VDD_CODIGO | C | 6 | 0 | Codigo | Codigo | Code | Codigo | Codigo | Code | @! | ExistChav("VDD",M->VDD_CODIGO,1) | x x x x x x x x x x x x x x x x | GETSX8NUM("VDD","VDD_CODIGO") | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168232 | 0 |
| VDD | 03 | VDD_FILORC | C | 2 | 0 | Fil.Orcamen. | Suc. Presup. | Quot. Branch | Fil.Orcamen. | Suc. Presupuestario | Quot. Branch | - | !Empty(FWFilialName(M->VDD_FILORC)) | x x x x x x x x x x x x x x x x | - | SM0 | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168233 | 0 |
| VDD | 04 | VDD_NUMORC | C | 8 | 0 | Nro Orcam/o | Nro Prespto | Budget Nr | Numero do Orcamento | Numero de Presupuesto | Budget Nr | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168234 | 0 |
| VDD | 05 | VDD_GRUPO | C | 4 | 0 | Grupo | Grupo | Group | Grupo de Estoque | Grupo de Stock | Stock Group | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 162 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168235 | 0 |
| VDD | 06 | VDD_CODITE | C | 27 | 0 | Cod Item | Cod Item | Item Code | Codigo do Item | Codigo del Item | Item Code | @! | - | 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 | - | - | - | 168236 | 0 |
| VDD | 07 | VDD_QUANT | N | 11 | 2 | Quantidade | Cantidad | Amount | Quantidade | Cantidad | Amount | @E 99,999,999.99 | - | 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 | - | - | - | 168237 | 0 |
| VDD | 08 | VDD_FILPED | C | 2 | 0 | Fil.Pedido | Suc.Pedido | Order Branch | Fil.Pedido | Suc.Pedido | Order Branch | - | !Empty(FWFilialName(M->VDD_FILPED)) | x x x x x x x x x x x x x x x x | - | SM0 | 1 | x x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168238 | 0 |
| VDD | 09 | VDD_NUMNFI | C | 9 | 0 | Nro NFiscal | Nro Factura | Invoice No. | Numero da Nota Fiscal | Numero de Factura | Invoice Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 018 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168239 | 0 |
| VDD | 10 | VDD_SERNFI | C | 3 | 0 | Serie NFisc | Serie Fact | Inv Series | Serie da Nota Fiscal | Serie de Factura | Invoice Series | !!! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 094 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168240 | 0 |
| VDD | 11 | VDD_CODFOR | C | 6 | 0 | Fornecedor | Proveedor | Supplier | Fornecedor | Proveedor | Supplier | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168241 | 0 |
| VDD | 12 | VDD_LOJA | C | 2 | 0 | Loja | Tienda | Store | Loja | Tienda | Store | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168242 | 0 |
| VDD | 13 | VDD_MOTIVO | C | 250 | 0 | Motivo Rej | Motivo Rech | Rej. Reason | Motivo Rejeicao | Motivo Rechazo | Rejection Reason | @! | - | 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 | - | - | - | 168243 | 0 |
| VDD | 14 | VDD_ORCFOR | C | 8 | 0 | Nro Orc.Forn | Num Pres Sum | Sup.Quot.No. | Num.do Orc.Forn | Num de Pres Suminst | Sup. Quot. No. | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 168244 | 0 |
| VDD | 15 | VDD_STATUS | C | 1 | 0 | Status | Estatus | Status | Status | Estatus | Status | @! | - | 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 | - | - | - | 168245 | 0 |
| VDD | 16 | VDD_TIPTRA | C | 1 | 0 | Tipo Transf. | Tipo Transf. | Transf Type | Tipo Transferencia | Tipo de transferencia | Transfer Type | @! | Pertence("0123") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | 0=Avulsa;1=Reposicao;2=Devolucao;3=Garantia | 0=Separada;1=Reposición;2=Devolución;3=Garantía | 0=Separate;1=Replacement;2=Return;3=Warranty | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168246 | 0 |
| VDD | 17 | VDD_VENTRA | C | 6 | 0 | Vend.Transf. | Vend.Transf. | Transf Sel | Vendedor Transferencia | Vendedor Transferencia | Transfer Seller | @! | - | 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 | - | - | - | 168247 | 0 |
| VDD | 18 | VDD_USRAPR | C | 6 | 0 | Usr.Apro.Rej | Usr.Apro.Rec | Rej Appr Use | Usuario Aprov/Rej Transf. | Usuario Aprob/Rech. Trans | Transfer Rej/Appr User | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168248 | 0 |
| VDD | 19 | VDD_DATLOG | D | 8 | 0 | Dt Aprov/Rej | Fch Aprob/Re | Rej/Appr Dt | Data Aprovaçao/ Rejeiçao | Fch. Aprobac./ Rechazo | Rejection/Approval Date | - | - | 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 | - | - | - | 168249 | 0 |
| VDD | 20 | VDD_HORLOG | C | 8 | 0 | Hr Aprov/Rej | Hr Aprob/Rec | Rej/Appr Tm | Hora Aprovaçao/ Rejeiçao | Hora Aprobac./ Rechazo | Rejection/Approval Time | - | - | 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 | - | - | - | 168250 | 0 |
| VDD | 21 | VDD_SDOC | C | 3 | 0 | Série Doc. | Serie Doc. | Inv. Series | Série do Documento Fiscal | Serie del documento fisca | Invoice Series | !!! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 095 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 168251 | 0 |
| VDD | 22 | VDD_QTDORI | N | 11 | 2 | Qtd.Original | Cant.Origina | Original Qty | Quantidade Original | Cantidad original | Original Quantity | @E 99,999,999.99 | - | 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 | - | - | - | 168252 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VDD | 1 | VDD_FILIAL+VDD_CODIGO | Codigo | Codigo | Code | S | - | - | S | 2 | 3 | - | 24462 | 0 |
| VDD | 2 | VDD_FILIAL+VDD_CODITE | Cod Item | Cod Item | Item Code | S | - | - | S | 2 | 3 | - | 24463 | 0 |
| VDD | 3 | VDD_FILIAL+VDD_GRUPO+VDD_CODITE | Grupo + Cod Item | Grupo + Cod Item | Group + Item Code | S | - | - | S | 2 | 3 | - | 24464 | 0 |
| VDD | 4 | VDD_FILIAL+VDD_FILORC+VDD_NUMORC+VDD_GRUPO+VDD_CODITE+VDD_FILPED | Fil.Orcamen. + Nro Orcam/o + Grupo + Cod Item + Fil.Pedido | Suc. Presup. + Nro Prespto + Grupo + Cod Item + Suc.Pedido | Quot. Branch + Budget Nr + Group + Item Code + Order Branch | S | - | - | S | 2 | 3 | - | 24465 | 0 |
| VDD | 5 | VDD_FILIAL+VDD_FILPED+VDD_ORCFOR | Fil.Pedido + Nro Orc.Forn | Suc.Pedido + Num Pres Sum | Order Branch + Sup.Quot.No. | S | - | - | S | 2 | 3 | - | 24466 | 0 |
| VDD | 6 | VDD_FILIAL+VDD_NUMNFI+VDD_SERNFI+VDD_CODFOR+VDD_LOJA | Nro NFiscal + Serie NFisc + Fornecedor + Loja | Nro Factura + Serie Fact + Proveedor + Tienda | Invoice No. + Inv Series + Supplier + Store | S | - | - | S | 2 | 3 | - | 24467 | 0 |
| VDD | 7 | VDD_FILIAL+VDD_NUMNFI+VDD_SDOC+VDD_CODFOR+VDD_LOJA | Nro NFiscal + Série Doc. + Fornecedor + Loja | Nro Factura + Serie Doc. + Proveedor + Tienda | Invoice No. + Inv. Series + Supplier + Store | S | - | - | N | 2 | 3 | - | 24468 | 0 |
Ela é utilizada para pedido de transferencia 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
VDD_FILIAL,
VDD_CODIGO,
VDD_FILORC,
VDD_NUMORC,
VDD_GRUPO,
VDD_CODITE,
VDD_QUANT,
VDD_FILPED,
VDD_NUMNFI,
VDD_SERNFI,
VDD_CODFOR,
VDD_LOJA,
VDD_MOTIVO,
VDD_ORCFOR,
VDD_STATUS,
VDD_TIPTRA,
VDD_VENTRA,
VDD_USRAPR,
VDD_DATLOG,
VDD_HORLOG,
VDD_SDOC,
VDD_QTDORI
FROM VDD
WHERE
D_E_L_E_T_ = ' '
AND VDD_FILIAL = 'VALOR'
AND VDD_CODIGO = 'VALOR'
AND VDD_FILORC = 'VALOR'
AND VDD_NUMORC = 'VALOR'
AND VDD_GRUPO = 'VALOR'
AND VDD_CODITE = 'VALOR'
AND VDD_QUANT = 0
AND VDD_FILPED = 'VALOR'
AND VDD_NUMNFI = 'VALOR'
AND VDD_SERNFI = 'VALOR'
AND VDD_CODFOR = 'VALOR'
AND VDD_LOJA = 'VALOR'
AND VDD_MOTIVO = 'VALOR'
AND VDD_ORCFOR = 'VALOR'
AND VDD_STATUS = 'VALOR'
AND VDD_TIPTRA = 'VALOR'
AND VDD_VENTRA = 'VALOR'
AND VDD_USRAPR = 'VALOR'
AND VDD_DATLOG BETWEEN '20260401' AND '20260430'
AND VDD_HORLOG = 'VALOR'
AND VDD_SDOC = 'VALOR'
AND VDD_QTDORI = 0