How To Access Lead Attachment Related Collection

(Doc ID 2141025.1)

Last updated on JUNE 07, 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 count number of attachments on the object Sales Lead using groovy scripts. Attachment field of type Related collection is missing. Similar field exists on Opportunity.
 

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