Skip to content

Commit

Permalink
fix fct_estoque_posicao
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiagoTrabach committed Jan 10, 2024
1 parent 3804849 commit 97d42fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with
from
{{ ref("int_estoque__material_relacao_remume_por_estabelecimento") }}
as remume
left join
inner join
unidades_vitacare_com_posicao_atual as est on remume.id_cnes = est.id_cnes
),

Expand Down Expand Up @@ -61,4 +61,4 @@ select *
from posicao_atual
union all
select *
from posicao_zeradas_estruturada
from posicao_zeradas_estruturada
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ with
from
{{ ref("int_estoque__material_relacao_remume_por_estabelecimento") }}
as remume
left join
inner join
unidades_vitai_com_posicao_atual as est on remume.id_cnes = est.id_cnes
where est.id_cnes is not null
),

-- materias em estoque
Expand Down

0 comments on commit 97d42fc

Please sign in to comment.