📚 SAP Business One SDK Help

FormattedSearches Object Members
See Also  Overview 

Public Methods

Public Method AddAssigns a formatted search function to a specified field.
Public Method GetAsXMLGetAsXML
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes the current record.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property ActionDetermines the type of action to be taken by the system when activating the formatted search function. The options include: Without Search, Search in Existing Values, and Search By Saved Query.

Field name: ActionT.

Public Property BrowserReturns the DataBrowser object.
Public Property ByFieldDetermines whether the automatic refresh is activated when the field changes or when exiting an altered column. Applicable for Table fields only and when the Refresh property is set tYES.

Field name: ByField.

Public Property ByFieldExproperty ByFieldEx
Public Property ColumnIDSets or returns the column identification key.

Mandatory for Table fields. The default value: -1 (Title field).

Length: 11 characters.

Public Property FieldIDSets or returns the field ID.

Field name: FieldID.

Length: 11 characters.

Mandatory in case Action is set to bofsaQuery.

Public Property FieldIDsproperty FieldIDs
Public Property ForceRefreshSets or returns a valid value that determines wether or not to refresh the data regularly or only to display the saved value.

Field name: FrceRfrsh.

Public Property FormIDSets or returns the form identification key. Field name: FormID.

Mandatory property.

Length: 100 characters.

Public Property IndexReturns the primary key of the formatted search function as assigned by the system when adding the object.

Field name: IndexID.

Public Property ItemIDSets or returns the ID of the field or the table in a form (primary key with FormID).

Field name: ItemID.

Mandatory property.

Length: 20 characters.

Public Property QueryIDSets or returns the key of the query for the formatted search function.

Field name: QueryId.

Mandatory in case Action is set to bofsaQuery.

Public Property RefreshSets or returns a valid value that determines wether or not to automatically refresh the data when the field value is modified.

Field name: Refresh.

Public Property UserFieldsReturns the UserFields object.
Public Property UserValidValuesReturns the UserValidValues object.

See Also