SAP Knowledge Base Article - Public

3699087 - Custom Reference Field are not visible or usable in condition block of Custom Logic

Symptom

  • A custom field ABC is created in Extensibility, which retrieves data from DEF using Custom Reference Attribute(ABC refers to the custom field name and DEF refers to the standard field which the ABC is being referenced to)
  • The ABC field created, is not visible or usable in condition block of Sales Quote Item Custom logic.

Environment

SAP Sales Cloud and SAP Service Cloud Version 2

Reproducing the Issue

This is applicable across all Services. Here we are taking Sales Quote Item service as an example.

  1. Navigate to Extensibility Administration.
  2. Select the Sales Quote Item service.
  3. You have created a custom field ABC referencing the standard field DEF
  4. Now open the Determination/Validation section.
  5. Attempt to use the field as a condition
  6. Observe that the field is not available in the list.

Cause

  • Extensions fields can be used in custom-logic only if they are tagged with 'usedIn/customLogic' from the Reference field usage tab.
  • It is required to tag the field "DEF" under the Reference Field Usage tab of the Sales Quote Item.
  • However, this is not possible as Sales Quote Item is not a root entity, and tagging is only supported for root entities.

Resolution

  1. This is the current system expected behavior. 
  2. Tagging a field under Reference Field Usage is supported only for Root entity level.
  3. If the feature/functionality is needed as a matter of urgency, please refer to KBA 3475641 - Functionality Currently not Available.

Keywords

custom field, sales quote item, determination logics, extensibility, field usage, tagging, sub-root entities, custom logic, condition block, SAP Sales Cloud, SAP Service Cloud , KBA , CEC-CRM-CZM-CUL , Custom Logic for for SAP Sales/Service Cloud , Product Enhancement

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0