Problem Note 57806: An exception might occur when you attempt to override inherited vendor deal support for a regional promotion
In SAS® Promotion Optimization, the following exception might occur when you attempt to override inherited vendor deal support for a regional promotion:
FATAL Worker-1 java.lang.StackTraceElement - ERROR: ProductAssignment: Need to initialize MinCost first!
com.sas.solutions.di.server.rpp.api.NamedScopedValue$UninitializedException: ERROR: ProductAssignment: Need to initialize MinCost first!
at com.sas.solutions.di.server.rpp.api.ProductAssignment.validateInit(ProductAssignment.java:248)
at com.sas.solutions.di.server.rpp.api.ProductAssignment.getMinCost(ProductAssignment.java:383)
at com.sas.solutions.di.server.rpp.api.ProductAssignment.getScanMetrics(ProductAssignment.java:989)
at com.sas.solutions.di.server.rpp.api.ProductAssignment.buildMetrics(ProductAssignment.java:768)
at com.sas.solutions.di.server.rpp.PromotionPlanImpl.initializeProductSummary(PromotionPlanImpl.java:9975)
at com.sas.solutions.di.server.rpp.PromotionPlanImpl.initialize(PromotionPlanImpl.java:3125)
at com.sas.solutions.di.server.rpp.NamedScopedValueImpl.getImpls(NamedScopedValueImpl.java:262)
at com.sas.solutions.di.server.rpp.PromotionPlanImpl.getPromotionPlanVersions
The exception occurs when you enter a scan amount value of 0 and select % off regular cost when overriding the vendor deal support.
The workaround for this issue is to select $ per unit instead of % off regular cost when you enter a value of zero for scan amount.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Promotion Optimization | Microsoft® Windows® for x64 | 5.2_M4 | 5.4 | 9.3 TS1M2 | 9.4 TS1M3 |
Linux for x64 | 5.2_M4 | 5.4 | 9.3 TS1M2 | 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: | high |
Date Modified: | 2016-05-18 10:14:58 |
Date Created: | 2016-03-07 10:24:05 |