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

Run time

  • Last UpdatedNov 04, 2024
  • 2 minute read

At run time, the SampleID property must be set first to indicate what sample record is to be updated by the Record Sample Data and Finalize Sample Data commands. The SampleID is a returned value for the Generate Sample command. The sample ID can be any valid sample in the database and does not have to be a sample that exists for the entity containing the SRO.

Fill in any of the other fields. There is no data checking on any of the fields, including the Operator field. The Operator field entry does not have to be a valid MES user, as this is a string value that gets recorded in the database. If user validation is desired, additional scripting will be required to logon the user with the MES Stateless API.

  • Clicking the Record Sample Data button updates the sample with the provided Lot, Sublot, Segment Requirement ID, Segment Response ID, Priority, and Spare 1 values. If the Operator string is provided, then clicking the Record Sample Data button also marks the sample as Pulled by the operator at the current time.

  • Clicking the Finalize Sample Data button toggles the final flag on the sample based on the setting of the Finalize Sample check box. It fills in the Finalized by field with the name of the operator provided and uses the current time.

  • Clicking the Generate Sample button generates a new sample for the parent entity of the object using the provided QM Specification Name. None of the other user input fields are used. This command returns the generated sample ID into the SampleID property.

  • Clicking the Clear button clears out all the values except SampleID and Operator.

  • Clicking the R button next to the error message resets the command group. If there is an error in the error message box, the sample group must be reset before calling another command. If the SRO is not configured to auto-reset the object, the sample group must be reset before calling another command.

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