The event failed and reported this error: Q_CutoffStorage: Violation of PRIMARY KEY constraint 'CutoffStorage_PK'. Cannot insert duplicate key in object 'dbo.CutoffStorage'. The statement has been terminated.
Root Cause:
This error is caused by having the Investor Cutoff Storage Update (Investor Cutoff Storage Upd) event run more than once on the same transaction date.
This update uses the Prior Transaction Date.
This update should only be run once for a specific date.
Workaround:
By itself, this Investor Cutoff Storage Update event error is usually not a problem, but this error raises a concern that other events were run more than once on the same transaction date, possibly creating other problems.
For this Investor Cutoff Storage Update event error to appear, the update must have successfully run the first time it was run for the specified date, and therefore the work of this update was successfully completed the first time it was run.
This update uses the Prior Transaction Date. The Prior Transaction Date will be the date prior to the Current Transaction Date, usually set by the Change Posting Date Update (Change Posting Date Upd) event, the event usually run before the Investor Cutoff Storage Update.
This specific error will not appear again, once the transaction date is advanced to a new date when the next Change Posting Date Update completes.
The Investor Cutoff Storage Update event is usually run as part of the Run All scheduled events, and the concern is the Run All scheduled events has been run more than once for a specific date. Having the Run All scheduled events run more than once means some or all of the other scheduled events were run more than once, which can potentially lead to various problems depending on which events were run, and which dates were set.
If the Run All scheduled events was run more than once for a specific date, you should immediately do the following:
ArticleNumber:
000044006