Price Setting Package 2.0.0
Manual Changes
Before Running Upgrade PlatformManager Script
PriceSettingDimensions:
Key3 must be added. Put the string “Fallback” in all entries (it must be done, no matter if you wish to use this feature or not).
If you want to override lookup keys of some of the lookups, add new entries to PriceSettingDimensions.
Key1 – “Products”
Key2 – {proper number, from 1 to 5}
Key3 – String, based on which lookup config you want to override. Possible values (some of them is behind module) are:
Fallback (used when per-feature key is not defined)
StrategySelection
BaseStrategySelection
MinMargin
CostPlus
PriceIncrease
AdditionalDiscount
RelevantCompetitors
DependencyAdjustment
VolumeBreakdown
AdjustedPriceCorridor
ListPriceCorridor
CostSelection
Discount
Dependency Configuration:
New column named “isComplete. It requires that the user moves all preferences manually:
All columns names, as preferences, must be manually moved 1 column to the right (there is 1 preference less in the end).
For more detailed description, see the upgrade note of PFPCS-1915.
What If Price Setting Package Was Already Upgraded?
What to do if you already ran the upgrade of Price Setting Package before applying the manual changes above? Then Accelerator’s upgrade should fail. Do these changes now and run the package again.
Improvements and Fixed Issues
Stories
PFPCS-3512 Update eCommerce standard config
PFPCS-3309 Move module configuration to Price Parameter
PFPCS-3270 Return message in Competition Pricing - Price Position Mode
PFPCS-3241 Add Configuration Wizard
PFPCS-2996 Add Module information to warnings popup
PFPCS-2995 Show severity and color coding in warning popup
PFPCS-2994 Add default messages and solutions to WarningConfig
Upgrade note:
Changes to WarningConfig Price Parameter:
Multiple messages updated (QoL, but it will not be applied to users who upgrade the package). Default values have been listed here.
Renamed error codes:
NO_COST_ENTRY_IN_COST_TABLE → NO_COST_FOUND
ERROR_LOOKING_UP_DEPENDENCY_LEVEL_ADJUSTMENT → CANT_GET_DEPENDENCY_LEVEL_ADJUSTMENT
NO_FINAL_PRICE → INVALID_FINAL_PRICE
INVALID_DIMENSIONS → INVALID_DIMENSION_LOOKUP_FIELD
NO_EXCHANGE_RATE → NO_EXCHANGE_RATE_FOUND
ERROR_LOOKING_UP_COST_SELECTION_CONFIG → CANT_GET_COST_TYPE_SELECTION
ERROR_PARSING_COST_DEFINITION → ERROR_PARSING_COST_TYPE_DEFINITION
ERROR_CALCULATING_COST → CANT_CALCULATE_COST_TYPE
CANT_READ_DISCOUNT → CANT_GET_DISCOUNT
NO_DISCOUNT_VALUE → NO_DISCOUNT_FOUND
NO_ACTUAL_LIST_PRICE → NO_ACTUAL_LIST_PRICE_FOUND
NO_PL_FOR_PRICE_LOOKUP → CANT_GET_ACTUAL_PRICE_FROM_PL
INVALID_DEPENDENCY_LEVEL_TABLE_ID → INVALID_INDEPENDENT_SOURCE_ID
NO_SUPPORTED_TABLE_TYPE → UNSUPPORTED_INDEPENDENT_SOURCE_TYPE
NO_INDEPENDENT_LEVEL_ITEM → NO_INDEPENDENT_LEVEL_RECORD_FOUND
NO_INDEPENDENT_LEVEL_DECISION → NO_INDEPENDENT_LEVEL_PRICE_DECISION
ERROR_GETTING_INDEPENDENT_LEVEL_PRICES_FROM_INDEPENDENT_LEVEL_ITEM → NO_INDEPENDENT_LEVEL_CALCULATED_PRICES
ERROR_LOOKING_UP_CORRIDOR_CONFIG → CANT_GET_CORRIDOR_CONFIG
NO_CORRIDOR_CONFIG → NO_CORRIDOR_CONFIG_FOUND
CANT_GET_REASON → CANT_GET_PRODUCT_CHANGED_CAUSE
NO_REASON_FOR_PF → NO_PRODUCT_CHANGED_CAUSE
ERROR_LOOKING_UP_MINIMUM_MARGIN → CANT_GET_MIN_MARGIN
NO_INPUT_FOR_MIN_MARGIN_HANDLING → NO_INPUT_FOR_MIN_MARGIN_VALIDATION
ISSUE_EXECUTING_STRATEGY_CONDITION → CANT_APPLY_STRATEGY_CONDITION
ERROR_LOOKING_UP_STRATEGIES → CANT_GET_STRATEGIES_SELECTION
NO_STRATEGY_DEFINITION_ENTRY → NO_STRATEGY_DEFINITION_FOUND
ERROR_LOOKING_UP_RELEVANT_COMPETITION_DATA_PP → CANT_GET_RELEVANT_COMPETITION_DATA
NO_ROUNDING_RULE → NO_ROUNDING_RULE_FOUND
INVALID_STOCK_CONFIGURATION → CANT_GET_STOCK_CONFIG
NO_SOURCE_TABLE → NO_TRANSACTION_SOURCE_TABLE
NO_FORECAST_TYPE → INVALID_FORECAST_TYPE
ERROR_PARSING_VOLUME_DISCOUNTS → INVALID_VOLUME_BREAKDOWN_SETTING
NO_INPUT_FOR_VOLUME_DISCOUNT → CANT_GET_VOLUME_DISCOUNT
Business changes:
NO_MIN_MARGIN_PRICE → (split into) NO_MIN_MARGIN_PRICE and NO_INPUT_FOR_MIN_MARGIN_PRICE
NO_MIN_MARGIN and ARITHMETIC_EXCEPTION → (merged and split based on business case) INVALID_MIN_MARGIN_PERCENT and NO_MIN_MARGIN_CONFIG_FOUND
EXCEPTION_IGNORED → (split into) EXCEPTION_IGNORED and STRATEGY_OVERRIDE_PROHIBITED
UNABLE_TO_CALCULATE_BREAKEVEN_FOR_DATA → (split into) CANT_CALCULATE_MARGIN_BREAKEVEN_VOLUME and CANT_CALCULATE_REVENUE_BREAKEVEN_VOLUME
PX_VALIDITY_PERIODS_OVERLAPPED and PP_VALIDITY_PERIODS_OVERLAPPED → (merged into) VALIDITY_PERIODS_OVERLAPPED
NO_DATA_FOR_LAST_PERIOD_LOOKUP → (split into) NO_SALES_VOLUME_LAST_PERIOD and NO_TURNOVER_LAST_PERIOD
CANT_READ_DATA_FOR_PRICE_LOOKUP → (merged into) NO_ACTUAL_LIST_PRICE_FOUND
UNABLE_TO_READ_TABLE_DATA → No name changed, but now is responsible for all lookups, not only Exception Lookup
Removed:
DISCOUNT_GROUP_FALLBACK_APPLIED (Discount Group Lookup removed)
ERROR_LOOKING_UP_DISCOUNT_GROUP (Discount Group Lookup removed)
NUMBER_FORMAT_EXCEPTION (not used even in 1.7.1, leftover found)
NO_STRATEGY_OVERRIDE_ALLOWED (not used even in 1.7.1, leftover found)
NO_SOURCE_TYPE (not used even in 1.7.1, leftover found)
NO_DEPENDENCY_LEVEL_NAME (not used even in 1.7.1, leftover found)
ERROR_LOOKING_UP_VOLUME_EXCEPTION (not used even in 1.7.1, leftover found)
UNABLE_TO_READ_COST_TABLE (no data don’t throw anymore, other cases handled in more general CANT_CALCULATE_COST_TYPE/UNABLE_TO_READ_TABLE_DATA)
UNABLE_TO_READ_STOCK_TABLE and UNSUPPORTED_STOCK_DATA_SOURCE_TYPE (no data thrown anymore, other cases handled in more general NO_STOCK_DATA/UNABLE_TO_READ_TABLE_DATA)
UNSUPPORTED_EXCEPTION_TYPE (no data thrown anymore, other cases handled in more general UNABLE_TO_READ_TABLE_DATA)
Added:
NO_BASE_DEPENDENCY (part of new feature, multi-level hierarchy)
CIRCULAR_DEPENDENCY (part of new feature, multi-level hierarchy)
PFPCS-2947 Remove spaces from bootstrapped parameters
PFPCS-2525 Change AnchorEngine to proxy for AttributeEngine
PFPCS-2233 Unification of configurable lookups
PFPCS-1915 Add support for multiple groups of Independent/Dependent levels
Upgrade note:
New way of handling dependency levels. Please refer to the Dependent Price Lists and Data Fallbacks in PSP documentation.
Data from old DependencyConfiguration can be mostly reused, but data structure is new. Please refer to DependencyConfiguration PP.
New column in DependencyConfiguration.
All preferences must be manually moved 1 column to the right. New column is called “IsComplete”. It should be set to “Yes” or “No”.
If users want to keep experience as close to the old behavior as possible, they should:
Keep proper dimensions to force HQ/non-HQ modes.
Set IsComplete to “No”.
PFPCS-1675 Positioning in competitors
PFPCS-1221 Adjustments for easier upgradeability and documentation
PFPCS-1129 Support for Table-Level dimension configuration
Upgrade note:
These price parameters are changing also due to PFPCS-1902. Please read upgrade notes of both tasks before proceeding.
Except pre-upgrade instructions, no further work needs to be done, if users do not want to change behavior of installation.
If users override some of the lookup keys configs, a new PP has been created.
Config needs to be revised. If the number of new keys is the same as the number of old keys, data should persist. It should be removed and applied from scratch.
Column name will be changed, but column label might not. It should be applied manually in such scenario.
PFPCS-972 Show "Lookup Key" in Calculation Logic
Upgrade note:
Two new columns in both Independent and Dependent logics. Config needs to be updated for these columns to be visible.
PFPCS-659 Adjust features to Manhattan release
PFPCS-277 (Collection) Small Improvements and Issues in Price Setting
Improvements
PFPCS-3722 Make all tables optional when using Table DependencyMapping
PFPCS-3622 Don't use magic String ("") for dependencyHierarchy in PSP
PFPCS-3252 Check if core warnings might be removed
PFPCS-1902 Make more hierarchical tables per-dependency
Upgrade note:
These price parameter are changing also due to PFPCS-1129. Please read upgrade notes of both tasks before proceeding.
Discount group lookup has been removed. With this task it is not needed, as hierarchical lookups might already be differentiated per dependency level.
Except of discount group, no more manual tasks should be needed, since old price parameters remain as fallbacks for each dependency. As long as no new entry will be added to newly created PP, behavior should not change.
PFPCS-1807 Sorting for Competition Data matrix
Tasks
PFPCS-3891 Reorganize PSP documentation
PFPCS-3755 Switch LookupManager usage to Sharedlib's implementation
PFPCS-3753 Switch PPUtil usage to SharedLib's ConfigReaderUtil
PFPCS-2739 Allow calling warningMager.handleWarning() inside batch action
PFPCS-2628 Merge price-builder-accelerator-library with price-builder-accelerator
PFPCS-1598 Change element results after aborting calculation
Bugs
PFPCS-3987 Make Sales Volume Forecast consistent with other volumes
PFPCS-3971 Update Strategy definition in standard config
PFPCS-3967 Should not show null price in Competition Data column and Relevant Competition Data column
PFPCS-3966 Configuration issues in ecommerce package
PFPCS-3965 Calculation of Turnover Forecast
PFPCS-3959 When editing condition, Condition right operand will be cleared if current condition is multiplying by number that has decimal
PFPCS-3939 Strategies didn't return results
PFPCS-3839 DEPENDENCY_LEVEL_CONFIG in ConstConfig element contains invalid PREFERENCE keys
PFPCS-3834 Advanced Cost - Cost Type should occur only once
PFPCS-3823 Revenue Breakeven Volume is not rounded up correctly
PFPCS-3811 Add table dependency level mapping config placeholder for PriceIncrease and CostPlus
PFPCS-3805 LookupEngine strategy returns error if Source Type PP is used
PFPCS-3804 Secondary Key is empty if the Sku is not defined in PP VolumeBreakdown
PFPCS-3754 Breakeven volumes are not rounded
PFPCS-3651 Add UI object steps.json
PFPCS-3643 Clean up assembly-pom.xml
PFPCS-3623 Incorrect Final Price is displayed because of rounding issue
PFPCS-3423 Error looking up Competitor prices when country is defined in Competition Data
PFPCS-2917 Input configurator for IndependentPriceListLogic doesn't hide dependent level name on Unity
PFPCS-2330 Overlapped validity dates should use warning instead of errors
PFPCS-1738 Anchor and Kit pricing engine doesn't work on first PL calculation