Skip to content

KVSPSASalesDocToJobManEventSub#

Events#

KVSPSAOnCheckPriceAndDiscountForDifferences(Record Price List Line, Record Price List Line, Boolean) :#

Summary: Event triggered when checking for price and discount differences between duplicate price list lines. Allows subscribers to customize the logic for determining whether duplicate price list lines have different settings.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCheckPriceAndDiscountForDifferences(PriceListLine: Record "Price List Line"; DuplicatePriceListLine: Record "Price List Line"; var DuplicatePriceListLinesWithDifferentSettings: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobManEventSub", 'KVSPSAOnCheckPriceAndDiscountForDifferences', '', false, false)]
local procedure DoSomethingKVSPSAOnCheckPriceAndDiscountForDifferences(PriceListLine: Record "Price List Line"; DuplicatePriceListLine: Record "Price List Line"; var DuplicatePriceListLinesWithDifferentSettings: Boolean)
begin
end;

Parameters:

  • PriceListLine: The original price list line being compared.
  • DuplicatePriceListLine: The duplicate price list line to compare against.
  • DuplicatePriceListLinesWithDifferentSettings: Boolean flag indicating whether the duplicate lines have different price or discount settings.