Skip to content

KVSKBASalesLineDiscount#

Obsolete

This Element will be removed or changed with a future Version of the App.

Fields#

Name Type Note
Code Code[20]
Sales Code Code[20]
Currency Code Code[10]
Starting Date Date
Line Discount % Decimal
Sales Type Enum (KVSKBASalesDiscountType)
Minimum Quantity Decimal
Ending Date Date
Type Enum Sales Line Discount Type
Unit of Measure Code Code[10]
Variant Code Code[10]
Responsibility Center Code[10]
Sales Condition No. Code[20]
Reference No. Integer
Unit Of Measure (Calc.) Code[10]
Currency Code (Calc.) Code[10]
Line Discount % (Calc.) Decimal
Sales Order Type Code[10]
Created On DateTime Warning: Obsolete
Created By Code[50] Warning: Obsolete
Modified On DateTime Warning: Obsolete
Modified By Code[50] Warning: Obsolete
Discount Descended From Item Boolean
Hierarchy Level (Price Calc.) Integer
Changed by Price Info No. Integer
Comment Text[80]
Changed By Save Doc. (UserID) Code[50]
Changed By Save Doc. (Date) Date
Changed By Save Doc. Type Enum Sales Document Type
Changed By Save Doc. No. Code[20]
Changed By Save Doc. Line No. Integer

Events#

OnValidateSalesCodeOnCaseElseSalesCode(Record KVSKBASalesLineDiscount, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This event is no longer supported,as long as the object exists', '24.0')]
[IntegrationEvent(false, false)]
local procedure OnValidateSalesCodeOnCaseElseSalesCode(var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesLineDiscount", 'OnValidateSalesCodeOnCaseElseSalesCode', '', false, false)]
local procedure DoSomethingOnValidateSalesCodeOnCaseElseSalesCode(var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount"; var IsHandled: Boolean)
begin
end;