Recode DPR to make use of Summary Log

Issue No: RM-3524
Created 12/16/2019 10:24:12 PM
Type Feature
Priority Major
Status Closed
Resolution Fixed
Fixed Version 20.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-243169 - Risk Summary Table & Report Refactoring|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-243169] Steps to test:   # Rebuild Summary Log. ## You can click on the button under Company Configuration -> Risk Management -> Summary Log tab to rebuild the Summary Log and Contract Balance Log tables. ## If by any chance the button is disabled. This means the rebuild has already happened, and ideally, we no longer allow you to do this again. You would have to manually allow this again by running the script below. ## UPDATE tblRKCompanyPreference SET ysnAllowRebuildSummaryLog = 1 ## This config is set to True by default, meaning all customers can run the rebuild once. The option will then be turned off after initial running. ## All existing data will be turned over to the summary log # Run Daily Position Report (Crush enabled) or Position Report (Crush disabled) # All values should still reflect the old version's values