Set Next Serial Value Script Step and Error #102
Operating system version
Mac OS X 10.8.4
Description of the issue
The "Set Next Serial Value" script step never works when the Specify target field option is not defined. A systematic #102 error is generated in this case.
Moreover, even the error capture is disabled, even you are invoking the step directly with a button (without script), the enduser is never receiving any error message.
Steps to reproduce the problem
Define a number field with a serial number auto enter option.
Define a new script or a button that performs the "Set Next Serial Value" script step WITHOUT specifying the target field. However, define correctly the calculated result.
In browse mode, create a new record and activate the concerned number field.
While the concerned field is still activated, perform the new script.
If the Specify target field option is not checked, i expect that the script step is applying to the active field during execution, as it works for ALL others Field script steps.
And if it don't, and Error capture is off, i am at least expecting that an error is sended to the enduser.
If the Specify target field option is not checked, the step is always generating a #102 Error "Field missing", even the active field is numeric and have a serial number auto enter option defined.
Moreover, even Error capture is off, enduser is not receiving any error message.
Exact text of any error message(s) that appear
You must ALWAYS specify the target field. But thus, you cannot define any GENERIC script and you must duplicate your script for EACH concerned Field.