Itens Sugestão de Compras
A tabela SDF faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens sugestão de compras.
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 SDF 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 SDF, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | SDF |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | SDF990 |
| X2_NOME | Itens Sugestão de Compras |
| X2_NOMESPA | Ítems Sugerencia de Compras |
| X2_NOMEENG | Purchase Suggestion Items |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | S |
| X2_MODULO | 2 |
| 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_ | 8156 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SDF | 01 | DF_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del Sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131455 | 0 |
| SDF | 02 | DF_CODIGO | C | 6 | 0 | Codigo | Codigo | Code | Codigo da Sugestao | Codigo de Sugerencia | Suggestion Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 131456 | 0 |
| SDF | 03 | DF_PRODUTO | C | 15 | 0 | Produto | Producto | Product | Codigo do Produto | Codigo del Producto | Product Code | @! | - | x x x x x x x x x x x x x x x x | - | SB1 | 1 | xxxx xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 131457 | 0 |
| SDF | 04 | DF_DESC | C | 50 | 0 | Descricao | Descripcion | Description | Descricao do Produto | Descripcion del Producto | Product Description | @! | - | x x x x x x x x x x x x x x x x | Posicione("SB1",1,xFilial("SB1")+M->DF_PRODUTO,"B1_DESC") | - | 1 | xxxx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | 171 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131458 | 0 |
| SDF | 05 | DF_PE | N | 5 | 0 | Prazo Entreg | Plazo Entreg | Deliv.Term | Prazo de Entrega | Plazo de Entrega | Delivery Term | @E 99999 | - | x x x x x x x x x x x x x x x x | RetFldProd(SB1->B1_COD,"B1_PE") | - | 1 | xxxx x x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131459 | 0 |
| SDF | 06 | DF_QTDSUG | N | 12 | 2 | Qtd Sugerida | Ctd Sugerida | Qty Suggest. | Quantidade Sugerida | Cantidad Sugerida | Quantity Suggested | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131460 | 0 |
| SDF | 07 | DF_QTDINF | N | 12 | 2 | Qtd Infor. | Ctd. Inform. | Qty Informed | Quantidade Informada | Cantidad Informada | Quantity Informed | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131461 | 0 |
| SDF | 08 | DF_VLRTOT | N | 14 | 2 | Valor Total | Valor Total | Grand Total | Valor Total do Item | Valor Total del Item | Item Grand Total | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131462 | 0 |
| SDF | 09 | DF_M12 | N | 12 | 2 | Media 12 Me. | Prom.12 Mes. | 12 Month Av. | Media 12 Meses | Promedio 12 Meses | 12 Month Average | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131463 | 0 |
| SDF | 10 | DF_QTDEST | N | 12 | 2 | Disponivel | Disponible | Avaiable | Disponivel em Estoque | Disponible en Stock | Avaiable in Stock | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131464 | 0 |
| SDF | 11 | DF_QTDPC | N | 12 | 2 | Pendente | Pendiente | Pending | Pedidos Pendentes | Pedidos Pendientes | Pending Orders | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131465 | 0 |
| SDF | 12 | DF_M03 | N | 12 | 2 | Media 03 Me. | Prom.03 Mes. | 3 Month Av. | Media 3 Meses | Promedio 3 Meses | 3 month Average | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131466 | 0 |
| SDF | 13 | DF_QTDSUGM | N | 12 | 2 | Media Calc. | Promed.Calc. | Calc. Aver. | Media Calculo | Promedio Calculo | Calculation Average | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131467 | 0 |
| SDF | 14 | DF_QE | N | 3 | 0 | Embalagem | Embalage | Packing | Quantidade Embalagem | Cantidad Embalaje | Packing Quantity | 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131468 | 0 |
| SDF | 15 | DF_D01 | N | 12 | 2 | D. Mes 01 | Deman.Mes 01 | Month Dem.01 | Demanda Mes 01 | Demanda Mes 01 | Month 01 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131469 | 0 |
| SDF | 16 | DF_D02 | N | 12 | 2 | D. Mes 02 | Deman.Mes 02 | Month Dem.02 | Demanda Mes 02 | Demanda Mes 02 | Month 02 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131470 | 0 |
| SDF | 17 | DF_D03 | N | 12 | 2 | D. Mes 03 | Deman.Mes 03 | Month Dem.03 | Demanda Mes 03 | Demanda Mes 03 | Month 03 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131471 | 0 |
| SDF | 18 | DF_D04 | N | 12 | 2 | D. Mes 04 | Deman.Mes 04 | Month Dem.04 | Demanda Mes 04 | Demanda Mes 04 | Month 04 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131472 | 0 |
| SDF | 19 | DF_D05 | N | 12 | 2 | D. Mes 05 | Deman.Mes 05 | Month Dem.05 | Demanda Mes 05 | Demanda Mes 05 | Month 05 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131473 | 0 |
| SDF | 20 | DF_D06 | N | 12 | 2 | D. Mes 06 | Deman.Mes 06 | Month Dem.06 | Demanda Mes 06 | Demanda Mes 06 | Month 06 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131474 | 0 |
| SDF | 21 | DF_D07 | N | 12 | 2 | D. Mes 07 | Deman.Mes 07 | Month Dem.07 | Demanda Mes 07 | Demanda Mes 07 | Month 07 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131475 | 0 |
| SDF | 22 | DF_D08 | N | 12 | 2 | D. Mes 08 | Deman.Mes 08 | Month Dem.08 | Demanda Mes 08 | Demanda Mes 08 | Month 08 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131476 | 0 |
| SDF | 23 | DF_D09 | N | 12 | 2 | D. Mes 09 | Deman.Mes 09 | Month Dem.09 | Demanda Mes 09 | Demanda Mes 09 | Month 09 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131477 | 0 |
| SDF | 24 | DF_D10 | N | 12 | 2 | D. Mes 10 | Deman.Mes 10 | Month Dem.10 | Demanda Mes 10 | Demanda Mes 10 | Month 10 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131478 | 0 |
| SDF | 25 | DF_D11 | N | 12 | 2 | D. Mes 11 | Deman.Mes 11 | Month Dem.11 | Demanda Mes 11 | Demanda Mes 11 | Month 11 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131479 | 0 |
| SDF | 26 | DF_D12 | N | 12 | 2 | D. Mes 12 | Deman.Mes 12 | Month Dem.12 | Demanda Mes 12 | Demanda Mes 12 | Month 12 Demand | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131480 | 0 |
| SDF | 27 | DF_FLAG | C | 1 | 0 | Status da Su | Estat.Suger. | Sug. Status | Status da Sugestao de Com | Estatus Sugerencia de Com | Purchase Suggest. Status | ! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131481 | 0 |
| SDF | 28 | DF_CODGRP | C | 4 | 0 | Grupo | Grupo | Group | Grupo Veiculos/Oficina | Grupo Vehiculos/Taller | Vehicle/Repair Shop Group | @! | VldAuxCod1("DF_CODGRP","DF_CODITE") | x x x xx x x x x x x x x x x x x x | IniAuxCod(SDF->DF_PRODUTO,"DF_CODGRP") | SBM | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | IniAuxCod(SDF->DF_PRODUTO,"DF_CODGRP") | 162 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131482 | 0 |
| SDF | 29 | DF_CODITE | C | 27 | 0 | Cod. Produto | Cod.Producto | Product Code | Produto Veiculos/Oficina | Product.Vehiculos/Oficina | Vehicle Prod./Repair Shop | - | VldAuxCod2("DF_PRODUTO","DF_CODGRP") | x x x xx x x x x x x x x x x x x x | IniAuxCod(SDF->DF_PRODUTO,"DF_CODITE") | B00 | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | RtPict("DF_CODGRP") | - | IniAuxCod(SDF->DF_PRODUTO,"DF_CODITE") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 131483 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SDF | 1 | DF_FILIAL+DF_CODIGO+DF_PRODUTO | Codigo + Produto | Codigo + Producto | Code + Product | S | - | - | S | 2 | 3 | - | 19013 | 0 |
| SDF | 2 | DF_FILIAL+DF_FLAG+DF_PRODUTO | Status da Su + Produto | Estat.Suger. + Producto | Sug. Status + Product | S | - | - | S | 2 | 3 | - | 19014 | 0 |
Ela é utilizada para itens sugestão de compras 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.