Table of Contents

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): 

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"): 

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"): 

Parameters:

  • ToStandardServiceCode: The destination record that will be modified.
  • FromStandardServiceCode: The source record from which the data is being copied.