Problem Note 60216: Purchase order plan optimization might fail with "ORA-00001: unique constraint (DI_DM.SYS_C#######) violated"
In SAS® Pack Optimization, optimization of a purchase order plan might fail with the following error in the SASMerchIntelMidTier5.4.log file:
ERROR com.sas.solutions.di.server.pko.purchaseorder.PKOPurchaseOrderServiceImpl - A SQL error occurred attempting populate the request tables.
java.sql.BatchUpdateException: ORA-00001: unique constraint (DI_DM.SYS_C#######) violated
The error is likely to occur after optimization failed for the purchase order plan in a previous run due to being out of memory. The subsequent optimization run fails with the Oracle errors above because the request tables are not properly cleaned after the out of memory failure.
The workaround for this issue is to make a copy of the purchase order plan and optimization the copy of the plan.
.
.
Operating System and Release Information
| SAS System | SAS Pack Optimization | Linux for x64 | 3.4 | | 9.4 TS1M3 | |
| Microsoft® Windows® for x64 | 3.4 | | 9.4 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | alert |
| Date Modified: | 2017-04-25 12:47:16 |
| Date Created: | 2017-03-31 13:55:18 |