Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

Hi Folks,
I use this query to find duplicate package references:
select sqp.name, duplicates.number from (

 select substring(name from '(([0-9]+.*)*[0-9]+)') as number

 from stock_quant_package

 group by number

 having count(1) > 1

) duplicates inner join stock_quant_package sqp on substring(name from '(([0-9]+.*)*[0-9]+)') = duplicates.number order by duplicates.number;



How can I write a module to add this query as a filter for packages view in Inventory?
Thanks in advance.

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
nov. 24
18
0
sep. 24
1077
2
sep. 24
1810
1
apr. 22
2228
1
avg. 21
11901