Skip to Main Content
IBM Sterling


This portal is to open public enhancement requests for IBM Sterling products and services. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Created by Guest
Created on Jul 18, 2022

YPMValidateCouponUE needs to do default coupon validation after the UE is invoked

On Version: IBM Sterling OMS V10
Fix Pack: 32

When ValidateCouponUE is enabled, Sterling does not give YPM_RULE_INVALID response if the coupon does not exist. The CouponStatusMsgCode field in the output is blank. Consumer applications need error reason for the appropriate handling of response.


According to the YPMValidateCouponUE java documentation, when a system rule exists to enable default validation to be performed after user exit is invoked. The system rule is named "perform the default validation for coupons". When this rule is enabled, coupons that were returned as valid by the user exit will have the default validation logic performed on them.


But in reality, it is not working as expected, this default rule validation is not performed when the system rule is enabled. We would like to have this validation done in addition to any custom validation in the UE, as there are a number of system validation


Another thing we noticed is that the Sterling performs other validations like YPM_RULE_EXPIRED, YPM_RULE_NOT_ACTIVE, but it is not doing YPM_RULE_INVALID, which seems like a missing functionality.

What is your industry? Retail
How will this idea be used?

As a customer doing online shopping, I will be able to receive error reason after the default validation for coupons.

  • Guest
    Reply
    |
    Aug 3, 2022

    Hello Raj,

    I have reviewed this request as well as the associated PMR with engineering and agree that the product is working as expected. With the YPMValidateCouponUE enabled, if the UE returns that the coupon is valid, it is expected that either (a) the coupon exists in OMS (in which case the OOB coupon validation will be executed if the rule to perform default coupon validation is enabled) or that (b) the coupon does not exist in OMS, in which case it is expected that the YPMLoadCustomPricingRulesUE is implemented to provide the coupon details. Generally speaking, the YPMValidateCouponUE would be performing additional custom validations on the coupon against an external system, so in the case where the coupon does not exist, it would be determined within the UE and it could then return an invalid coupon.

    If you have a scenario that does not fit into (a) or (b) above, then we would recommend the approach suggested in the PMR, and add a call to look up the coupon in OMS and have the UE return an invalid response if it does not exist.