SalesCustomObject - Accessing Territory Entity From Groovy Script (Doc ID 1556777.1)

Last updated on NOVEMBER 07, 2016

Applies to:

Oracle Fusion CRM Application Composer Cloud Service - Version 11.1.5.0.0 and later
Oracle Fusion CRM Application Composer - Version 11.1.5.0.0 and later
Information in this document applies to any platform.

Goal

Is it possible to access the Territory Entity from within a Groovy Script in the Sales Application?

What is the API name to access the Territory?

We want to create a trigger in a SalesCustomObject and need to access the Territory Entity.

Our Use-Case: If someone creates a new row and enters the TerritoryId, we want to add the parent Territory in the next column.
 

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