Recently, I’ve created a BAQ to view a indented BOM, and currently I use a single paramater, which can be difficult for people that don’t know the part name. I have it so they can use a ‘’ for multiple parts, but I wish it would be more like some of the default searches for epicor applications, and I was wondering if I could implement that. Ideally, I would like them to do two things. 1. Be able to use the parameter I already have, so that if they want multiple parts they can use the '’ to call back multiple top level parts. 2. Have a search function where they can start typing out a part and it will return multiple parts from all parts table. Kind of like this…
If you are wanting to use the parameter, I would look into customizing a form with an ultragrid,
and using the dynamic query adapter and the part search adapter to update it.
Now that seems to be a little outside my experience there. Where can I find this? I don’t necessarily have access to everything, but if there is another menu item I need besides BAQ stuff I can get it.
Bumping this up again as I am still confused at how I can acheive this? I’ve tried looking into a tracker view/advanced search but it doesn’t seem to be what I want.
If I understand you correctly, for your indented bom, you have a recursive query working in your BAQ. I guess I’m a bit confused as this is pretty advanced, yet you are asking about wildcards, which are relatively simple. So maybe I’m missing your issue?
I’m sorry if my question comes across as confusing. I already have the option for them using a wildcard. The issue is, they want to be able to also search for a part if they do not know the part. So like a basic search with a little menu that pops down with the parts that start with what they searched. Essentially like the Part search thats in every other application within epicor. I just want to make sure I keep the ability to manually type in a part number with a star after it so it picks up multiple parts.
You can customize that quick search screen if you need.
You can also embed the dashboard in an existing forms. So when they search for something on the form (eg find a part number), the dashboard is on a tab, and uses the form’s part number to filter the BAQ.
Or you could customize the dashboard to add a button, add code to make it work.
Terry, I think is this almost getting right where I want it. Now, is there a way that I can make a button like you said called “Search” and it brings up the part search, so users don’t have to click the binoculars button? Then, once they have a list of searched parts, the part they select auto fills in my tracker?
You can customise the Quick Search to return data to your dataView on the Dashboard.
Here is the code to launch a Quick Search
//launch special search to retrieve pending PO receipts r
object ret = ProcessCaller.InvokeAdapterMethod
(oTrans.EpiBaseForm, "QuickSearchAdapter", "ShowQuickSearchForm", new object[]
{oTrans.EpiBaseForm, "YourQuickSearchIDHere", true/* multi-select */, new DataTable() });
// user cancelled
if (ret == null) return;
ArrayList list = (ArrayList)ret;
So I assume what you mean, is to leave the button off during the dashboard deployment, and then add it as a customization with a click event where that code is used, and then set it in the menu to use that customization?
Trying it that way gets me some errors within the compile as well. Not sure what I’m doing wrong, but I’m also really noob at this.