WORKAROUND:
1. If you are running Stat 5.7.4 then do this:
a. Take a good back-up of your stat db
b. Download Stat 5.7.4 hf-d and apply the hotfx
c. Run this dml statement:
UPDATE MERC_OA_DETAIL SET DETAIL_VALUE1 = '0' WHERE DETAIL_TYPE='MID'
AND UPDATE_DT < (SELECT MIN(RUN_DT) FROM STAT_DBSCRIPT_TBL WHERE STAT_VERSION LIKE '5.7%')
2. If you are running Stat 5.8.0 then do this:
a. Take a good back-up of your stat db
b. Run this dml statement:
UPDATE MERC_OA_DETAIL SET DETAIL_VALUE1 = '0' WHERE DETAIL_TYPE='MID'
AND UPDATE_DT < (SELECT MIN(RUN_DT) FROM STAT_DBSCRIPT_TBL WHERE STAT_VERSION LIKE '5.7%')