Přejít na obsah
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
lis 24
18
0
zář 24
857
2
zář 24
1441
1
dub 22
1918
1
srp 21
11313