Table of Contents

KVSKBASalesPrice

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
Unit Price Decimal
Price Includes VAT Boolean
Allow Invoice Disc. Boolean
VAT Bus. Posting Gr. (Price) Code[20]
Sales Type Enum Sales Price Type
Minimum Quantity Decimal
Ending Date Date
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]
Reference No. Integer
Unit Of Measure (Calc.) Code[10]
Currency Code (Calc.) Code[10]
Unit Price (Calc.) Decimal
Type Enum (KVSKBAItemPriceType)
Code Code[20]
Sales Order Type Code[10]
Price 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 KVSKBASalesPrice) :

OBSOLETE

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

Summary: Event that fires on validation of sales code in a case else scenario.

[Obsolete('This event is no longer supported,as long as the object exists', '24.0')]
[IntegrationEvent(false, false)]
local procedure OnValidateSalesCodeOnCaseElseSalesCode(var SalesPrice: Record "KVSKBASalesPrice"): 

Parameters:

  • SalesPrice: VAR Record KVSKBASalesPrice - The Sales Price record being validated.

Remarks: This event allows for custom validation logic to be implemented for the sales code field.

OnBeforeNewSalesPriceInsert(Record KVSKBASalesPrice, Record KVSKBASalesPrice) :

OBSOLETE

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

Summary: Event that fires before a new sales price record is inserted into the database.

[Obsolete('This event is no longer supported,as long as the object exists', '24.0')]
[IntegrationEvent(false, false)]
local procedure OnBeforeNewSalesPriceInsert(var NewSalesPrice: Record "KVSKBASalesPrice"; SalesPrice: Record "KVSKBASalesPrice"): 

Parameters:

  • NewSalesPrice: VAR Record KVSKBASalesPrice - The new Sales Price record being inserted.
  • SalesPrice: Record KVSKBASalesPrice - The existing sales price record that is being copied.

Remarks: This event allows for custom logic to be executed before a new sales price record is inserted into the database. Subscribers can use this event to modify the new record, perform validations, or implement additional business rules before the insertion takes place.

OnInsertOnBeforeTestCodeandType(Record KVSKBASalesPrice, Boolean) :

OBSOLETE

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

Summary: Event that fires before the "Code" and "Type" fields are tested during insert operations.

[Obsolete('This event is no longer supported,as long as the object exists', '24.0')]
[IntegrationEvent(false, false)]
local procedure OnInsertOnBeforeTestCodeandType(var SalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean): 

Parameters:

  • SalesPrice: VAR Record KVSKBASalesPrice - The Sales Price record being inserted.
  • IsHandled: VAR Boolean parameter that indicates whether the event has been handled by the event subscriber. If set to TRUE, the standard validation logic will be skipped.

Remarks: This event allows for custom validation logic to be implemented for the "Code" and "Type" fields during insert operations. Subscribers can use this event to enforce specific rules or constraints on these fields based on the requirements of their implementation.

OnValidateCodeOnBeforeTypeCaseElse(Record KVSKBASalesPrice, Record KVSKBASalesPrice) :

OBSOLETE

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

Summary: Event that fires before the validation of the "Code" and "Type" fields on insert and rename operations.

[Obsolete('This event is no longer supported,as long as the object exists', '24.0')]
[IntegrationEvent(false, false)]
local procedure OnValidateCodeOnBeforeTypeCaseElse(var SalesPrice: Record "KVSKBASalesPrice"; xSalesPrice: Record "KVSKBASalesPrice"): 

Parameters:

  • SalesPrice: VAR Record KVSKBASalesPrice - The Sales Price record being inserted or renamed.
  • xSalesPrice: Record KVSKBASalesPrice - The previous state of the Sales Price record before the insert or rename operation.

Remarks: This event allows for custom validation logic to be implemented for the "Code" and "Type" fields during insert and rename operations. Subscribers can use this event to enforce specific rules or constraints on these fields based on the requirements of their implementation.

OnRenameOnBeforeTestCodeandType(Record KVSKBASalesPrice, Boolean) :

OBSOLETE

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

Summary: Event that fires before the "Code" and "Type" fields are tested during rename operations.

[Obsolete('This event is no longer supported,as long as the object exists', '24.0')]
[IntegrationEvent(false, false)]
local procedure OnRenameOnBeforeTestCodeandType(var SalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean): 

Parameters:

  • SalesPrice: VAR Record KVSKBASalesPrice - The Sales Price record being renamed.
  • IsHandled: VAR Boolean parameter that indicates whether the event has been handled by the event subscriber. If set to TRUE, the standard validation logic will be skipped.

Remarks: This event allows for custom validation logic to be implemented for the "Code" and "Type" fields during rename operations. Subscribers can use this event to enforce specific rules or constraints on these fields based on the requirements of their implementation.