Table of Contents

KVSFCYServiceStructureMgt

Events

OnElseCaseInCheckServiceComponentSetupInSubstructure(Record KVSFCYServiceStructureLine, Record KVSFCYServiceStructureLine) :

Summary: Handles additional service component type validations in substructure.

[IntegrationEvent(false, false)]
local procedure OnElseCaseInCheckServiceComponentSetupInSubstructure(SuperiorServiceStructureLine: Record "KVSFCYServiceStructureLine"; SubServiceStructureLine: Record "KVSFCYServiceStructureLine"): 

Parameters:

  • SuperiorServiceStructureLine: The parent service structure line being processed.
  • SubServiceStructureLine: The sub service structure line being validated.

CreateServiceComponentHandleServStrComponentLink(Record KVSFCYServiceStructureLine, Code[20], Date, Integer) :

Summary: Handle service component creation in case the setup is different than creating service item components or field service components. This allows to cover also the scenario, when the setup is changed after creating service structure but before creating service components.

Parameters:

  • ServiceStructureLine: Is the causing service structure line.
  • ParentServiceItemNo: The parent service item number.
  • InstallationDate: The installation date of the service part.
  • ComponentLineNo: The component line number.

GetLastCompLineNoForUnknownServStrComponentLink(Code[20], Integer) :

Summary: Handle last component line no. for unknown service structure component link.

Parameters:

  • ParentServiceItemNo: The parent service item number for component list.
  • LastLineNo: The last line number.

ModifyServiceCompFromChangelogLineWithoutServStrCompLink(Record KVSFCYServStrChangelogLine) :

Summary: Handle modifying of a service component from change log with unknown service structure component link.

Parameters:

  • ServStrChangelogLine: The change log line for the service structure.

StandardReplaceComponentHandleUnknownServStrCompLink(Record Service Item Component, Record KVSFCYFieldServiceComponent, Code[20]) :

Summary: Handles the standard replacement of a service component when the service structure component link is unknown.

Parameters:

  • ReplacedServiceItemComp: The service item component being replaced.
  • ReplaceFieldServviceComp: The field service component being replaced.
  • ServiceShipmentNo: The service shipment number associated with the replacement.

ClearExistingServiceComponentsOnUnknownCompLink(Record Service Mgt. Setup, Code[20]) :

Summary: Handles the clearing of service components with unknown component link.

Parameters:

  • ServiceMgtSetup: The service management setup record.
  • ServiceItemNo: The service item number.

DeleteServiceComponentFromChangelogLineOnUnknownCompLink(Record Service Mgt. Setup, Record KVSFCYServStrChangelogLine) :

Summary: Handles the deletion of a service component from change log line when the component link is unknown.

Parameters:

  • ServiceMgtSetup: The service management setup record.
  • ServStrChangelogLine: The change log line for the service structure.