fix(consulta-de-produto): usar a variável ctx_user_companies_for_module
davinTI/app-dono-modulos/pipeline/head This commit looks good

This commit is contained in:
tkinaba
2026-04-01 10:19:40 -03:00
parent f3497dbff3
commit bbc52c8cd1
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -737,7 +737,7 @@ where 1=1
--and pemp.nroempresa = 202
and md.nrodivisao in (2,4)
and pemp.seqproduto = ${args.codproduto}
and me.nroempresa in (${args.ctx_user_companies})
and me.nroempresa in (${args.ctx_user_companies_for_module})
and pes2.qtdembalagem = (select nvl(max(pes3.qtdembalagem), 1)
from mrl_prodempseg pes3
where pes3.nroempresa = pes.nroempresa