Open extension point for defining options in build_through_record
This fixes #15496
Merge pull request #15701 from zzak/issue_15496

Open extension point for defining options in build_through_record