Triggering a Script Upon Creating a New Record
I would like to set a number field to a specific numeric value when the user first creates a new record. My script looks as follows:
Set Field (Job Profitability::Overhead %; .12)
This script is supposed to place the numeric value of ".12" into the field "Overhead %" when the user creates a new "Job Profitability" record.
I went to the Layout Setup Dialog Box and set this script to run when "OnLayoutEnter" but nothing is happening. Also, I'm not sure that this is the appropriate way to handle, because I only want the numeric value set upon creating a new record.