Tabela SFX

Complemento de comun/telecom
33camposNome físicoSFX010(empresa 01)

Campos da tabela SFX

33 campos no dicionário de dados do TOTVS Protheus.

33
CampoDescrição
FX_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
FX_TIPOMOV
Caractere (C)(1)
Tipo movim.
Contexto:
Real
Validação:
Pertence(" ES")
2 valores possíveis
  • EEntrada
  • SSaida
FX_DOC
Caractere (C)(9)
Numero NF
Máscara:
@!
Contexto:
Real
FX_SERIE
Caractere (C)(3)
Serie NF
Máscara:
!!!
Contexto:
Real
FX_ESPECIE
Caractere (C)(5)
Especie NF
Contexto:
Real
Consulta F3:
42
FX_CLIFOR
Caractere (C)(6)
Cli/For
Máscara:
@!
Contexto:
Real
FX_LOJA
Caractere (C)(2)
Codigo loja
Máscara:
@!
Contexto:
Real
FX_ITEM
Caractere (C)(4)
Num. item
Máscara:
@!
Contexto:
Real
Consulta F3:
SFTFIL
FX_COD
Caractere (C)(15)
Cod.prod.
Máscara:
@!
Contexto:
Real
Consulta F3:
SB1
Validação:
ExistCpo("SB1")
FX_TPCLASS
Caractere (C)(1)
Tp. class.
Contexto:
Real
Validação:
Pertence(" 3")
FX_CLASCON
Caractere (C)(2)
Classe cons.
Máscara:
99
Contexto:
Real
Consulta F3:
CC5
Validação:
ExistCpo("CC5","3"+M->FX_CLASCON)
FX_GRPCLAS
Caractere (C)(2)
Grp. class.
Máscara:
@!
Contexto:
Real
Consulta F3:
CC4
Validação:
ExistCpo("CC4")
FX_CLASSIF
Caractere (C)(2)
Classifica
Máscara:
99
Contexto:
Real
Validação:
ExistCpo("CC4",GDFieldGet("FX_GRPCLAS")+M->FX_CLASSIF)
FX_VALTERC
Numérico (N)(14,2)
Val. terc.
Máscara:
@E 99,999,999,999.99
Contexto:
Real
Validação:
Positivo()
FX_TIPOREC
Caractere (C)(1)
Tipo rec.
Máscara:
9
Contexto:
Real
Validação:
Pertence(' 01234569')
8 valores possíveis
  • 0Serv.Prestados
  • 1Cob.Debito
  • 2Venda Mercador.
  • 3Pre-pago
  • 4Outras proprias
  • 5Co-faturamento
  • 6Per. Futuro
  • 9Outras terceiros
FX_RECEP
Caractere (C)(6)
Recep. rec.
Máscara:
@!
Contexto:
Real
Consulta F3:
SA1
Validação:
ExistCpo("SA1")
FX_LOJAREC
Caractere (C)(2)
Loja recep.
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo("SA1",GDFieldGet("FX_RECEP")+M->FX_LOJAREC)
FX_TIPSERV
Caractere (C)(1)
Tipo servico
Contexto:
Real
Validação:
Pertence(" 012349")
6 valores possíveis
  • 0Telefonia
  • 1Comunicacao dados
  • 2TV assinatura
  • 3Internet
  • 4Multimidia
  • 9Outros
FX_DTINI
Data (D)(8)
Ini.pst.serv
Contexto:
Real
FX_DTFIM
Data (D)(8)
Fin.pst.serv
Contexto:
Real
FX_PERFIS
Caractere (C)(7)
Per. fiscal
Máscara:
@R 99/9999
Contexto:
Real
FX_AREATER
Caractere (C)(2)
Cod. area
Máscara:
99
Contexto:
Real
FX_TERMINA
Caractere (C)(10)
Num. term.
Contexto:
Real
FX_VOL115
Caractere (C)(15)
Vol.Cv.115
Máscara:
@!
Contexto:
Real
FX_CHV115
Caractere (C)(32)
Chave 115
Máscara:
@!
Contexto:
Real
FX_TPASSIN
Caractere (C)(1)
Tipo Ass.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 0123456")
6 valores possíveis
  • 1Comerc/Ind
  • 2Pod Publico
  • 3Resid/Pessoa Fisica
  • 4Publico
  • 5Semi Publico
  • 6Outros
FX_ESTREC
Caractere (C)(1)
Estorno Rec.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
FX_CODUNC
Caractere (C)(5)
Cod. Un. Com
Máscara:
@!
Contexto:
Real
FX_ESTHIPO
Caractere (C)(1)
Hipot. Estor
Máscara:
@!
FX_ESTMOTI
Caractere (C)(200)
Motivo Estor
Máscara:
@S50
FX_ESTCONT
Caractere (C)(20)
Nro.Controle
Máscara:
@!
FX_CLASSIT
Caractere (C)(3)
Classe Item
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .Or. ExistCpo('SX5','S7'+M->FX_CLASSIT)
FX_SDOC
Caractere (C)(3)
Serie Doc.
Máscara:
!!!
Contexto:
Real

SELECT de exemplo da tabela SFX

No Protheus a tabela física leva o código da empresa (01 → 010) e registros excluídos ficam com D_E_L_E_T_ = '*'.

SQL · SQL Server
SELECT TOP 100
  SFX.FX_FILIAL,
  SFX.FX_TIPOMOV,
  SFX.FX_DOC,
  SFX.FX_SERIE,
  SFX.FX_ESPECIE,
  SFX.FX_CLIFOR,
  SFX.FX_LOJA,
  SFX.FX_ITEM
FROM SFX010 SFX
WHERE SFX.D_E_L_E_T_ = ' '

Tabelas próximas no índice do Protheus

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.