KVSMTCCopyStandardServiceCode#
Events#
OnAfterCopyStandardServiceLines(Record Standard Service Line, Record Standard Service Line, Boolean) :#
Summary: This event is triggered after the standard service lines have been copied from the source to the destination.
[IntegrationEvent(true, false)]
local procedure OnAfterCopyStandardServiceLines(var ToStandardServiceLine: Record "Standard Service Line"; FromStandardServiceLine: Record "Standard Service Line"; IncludeHeader: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCopyStandardServiceCode", 'OnAfterCopyStandardServiceLines', '', false, false)]
local procedure DoSomethingOnAfterCopyStandardServiceLines(var ToStandardServiceLine: Record "Standard Service Line"; FromStandardServiceLine: Record "Standard Service Line"; IncludeHeader: Boolean)
begin
end;
Parameters:
ToStandardServiceLine
: The destination record where the service lines have been copied to.FromStandardServiceLine
: The source record from which the service lines have been copied.IncludeHeader
: A boolean indicating whether the header information was included in the copy.
OnBeforeToStandardServiceLineInsert(Record Standard Service Line, Record Standard Service Line) :#
Summary: This event is triggered before a standard service line is inserted into the destination record.
[IntegrationEvent(true, false)]
local procedure OnBeforeToStandardServiceLineInsert(var ToStandardServiceLine: Record "Standard Service Line"; FromStandardServiceLine: Record "Standard Service Line"):
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCopyStandardServiceCode", 'OnBeforeToStandardServiceLineInsert', '', false, false)]
local procedure DoSomethingOnBeforeToStandardServiceLineInsert(var ToStandardServiceLine: Record "Standard Service Line"; FromStandardServiceLine: Record "Standard Service Line")
begin
end;
Parameters:
ToStandardServiceLine
: The destination record where the service line will be inserted.FromStandardServiceLine
: The source record from which the service line is being copied.
OnBeforeToStandardServiceCodeModify(Record Standard Service Code, Record Standard Service Code) :#
Summary: This event is triggered before the standard service code record is modified.
[IntegrationEvent(true, false)]
local procedure OnBeforeToStandardServiceCodeModify(var ToStandardServiceCode: Record "Standard Service Code"; FromStandardServiceCode: Record "Standard Service Code"):
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCopyStandardServiceCode", 'OnBeforeToStandardServiceCodeModify', '', false, false)]
local procedure DoSomethingOnBeforeToStandardServiceCodeModify(var ToStandardServiceCode: Record "Standard Service Code"; FromStandardServiceCode: Record "Standard Service Code")
begin
end;
Parameters:
ToStandardServiceCode
: The destination record that will be modified.FromStandardServiceCode
: The source record from which the data is being copied.