How To Make Primary Contact Field Mandatory on Activity In Outlook (Doc ID 2163900.1)

Last updated on JULY 22, 2016

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.10.0.0 and later
Information in this document applies to any platform.

Goal

How to test if PrimaryContactName has a value in Outlook before synchronization?

This requirement is related to the fact that the PrimaryContactName field had the option "Required" grayed out - not available in App Composer fields on Activity.
It was possible to make the field required by using two triggers in SUI but in Outlook, if Contact is not selected, it will result in a synchronization issue.

The SUI script is created in the Before Insert and similar on Before Update with the following:

if(nvl(PrimaryContactName,"") == "")
  {
    adf.error.raise(null)
  }
  else
  {
    return true
  }

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms