Troubleshooting Guide

Follow the steps provided for the relevant situation.

How to Import Discount Value with Order Entry via API

By default, discountValue is not enabled when sending order entry to SAP Commerce Cloud.

discountValue is not supported by Integration Objects because it is neither an item type nor an atomic type. discountValuesInternal should be used instead that contains discount values encoded as a string, and the encoding/decoding logic is implemented in the de.hybris.platform.util.DiscountValue class (that is, parseDiscountValueCollection and toString methods). The following two attributes are available for the InboundOMMOrderEntry Integration Object: discountValues of type Collection (de.hybris.platform.util.DiscountValue), and discountValuesInternal of type java.lang.String. To import discount value, follow the steps below only using discountValuesInternal.

  1. Go to Start of the navigation path Next navigation step Integration UI Tool Next navigation step Modeling Next navigation step InboundOMMOrderEntryEnd of the navigation path and select the discountValuesInternal attribute.
  2. Check the InboundOMMOrderEntry Integration Object metadata using either the IMPEX VIEW or EDMX VIEW.

    EDMX VIEW
  3. Send POST request https://localhost:9002/odata2webservices/InboundOMMOrderEntry/OrderEntries with the following body:
  4. Go to Backoffice to see the imported discount values.

  5. Once you recalculate the order, the updated value is displayed accordingly.

Can't See the Backoffice Integration UI Tool After Installing integrationbackoffice

Installing the integrationbackoffice extension post-initialization doesn't update the widgets.xml file, which, in turn, doesn't show the newly installed cockpit or widgets.

When introducing new widgets after initialization, you must reset the global widgets.xml file. Since Integration Object monitoring adds new widgets and socket connections, this reset process is also required.

To reset the global widgets.xml file, do the following:

  1. Log in to Backoffice as an administrator.
  2. Press F4 to open the orchestrator.
  3. Select the hamburger menu in the top-right corner.
  4. Select Reset Everything.
  5. Wait for the process to end and then press F4 again to close the orchestrator.

Can't See the Integration UI Tool in Backoffice Due to Limited Permission

The Backoffice Integration UI Tool provides Integration Administrator and Integration Agent user roles, and members within the backofficeintegrationadministrator and backofficeintegrationagent groups can see the Integration UI Tool perspective in Backoffice.

To see the Integration UI Tool, users must be assigned to one of the two groups. For more information, see Integration Backoffice Security.

Stack Traces are not Logged

Throwable stack traces are logged only when the system has DEBUG-level logging enabled. To enable debug-level logging, see Updating the Log Level to Debug.