SetDefaultNextRel
Mon 01 January 2018Syntax
SetDefaultNextRel(search_field, default_field)
Description
Use the SetDefaultNextRel function to locate the next occurrence of the search_field with the next effective date (and effective-sequence number if the record contains an effective-sequence number), then set the value of the specified default_field corresponding to the search_field to a blank value, so that the next time default processing is run this field will be set to its default value, as specified by the record definition, or one set programmatically by PeopleCode located in a FieldDefault event. If neither of these defaults exist, the Component Processor leaves the field blank.
This function is valid only for effective-dated records. If a next record does not exist, then the statement is skipped.