SetDefaultPriorRel
Mon 01 January 2018Syntax
SetDefaultPriorRel(search_field, default_field)
Description
Use the SetDefaultPriorRel function to locate the prior occurrence of the search_field with the prior effective date (and effective sequence-number if the record contains an effective-equence number) and then sets the specified default_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.