Ficha de Conteudo de Importaca
A tabela CFD faz parte do sistema ERP Protheus da TOTVS e é utilizada para ficha de conteudo de importaca.
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 CFD 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 CFD, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | CFD |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | CFD990 |
| X2_NOME | Ficha de Conteudo de Importaca |
| X2_NOMESPA | Ficha de contenido importacion |
| X2_NOMEENG | Import Contents Form |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | CFD_FILIAL+CFD_PERCAL+CFD_PERVEN+CFD_COD+CFD_OP+CFD_FILOP |
| X2_PYME | S |
| X2_MODULO | 9 |
| X2_DISPLAY | CFD_PERCAL |
| X2_SYSOBJ | FISA061 |
| 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_ | 2263 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CFD | 01 | CFD_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 x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | S | - | N | - | - | - | 1 | 2 | - | - | - | 35740 | 0 |
| CFD | 02 | CFD_PERCAL | C | 6 | 0 | Per.Calc. | Per.Calc. | Calc Per | Período do Calculo | Periodo del calculo | Calculation Period | @R 99/9999 | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 2 | - | - | - | 35741 | 0 |
| CFD | 03 | CFD_PERVEN | C | 6 | 0 | Per.Vend. | Per.Vent | Sales Period | Período de Vendas | Periodo de ventas | Sales Period | @R 99/9999 | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 1 | - | - | - | 35742 | 0 |
| CFD | 04 | CFD_COD | C | 15 | 0 | Codigo | Codigo | Code | Codigo do Produto | Codigo del Producto | Product Code | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | S | - | N | - | - | - | 1 | 1 | - | - | - | 35743 | 0 |
| CFD | 05 | CFD_OP | C | 14 | 0 | Ord Producao | Ord.Produc. | Prod. Order | Ordem de Producao | Orden de produccion | Production Order | @9 | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 2 | - | - | - | 35744 | 0 |
| CFD | 06 | CFD_VPARIM | N | 14 | 2 | Vlr.Par.Im | Vlr.Cuot.Im | Im. Inst. Vl | Valor da Parcela Importad | Valor de cuotaa importad | Imported Installment Vl. | @E 99,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 35745 | 0 |
| CFD | 07 | CFD_VSAIIE | N | 14 | 2 | Vlr.Sai.IE | Vlr.Sal.IE | IE Outf. Vl. | Valor Saida Interestadual | Valor Salida Interestad. | Interstate Outflow Value | @E 99,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 35746 | 0 |
| CFD | 08 | CFD_CONIMP | N | 9 | 4 | Cont. Imp. | Cont. Imp. | Imp. Cont. | Conteudo de Importacao | Contenido de importacion | Import Contents | @E 9,999.9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 35747 | 0 |
| CFD | 09 | CFD_FCICOD | C | 36 | 0 | Codigo FCI | Codigo FCI | FCI Code | Codigo FCI | Codigo FCI | FCI Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 35748 | 0 |
| CFD | 10 | CFD_FILOP | C | 2 | 0 | Filial Op | Sucursal Op | Op Branch | Filial Op | Sucursal Op. | Op Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | S | - | N | - | - | - | 1 | 2 | - | - | - | 35749 | 0 |
| CFD | 11 | CFD_ORIGEM | C | 1 | 0 | Origem | Origen | Source | Código de Origem | Codigo de origen | Source Code | @! | Vazio() .or. ExistCpo("SX5","S0"+M->CFD_ORIGEM) | x x x x x x x x x x x x x x x x | - | S0 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 35750 | 0 |
| CFD | 12 | CFD_VIGE | C | 6 | 0 | Dt Ini Camex | Fch Ini Came | Camex St Dt | Inicio vigencia no Camex | Inicio vigencia en Camex | Validity start in Camex | @R 99/9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 35751 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CFD | 1 | CFD_FILIAL+CFD_PERCAL+CFD_PERVEN+CFD_COD | Per.Calc. + Per.Vend. + Codigo | Per.Calc. + Per.Vent + Codigo | Calc Per + Sales Period + Code | S | - | - | S | 2 | 3 | - | 5473 | 0 |
| CFD | 2 | CFD_FILIAL+CFD_COD+CFD_PERCAL+CFD_PERVEN | Codigo + Per.Calc. + Per.Vend. | Codigo + Per.Calc. + Per.Vent | Code + Calc Per + Sales Period | S | - | - | S | 2 | 3 | - | 5474 | 0 |
| CFD | 3 | CFD_FILIAL+CFD_FCICOD | Codigo FCI | Codigo FCI | FCI Code | S | - | - | S | 2 | 3 | - | 5475 | 0 |
Ela é utilizada para ficha de conteudo de importaca 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
CFD_FILIAL,
CFD_PERCAL,
CFD_PERVEN,
CFD_COD,
CFD_OP,
CFD_VPARIM,
CFD_VSAIIE,
CFD_CONIMP,
CFD_FCICOD,
CFD_FILOP,
CFD_ORIGEM,
CFD_VIGE
FROM CFD
WHERE
D_E_L_E_T_ = ' '
AND CFD_FILIAL = 'VALOR'
AND CFD_PERCAL = 'VALOR'
AND CFD_PERVEN = 'VALOR'
AND CFD_COD = 'VALOR'
AND CFD_OP = 'VALOR'
AND CFD_VPARIM = 0
AND CFD_VSAIIE = 0
AND CFD_CONIMP = 0
AND CFD_FCICOD = 'VALOR'
AND CFD_FILOP = 'VALOR'
AND CFD_ORIGEM = 'VALOR'
AND CFD_VIGE = 'VALOR'