Skip to content

KVSKBASalesPriceaLineDiscBuff#

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
Unit Price Decimal
Price Includes VAT Boolean
Allow Invoice Disc. Boolean
VAT Bus. Posting Gr. (Price) Code[20]
Sales Type Enum (KVSKBAPriceDiscSalesType)
Minimum Quantity Decimal
Ending Date Date
Type Option OptionMembers: Item,Item Disc. Group,,,,,Item Price Group
Line Type Option OptionMembers: ,KVSKBASalesLineDiscount,KVSKBASalesPrice
Loaded Item No. Code[20]
Loaded Disc. Group Code[20]
Loaded Customer No. Code[20]
Loaded Price Group Code[20]
Unit of Measure Code Code[10]
Variant Code Code[10]
Allow Line Disc. Boolean
Price Unit Decimal
Unit Price Price Unit Decimal
Responsibility Center Code[10]
Sales Condition No. Code[20]
Sales Order Type Code[10]
Comment Text[80]

Procedures#

LoadDataForItem(Record Item) :#

procedure LoadDataForItem(Item: Record "Item"): 

LoadDataForCustomer(Record Customer) :#

Obsolete

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

[Obsolete('This procedure is only supported,as long as the object exists', '24.0')]
procedure LoadDataForCustomer(Customer: Record "Customer"): 

Events#

OnAfterLoadDataForCustomer(Record KVSKBASalesPriceaLineDiscBuff, Record Customer) :#

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 OnAfterLoadDataForCustomer(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; Customer: Record "Customer"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterLoadDataForCustomer', '', false, false)]
local procedure DoSomethingOnAfterLoadDataForCustomer(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; Customer: Record "Customer")
begin
end;

OnAfterLoadDataForItem(Record KVSKBASalesPriceaLineDiscBuff, Record Item) :#

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 OnAfterLoadDataForItem(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; Item: Record "Item"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterLoadDataForItem', '', false, false)]
local procedure DoSomethingOnAfterLoadDataForItem(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; Item: Record "Item")
begin
end;

OnAfterItemHasLines(Record Item, Boolean, 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 OnAfterItemHasLines(Item: Record "Item"; Result: Boolean; IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterItemHasLines', '', false, false)]
local procedure DoSomethingOnAfterItemHasLines(Item: Record "Item"; Result: Boolean; IsHandled: Boolean)
begin
end;

OnAfterSetFiltersOnSalesPrice(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesPrice) :#

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 OnAfterSetFiltersOnSalesPrice(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesPrice: Record "KVSKBASalesPrice"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterSetFiltersOnSalesPrice', '', false, false)]
local procedure DoSomethingOnAfterSetFiltersOnSalesPrice(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesPrice: Record "KVSKBASalesPrice")
begin
end;

OnAfterSetFiltersOnSalesLineDiscountItem(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesLineDiscount) :#

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 OnAfterSetFiltersOnSalesLineDiscountItem(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterSetFiltersOnSalesLineDiscountItem', '', false, false)]
local procedure DoSomethingOnAfterSetFiltersOnSalesLineDiscountItem(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount")
begin
end;

OnAfterSetFiltersOnSalesPriceForItemGroup(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesPrice) :#

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 OnAfterSetFiltersOnSalesPriceForItemGroup(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesPrice: Record "KVSKBASalesPrice"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterSetFiltersOnSalesPriceForItemGroup', '', false, false)]
local procedure DoSomethingOnAfterSetFiltersOnSalesPriceForItemGroup(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesPrice: Record "KVSKBASalesPrice")
begin
end;

OnAfterSetFiltersOnSalesLineDiscountItemGroup(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesLineDiscount) :#

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 OnAfterSetFiltersOnSalesLineDiscountItemGroup(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterSetFiltersOnSalesLineDiscountItemGroup', '', false, false)]
local procedure DoSomethingOnAfterSetFiltersOnSalesLineDiscountItemGroup(var KVSKBASalesPriceaLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount")
begin
end;

OnAfterVATPostingSetupGet(Record VAT Posting Setup) :#

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 OnAfterVATPostingSetupGet(var VATPostingSetup: Record "VAT Posting Setup"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnAfterVATPostingSetupGet', '', false, false)]
local procedure DoSomethingOnAfterVATPostingSetupGet(var VATPostingSetup: Record "VAT Posting Setup")
begin
end;

OnBeforeDeleteOldRecordVersion(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesPriceaLineDiscBuff, 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 OnBeforeDeleteOldRecordVersion(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; xSalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnBeforeDeleteOldRecordVersion', '', false, false)]
local procedure DoSomethingOnBeforeDeleteOldRecordVersion(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; xSalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; var IsHandled: Boolean)
begin
end;

OnLoadSalesLineDiscountOnBeforeInsert(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesLineDiscount) :#

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 OnLoadSalesLineDiscountOnBeforeInsert(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; SalesLineDiscount: Record "KVSKBASalesLineDiscount"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnLoadSalesLineDiscountOnBeforeInsert', '', false, false)]
local procedure DoSomethingOnLoadSalesLineDiscountOnBeforeInsert(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; SalesLineDiscount: Record "KVSKBASalesLineDiscount")
begin
end;

OnLoadSalesPriceOnBeforeInsert(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesPrice) :#

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 OnLoadSalesPriceOnBeforeInsert(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; SalesPrice: Record "KVSKBASalesPrice"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnLoadSalesPriceOnBeforeInsert', '', false, false)]
local procedure DoSomethingOnLoadSalesPriceOnBeforeInsert(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; SalesPrice: Record "KVSKBASalesPrice")
begin
end;

OnLoadSalesPriceOnBeforeSalesPriceTypeCaseElse(Record KVSKBASalesPriceaLineDiscBuff, Record KVSKBASalesPrice, 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 OnLoadSalesPriceOnBeforeSalesPriceTypeCaseElse(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; SalesPrice: Record "KVSKBASalesPrice"; var Ishandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnLoadSalesPriceOnBeforeSalesPriceTypeCaseElse', '', false, false)]
local procedure DoSomethingOnLoadSalesPriceOnBeforeSalesPriceTypeCaseElse(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"; SalesPrice: Record "KVSKBASalesPrice"; var Ishandled: Boolean)
begin
end;

OnValidateSalesTypeOnBeforeUpdateValuesFromItem(Record KVSKBASalesPriceaLineDiscBuff) :#

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 OnValidateSalesTypeOnBeforeUpdateValuesFromItem(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceaLineDiscBuff", 'OnValidateSalesTypeOnBeforeUpdateValuesFromItem', '', false, false)]
local procedure DoSomethingOnValidateSalesTypeOnBeforeUpdateValuesFromItem(var SalesPriceAndLineDiscBuff: Record "KVSKBASalesPriceaLineDiscBuff")
begin
end;