Skip to content

KVSKBASaveSalesPriceLineDisc#

Events#

OnAfterValidateLineDiscountOnLineDiscountCreation(Record KVSKBASalesLineDiscount, Record Item, Record Customer, Record Customer Discount Group, Record Campaign, Boolean) :#

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 OnAfterValidateLineDiscountOnLineDiscountCreation(var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount"; Item: Record "Item"; Customer: Record "Customer"; CustomerDiscountGroup: Record "Customer Discount Group"; Campaign: Record "Campaign"; UpdateRec: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASaveSalesPriceLineDisc", 'OnAfterValidateLineDiscountOnLineDiscountCreation', '', false, false)]
local procedure DoSomethingOnAfterValidateLineDiscountOnLineDiscountCreation(var KVSKBASalesLineDiscount: Record "KVSKBASalesLineDiscount"; Item: Record "Item"; Customer: Record "Customer"; CustomerDiscountGroup: Record "Customer Discount Group"; Campaign: Record "Campaign"; UpdateRec: Boolean)
begin
end;

OnSalesPriceCreationOnBeforeSalesPriceTypeCaseElse(Record KVSKBASalesPrice, Record Sales Line) :#

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 OnSalesPriceCreationOnBeforeSalesPriceTypeCaseElse(var SalesPrice: Record "KVSKBASalesPrice"; var TempSalesLine: Record "Sales Line" temporary): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASaveSalesPriceLineDisc", 'OnSalesPriceCreationOnBeforeSalesPriceTypeCaseElse', '', false, false)]
local procedure DoSomethingOnSalesPriceCreationOnBeforeSalesPriceTypeCaseElse(var SalesPrice: Record "KVSKBASalesPrice"; var TempSalesLine: Record "Sales Line" temporary)
begin
end;

OnBeforeFindPricingCustomer(Record Sales Line, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFindPricingCustomer(var TempSalesLine: Record "Sales Line" temporary; var PricingCustomerNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASaveSalesPriceLineDisc", 'OnBeforeFindPricingCustomer', '', false, false)]
local procedure DoSomethingOnBeforeFindPricingCustomer(var TempSalesLine: Record "Sales Line" temporary; var PricingCustomerNo: Code[20]; var IsHandled: Boolean)
begin
end;

OnBeforeFindPricingCustomerwithSalesLine(Record Sales Line, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFindPricingCustomerwithSalesLine(TempSalesLine: Record "Sales Line" temporary; var PricingCustomerNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASaveSalesPriceLineDisc", 'OnBeforeFindPricingCustomerwithSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeFindPricingCustomerwithSalesLine(TempSalesLine: Record "Sales Line" temporary; var PricingCustomerNo: Code[20]; var IsHandled: Boolean)
begin
end;