Field Search

Hi Folks i am trying a field search that will search parts based on a condition i am new to application studio. i already check the enable search on the field and i tried to set the logic below in the event but is not working at all any guidance will be highly appreciated. i also need to add the logic to search parts where Par.ClassID = LEG & Part.Part_IsFrontLeg_c = TRUE

image

image

One possible approach…

In your event, you need to add a search-show component. This is where you tell the app what type of search to use (Basic, BAQ, Quick, etc.).

Your “Like” (I’m assuming would be) Part.PartNum

What I’m not sure of is whether you can pass conditions to filter the search results. I haven’t found a way unless you’re filtering on fields that are already included in the “Basic Search”.

Since you want to filter on a UD column, for example, my approach would be to create a simple BAQ search against the Part table. In that BAQ, set up table criteria that already filters the results based on your needs.

At the bottom of the Search Show parameters, you change the Search Type to BAQ and then enter the name of your BAQ Search.

This way, your BAQ is already applying your filters.

The downside is you would need a different BAQ search set up for each instance you do this. For example, you would need another BAQ set up if you wanted to do the same things for “Part.Part_IsBACKLeg_c”.

2 Likes

Hi David Thanks a lot for your answer i tried that and it dint do anything look at picture below i created my BAQ add the condition there and then addit to the event but it did nothing no search screen

Capitalize Part in your textbox epibinding.

image