Table of Contents

KVSKBAPriceWorksheetCalc

Events

OnCalculateTextGlobalsOnSetTextBaseOfInitialPriceCaseElse(Record KVSKBASalesConditionHeader, Text[50]) :

Summary: Integration event that is raised when setting the text base of the initial price in the CalculateTextGlobals procedure.

[IntegrationEvent(false, false)]
local procedure OnCalculateTextGlobalsOnSetTextBaseOfInitialPriceCaseElse(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; var TextBaseOfInitialPrice: Text[50]): 

Parameters:

  • KVSKBASalesConditionHeader: System.Object[]
  • TextBaseOfInitialPrice: The text base of the initial price.

Remarks: Subscribers can use this event to perform custom logic when setting the text base of the initial price.

OnGetConditionOnAfterSetFilterSalesCondHeader(Record KVSKBASalesConditionHeader, Record Price Worksheet Line) :

Summary: Integration event that is raised after setting the filter for the sales condition header in the GetCondition procedure.

[IntegrationEvent(false, false)]
local procedure OnGetConditionOnAfterSetFilterSalesCondHeader(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; PriceWorksheetLine: Record "Price Worksheet Line"): 

Parameters:

  • KVSKBASalesConditionHeader: System.Object[]
  • PriceWorksheetLine: System.Object[]

Remarks: Subscribers can use this event to perform custom logic after setting the filter for the sales condition header.

OnGetConditionOnBeforeCheckBaseofCalculation(Record KVSKBASalesConditionHeader, Boolean) :

Summary: Integration event that is raised before checking the base of calculation in the GetCondition procedure.

[IntegrationEvent(false, false)]
local procedure OnGetConditionOnBeforeCheckBaseofCalculation(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; var IsHandled: Boolean): 

Parameters:

  • KVSKBASalesConditionHeader: System.Object[]
  • IsHandled: Indicates whether the event has been handled by a subscriber.

Remarks: Subscribers can use this event to perform custom logic before checking the base of calculation.

OnBeforeCalcSalesPriceOnGetCondition(Record KVSKBASalesConditionHeader, Boolean) :

Summary: Integration event that is raised before calculating the sales price in the GetCondition procedure.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcSalesPriceOnGetCondition(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; var IsHandled: Boolean): 

Parameters:

  • KVSKBASalesConditionHeader: System.Object[]
  • IsHandled: Indicates whether the event has been handled by a subscriber.

Remarks: Subscribers can use this event to perform custom logic before calculating the sales price.