Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

Understand sample data commands

  • Last UpdatedSep 15, 2025
  • 2 minute read

The Sample Data commands are on the Sample Data Command section of the Sample tab.

Record Sample Data Command

Allows you to update the sample record for the sampleID in the Sample table, if the SegmentResponse, SegmentRequirement, Priority, Spare1-4, Lot or Sublot attributes contain a value that is not null. You can also set the pulled_by and pulled_at fields in the Sample table for the sample ID, if the EventDateTime and Operator contain values that are not null.

An error message appears when the command is triggered with Operator being non-null and a sample already having non-null values in pulled_by and pulled_at fields. To change the pulled_by and pulled_at fields in the Sample table, you need to unpull the sample. You must use Sample Viewer or scripting to unpull a sample. You cannot unpull the sample from the SRO.

Record MES Sample Attribute Data Command

Records the Value and Notes for all MES attribute data for a sample using the SampleID attribute in the Sample_Attr table.

Note: In the current version of MES, the Record MES Sample Attribute Data command is not available.

Finalize Sample Data Command

Finalizes the sample and its data to prevent further editing. This command uses the Final, Operator, and EventDateTime attributes to update the finalized_at and finalized_by columns in the Sample table. If the status of the Final attribute is True, the sample is marked as Final. If the status of the Final attribute is False, the flag is cleared and data can be recorded against the sample again.

Generate Sample Command

Generates samples on demand. The command updates the SampleID property with the new SampleID. It uses the Sample.QMSpecName attribute to determine which characteristics should be considered in the on-demand sample.

Reset Command

Resets the object state for a characteristic to Ready and sets the command attributes to False. This prepares the sample characteristic to process the next request.

TitleResults for “How to create a CRG?”Also Available in