Skip to content

KVSMTCServItemManagementSub#

Events#

OnBeforeCreateServiceItem(Record Sales Header, Record Sales Line, Record Reservation Entry, Boolean) :#

Summary: This event is fired before creating a service item while posting shipment

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateServiceItem(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; TempReservationEntry: Record "Reservation Entry" temporary; var SkipHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServItemManagementSub", 'OnBeforeCreateServiceItem', '', false, false)]
local procedure DoSomethingOnBeforeCreateServiceItem(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; TempReservationEntry: Record "Reservation Entry" temporary; var SkipHandled: Boolean)
begin
end;

Parameters:

  • Sales HeaderHeader:
  • Sales LineLine:
  • Reservation Entry temporaryEntrytemporary:
  • SkipHandled: Ensures that the calling procedure is skipped if SkipHandled is true