Table of Contents

KVSKBABuildupCommission

Events

OnBeforeFindCommissionRate2(Record KVSKBACommissionJournalLine, Record KVSKBAComRate, Integer, Boolean) :

Summary: Integration event that is raised before the FindCommissionRate function is executed.

[IntegrationEvent(false, false)]
local procedure OnBeforeFindCommissionRate2(var KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var KVSKBAComRate: Record "KVSKBAComRate" temporary; var ReturnValue: Integer; var IsHandled: Boolean): 

Parameters:

  • KVSKBACommissionJournalLine: The record of the KVSKBA Commission Journal Line table.
  • KVSKBAComRate: The temporary record of the KVSKBA Commission Rate table.
  • ReturnValue: System.Object[]
  • IsHandled: System.Object[]

Remarks: This event allows you to customize the behavior of the FindCommissionRate function by providing your own implementation. You can modify the KVSKBACommissionJournalLine and KVSKBAComRate records, set the ReturnValue, and set IsHandled to true to skip the default processing.