Show a Company Lookup Form.

This simply raises the UIFormShowCompanyLookup event which the User Interface can trap and perform the necessary action.

Syntax

finPageSetHandler.FormShowCompanyLookup(searchBy, searchQuery, results, [existingDetails], [detailsToUpdate])

Parameters

NameTypeOptionalByRefDescription
searchBy isefinCompanyLookupSearchBy The type of search to perform.
searchQuery String The Search Query (based upon the specified searchBy), e.g., the Company/ Organisation Name.
results ISKeyValueList ByRef A Key/ Value list containing all details of the selected item in the Company Lookup form or Nothing if the User cancelled the Company Lookup form. The contents of this list will vary based on database country and the service used to perform the lookup.
existingDetails ISKeyValueList Optional This Key/ Value list can be populated with existing, known values, e.g., the Company Number. For each valid item in this list, the Company Lookup form will display a field along with a checkbox to allow the User to indicate that they want to update this value. All checked values are returned in the detailsToUpdate parameter. If omitted, a value of Nothing is assumed.
detailsToUpdate ISKeyValueList Optional ByRef A Key/ Value list containing details that the User has selected (via checkboxes on the Company Lookup form) to update or Nothing if the User cancelled the Company Lookup form. If omitted, a value of Nothing is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finPageSetHandler
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0