Jiwa 8, search windows and getting col values  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Jiwa 8, search windows and getting col values

Postby DannyC » Mon May 11, 2026 5:54 pm

In the Upgrade Guidance For Plugin Developers moving from Jiwa 7 to Jiwa 8, is this
Invoking a Search Window
The previous method of invoking a search window will still function, but users will benefit from changing to the more extensible and simpler search.

A pre-defined search
You can invoke the search for existing pre-defined searches as follows:

string id = null;
using (JiwaFinancials.Jiwa.JiwaApplication.JiwaSearchAsync.SearchForm searchDialog = JiwaFinancials.Jiwa.JiwaApplication.JiwaSearchAsync.Factory.CreateSearchForm(this, OwnerForm, OwnerForm.GetType().ToString(), "Inventory Item"))
{
if (searchDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
id = searchDialog.Results[0];
}
}


All OK but it returns (in this example) the InventoryID. How can I get the value from other columns like PartNo for example?
I've tried searchDialog.Results[1] but I get an index out of range error.
User avatar
DannyC
Senpai
Senpai
 
Posts: 730
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 32

Re: Jiwa 8, search windows and getting col values  Topic is solved

Postby Mike.Sheen » Mon May 11, 2026 6:23 pm

Would you mind posting this under the Jiwa 8 forum?

Thanks!
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2589
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 816


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 76 guests