OnSerialize |
OnSerialize is called when serialization might occur when items are printed. How often the OnSerialize event runs depends on the number of serial numbers that are printed, regardless of whether the number is specified in the Print dialog or is being read from a database.
If the quantity of Serial Numbers in the Print dialog is given a set value and no serialization values are being read from a database, that value specifies how many times the OnSerialize event is called per print job.
If the value for the number of serial numbers is being read from a database (which means a new serialization value is created for each record), then the value that is read in for each record specifies how many times the OnSerialize event is called for each corresponding record. (The total number of times that OnSerialize is called per print job is equal to the sum of the serialization values that are read in for each record.)
Serialization need not be enabled for any objects on the template for the OnSerialize script to be called. As long as the OnSerialize event contains a script, that script is called according to the defined frequency.
Related Topics