Tabela FK3

Impostos Calculados
21camposNome físicoFK3010(empresa 01)

Campos da tabela FK3

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

21
CampoDescrição
FK3_FILIAL
Caractere (C)(2)
Filial
FK3_IDFK3
Caractere (C)(10)
Id Calculo
Máscara:
@!
Contexto:
Real
FK3_DATA
Data (D)(8)
Data Calculo
Contexto:
Real
FK3_VALOR
Numérico (N)(16,2)
Valor Calc.
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
Validação:
Positivo()
FK3_MOEDA
Caractere (C)(2)
Moeda
Máscara:
@!
Contexto:
Real
Validação:
NaoVazio()
FK3_NATURE
Caractere (C)(10)
Natureza
Máscara:
@!
Contexto:
Real
Consulta F3:
SED
Validação:
ExistCpo("SED") .AND. FinVldNat( .F., FK3_NATURE, 3 )
FK3_RECPAG
Caractere (C)(1)
Rec/Pag
Máscara:
@!
Contexto:
Real
FK3_IDRET
Caractere (C)(10)
Id Retencao
Máscara:
@!
Contexto:
Real
FK3_IMPOS
Caractere (C)(6)
Imposto Calc
Máscara:
@!
Contexto:
Real
FK3_FILORI
Caractere (C)(2)
Filial Orig.
Contexto:
Real
FK3_BASIMP
Numérico (N)(16,2)
Base Calculo
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
Validação:
Positivo()
FK3_ORIGEM
Caractere (C)(8)
Origem
Máscara:
@!
Contexto:
Real
FK3_VLMOE2
Numérico (N)(16,2)
Vlr.Moeda 2
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
FK3_IDORIG
Caractere (C)(32)
Id. Origem
Máscara:
@!
Contexto:
Real
FK3_TABORI
Caractere (C)(3)
Tab. Origem
Máscara:
@!
Contexto:
Real
FK3_STATUS
Caractere (C)(1)
St. Registro
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1gerado
  • 2estornado
FK3_CLIFOR
Caractere (C)(6)
Cli/For
Máscara:
@!
Contexto:
Real
FK3_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
FK3_CGC
Caractere (C)(14)
CNPJ/CPF
Contexto:
Real
FK3_RAICGC
Caractere (C)(8)
Raiz CNPJ
Máscara:
@!
FK3_CODFKM
Caractere (C)(6)
Tipo Imposto
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela FK3

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
  FK3.FK3_FILIAL,
  FK3.FK3_IDFK3,
  FK3.FK3_DATA,
  FK3.FK3_VALOR,
  FK3.FK3_MOEDA,
  FK3.FK3_NATURE,
  FK3.FK3_RECPAG,
  FK3.FK3_IDRET
FROM FK3010 FK3
WHERE FK3.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.