Table of Contents

KVSKBAResourceFindPrice

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Procedures

OnRun

procedure OnRun(Rec: Record "KVSKBAResourcePrice")

Events

OnAfterFindResPrice(Record KVSKBAResourcePrice, Record Resource) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Called after the resource price is found.

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnAfterFindResPrice(var ResourcePrice: Record "KVSKBAResourcePrice"; Resource: Record "Resource"): 

Parameters:

  • ResourcePrice: The resource price record that was found; can be modified by the subscriber.
  • Resource: The resource record associated with the resource price; can be modified by the subscriber.

Remarks: This event is raised after the resource price is found. It allows subscribers to modify the resource price record or handle the event.

OnBeforeFindResPrice(Record KVSKBAResourcePrice, Boolean) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Called before the price calculation is executed.

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnBeforeFindResPrice(var ResourcePrice: Record "KVSKBAResourcePrice"; var IsHandled: Boolean): 

Parameters:

  • ResourcePrice: The resource price record that will be used for the price calculation; can be modified by the subscriber.
  • IsHandled: Set to true to indicate that the event has been handled and skip the default price calculation logic.

Remarks: This event is raised before the price calculation is executed. It allows subscribers to modify the price calculation behavior or provide custom logic.