Parâmetros Mensais
A tabela BFM faz parte do sistema ERP Protheus da TOTVS e é utilizada para parâmetros mensais.
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 BFM 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 BFM, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | BFM |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | BFM990 |
| X2_NOME | Parâmetros Mensais |
| X2_NOMESPA | Parámetros Mensuales |
| X2_NOMEENG | Monthly Parameters |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | N |
| X2_MODULO | 33 |
| 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_ | 1129 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BFM | 01 | BFM_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 | N | - | - | - | 1 | 2 | - | - | - | 18846 | 0 |
| BFM | 02 | BFM_CODINT | C | 4 | 0 | Cd Operadora | Cd Operadora | OperatorCode | Cod.Operadora | Cod.Operadora | Operator Code | @R !.!!! | PLSVLDINT(M->BFM_CODINT) .And. ExistCpo("BA0") .And. ExistChav("BFM",M->BFM_CODINT+M->BFM_ANO+M->BFM_MES) | x x x x x x x x x x x x x x x x | PLSINTPAD(RETCODUSR()) | B89PLS | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 18847 | 0 |
| BFM | 03 | BFM_ANO | C | 4 | 0 | Ano | Ano | Year | Ano | Ano | Year | 9999 | ExistChav("BFM",M->BFM_CODINT+M->BFM_ANO+M->BFM_MES) .And. M->BFM_ANO >= "1900" .And. M->BFM_ANO <= "3000" | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 18848 | 0 |
| BFM | 04 | BFM_MES | C | 2 | 0 | Mes | Mes | Month | Mes | Mes | Month | 99 | ExistChav("BFM",M->BFM_CODINT+M->BFM_ANO+M->BFM_MES) .And. M->BFM_MES >= "01" .And. M->BFM_MES <= "12" | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 18849 | 0 |
| BFM | 05 | BFM_VALRDA | N | 16 | 4 | U.S.Pag.HM | U.S.Pag.HM | U.S.Pym.MF | U.S.Pagamento Honor.Med. | U.S.Pago Honor.Med. | U.S. payment medical fees | @E 99,999,999,999.9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 18850 | 0 |
| BFM | 06 | BFM_VALCOP | N | 16 | 4 | U.S.Pag.COP | U.S.Pag.COP | U.S.Pym.OpC. | U.S.Pagamento Custo.Oper. | U.S.Pagamento Costo.Oper | US. payment oper. cost | @E 99,999,999,999.9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 18851 | 0 |
| BFM | 07 | BFM_BANDA | N | 16 | 2 | Banda | Banda | Band | Banda | Banda | Band | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 18852 | 0 |
| BFM | 08 | BFM_UCO | N | 16 | 2 | UCO | UCO | UCO | Unidade Custo Operacional | Unidad Costo Operativo | Operational cost unit | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 18853 | 0 |
| BFM | 09 | BFM_PERINS | N | 16 | 4 | Per.Instr. | Por. Instr. | Instr. Perc. | Perc de Instrumentacao | Porc de Instrumentacion | Instrumentation perc. | @E 99,999,999,999.9999 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 18854 | 0 |
| BFM | 10 | BFM_VALREM | N | 16 | 4 | U.S. Reem. | U.S. Reem. | U.S.Reimbur. | U.S. Reembolso | U.S. Reembolso | U.S. Reimbursement | @E 99,999,999,999.9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 18855 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BFM | 1 | BFM_FILIAL+BFM_CODINT+BFM_ANO+BFM_MES | Cd Operadora + Ano + Mes | Cd Operadora + Ano + Mes | OperatorCode + Year + Month | S | - | - | S | 2 | 3 | - | 2742 | 0 |
Ela é utilizada para parâmetros mensais 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
BFM_FILIAL,
BFM_CODINT,
BFM_ANO,
BFM_MES,
BFM_VALRDA,
BFM_VALCOP,
BFM_BANDA,
BFM_UCO,
BFM_PERINS,
BFM_VALREM
FROM BFM
WHERE
D_E_L_E_T_ = ' '
AND BFM_FILIAL = 'VALOR'
AND BFM_CODINT = 'VALOR'
AND BFM_ANO = 'VALOR'
AND BFM_MES = 'VALOR'
AND BFM_VALRDA = 0
AND BFM_VALCOP = 0
AND BFM_BANDA = 0
AND BFM_UCO = 0
AND BFM_PERINS = 0
AND BFM_VALREM = 0