Custom Metadata Types: Storing Formula Parameters to Consolidate Updates, Editing Records in Memory Within Apex

Reference records of custom metadata types in formula fields to avoid hardcoding and make updates easier. Create and edit custom metadata type records in memory in Apex to make testing easier.