Table of Contents

KVSKBAPriceWorksheetLine

Events

OnBeforeCalcPurchasePUInPriceWorksheetLine(Record Price Worksheet Line, Boolean) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPurchasePUInPriceWorksheetLine(var PriceWorksheetLine: Record "Price Worksheet Line"; var IsHandled: Boolean): 

Parameters:

  • PriceWorksheetLine: The price worksheet 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.

OnBeforeCalcPurchaseDUnitCostPUInPriceWorksheetLine(Record Price Worksheet Line, Boolean) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPurchaseDUnitCostPUInPriceWorksheetLine(var PriceWorksheetLine: Record "Price Worksheet Line"; var IsHandled: Boolean): 

Parameters:

  • PriceWorksheetLine: The price worksheet 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.

OnBeforeCalcPurchaseDUnitCostInPriceWorksheetLine(Record Price Worksheet Line, Boolean) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPurchaseDUnitCostInPriceWorksheetLine(var PriceWorksheetLine: Record "Price Worksheet Line"; var IsHandled: Boolean): 

Parameters:

  • PriceWorksheetLine: The price worksheet 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.

OnBeforeCalcUnitPriceInPriceWorksheetLine(Record Price Worksheet Line, Boolean) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcUnitPriceInPriceWorksheetLine(var PriceWorksheetLine: Record "Price Worksheet Line"; var IsHandled: Boolean): 

Parameters:

  • PriceWorksheetLine: The price worksheet 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.

OnBeforeCalcSalesUnitPricePUInPriceWorksheetLine(Record Price Worksheet Line, Boolean) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcSalesUnitPricePUInPriceWorksheetLine(var PriceWorksheetLine: Record "Price Worksheet Line"; var IsHandled: Boolean): 

Parameters:

  • PriceWorksheetLine: The price worksheet 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.

OnBeforeCalcSalesPUInPriceWorksheetLine(Record Price Worksheet Line, Boolean) :

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

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcSalesPUInPriceWorksheetLine(var PriceWorksheetLine: Record "Price Worksheet Line"; var IsHandled: Boolean): 

Parameters:

  • PriceWorksheetLine: The price worksheet 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.