Skip to content

KVSFCYJobSingleInstance#

Procedures#

SetCopyMileStone(Boolean) :#

Summary: Sets the milestone copy flag for job copying operations managed by codeunit 1006 (Job Copy-Paste). This procedure controls whether job milestones should be included when copying job structures between projects. Milestones represent important project checkpoints, deliverables, or key dates that track project progress and completion stages. By setting this flag, users can specify whether milestone information should be transferred to the target job during copy operations, enabling selective copying of milestone data based on project requirements. The single instance nature ensures this setting is maintained consistently across all job copying processes within the current session, providing centralized control over milestone copying behavior for job management workflows and project template creation scenarios.

procedure SetCopyMileStone(NewCopyMileStoneCU1006: Boolean): 

Parameters:

  • NewCopyMileStoneCU1006: Boolean flag indicating whether milestones should be copied during job copy operations (true) or excluded (false).

SetJobTaskPrefixCU1006(Code[20]) :#

Summary: Sets the job task prefix for job copying operations managed by codeunit 1006 (Job Copy-Paste). This procedure defines a prefix that will be prepended to job task numbers when copying job structures to create unique task identifiers in the target job. The prefix helps maintain task number uniqueness and provides clear identification of copied tasks, preventing conflicts with existing task numbers in the destination job. This is particularly useful when copying job structures into existing jobs or when creating job templates that need distinctive task numbering schemes. The prefix can be used to organize copied tasks by source, date, or other business criteria, enabling better task management and traceability in complex job structures. The single instance nature ensures consistent prefix application across all job task copying operations within the current session.

procedure SetJobTaskPrefixCU1006(NewJobTaskPrefixCU1006: Code[20]): 

Parameters:

  • NewJobTaskPrefixCU1006: Code prefix to be prepended to job task numbers during copy operations for unique task identification and organization.

SetCopyTextsCU1006(Boolean) :#

Summary: Sets the text copy flag for job copying operations managed by codeunit 1006 (Job Copy-Paste). This procedure controls whether job-related text elements should be included when copying job structures between projects. Text elements include descriptions, comments, notes, documentation, and other textual information associated with jobs, job tasks, and job planning lines that provide context, instructions, or explanatory content. By setting this flag, users can specify whether textual information should be transferred to the target job during copy operations, enabling selective copying of documentation and descriptive content based on project requirements. This is particularly valuable for maintaining project documentation integrity, preserving instructional content, and ensuring that copied job structures retain their contextual information for effective project management and knowledge transfer scenarios.

procedure SetCopyTextsCU1006(NewCopyTexts: Boolean): 

Parameters:

  • NewCopyTexts: Boolean flag indicating whether text elements should be copied during job copy operations (true) or excluded (false).