Skip to content

KVSKBADispatchSubscribers#

Events#

OnBeforeCheckOptionInAddCustomValuesOnBeforeIncludeOption(Record Option Lookup Buffer, Option, Integer, Boolean, Boolean, RecordRef) :#

Summary: Event raised before checking option in AddCustomValuesOnBeforeIncludeOption, to skip custom options.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckOptionInAddCustomValuesOnBeforeIncludeOption(var OptionLookupBuffer: Record "Option Lookup Buffer" temporary; LookupType: Option; Option: Integer; var Handled: Boolean; var Result: Boolean; RecRef: RecordRef): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchSubscribers", 'OnBeforeCheckOptionInAddCustomValuesOnBeforeIncludeOption', '', false, false)]
local procedure DoSomethingOnBeforeCheckOptionInAddCustomValuesOnBeforeIncludeOption(var OptionLookupBuffer: Record "Option Lookup Buffer" temporary; LookupType: Option; Option: Integer; var Handled: Boolean; var Result: Boolean; RecRef: RecordRef)
begin
end;

Parameters:

  • OptionLookupBuffer: Temporary Option Lookup Buffer record.
  • LookupType: The lookup type.
  • Option: The option value.
  • Handled: True if the event is handled.
  • Result: True if the option is to be included.
  • RecRef: The record reference.