Skip to content

KVSKBASavePurchPriceLineDisc#

Events#

OnPurchPriceCreationOnBeforePurchPriceTypeCaseElse(Record KVSKBAPurchasePrice, Record Purchase 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 OnPurchPriceCreationOnBeforePurchPriceTypeCaseElse(var PurchasePrice: Record "KVSKBAPurchasePrice"; var TempPurchaseLine: Record "Purchase Line" temporary): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnPurchPriceCreationOnBeforePurchPriceTypeCaseElse', '', false, false)]
local procedure DoSomethingOnPurchPriceCreationOnBeforePurchPriceTypeCaseElse(var PurchasePrice: Record "KVSKBAPurchasePrice"; var TempPurchaseLine: Record "Purchase Line" temporary)
begin
end;

OnBeforeSavePurchasePrice(Record Purchase Line, Code[20], Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSavePurchasePrice(var TempPurchaseLine: Record "Purchase Line"; DefPricePriceListCode: Code[20]; MultipleVendorExist: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnBeforeSavePurchasePrice', '', false, false)]
local procedure DoSomethingOnBeforeSavePurchasePrice(var TempPurchaseLine: Record "Purchase Line"; DefPricePriceListCode: Code[20]; MultipleVendorExist: Boolean; var IsHandled: Boolean)
begin
end;

OnSavePurchasePriceOnBeforePriceListLineInsert(Record Purchase Line, Record Price List Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSavePurchasePriceOnBeforePriceListLineInsert(var TempPurchaseLine: Record "Purchase Line"; var PriceListLine: Record "Price List Line"; MultipleVendorExist: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnSavePurchasePriceOnBeforePriceListLineInsert', '', false, false)]
local procedure DoSomethingOnSavePurchasePriceOnBeforePriceListLineInsert(var TempPurchaseLine: Record "Purchase Line"; var PriceListLine: Record "Price List Line"; MultipleVendorExist: Boolean)
begin
end;

OnBeforeSavePurchaseDiscount(Record Purchase Line, Code[20], Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSavePurchaseDiscount(var TempPurchaseLine: Record "Purchase Line"; DefPricePriceListCode: Code[20]; MultipleVendorExist: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnBeforeSavePurchaseDiscount', '', false, false)]
local procedure DoSomethingOnBeforeSavePurchaseDiscount(var TempPurchaseLine: Record "Purchase Line"; DefPricePriceListCode: Code[20]; MultipleVendorExist: Boolean; var IsHandled: Boolean)
begin
end;

OnSavePurchaseDiscountOnBeforePriceListLineInsert(Record Purchase Line, Record Price List Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSavePurchaseDiscountOnBeforePriceListLineInsert(var TempPurchaseLine: Record "Purchase Line"; var PriceListLine: Record "Price List Line"; MultipleVendorExist: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnSavePurchaseDiscountOnBeforePriceListLineInsert', '', false, false)]
local procedure DoSomethingOnSavePurchaseDiscountOnBeforePriceListLineInsert(var TempPurchaseLine: Record "Purchase Line"; var PriceListLine: Record "Price List Line"; MultipleVendorExist: Boolean)
begin
end;

OnBeforeFindPricingCustomerwithPurchaseLine(Record Purchase Line, Code[20], Boolean) :#

Obsolete

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

[Obsolete('This event is no longer supported, please use OnBeforeFindPricingVendorwithPurchaseLine', '23.0')]
[IntegrationEvent(false, false)]
local procedure OnBeforeFindPricingCustomerwithPurchaseLine(TempFindPurchaseLine: Record "Purchase Line" temporary; var PricingVendorNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnBeforeFindPricingCustomerwithPurchaseLine', '', false, false)]
local procedure DoSomethingOnBeforeFindPricingCustomerwithPurchaseLine(TempFindPurchaseLine: Record "Purchase Line" temporary; var PricingVendorNo: Code[20]; var IsHandled: Boolean)
begin
end;

OnBeforeFindPricingVendorwithPurchaseLine(Record Purchase Line, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFindPricingVendorwithPurchaseLine(TempFindPurchaseLine: Record "Purchase Line" temporary; var PricingVendorNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnBeforeFindPricingVendorwithPurchaseLine', '', false, false)]
local procedure DoSomethingOnBeforeFindPricingVendorwithPurchaseLine(TempFindPurchaseLine: Record "Purchase Line" temporary; var PricingVendorNo: Code[20]; var IsHandled: Boolean)
begin
end;

OnBeforeFindPricingVendor(Record Purchase Line, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFindPricingVendor(var TempFindPurchaseLine: Record "Purchase Line" temporary; var PricingVendorNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnBeforeFindPricingVendor', '', false, false)]
local procedure DoSomethingOnBeforeFindPricingVendor(var TempFindPurchaseLine: Record "Purchase Line" temporary; var PricingVendorNo: Code[20]; var IsHandled: Boolean)
begin
end;

OnBeforeTestPriceListHeaderValues(Code[20], Code[20], Date, Date, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTestPriceListHeaderValues(PriceListLineCode: Code[20]; VendorNo: Code[20]; StartingDate: Date; EndingDate: Date; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSKBASavePurchPriceLineDisc", 'OnBeforeTestPriceListHeaderValues', '', false, false)]
local procedure DoSomethingOnBeforeTestPriceListHeaderValues(PriceListLineCode: Code[20]; VendorNo: Code[20]; StartingDate: Date; EndingDate: Date; var IsHandled: Boolean)
begin
end;