Cloud Migration - replacing external data source

Circling back around to this randomly. I’ve studied some other examples, and I think I’d like to keep a UD table filled with 3 calendar years of dates (and a bunch of pre-calculated values: fiscal year, isWorkDay, isHoliday, etc). This table would be re-written any time Erp.ProdCalDay was updated. I think this will have value beyond this one report. I have a SQL statement that works with our on-prem, but need to convert to a BPM - and I’m having trouble getting started. This looks close… Insert UD Table Records from a BPM … but I can’t see how to adapt it to my needs.