KVSKBASalesConditionHeader
Fields
| Name | Type | Note |
|---|---|---|
| No. | Code[20] | |
| Description | Text[50] | |
| BaseofCalculation | Enum (KVSKBASalesConditionBaseofCalc) | |
| Currency Code | Code[10] | |
| Sales Type | Option | OptionMembers: Customer,Customer Price Group |
| Sales Code | Code[20] | |
| Rounding Method Code | Code[10] | |
| No. Series | Code[20] |
Events
OnBeforeValidateBaseofCalculation(Record KVSKBASalesConditionHeader, Boolean) :
Summary: Event raised before the Base of Calculation field is validated.
[IntegrationEvent(false, false)]
local procedure OnBeforeValidateBaseofCalculation(SalesConditionHeader: Record "KVSKBASalesConditionHeader"; var IsHandled: Boolean):
Parameters:
SalesConditionHeader: The sales condition header 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 Base of Calculation field is validated. If IsHandled is set to true, the default validation logic will be skipped.