Table of Contents

KVSKBAPriceListLine

Events

OnBeforeCalcPurchasePUInPriceListLine(Record Price List Line, Boolean) :

Summary: Raised before calculating the purchase unit price in the price list line. Subscribers can use this event to implement custom logic for calculating the purchase unit price.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPurchasePUInPriceListLine(var PriceListLine: Record "Price List Line"; var IsHandled: Boolean): 

Parameters:

  • PriceListLine: The price list line record being processed.
  • IsHandled: Set to true to indicate that the event has been handled and the standard logic for calculating the purchase unit price should be skipped.

Remarks: Subscribers should set the IsHandled parameter to true if they are handling the event to prevent the standard logic from executing.

OnBeforeCalcPurchaseDUnitCostPUInPriceListLine(Record Price List Line, Boolean) :

Summary: Raised before calculating the purchase unit price in the price list line. Subscribers can use this event to implement custom logic for calculating the purchase unit price.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPurchaseDUnitCostPUInPriceListLine(var PriceListLine: Record "Price List Line"; var IsHandled: Boolean): 

Parameters:

  • PriceListLine: The price list line record being processed.
  • IsHandled: Set to true to indicate that the event has been handled and the standard logic for calculating the purchase unit price should be skipped.

Remarks: Subscribers should set the IsHandled parameter to true if they are handling the event to prevent the standard logic from executing.

OnBeforeCalcPurchaseDUnitCostInPriceListLine(Record Price List Line, Boolean) :

Summary: Raised before calculating the purchase direct unit cost in the price list line. Subscribers can use this event to implement custom logic for calculating the purchase direct unit cost.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPurchaseDUnitCostInPriceListLine(var PriceListLine: Record "Price List Line"; var IsHandled: Boolean): 

Parameters:

  • PriceListLine: The price list line record being processed.
  • IsHandled: Set to true to indicate that the event has been handled and the standard logic for calculating the purchase direct unit cost should be skipped.

Remarks: Subscribers should set the IsHandled parameter to true if they are handling the event to prevent the standard logic from executing.

OnBeforeCalcUnitPriceInPriceListLine(Record Price List Line, Boolean) :

Summary: Raised before calculating the unit price in the price list line. Subscribers can use this event to implement custom logic for calculating the unit price.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcUnitPriceInPriceListLine(var PriceListLine: Record "Price List Line"; var IsHandled: Boolean): 

Parameters:

  • PriceListLine: The price list line record being processed.
  • IsHandled: Set to true to indicate that the event has been handled and the standard logic for calculating the unit price should be skipped.

Remarks: Subscribers should set the IsHandled parameter to true if they are handling the event to prevent the standard logic from executing.

OnBeforeCalcSalesUnitPricePUInPriceListLine(Record Price List Line, Boolean) :

Summary: Raised before calculating the sales price unit price in the price list line. Subscribers can use this event to implement custom logic for calculating the sales price unit price.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcSalesUnitPricePUInPriceListLine(var PriceListLine: Record "Price List Line"; var IsHandled: Boolean): 

Parameters:

  • PriceListLine: The price list line record being processed.
  • IsHandled: Set to true to indicate that the event has been handled and the standard logic for calculating the sales price unit price should be skipped.

Remarks: Subscribers should set the IsHandled parameter to true if they are handling the event to prevent the standard logic from executing.

OnBeforeCalcSalesPUInPriceListLine(Record Price List Line, Boolean) :

Summary: Raised before calculating the sales price unit price in the price list line. Subscribers can use this event to implement custom logic for calculating the sales price unit price.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcSalesPUInPriceListLine(var PriceListLine: Record "Price List Line"; var IsHandled: Boolean): 

Parameters:

  • PriceListLine: The price list line record being processed.
  • IsHandled: Set to true to indicate that the event has been handled and the standard logic for calculating the sales price unit price should be skipped.

Remarks: Subscribers should set the IsHandled parameter to true if they are handling the event to prevent the standard logic from executing.