Job Search

Hello, I wanted to add a Job Search window on a BAQ/Dashboard I’ve made but don’t know if its possible how or to go about it. I’d want it to look and work like the Job Search from the Job Entry screen when you click the Job button. image

Thanks,

You may add a Customization under Dashboard and add a Search Function using the Simple Search Wizard on the btn click Event.

Thank you for the response but I’m not seeing where to add a Customization under Dashboard. Any other information would be much appreciated.

@Fernando To add a customization layer the dashboard first has to be deployed to the menu. Then you would need to add a button and some custom code to fire the search when the button was clicked.

A couple of ways to address this without adding a button or code would be to use right click and open Job Search from the context menu or do a Control-S while in the job field.

I use this to do a search for a project from the Quote Entry screen, you could modify it to suit your dashboard - it returns the project ID to a field on the Quote Entry screen

private void epiButtonFindProject_Click(object sender, System.EventArgs args)
	{
	

		bool recSelected;
		string whereClause = string.Empty;
		System.Data.DataSet dsProjectAdapter = Ice.UI.FormFunctions.SearchFunctions.listLookup(this.oTrans, "ProjectAdapter", out recSelected, true, whereClause);
		if (recSelected)
		{
			System.Data.DataRow adapterRow = dsProjectAdapter.Tables[0].Rows[0];

			// Map Search Fields to Application Fields
			EpiDataView edvQuoteHed = ((EpiDataView)(this.oTrans.EpiDataViews["QuoteHed"]));
			System.Data.DataRow edvQuoteHedRow = edvQuoteHed.CurrentDataRow;
			if ((edvQuoteHedRow != null))
			{
				edvQuoteHedRow.BeginEdit();
				edvQuoteHedRow["ProjectID_c"] = adapterRow["ProjectID"];
				edvQuoteHedRow.EndEdit();
			}
		}
	}	
1 Like

@gpayne & @LBARKER thank you very much gentlemen!

Currently, I have a search parameter in the BAQ itself. I’ll give this a try and if I’m having trouble I think I may go down the quick search route.