CCREGN—Job Create
Processes associated with this form
Screen flows
- Submit—Validate and save the changes.
- Refresh—Reload the original data. Any changes made since the last submit are lost.
- Open—Display a dialog box to enter an existing item to display its detail.
- New Search—Return to the Search screen and clear the search results and the search criteria.
Header
-
Job Type
The type of job:
-
Production—A production job is a collection of samples and their tests submitted from a client, from which a certificate report of results is generated for the client.
-
Internal—An internal job is a collection of samples and tests registered for internal purposes, for example, analysis of instrument calibration.
-
Proposal—A proposal job is a collection of proposed samples and tests for a client, so that the client can be given an example of a typical report and invoice if real samples were submitted for testing.
-
Template—A template job is used to create other jobs and can contain a collection of template samples and their tests that are optionally included when creating a job from it.
-
Schedule—A schedule job is similar to a template job except that it has a registration frequency, and contains a collection of stream samples and their tests, that may be used interactively to draft a job, update the draft job content, and from that create or update a production job, or that may be used by the batch queue at the scheduled time to create or update a production job with stream samples. A stream sample is a sample of a known product that is taken a particular location in the production process, or a standard sample that is inserted into the analytical stream of samples from the production process.
Even though the Lab Batch option appears in the drop-down, if selected, an error is returned as laboratory batch jobs can only be created by batching.
The selection in this field can determine the visibility for other fields in this form, and the content of various drop-down selection lists.
-
- Organisation Scope
Indicates whether this entity is available organisation-wide or laboratory-wide.
- Checked—The entity is available to users who are logged into any laboratory within the organisation.
- Unchecked—The entity is only available to users who are logged into the current laboratory.
Setting the job's scope upon successful creation depends upon the user's security level for the CCJOB:CREATE resource, and upon the value of the CAN_CREATE_ORG_JOB_TEMPLATE application preference. The only possible security level for the resource is full—full.
A user can have multiple roles, and each role can contain different rights. Any of these role-right combinations may contain the resource.
If the resource does not exist across all role-right combinations for the user, then the user has no access to the resource. Otherwise the user's security level for the resource is ful—full.
The selection in this field can determine the visibility for other fields in this form, and the content of various drop-down selection lists.
-
Job Name Syntax Code
The code of the syntax used to generate the job's Job Name. Either Job Name Syntax Code or Job Name must be entered. Where the JOB_NAME_ONLY_FROM_SYNTAX application preference is checked, then the Job Name is disabled and the Job Name Syntax Code is mandatory. A syntax may be selected from the drop-down list that contains active syntaxes in scope with a Syntax Type of Job Name, as configured in the CCSNTX—Syntax application. A default syntax for a registered, org-scope template, lab-scope template, or schedule job can be set using the XXX
Click the field hyperlink to display the CCSNTX—Search Syntax screen, select the appropriate value and click Select and Return to populate the field with the selected value. An error is raised where:
-
Where no Job Name is entered and the syntax is not found or the syntax is found but the syntax cannot generate a code.
-
Where the entered or generated job's Job Name is not unique within scope.
-
Where the entered or generated job's Job Name does not satisfy code validation.
-
Where the CODEVALIDATION_JOBNAME application preference is:
-
Defined and contains a list of visible ASCII characters—A valid job name can only contain characters from this list.
-
Not defined—A valid job name only contains characters from the 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789' character set.
-
-
-
Job Name
The name of the job. Either Job Name Syntax Code or Job Name must be entered. Where the JOB_NAME_ONLY_FROM_SYNTAX application preference is checked, then the Job Name is disabled and the Job Name Syntax Code is mandatory. An error is raised where:
-
Where the entered or generated job's Job Name is not unique within scope.
-
Where the entered or generated job's Job Name does not satisfy name validation, that is, if the code contains non-printable characters.
-
-
Registration Mode
the mode of registration:
-
New Job by Client—Registration is based on a request sheet that a client submits to the laboratory for the user to manually select the Client, Project and Contact for the job.
-
New Job by ERS—Registration is based on an unprocessed electronic request sheet (ERS), after it is created by a laboratory that subcontracts work to the laboratory. Much of the job detail, if not most, comes from the XML file associated with the ERS.
-
-
Client Code
The code of the client associated with the job. Only applicable if Registration Mode is New Job by Client. It is mandatory for a job to be associated with a client. A client may be selected from the drop-down list that contains active clients in scope, as configured in the CCCLNT—Client application. Click the field hyperlink to display the CCCLNT—Search Client screen, select the appropriate value and click Select and Return to populate the field with the selected value.
-
Project Code
The code of the project associated with the job. Only applicable if Registration Mode is New Job by Client. If the MANDATORY_PROJECT application preference is checked, then it is mandatory for a job to be associated with a project. A project may be selected from the drop-down list that contains active projects for the client, as configured in the CCCLNTPROJ—Client Project application.
-
Contact Code
The code of the contact associated with the job. Only applicable if Registration Mode is New Job by Client. If the MANDATORY_CONTACT application preference is checked, then it is mandatory for a job to be associated with a contact. A contact may be selected from the drop-down list that contains active contacts for the client, as configured in the CCCLNTCONT—Client Contact application.
-
ERS Code
The code of the electronic request sheet (ERS), if one was used to register the job. Only applicable if Registration Mode is New Job by ERS. An electronic request sheet may be selected from the drop-down list that contains active electronic request sheets in scope, as configured in the CCERSH—Electronic Request Sheet application. Click the field hyperlink to display the CCERSH—Search Electronic Request Sheet screen, select the appropriate value and click Select and Return to populate the field with the selected value.
-
ERS Item Code
The code of the item within the selected ERS where job details were taken from for registration. Only applicable if Registration Mode is New Job by ERS.
