Skip to content

KVSPSA Budgetline-Reserve#

Events#

KVSPSAOnBeforeVerifyQuantity(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line, Boolean) :#

Summary: Integration event that fires before verifying quantity changes on job budget line.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeVerifyQuantity(var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var OldJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSA Budgetline-Reserve", 'KVSPSAOnBeforeVerifyQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeVerifyQuantity(var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var OldJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • NewJobBudgetLine: The new job budget line with updated quantity
  • OldJobBudgetLine: The old job budget line before quantity change
  • IsHandled: Set to true to skip the default quantity verification logic