Skip to content

KVSKBASalesPriceWorksheet#

Obsolete

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

Fields#

Name Type Note
Item No. Code[20]
Sales Code Code[20]
Currency Code Code[10]
Starting Date Date
Current Unit Price Decimal
New Unit Price Decimal
Price Includes VAT Boolean
Allow Invoice Disc. Boolean
VAT Bus. Posting Gr. (Price) Code[20]
Sales Type Option OptionMembers: Customer,Customer Price Group,All Customers,Campaign
Minimum Quantity Decimal
Ending Date Date
Item Description Text[100] FlowField
Sales Description Text[100]
Unit of Measure Code Code[10]
Variant Code Code[10]
Allow Line Disc. Boolean
Price Unit Decimal
New Unit Price (Price Unit) Decimal
Current Unit Price (PU) Decimal
Responsibility Center Code[10]
Type Enum (KVSKBAItemPriceType)
Code Code[20]
Sales Order Type Code[10]
Sales Condition No. Code[20]

Procedures#

CalcCurrentPrice(Boolean) :#

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 CalcCurrentPrice(var LocalPriceAlreadyExists: Boolean): 

Events#

OnAfterCalcCurrentPriceFound(Record KVSKBASalesPriceWorksheet, Record KVSKBASalesPrice) :#

Obsolete

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

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnAfterCalcCurrentPriceFound(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; SalesPrice: Record "KVSKBASalesPrice"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceWorksheet", 'OnAfterCalcCurrentPriceFound', '', false, false)]
local procedure DoSomethingOnAfterCalcCurrentPriceFound(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; SalesPrice: Record "KVSKBASalesPrice")
begin
end;

OnInsertOnBeforeTestCodeandType(Record KVSKBASalesPriceWorksheet, 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 OnInsertOnBeforeTestCodeandType(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceWorksheet", 'OnInsertOnBeforeTestCodeandType', '', false, false)]
local procedure DoSomethingOnInsertOnBeforeTestCodeandType(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean)
begin
end;

OnRenameOnBeforeTestCodeandType(Record KVSKBASalesPriceWorksheet, 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 OnRenameOnBeforeTestCodeandType(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceWorksheet", 'OnRenameOnBeforeTestCodeandType', '', false, false)]
local procedure DoSomethingOnRenameOnBeforeTestCodeandType(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean)
begin
end;

OnValidateCodeOnBeforeTypeCaseElse(Record KVSKBASalesPriceWorksheet, Record KVSKBASalesPriceWorksheet) :#

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 OnValidateCodeOnBeforeTypeCaseElse(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; xSalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesPriceWorksheet", 'OnValidateCodeOnBeforeTypeCaseElse', '', false, false)]
local procedure DoSomethingOnValidateCodeOnBeforeTypeCaseElse(var SalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; xSalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet")
begin
end;