KVSTRDExtPurchasingCodeMgt#
Events#
KVSTRDOnAfterSetPurchasingCode(Record Sales Line) :#
Summary: This event is raised after the purchasing code has been set on the Sales Line.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterSetPurchasingCode(var SalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDExtPurchasingCodeMgt", 'KVSTRDOnAfterSetPurchasingCode', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterSetPurchasingCode(var SalesLine: Record "Sales Line")
begin
end;
Parameters:
SalesLine: The Sales Line record where the purchasing code was set.
KVSTRDOnBeforeSetPurchasingCode(Record Sales Line, Boolean) :#
Summary: This event is raised before the purchasing code is set on the Sales Line.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeSetPurchasingCode(var SalesLine: Record "Sales Line"; var isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDExtPurchasingCodeMgt", 'KVSTRDOnBeforeSetPurchasingCode', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeSetPurchasingCode(var SalesLine: Record "Sales Line"; var isHandled: Boolean)
begin
end;
Parameters:
SalesLine: The Sales Line record where the purchasing code will be set.isHandled: Specifies if the event has been handled. If set to true, the default logic will not be executed.