The purpose of this stored procedure is to merge dbo.receipts (new receipts), tblStoreData (historical data), and source_mealconnect tables into receipts_vw table (converted from view – necessary for speed). Once the merge is completed, clean-up steps are run:Pre-step remove all records within last 6 months where [comment] = ‘Missing Contributor id […]
