ApplySDISpecs
Description:
This action applies Spec i.e. adds sdidataitemsspecs to SDIs, if Spec is not applied to the SDI. Also compares Data Values entered for an SDI to a Specification.
Input Properties
sdcid
Description:
Identifier of the SDC.
Required:
Yes
keyid1
Description:
Identifiers of the SDIs.
Required:
Yes
keyid2
Description:
Identifiers of the SDIs.
Required:
Only for multi-key SDCs.
keyid3
Description:
Identifiers of the SDIs.
Required:
Only for multi-key SDCs.
specid
Required:
Yes
Comments:
Identifier of the Specification.
specversionid
Required:
Yes
Comments:
Version number of the Specification.
propsmatch
Description:
Determines how multiple property values are associated with SDIs.
Required:
No (default No)
Comments:
As an example, consider these properties:

sdcid = Sample
keyid1 = S01;S02
specid = specA;specB
specversion = 1;3
The propsmatch value has these effects:

  • propsmatch = Y applies specA to Sample S01 and specB to Sample S02.
  • propsmatch = N applies specA and SpecB to both Samples (S01 and S02).
auditreason
Description:
Auditing information recorded in the "Reason" column of the TraceLog table.
Required:
No
auditactivity
Description:
Auditing information recorded in the "Activity" column of the TraceLog table.
Required:
No
auditsignedflag
Description:
Auditing information recorded in the "SignedFlag" column of the TraceLog table.
Required:
No
auditdt
Description:
Auditing information recorded in the "ModDt" column of the TraceLog table.
Required:
No
Additional Information
Additional information concerning this Action:
This action applies Spec to SDI, if Spec is not already applied to the SDI (based on appliedflag <> 'Y' in the sdispec table). This Action conducts both Spec Limit Checking and Spec Rule evaluation for the specified Specs on the input SDIs.

This Action may affect values in the SDIDataItemSpec and sdispec table.

Copyright © 1999-2016 LABVANTAGE Solutions, Inc.