Enabling interim fix JR52714

Interim fix JR52714 includes updates to JSP files related to Sterling integration. Since not all environments are integrated with Sterling, these fixes are not automatically enabled on your environment.

Before you begin

Install the cumulative interim fix JR59483.fep. JR52714 is included in the cumulative interim fix.

About this task

JR52714 fixes an issue where an order details service call that includes the ModificationType input parameter does not return the JSON response in the expected format. This fix ensures that users can see order history details on the Order Details page when side-by-side integration is enabled between WebSphere Commerce and Sterling Selling and Fulfillment Suite 9.4.

Procedure

  1. Compare and merge store-related changes that are included with this fix.
    For more information, see Enabling store-related interim fixes.
  2. Go to the Store_archivedir/Snippets/Order/SterlingIntegration directory.
  3. Open the SBSOrderDetails.jsp file for editing.
  4. Locate the following code snippet:
    <c:set var="orderCancelAllowed" value="false"/>
    <c:if test="${not empty orderJSON.Modifications}" >
    <c:forEach items="${orderJSON.Modifications['Modification']}" var="modification">
    <c:if test="${modification.ModificationType eq 'CANCEL' and modification.ModificationAllowed eq 'Y'}">
    <c:set var="orderCancelAllowed" value="true"/>
    </c:if>
    </c:forEach>
    </c:if>
  5. Replace the code snippet with the following code:
    <c:set var="orderCancelAllowed" value="false"/>
    <c:if test="${not empty orderJSON.Modifications}" >
    <c:set value="${orderJSON.Modifications['Modification']}" var="modification"/>
    <c:if test="${modification['CANCEL'] eq 'Y'}">
    <c:set var="orderCancelAllowed" value="true"/>
    </c:if>
    <c:remove var="modification"/>
    </c:if> 
  6. Save and close the file.