Sample Naming Conventions and Replaceable Parameters
- Last UpdatedMar 14, 2016
- 1 minute read
The naming convention for the sample plan at run time consists of replaceable parameters enclosed in square braces and/or literal text.
An example sample naming format is:
[SamplePlanName][YYYY][MM][DD][####]
where
-
[YYYY][MM][DD] represents the date
-
[####] represents the unique ordinal number, when the rest of the name (except the date) is the same
-
The SamplePlanName is taken from the plan_id field in the database.
The available database fields that can be referenced are:
plan_name
Specifies the name of the sample plan that is used for collecting samples.
ent_ name
Specifies the entity at which samples are being collected.
wo_id
Specifies the work order of the job for which samples are being collected.
oper_id
Specifies the operation for which samples are being collected.
seq_no
Specifies the sequence number of the job for which samples are being collected.
segment_requirement_id
Specifies the segment requirement of the samples collected.
segment_response_id
Specifies the segment response of the samples collected.
item_id
Specifies the item to which the samples collected are assigned.
char_name
Specifies the characteristic of a QM specification to which the sample plan is associated. If there are more than one characteristic linked to the sample, only the first characteristic in the sample is used.
qm_spec_name
Specifies a QM specification associated with the sample plan.
freq_name
Specifies a frequency that is linked to the sample plan.