Skip to content

KVSMEDMarginLimitCheckLib#

Events#

OnBeforeCheckDeliverySchedLine(Record KVSMEDDeliveryScheduleLine, Boolean) :#

Summary: This event is triggered before checking the delivery schedule line.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDeliverySchedLine(var KVSMEDDeliveryScheduleLine: Record "KVSMEDDeliveryScheduleLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDMarginLimitCheckLib", 'OnBeforeCheckDeliverySchedLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckDeliverySchedLine(var KVSMEDDeliveryScheduleLine: Record "KVSMEDDeliveryScheduleLine"; var IsHandled: Boolean)
begin
end;

Parameters:

  • KVSMEDDeliveryScheduleLine: The delivery schedule line record to be checked
  • IsHandled: A boolean flag to indicate if the check has been handled by the subscriber