This example shows how to use a serial number to create a default value for a part number variable.
To use a serial number as a default value:
When a user adds a new file of the type associated with the data card, the Part Number variable is updated with the next available serial number.
The file's mapped property is also updated with the default value.
If you do not select Default overwrites and the variable is mapped to a file property with an existing value, the existing value is used. To generate a serial number for such files, right-click the control in the data card and select Generate next serial number. The variable and file property are updated.