KVSFCYJobCRMIntegration#
Events#
OnCreateTaskFromTaskOnBeforeStartWizard(Record To-do, Record To-do) :#
Summary: Integration event that is raised before starting the wizard when creating a new task from an existing task in the CRM integration workflow, providing an extension point for implementing custom task initialization logic, additional field population, or supplementary data transfer between source and target task records in job-related CRM scenarios.
[IntegrationEvent(false, false)]
local procedure OnCreateTaskFromTaskOnBeforeStartWizard(var Task: Record "To-do"; FromTask: Record "To-do"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobCRMIntegration", 'OnCreateTaskFromTaskOnBeforeStartWizard', '', false, false)]
local procedure DoSomethingOnCreateTaskFromTaskOnBeforeStartWizard(var Task: Record "To-do"; FromTask: Record "To-do")
begin
end;
Parameters:
Task: To-do record (passed by reference) representing the new task being created that can be modified by extensions to populate custom fields, set default values, or apply business logic before the wizard starts.FromTask: To-do record containing the source task information used as the template for creating the new task, providing context and reference data for custom task initialization and field population logic.