Approving Overlapping Promotion Over Clearance Fails With SchemaValidationErrors When RIB Is Active
(Doc ID 2753953.1)
Last updated on FEBRUARY 23, 2021
Applies to:
Oracle Retail Price Management - Version 15.0.3 and laterInformation in this document applies to any platform.
Symptoms
When CLEARANCE_PROMO_OVERLAP_IND = 0 and Retail Integration Bus (RIB) is active, Retail Price Management (RPM) allows to create a overlapping promotion over clearance. However, it get stuck in Conflict Checking status.
ERROR
-----------------------
19:36:51,814 DEBUG ([ACTIVE] ExecuteThread: '32' for queue: 'weblogic.kernel.Default (self-tuning)') [RPMRibPublishingCoreServiceImpl] Calling RIBMessagePublisher.publisher with 1 RIBMessageVOs.
19:36:51,844 ERROR ([ACTIVE] ExecuteThread: '32' for queue: 'weblogic.kernel.Default (self-tuning)') [PayloadFactory] Unable to validate the message com.oracle.retail.integration.base.bo.promotiondesc.v1.PromotionDesc@6e66895a
javax.xml.bind.ValidationException:
SchemaValidationErrors [1] for PromotionDesc [
cvc-complex-type.2.4.a: Invalid content was found starting with element 'ListGroup'. One of '{"http://www.oracle.com/retail/integration/base/bo/PromotionDesc/v1":discount_limit, "http://www.oracle.com/retail/integration/base/bo/PromotionDesc/v1":exception_parent_id, "http://www.oracle.com/retail/integration/base/bo/PromotionDesc/v1":LocationList}' is expected.
]
Steps to Recreate:
- Ensure System Options CLEARANCE_PROMO_OVERLAP_IND = 0.
- Ensure System Options Export to RIB is 1.
- Have an item with regular price: 8.
- Create a Clearance for an item for a set of dates (ex: 2019-06-10). Fixed Price 5.
- Approve the Clearance.
- Create a promotion for the same period (ex: 2019-06-10 to 2019-06-15). Fixed Price 6.
- Try to approve the promotion and notice that it gets stuck in Conflict Checking status.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |