This Action:
Creates new QCSamples and Data Sets while creating a new QCBatch.
Applies a QCSampleType to a QCBatch.
Property Id |
Type |
Property Name and Description |
Mandatory |
resolvelink | yesno | Resolve Link
No (default) creates new QCSamples. Yes creates Data Sets (applies the WorkItem to the QC Sample), but does not create new QCSamples.1 |
Yes |
qcbatchid | string | QC Batch ID
Identifier of the QCBatch in which the QCSample is created. This Action gets the sdcid and templateid for creating the new QCSample. QC Batch ID is needed only when resolvelink=no. |
Yes |
qcbatchsampletypeid | string | QC Batch Sample Type ID
Identifier of the QCBatch Sample Type, which:
QC Batch Sample Type ID is needed only when resolvelink=no. |
Yes |
qcbatchitemid | string |
QC Batch Item ID
QC Batch Item ID is needed only when resolvelink=yes. |
Yes |
copies | string | Copies
Number of QCSamples in the QCBatch. This defaults to "1". Number of copies is needed only when resolvelink=No. |
No |
sdcid | string |
SDC
SDC ID is needed only when resolvelink=Yes. |
No |
keyid1 keyid2 keyid3 |
string |
SDI Key1, SDI Key2, SDI Key3
Key IDs are needed only when resolvelink=Yes. |
No |
linkedto | string |
Linked To
Linked To is needed only when resolvelink=Yes. |
No |
linkedtoqcbatchitemid | string |
Linked To QCBatch Item ID
Linked To QCBatch Item ID is needed only when resolvelink=Yes. |
No |
1 |
You can specify multiple values for these Properties. Use a semicolon to separate each value. Using the following properties as an example, when the resolvelink=Yes:
Using the following properties as an example, when the resolvelink=No:
|
Property Id |
Type |
Property Name and Description |
newkeyid1 | String | New Key ID1
Key ID of the new QCSample. QCSample is created only when revolvelink=No. |
Also returns the following additional Values:
Property Id |
Value |
Description |
(return) | 1 | The Action has successfully executed. |
>1 | The Action has not successfully executed. |
This Action inserts a new record in the SDIData, SDIDataItem, S_SAMPLE, s_qcbatchitem, sdiworkitem, sdiworkitemitem tables.