Table of Contents

KVSKBASalesConditionLine

Fields

Name Type Note
Condition No. Code[20]
Line No. Integer
Reference No. Integer
Description Text[50]
Calculation Enum (KVSKBAPriceCalculation)
Operator Enum (KVSKBAPriceCalcOperator)
Value Decimal
Percent Decimal
Initial Price Decimal
Currency Code (Init. Price) Code[10]
Currency Factor (Init. Price) Decimal
Exch. Rate Date (Init. Price) Date
Unit Of Measure (Init. Price) Code[10]
Qty. Per UOM (Init. Price) Decimal
Currency Code (P/LD Line) Code[10]
Currency Factor (P/LD Line) Decimal
Exchange Rate Date (P/LD Line) Date
Unit Of Measure (P/LD Line) Code[10]
Qty. Per UOM (P/LD Line) Decimal
Initial Price (P/LD Line) Decimal
Price (P/LD Line) Decimal
Amount (P/LD Line) Decimal
Result (P/LD Line) Decimal
Discount % (P/LD Line) Decimal
Result Pct. (P/LD Line) Decimal
Currency Code (Doc. Line) Code[10]
Currency Factor (Doc. Line) Decimal
Exchange Rate Date (Doc. Line) Date
Unit Of Measure (Doc. Line) Code[10]
Qty. Per UOM (Doc. Line) Decimal
Initial Price (Doc. Line) Decimal
Price (Doc. Line) Decimal
Amount (Doc. Line) Decimal
Result (Doc. Line) Decimal
Discount % (Doc. Line) Decimal
Result Pct. (Doc. Line) Decimal

Events

OnBeforeValidateCalculation(Record KVSKBASalesConditionLine, Boolean) :

Summary: Event raised before the calculation field is validated.

[IntegrationEvent(false, false)]
local procedure OnBeforeValidateCalculation(SalesConditionLine: Record "KVSKBASalesConditionLine"; var IsHandled: Boolean): 

Parameters:

  • SalesConditionLine: The sales condition line record.
  • IsHandled: Indicates whether the event has been handled. Set to true to skip the default validation.

Remarks: This event allows subscribers to perform custom validation or logic before the Calculation field is validated. If IsHandled is set to true, the default validation logic will be skipped.