HISTORICO MOVIMENTAÇÃO MUNIÇÃO
A tabela TFP faz parte do sistema ERP Protheus da TOTVS e é utilizada para historico movimentaÇÃo muniÇÃo.
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 TFP 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 TFP, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | TFP |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | TFP990 |
| X2_NOME | HISTORICO MOVIMENTAÇÃO MUNIÇÃO |
| X2_NOMESPA | HISTOR. MOVIMIENTO MUNICION |
| X2_NOMEENG | AMMUNITION OPER.HIST. |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | TFP_FILIAL+TFP_CODIGO |
| X2_PYME | S |
| X2_MODULO | 28 |
| 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_ | 9317 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TFP | 01 | TFP_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 | - | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154904 | 0 |
| TFP | 02 | TFP_CODIGO | C | 6 | 0 | Codigo | Codigo | Code | Codigo Historico | Codigo historial | History Code | - | - | 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 | - | - | - | 154905 | 0 |
| TFP | 03 | TFP_ENTIDA | C | 1 | 0 | Entidade | Entidad | Entity | Entidade de Alocação | Entidad de asignacion | Allocation Entity | @! | Pertence("12") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | 1=Empresa;2=Cliente | 1=Empresa;2=Cliente | 1=Company;2=Customer | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154906 | 0 |
| TFP | 04 | TFP_CODINT | C | 8 | 0 | Cod. Loc. In | Cod.Lug.Int | In.Loc.Cd. | Codigo Local Interno | Codigo lugar interno | Internal Loc. Code | @! | - | 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 | - | - | - | 154907 | 0 |
| TFP | 05 | TFP_CODLOC | C | 8 | 0 | Cod. Loc. At | Cod.Lug.At. | Serv.Loc.Cd. | Codigo Local Atendimento | Codigo lugar de atencion | Service Loc. Code | @! | - | 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 | - | - | - | 154908 | 0 |
| TFP | 06 | TFP_MOVIM | C | 1 | 0 | Movimentação | Movimiento | Transaction | Tipo de Movimentação | Tipo de movimiento | Type of Transaction | @! | Pertence("12345678") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | 1=Saldo Cofre;2=Saldo Cliente;3=Ocorrencia;4=Utilizado;5=Recuperado;6=Manutencao;7=Cancelada;8=Descarte | 1=Saldo cofre;2=Saldo cliente;3=Ocurrencia;4=Utilizado;5=Recuperado;6=Mantemiento;7=Anulada;8=Retiro | 1=Safe Balance;2=Client Balance;3=Occurrence;4=Used;5=Recovered;6=Maintenance;7=Canceled;8=Discharge | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154909 | 0 |
| TFP | 07 | TFP_CODMUN | C | 6 | 0 | Cod. Mun | Cod.Mun. | Ammun. Code | Codigo da Munição | Codigo de la municion | Ammunition Code | @! | - | 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 | - | - | - | 154910 | 0 |
| TFP | 08 | TFP_LOTE | C | 30 | 0 | Lote | Lote | Ammun. Lot | Lote da Munição | Lote municion | Ammunition Lot | - | - | 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 | - | - | - | 154911 | 0 |
| TFP | 09 | TFP_SALDO | N | 6 | 0 | Saldo | Saldo | Balance | Saldo da munição | Saldo municion | Ammunition Balance | 999999 | POSITIVO() | 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 | - | - | - | 154912 | 0 |
| TFP | 10 | TFP_STATUS | C | 1 | 0 | Status | Estatus | Status | Status da Munição | Estatus de la municion | Ammunition Status | @! | Pertence("12") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | 1=Efetivada;2=Cancelada | 1=Efectivada;2=Anulada | 1=Confirmed;2=Canceled | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154913 | 0 |
| TFP | 11 | TFP_MANUT | C | 6 | 0 | Cod. Manut | Cod.Mant. | Maint. Code | Codigo da Manutenção | Codigo del mantenimiento | Maintenance Code | - | - | 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 | - | - | - | 154914 | 0 |
| TFP | 12 | TFP_CODMOV | C | 6 | 0 | Cod. Mov. | Cod. Mov. | Mvt. Code | Codigo da Movimentação | Codigo del movimiento | Movement Code | @! | - | 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 | - | - | - | 154915 | 0 |
| TFP | 13 | TFP_CODOCO | C | 6 | 0 | Cod. Ocorr. | Cod. Ocurr. | Event Code | Codigo da Ocorrencia | Codigo ocurrencia | Event Code | @! | - | 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 | - | - | - | 154916 | 0 |
| TFP | 14 | TFP_DTHIST | D | 8 | 0 | Dta Inclusão | Fch.Inclus. | Inclus. Date | Data de Inclusão | Fecha inclusion | Inclusion 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 | - | - | - | 154917 | 0 |
| TFP | 15 | TFP_FREA | C | 1 | 0 | FREA | FREA | FREA | Item do FREA | Item FREA | FREA Item | @! | Pertence("1234") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | A | R | - | - | 1=Furtada;2=Roubada;3=Extraviada;4=Apreendida | 1=Hurtada;2=Robada;3=Extraviada;4=Aprehendida | 1=Stolen;2=Robbed;3=Lost;4=Seized | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154918 | 0 |
| TFP | 16 | TFP_RECDE | C | 1 | 0 | Rec. De? | ¿Rec. De? | Rec. from? | Recuperada de? | ¿Recuperada de? | Recovered From? | @! | Pertence("1234") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | A | R | - | - | 1=Furtada;2=Roubada;3=Extraviada;4=Apreendida | 1=Hurtada;2=Robada;3=Extraviada;4=Aprehendida | 1=Stolen;2=Robbed;3=Lost;4=Seized | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154919 | 0 |
| TFP | 17 | TFP_PRODUT | C | 15 | 0 | Cód.Produto | Cód.Producto | Product code | Código do Produto | Código del producto | Product code | @! | EXISTCPO("SB1") | x x x x x x x x x x x x x x x x | if(!inclui,POSICIONE( "SB1", 1, XFILIAL( "SB1" ) + TFP->TFP_PRODUT, "B1_COD"),"") | SB1MUN | 1 | x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154920 | 0 |
| TFP | 18 | TFP_FILLOC | C | 2 | 0 | Filial Local | Sucursal loc | Local Branch | Filial Local | Sucursal local | Local Branch | - | - | x x x x x x x x x x x x x x x x | - | SM0 | 1 | x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 154921 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TFP | 1 | TFP_FILIAL+TFP_CODIGO | Codigo | Codigo | Code | S | - | - | S | 2 | 3 | - | 22137 | 0 |
| TFP | 2 | TFP_FILIAL+TFP_ENTIDA+TFP_CODINT+TFP_LOTE | Entidade + Cod. Loc. In + Lote | Entidad + Cod.Lug.Int + Lote | Entity + In.Loc.Cd. + Ammun. Lot | S | - | - | S | 2 | 3 | - | 22138 | 0 |
| TFP | 3 | TFP_FILIAL+TFP_ENTIDA+TFP_CODINT+TFP_MANUT | Entidade + Cod. Loc. In + Cod. Manut | Entidad + Cod.Lug.Int + Cod.Mant. | Entity + In.Loc.Cd. + Maint. Code | S | - | - | S | 2 | 3 | - | 22139 | 0 |
| TFP | 4 | TFP_FILIAL+TFP_ENTIDA+TFP_CODLOC+TFP_LOTE | Entidade + Cod. Loc. At + Lote | Entidad + Cod.Lug.At. + Lote | Entity + Serv.Loc.Cd. + Ammun. Lot | S | - | - | S | 2 | 3 | - | 22140 | 0 |
| TFP | 5 | TFP_FILIAL+TFP_ENTIDA+TFP_CODLOC+TFP_MANUT | Entidade + Cod. Loc. At + Cod. Manut | Entidad + Cod.Lug.At. + Cod.Mant. | Entity + Serv.Loc.Cd. + Maint. Code | S | - | - | S | 2 | 3 | - | 22141 | 0 |
| TFP | 6 | TFP_FILIAL+TFP_CODIGO+TFP_CODMUN+TFP_CODLOC+TFP_PRODUT | Codigo + Cod. Mun + Cod. Loc. At + Cód.Produto | Codigo + Cod.Mun. + Cod.Lug.At. + Cód.Producto | Code + Ammun. Code + Serv.Loc.Cd. + Product code | S | - | - | S | 2 | 3 | - | 22142 | 0 |
| TFP | 7 | TFP_FILIAL+TFP_ENTIDA+TFP_CODINT+TFP_PRODUT+TFP_FILLOC | Entidade + Cod. Loc. In + Cód.Produto + Filial Local | Entidad + Cod.Lug.Int + Cód.Producto + Sucursal loc | Entity + In.Loc.Cd. + Product code + Local Branch | S | - | - | S | 2 | 3 | - | 22143 | 0 |
| TFP | 8 | TFP_FILIAL+TFP_ENTIDA+TFP_CODLOC+TFP_PRODUT+TFP_FILLOC | Entidade + Cod. Loc. At + Cód.Produto + Filial Local | Entidad + Cod.Lug.At. + Cód.Producto + Sucursal loc | Entity + Serv.Loc.Cd. + Product code + Local Branch | S | - | - | S | 2 | 3 | - | 22144 | 0 |
| TFP | 9 | TFP_FILIAL+TFP_PRODUT | Cód.Produto | Cód.Producto | Product code | S | - | - | S | 2 | 3 | - | 22145 | 0 |
Ela é utilizada para historico movimentaÇÃo muniÇÃo 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.