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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYServiceStructureMgt", 'OnElseCaseInCheckServiceComponentSetupInSubstructure', '', false, false)]
local procedure DoSomethingOnElseCaseInCheckServiceComponentSetupInSubstructure(SuperiorServiceStructureLine: Record "KVSFCYServiceStructureLine"; SubServiceStructureLine: Record "KVSFCYServiceStructureLine")
begin
end;
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.
[IntegrationEvent(false, false)]
local procedure CreateServiceComponentHandleServStrComponentLink(ServiceStructureLine: Record "KVSFCYServiceStructureLine"; ParentServiceItemNo: Code[20]; InstallationDate: Date; ComponentLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYServiceStructureMgt", 'CreateServiceComponentHandleServStrComponentLink', '', false, false)]
local procedure DoSomethingCreateServiceComponentHandleServStrComponentLink(ServiceStructureLine: Record "KVSFCYServiceStructureLine"; ParentServiceItemNo: Code[20]; InstallationDate: Date; ComponentLineNo: Integer)
begin
end;
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.
[IntegrationEvent(false, false)]
local procedure GetLastCompLineNoForUnknownServStrComponentLink(ParentServiceItemNo: Code[20]; var LastLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYServiceStructureMgt", 'GetLastCompLineNoForUnknownServStrComponentLink', '', false, false)]
local procedure DoSomethingGetLastCompLineNoForUnknownServStrComponentLink(ParentServiceItemNo: Code[20]; var LastLineNo: Integer)
begin
end;
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.
[IntegrationEvent(false, false)]
local procedure ModifyServiceCompFromChangelogLineWithoutServStrCompLink(ServStrChangelogLine: Record "KVSFCYServStrChangelogLine"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYServiceStructureMgt", 'ModifyServiceCompFromChangelogLineWithoutServStrCompLink', '', false, false)]
local procedure DoSomethingModifyServiceCompFromChangelogLineWithoutServStrCompLink(ServStrChangelogLine: Record "KVSFCYServStrChangelogLine")
begin
end;
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.
[IntegrationEvent(false, false)]
local procedure StandardReplaceComponentHandleUnknownServStrCompLink(ReplacedServiceItemComp: Record "Service Item Component"; ReplaceFieldServviceComp: Record "KVSFCYFieldServiceComponent"; ServiceShipmentNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYServiceStructureMgt", 'StandardReplaceComponentHandleUnknownServStrCompLink', '', false, false)]
local procedure DoSomethingStandardReplaceComponentHandleUnknownServStrCompLink(ReplacedServiceItemComp: Record "Service Item Component"; ReplaceFieldServviceComp: Record "KVSFCYFieldServiceComponent"; ServiceShipmentNo: Code[20])
begin
end;
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.
[IntegrationEvent(false, false)]
local procedure ClearExistingServiceComponentsOnUnknownCompLink(ServiceMgtSetup: Record "Service Mgt. Setup"; ServiceItemNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYServiceStructureMgt", 'ClearExistingServiceComponentsOnUnknownCompLink', '', false, false)]
local procedure DoSomethingClearExistingServiceComponentsOnUnknownCompLink(ServiceMgtSetup: Record "Service Mgt. Setup"; ServiceItemNo: Code[20])
begin
end;
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.
[IntegrationEvent(false, false)]
local procedure DeleteServiceComponentFromChangelogLineOnUnknownCompLink(ServiceMgtSetup: Record "Service Mgt. Setup"; ServStrChangelogLine: Record "KVSFCYServStrChangelogLine"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYServiceStructureMgt", 'DeleteServiceComponentFromChangelogLineOnUnknownCompLink', '', false, false)]
local procedure DoSomethingDeleteServiceComponentFromChangelogLineOnUnknownCompLink(ServiceMgtSetup: Record "Service Mgt. Setup"; ServStrChangelogLine: Record "KVSFCYServStrChangelogLine")
begin
end;
Parameters:
ServiceMgtSetup: The service management setup record.ServStrChangelogLine: The change log line for the service structure.