Skip to content

KVSPSACreate Job With Template#

Procedures#

CreateJob(Record Job, Record Job, Code[20]) :#

procedure CreateJob(var Job: Record "Job"; xJob: Record "Job"; JobTemplateCode: Code[20]): 

CreateJob(Record Job, Record Job, Code[20], Boolean) :#

procedure CreateJob(var Job: Record "Job"; xJob: Record "Job"; JobTemplateCode: Code[20]; SkipCopyTextsFromTemplate: Boolean): 

Events#

KVSPSAOnAfterAppliedTemplateToJob(Record Job, Record KVSPSAJob Template) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterAppliedTemplateToJob(var Job: Record "Job"; JobTemplate: Record "KVSPSAJob Template"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSACreate Job With Template", 'KVSPSAOnAfterAppliedTemplateToJob', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterAppliedTemplateToJob(var Job: Record "Job"; JobTemplate: Record "KVSPSAJob Template")
begin
end;

KVSPSAOnBeforeCopyDimensionsFromTmplate(Code[20], Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCopyDimensionsFromTmplate(JobNo: Code[20]; JobTemplateCode: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSACreate Job With Template", 'KVSPSAOnBeforeCopyDimensionsFromTmplate', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCopyDimensionsFromTmplate(JobNo: Code[20]; JobTemplateCode: Code[20]; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeCopyEvalBooksFromTmplate(Code[20], Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCopyEvalBooksFromTmplate(JobNo: Code[20]; JobTemplateCode: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSACreate Job With Template", 'KVSPSAOnBeforeCopyEvalBooksFromTmplate', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCopyEvalBooksFromTmplate(JobNo: Code[20]; JobTemplateCode: Code[20]; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeCopyTextsFromTmplate(Record Job, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCopyTextsFromTmplate(var Job: Record "Job"; JobTemplateCode: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSACreate Job With Template", 'KVSPSAOnBeforeCopyTextsFromTmplate', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCopyTextsFromTmplate(var Job: Record "Job"; JobTemplateCode: Code[20]; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeInitNoSeries(Record KVSPSAJob Template, Record Job, Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInitNoSeries(var JobTemplate: Record "KVSPSAJob Template"; var Job: Record "Job"; xJob: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSACreate Job With Template", 'KVSPSAOnBeforeInitNoSeries', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInitNoSeries(var JobTemplate: Record "KVSPSAJob Template"; var Job: Record "Job"; xJob: Record "Job"; var IsHandled: Boolean)
begin
end;

KVSPSAOnCopyFieldsFromTemplate(Record Job, Record KVSPSAJob Template) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopyFieldsFromTemplate(var Job: Record "Job"; var JobTemplate: Record "KVSPSAJob Template"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSACreate Job With Template", 'KVSPSAOnCopyFieldsFromTemplate', '', false, false)]
local procedure DoSomethingKVSPSAOnCopyFieldsFromTemplate(var Job: Record "Job"; var JobTemplate: Record "KVSPSAJob Template")
begin
end;