Jump to content
Seja Membro VIP - Remova Banners de Propagandas, Tenha Liberado Qualquer Download, Além de Acessos em Áreas Exclusivas!! ×

Recommended Posts


  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Content Per Day:  0.00
  • Reputation:   0
  • Achievement Points:  125
  • Solved Content:  0
  • Days Won:  0
  • Status:  Offline
  • Age:  39

Posted

Caros colegas,

Estou iniciando o desenvolvimento de um Cubo, cujo objetivo é relacionar os Lançamentos contábeis com as respectivas naturezas orçamentárias da Origem dos mesmos.

Estou com dificuldade em encontrar qual campo das tabelas FLAN e TITMMOV tem relacionamento com a CLANCA ou CLANCAMENTO.

Não sou nenhum expert em sql, mas já tenho uma noção básica.

Alguém iniciou algo parecido ou pode me ajudar com essa duvida?

Obrigado.

Abs

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic


  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  1,140
  • Content Per Day:  0.19
  • Reputation:   60
  • Achievement Points:  6,165
  • Solved Content:  0
  • Days Won:  33
  • Status:  Offline
  • Age:  44
  • Device:  Windows

Posted

Eusebio,

Segue o relacionamento da FLAN

FROM
FLAN (NOLOCK) INNER JOIN COPERACAO (NOLOCK) ON
FLAN.CODCOLIGADA = COPERACAO.CODCOLIGADA AND
FLAN.IDOPERACAO = COPERACAO.IDOPERACAO
INNER JOIN CCONT (NOLOCK) ON
COPERACAO.CODCOLIGADA = CCONT.CODCOLIGADA AND
COPERACAO.IDOPERACAO = CCONT.IDOPERACAO
INNER JOIN CPARTIDA (NOLOCK) ON
CCONT.CODCOLIGADA = CPARTIDA.CODCOLIGADA AND
CCONT.IDPARTIDA = CPARTIDA.IDPARTIDA
INNER JOIN CLANCAMENTO (NOLOCK) ON
CPARTIDA.CODCOLIGADA = CLANCAMENTO.CODCOLIGADA AND
CPARTIDA.CODLOTE = CLANCAMENTO.CODLOTE AND
CPARTIDA.IDLANCAMENTO = CLANCAMENTO.IDLANCAMENTO
[]'S

  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Content Per Day:  0.00
  • Reputation:   0
  • Achievement Points:  125
  • Solved Content:  0
  • Days Won:  0
  • Status:  Offline
  • Age:  39

Posted

Frederico,

Obrigado, vou testar aqui e iniciar os trabalhos, vou postando as possiveis evoluções.

Abs


  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Content Per Day:  0.00
  • Reputation:   0
  • Achievement Points:  125
  • Solved Content:  0
  • Days Won:  0
  • Status:  Offline
  • Age:  39

Posted

Frederico,

Dei uma analisada e na tabela Flan em minha base, o campo IDOPERACAO está Null em todos os registros, estou na versão 11.52.


  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  1,140
  • Content Per Day:  0.19
  • Reputation:   60
  • Achievement Points:  6,165
  • Solved Content:  0
  • Days Won:  33
  • Status:  Offline
  • Age:  44
  • Device:  Windows

Posted

Você está utilizando o novo modelo de BackOffice com a contabilidade Online ?


  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  133
  • Content Per Day:  0.03
  • Reputation:   5
  • Achievement Points:  979
  • Solved Content:  0
  • Days Won:  3
  • Status:  Offline
  • Age:  35

Posted

Se eu não me engano, CLANCA é apenas uma view que aponta para CPARTIDA.

Eusebio confira também a consulta sql por trás da view FLANCONT

  • 1 year later...

  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  30
  • Content Per Day:  0.00
  • Reputation:   2
  • Achievement Points:  200
  • Solved Content:  0
  • Days Won:  0
  • Status:  Offline
  • Age:  43

Posted

Usa o IDOPERACAO da FLANBAIXA

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.