Table of Contents

KVSFCYServiceIntegration

Events

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

Summary: Handle unknown service component link in ShowServiceComponentForStructureLine procedure. This will allow to run custom page for service component linked to service structure line.

Parameters:

  • ServiceMgtSetup: Record of Service Mgt. Setup
  • ParentServiceItemNo: Code of the parent service item
  • ComponentLineNo: Line number of the component

Summary: Handle switch of service component link in service mgt. setup before field service component error occurs.

[IntegrationEvent(false, false)]
local procedure HandleSwitchOfServCompLinkOnBeforeFieldServiceCompError(PrevServiceCompLink: Enum "KVSFCYServStrComponentLink"; NewServiceCompLink: Enum "KVSFCYServStrComponentLink"; var ServiceMgtSetup: Record "Service Mgt. Setup"; var IsHandled: Boolean): 

Parameters:

  • PrevServiceCompLink: Previous service component link (xRec)
  • NewServiceCompLink: New service component link (current Rec)
  • ServiceMgtSetup: Record of Service Mgt. Setup
  • IsHandled: Indicates if the event is handled

Summary: Handle switch of service component link in service mgt. setup before transfer to field service component occurs.

[IntegrationEvent(false, false)]
local procedure HandleSwitchOfServCompLinkOnBeforeTransferToFieldServComp(PrevServiceCompLink: Enum "KVSFCYServStrComponentLink"; NewServiceCompLink: Enum "KVSFCYServStrComponentLink"; var ServiceMgtSetup: Record "Service Mgt. Setup"; var IsHandled: Boolean): 

Parameters:

  • PrevServiceCompLink: Previous service component link (xRec)
  • NewServiceCompLink: New service component link (current Rec)
  • ServiceMgtSetup: Record of Service Mgt. Setup
  • IsHandled: Indicates if the event is handled

CheckPageUsageAccordingToServStructureCompLinkOnUnknownCompLink(Record Service Mgt. Setup, Integer) :

Summary: Handle unknown service component link in CheckPageUsageAccordingToServStructureCompLink procedure. This will allow to handle page usage for unknown service component link setup in service mgt. setup.

Parameters:

  • ServiceMgtSetup: Record of Service Mgt. Setup
  • PageId: ID of the page which is being checked