Announcements
Can a Quick Query be launched from a button on a screen?
*This post is locked for comments
I added a button on the Sales Order screen to lookup a customer's detail lines of order history, and the button opens the related QQ_SOLine display. How can I pass the active customer ID to the Quick Query screen as a parameter? Also, how can I open a filtered view rather than the base Quick Query view?
Hello KenF58,
I have tried to call the specific Quick Query from button click event in the standard customization. It's very simple to call a particular Quick from button click in standard screen customization.But you must know the Quick Query view name to call the Quick Query on Standard Screen Customization.
For Instance,
I am calling the AP Documents Quick Query from the Voucher & Adjustment Entry screen.Below is the code to call a specific Quick Query from the button click event.
Dim ParmStr$
ParmStr = "QQVIE00.EXE " + PRMSEP + "QQ_Apdoc"
serr1 = Launch(ParmStr, True, True, 0)
Hope this will help you.
Thanks,
Perumalsamy R
Hello Perumal,
This will call the specified Quick Query screen. But what if the user needs to open the customized Quick Query directly through button click. Just want to know ...
For better understanding,
If an user customized & stored the Inventory Transaction - Quick query based on the Issues and Receipts TranType. Now if user needs to open the the Inventory Transaction Quick Query for the Receipts. How can we handle this? Other than Solomon Object Model.. Any Ideas?
Thanks
Hello KenF58,
We can call the Quick Query Viewer by calling the Launch API of SL Customization.
Below is the code to invoke the Quick Query Viewer from standard screen customization:
Serr1 = Launch("QQVIE00",True,True,0)
Hope this will help you.
Thanks,
Perumalsamy R
Hi KenF58,
We suppose it would be possible but have never tried it. If you give it a try and run into a problem, update this post and we'll see what we can do.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156