Table of Contents

KVSDMSDocSearchDefinition

Summary: Table that stores document search definitions used to configure search behavior for various tables.

Fields

Name Type Note
Code Code[20]
Description Text[100]
Sorting No. Integer
For Table ID Integer
For Table Caption Text[250] FlowField
Table Filters Blob
Find Docs with single Match Boolean
Default Boolean
UseForSourceDocumentSearch Boolean
Display Definition Code Code[20]
Active Boolean

Procedures

TryGetDefaultSearchDefinitionForSourceTable(Integer) : Boolean

Summary: Get the default search definition for the source table.

[TryFunction()]
procedure TryGetDefaultSearchDefinitionForSourceTable(TableId: Integer): Boolean

Parameters:

  • TableId: Id of the table for which the default search definition is to be fetched.

Returns: Returns true if a default search definition is found for the given table id, otherwise false.