After the MainSequence, any change to the UUT or batch serial number will not be reflected using the methods listed in the two previous sections. However, the batch serial number in the report can still be modified through model callbacks, "ModifyBatchReportHeader" and "ModifyReportHeader." In both callbacks, a parameter for the report header, Parameters.ReportHeader, contains the value of the batch serial number, which can be updated. The first model callback will update the batch report header and the second model callback will modify each UUT's report header, respectively. There are two options to do this:
- The Find and Replace functions can be used in an expression in this model callbacks to parse through Parameters.ReportHeader in both model callbacks. First, the Find function would search for the index of the current batch serial number, and then the Replace function would use this index to update the value with a new string.
- A code module can be used to parse through Parameters.ReportHeader and to find the current value of the serial number and update that with a new string.