How to fetch Account Territory details from Opportunity? (Doc ID 2273011.1)

Last updated on JULY 06, 2017

Applies to:

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

Goal

We have requirement to set one custom field based on the territory. so for this we have created the script to get the territory Name and based on the territory the custom field get set.
This script is working for sales admin but it is not working for sales rep.We have tried using privilege groovy function which gives sales users access to object data for which they don't have but it's not working.
How to fetch Account Territory details from 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