On the Ship-Tos form, I have a prompt that asks the user if they want to create Customer Document Profile records for the new Ship-To. If they choose "yes", it will execute a method to create the records. The issue I am having is that I only want this prompt to appear once the new Ship-To record is saved. If I add it to to any of the "StdObjectSave" or "StdFormSave" events, then it shows the prompt everytime the record is saved even if it is not a *new* record.
Does anyone know an event that generates just on a new record save? Is the only solution to create some type of "new record" variable?