Table of Contents

KVSKBAComRates

Events

OnBeforeSetRecFilters(Record KVSKBAComRate, Boolean) :

Summary: Event raised before setting the filters on the commission rates record.

[IntegrationEvent(false, false)]
local procedure OnBeforeSetRecFilters(var Rec: Record "KVSKBAComRate"; var IsHandled: Boolean): 

Parameters:

  • Rec: The commission rates record.
  • IsHandled: Indicates whether the event is handled.

Remarks: Subscribers can set IsHandled to true to skip the default logic.

OnGetCaptionOnCaseElseSalesPersonCommTypeFilter(Record KVSKBAComRate, Text[100], Text[250], Text[250]) :

Summary: Event raised to get the caption when the SalesPersonCommTypeFilter is not one of the predefined values.

[IntegrationEvent(false, false)]
local procedure OnGetCaptionOnCaseElseSalesPersonCommTypeFilter(var Rec: Record "KVSKBAComRate"; var SalesSrcTableName: Text[100]; var DescriptionText: Text[250]; var SalesPersonFilter: Text[250]): 

Parameters:

  • Rec: The commission rates record.
  • SalesSrcTableName: The sales source table name.
  • DescriptionText: The description text.
  • SalesPersonFilter: The salesperson filter.

Remarks: Subscribers can provide custom logic to set the caption based on the SalesPersonCommTypeFilter value.