OnBeforeLookupRelatedValue Event
Raised by the LookupValue
function, before the lookup page of the related table is shown.
This event can be used to set filters on RelatedRecRef, which then will be used when the lookup page is opened.
Signature
[IntegrationEvent(false, false)]
OnBeforeLookupRelatedValue(var SourceRecRef: RecordRef; var RelatedRecRef: RecordRef)
Parameters
var SourceRecRef
RecordRef
The source record, provided to the LookupValue
function.
var RelatedRecRef
RecordRef
The related record, that will be used in the lookup page. Additional filters can be added here, to affect the shown records.
This documentation is generated from Smart Toolbox v27.0