Update RecordDate When

If the RecordDate column should be updated only in certain cases to include the date and time when the record was updated or inserted, then specify the condition here.

For example: dbo.VariableIsDefined(N'ApsPlannerUpdate') = 0

This text will be included in a CASE WHEN clause.

If nothing is specified here, RecordDate is always updated.