Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
3 – Service Territories
An Oracle White Paper
September, 2013
R12.1.3 Service Territories
1 EXECUTIVE OVERVIEW
Organizations that provide service and support to their customers and employees need an effective and robust system
to deliver this service and support. One of the keys to a successful service and support delivery system is to be able to
route service requests and their tasks to the correct resource for quick and efficient resolution. Service requests need
to be routed to the following types of resources for quick resolution:
• Call Center agents
• Help Desk agents
• Field Service Technicians
• Tech Support Groups
• Product specialist and so on.
Service providers rely on business applications to support and automate a structured rules based routing process. This
structured rules based routing process needs to support geographic, non geographic, and time components.
Geographic components are any reference to a physical location on a map – like country, state, postal code etc. Time
components refer to a specific time during the day – like 12 noon or a specific day during the week like Monday. Non
geographic components are all the other attributes that are associated to the object seeking assignment. For example,
if it is a service request that is seeking assignment, the non geographic components are the attributes of the service
request like Status, Severity, Type, etc.
Having a robust routing solution has the following benefits:
• Faster response times
• Satisfy Service Level Agreements
• Increase agent productivity
• Reduce cost of providing service
Both of these routing components use the rules setup in Oracle Territory Manager to retrieve eligible resources for
the assignment process. See Section 5 for details.
Territory Types easies the process of territory creation. Every territory that is created is created based on a Territory
Type. The three components of a Territory Type are:
• Usage
• Transaction Type
• Qualifiers
A Territory Type can belong to only one territory usage. However, a single Territory Type can contain more than one
transaction type (see section 4.3 for transaction types). The list of qualifiers defined in a Territory Type is the one that will
be available to the administrator when defining the actual territory (see section 4.4 for qualifiers and Appendix A for a
complete list of qualifiers).
When defining territories based on a Territory Type, the usage and transaction types are defaulted in – users will have
to then manually select the Qualifiers to complete the Territory definition. The list of qualifiers presented to the user
will be restricted to the list of qualifiers that are defined in the Territory Type.
Service Request – Use this transaction type when setting up routing rules for service request assignment. Selecting
this transaction type provides a list of qualifiers that are associated to the service request. Qualifiers that are associated
to the task transaction type are filtered out.
Service Request and Task – Use this transaction type when setting up routing rules for service request task
assignment. Selecting this transaction type provides a list of qualifiers that are associated to both the service request
and task (basically all service qualifiers are provided).
Note 1: If routing rules need to be defined for both service request and task assignment, base the territory on a
territory type that contains both transaction types – ‘Service Request’ and ‘Service Request and Task’.
Note 2: When defining territory types, once the transaction type is selected, the list of qualifiers that the administrator
can select, are filtered based on the selected transaction type. In addition to this filtered qualifier list, there are some
common qualifiers that the administrator can select irrespective of the transaction type selected. These qualifiers are
associated to a transaction type called ‘Account’. The ‘Account’ transaction type is not an object that is seeking
assignment per se – it exists only for the purpose of having these common qualifiers associated to a transaction type.
An example of an ‘Account’ transaction type qualifier is ‘Customer Name’.
See Appendix A for the full list of qualifiers associated to the ‘Account’ transaction type.
Geographic qualifiers refer to address information like Country, State, City, Postal Code etc. Geographic qualifiers are
numeric like Postal Code or text strings like Country, State, City etc. When using text strings, Oracle Territory
Manager does a text comparison between what is stored in territory tables and what is passed from the Service
application to determine matching territories. The text string match is not case sensitive however they need to match
exactly in the way they are spelt.
Address information created via the Service application can be validated against a geography hierarchy of metadata to
ensure that the address information is valid. The geography hierarchy of metadata is stored in the HZ Geography
tables in TCA (Trading Community Architecture). For example, in geography hierarchy, the state of California is
defined as the parent of San Mateo County, which is the parent of Redwood City, which is the parent of the postal
code 94065. If you enter just 94065, the application can determine that the postal code is in California, or that the
corresponding city is Redwood City.
Address information can also be created via the Service application that is not validated against the geography
hierarchy metadata. In cases where the address information is not validated, customers can encounter issues1 when
the address information in HZ Locations is different than the address information in HZ Geographies.
When setting up territories with geographic qualifiers, the list of values provided to the user for these qualifiers are
retrieved from the HZ Geography tables. Addresses in the Service application are stored in the HZ Location tables. If
addresses are validated, the data that is stored in the HZ Location tables are validated against the data setup in the HZ
Geography tables. In this case, all the information in the HZ Location table is in sync with the data in the HZ
Geography tables. In cases where address information in not validated, the data that is stored in HZ Locations tables
can potentially be different than what is stored in the HZ Geography tables.
Here’s an illustration of the discrepancy: For example when creating a territory with the City qualifier, the list of values
provided to the end user for Mexico from the HZ Geography table could have been only ‘Mexico City’.
Territory Qualifier => City = Mexico City
Whereas, the City captured on the Service Request could have been ‘Mexico’. This is what is stored in HZ Locations
and since the address in HZ Locations is not validated against HZ Geography, the city names are not in sync.
Service Request => City = Mexico
With the above scenario, Assignment Manager will fail to retrieve the territory, since the city value in the territory
definition does not match the city value passed from the service request.
Mexico City <> Mexico
The discrepancy can occur for the following geographic qualifiers – City, State, Province, and County.
The reason why customers can land up with these address discrepancies can be any one or more of the following
reasons:
• Address information is migrated from a legacy system
• HZ Geography metadata information is not available for certain countries / regions
1 The following bugs 4122637, 4249321, 4527721, and 6910757 capture the issue in 11i.
For Customers who encounter the above issue, the following solution can be used. The solution described below is
for the City qualifier. The same principle can be used to resolve issues with the other geographic qualifiers.
The SQL that is associated to the City qualifier’s LOV in territories is based on HZ Geographies. This is seeded and
shipped out-of-the-box.
selectdistinct
a.geography_name col1_value,
a.geography_name col2_value,
NULL col3_value,
a.geography_element1 col4_value
from hz_geographies a
where a.geography_type = 'CITY'
With the above SQL, all cities that are setup in the HZ Geographies table will be provided to the user for selection. In
cases where the city is not defined in HZ Geographies or in case there is a discrepancy between what is setup in HZ
Geographies and what is stored n HZ Locations, the following solution can be used.
1. Create a lookup type called ‘CS_CITY’. Add all the cities that are required for territory matching as lookup
codes for the newly created lookup type ‘CS_CITY’. These cities will include:
a. All cities missing from HZ Geographies but available in HZ Locations and
b. All cities that have a discrepancy between what is stored in HZ Geography and HZ Locations (as
illustrated above for ‘Mexico’ and ‘Mexico City’)
2. Update the SQL that is associated to the City qualifier’s LOV to include the cities created for the lookup type
‘CS_CITY’. The updated LOV SQL for the City qualifier looks like the following:
selectdistinct
a.geography_name col1_value,
a.geography_name col2_value,
NULL col3_value,
a.geography_element1 col4_value
from hz_geographies a
where a.geography_type = 'CITY'
UNION
select distinct
a.meaning col1_value,
a.lookup_code col2_value,
NULL col3_value,
NULL col4_value
from cs_lookups a
where a.lookup_type = 'CS_CITY'
order by col1_value
The above statement retrieves all cities from HZ Geographies as well as all the cities that are defined as lookup codes
for the lookup type ‘CS_CITY’.
Note: Access Levels Escalation Owner and Escalation Resource replace the concept of Escalation Territories in 11i.
However these Access Levels are not used as of R12.1.3.
Let’s see how the above structure works with an example. When assignment needs to be done for a service request
with the following attributes:
These root level territories are created via a concurrent program ‘Replicate Seed Data’. This concurrent program is
available under the ‘System Administrator’ responsibility. The parameter of this concurrent program is an Operating
Unit as shown in the screen shot below.
Note: For an implementation where territory administration does not have to be decentralized, all territories can be
setup under one single operating unit.
The third use of the Operating Unit attribute is to determine if a qualifier needs to be displayed in the Assignment
Manager UI or not. The AM UI displays all qualifiers that are enabled in at least one operating unit.
The following sections describe these processes in detail – specifically the first two processes. Picking and returning
the winning Territory are only actions that are needed to complete the assignment process – these do not have any
additional details.
The Left hand side of the expression or a territory rule is made up of the name of the qualifier.
The Operators that are supported are the following: Is Equal To, Contains, and Between. Most qualifiers can only
use the ‘Is Equal To’ operator; however there are some qualifiers like the Postal Code, Area Code, and Customer
Name Range that can make use of all three operators.
The Right hand side of the expression is the value of the qualifier that is either picked from a pre-defined List of
Values (LOV) or can be user entered free form text. In the majority of qualifiers, the value is picked from a LOV to
increase the level of accuracy.
Please refer to Appendix A for a list of Service Request and Task qualifiers, the operators that each qualifier can use, and whether the
qualifier value is free form or LOV controlled.
In the above example, service requests created with type ‘Customer Call’ results in the above expression evaluating to
true – hence resources within this territory will be considered for assignment. Territories whose expressions evaluate
to True are known as matching territories.
If there is more than one qualifier in a single territory, or if there is more than one value for the same qualifier in a
single territory, these need to be converted into a single expression that can then be evaluated to true or false. Also,
when evaluating expressions across a territory hierarchy, these multiple expressions need to be converted to a single
expression. To convert multiple expressions into a single expression, Conditional Operators are used – this is detailed
in the next section.
This section discusses how expressions across a territory hierarchy and within individual territories are evaluated to
either True or False by using conditional operators.
Let’s say for example the following parent / child territory structure exists.
Since there are three qualifiers and values in the child territory, it results in three expressions. Where there is more
than one expression in a single territory, conditional operators need to be used to join the different expressions and
generate a single expression that can be evaluated to either True or False.
The method Territory Manager uses to normalize the expression is as follows:
• If a single Territory contains the same Qualifier more than once, join the expressions using the ‘OR’ conditional
operator.
• If a single Territory contains different Qualifiers, join the expressions using the ‘AND’ conditional operator.
Note: Similar qualifiers and their values are grouped together with the OR operator and evaluated. In the example,
the Request Severity qualifier is grouped within braces and evaluated with the OR operator.
Now, let’s discuss how the expressions between the Parent Territory and Child Territory are joined and evaluated.
Territory Manager always uses the ‘AND’ operator when joining the expressions between the Parent and Children
Territories.
In the example, taking the expression of the Parent and the Child Territories and joining them to generate a single
expression, we have the following:
To summarize, Territory Manager uses the following rules when using the ‘OR’ and ‘AND’ conditional operators:
• Territory Manager uses the ‘AND’ operator when joining expressions between Parent and Children Territories
• If a single Territory contains the same Qualifier more than once, Territory Manager joins the expressions using
the ‘OR’ conditional operator.
• If a single Territory contains different Qualifiers, Territory Manager joins the expressions using the ‘AND’
conditional operator.
Given the above rules, the table below illustrates an example of the territories to be used for service request
assignment for different service request attributes and their values.
SR Attribute & Value Matching Territory
Channel = Web White, Phil
SR Type = Dell Laptops (From Child Territory)
Priority = High
Channel = Web White, Phil
SR Type = Dell Laptops (From Child Territory)
Priority = Medium
Channel = Web Smith, John
SR Type = Dell Laptops (From Parent Territory)
Priority = Anything Else
Channel = Web Smith, John
SR Type = Anything Else (From Parent Territory)
Priority = Anything
The ‘Contains’ operator works identical to the ‘Like’ operator in the database. Wildcard characters like the ‘%’ that
represents an indefinite string of characters and ‘_’ (underscore) that represents a single character need to be used
when using the ‘Contains’ operator.
For example if there is a need to route all service requests for all models of Dell to a particular resolving group, the
following expression using Contains can be defined in the Territory:
Product Contains Dell%
The above expression evaluates to true for all Dell models whose Product code starts with ‘Dell’. This can be ‘Dell-
C610-2010’ or ‘Dell-AnyThingGoesHere’.
Wildcards can be effectively used when it needs to be embedded within a value. For example if all Dell models for the
year 2010 are Product coded as follows:
• DELL-C610-2010
• DELL-C620-2010
• DELL-D100-2010
• DELL-D200-2010
And Dell models for the year 2009 are Product coded as follows:
• DELL-C610-2009
• DELL-C620-2009
• DELL-D100-2009
• DELL-D200-2009
If there is a need to route all service requests for Dell 2010 models to a resolving group that is different from all Dell
2009 models, then the wildcard character can be used effectively as follows:
Product Contains Dell%2010
The above expression will evaluate to true for all Dell 2010 models and filter out the Dell 2009 models.
Note: It is not advisable to start with a wildcard character as it might result in performance issues.
The ‘Between’ operator works identical to the ‘Between’ operator in the database. It requires two values – a lower
bound and an upper bound – to specify a range within which the actual transaction qualifier value needs to fall.
For example, if there is a need to specify a range of Postal Codes, the following expression can be defined:
Postal Code Between 94000 AND 95000
This expression will evaluate to true for all service requests whose postal code is greater-than-or-equal-to 94000 and
less-than-or-equal-to 95000.
i.e. 94000 >= Postal Code Value <= 95000
When using the ‘Between’ operator, wildcard characters should not be used to specify a specific pattern of values.
This is an important distinction between the ‘Contains’ and the ‘Between’ operators. Unlike the ‘Contains’ operator,
the ‘Between’ operator does not understand wildcard characters.
Defining expression values with wildcard characters for the ‘Between’ operator may not achieve the desired results.
When interpreting values for the ‘Between’ operator, the values are broken down into independent characters and the
character’s ASCII values are compared. Comparison is done on a character-by-character basis – once for the lower
bounds and once for the upper bound. For example if the value of a Service Request’s Postal Code is ‘94320’ – this is
clearly above 94000 and less than 95000. How Territory Manage derives at this conclusion is as follows:
It first strips the values in the lower and upper bounds into single characters and obtains the corresponding ASCII
values as follows:
Individual Characters Corresponding Individual Characters Corresponding
– Lower Bound ASCII value2 – Upper Bound ASCII Value
9 57 9 57
4 52 5 53
0 48 0 48
0 48 0 48
0 48 0 48
2 http://www.asciitable.com/
The ASCII values of the postal code are compared with the ASCII values of the lower and upper bounds as follows:
Comparison with Result Comparison with Result
Lower Bound Upper Bound
(9)57 >= 57(9) True (9)57 <= 57(9) True
(4)52 >= 52(4) True (4)52 <= 53(5) True
(3)51 >= 48(0) True (3)51 <= 48(0) Not needed
(2)50 >= 48(0) Not needed (2)50 <= 48(0) Not needed
(0)48 >= 48(0) Not needed (0)48 <= 48(0) Not needed
The comparison is done until there is a clear indication that the value is either greater than the lower bound or lower
than the upper bound. From the above table, it can be observed that the comparison is done until the values are true
and equal. Once the values are not equal the comparison is stopped and the result is determined
Let’s see how the expression would evaluate if a wildcard character were to be used in the value of the lower and
upper bounds.
Postal Code Between 940% AND 950%
The assumption with the above expression is that any Postal Code that starts with ‘940’ and is less than a value that
starts with ‘950’ will evaluate to True. This includes Postal Codes such as ‘940’, 950’, ‘940999’, ‘9401-2345’, ‘9502-
12345’ etc. This will hold true if the wildcard in the expression was interpreted as a true wildcard and not as a ‘%’
character. However in the case of the ‘Between’ operator, wildcard characters are treated as themselves and not as
wildcards.
In the example above, the lower and higher range values are stripped down to individual characters and their
corresponding ASCII values are determined.
Individual Characters Corresponding Individual Characters Corresponding
– Lower Value ASCII value - Higher Value ASCII Value
9 57 9 57
4 52 5 53
0 48 0 48
% 37 % 37
If the value of the Service Request Postal Code is ‘9501’, it would appear that this value ‘9501’ should fall in between
‘940%’ and ‘950%’.
However when the ASCII comparison is done, we can see that it evaluates to False.
Comparison with Result Comparison with Result
Lower Bound Upper Bound
(9)57 >= 57(9) True (9)57 <= 57(9) True
(5)53 >= 52(4) True (5)53 <= 53(5) True
(0)48 >= 48(0) Not needed (0)48 <= 48(0) True
(1)49 >= 37(%) Not needed (1)49 <= 37(%) False
In this case the value of ‘9501’ is greater than the value of ‘950%’ and is considered higher than the upper bound. This
results in the expression evaluating to false.
When using the ‘Between’ operator, care should be taken not to use the wildcard characters.
Number of Winners determines how many territories can be winning territories. For example, if there are five
matching territories, and the Number of Winners is set to a value of three, only three territories out of the potential
five are considered winning territories. The three territories out of the potential five are selected based on the rank
comparison of each territory.
Note: For the Service application, the Number of Winners associated to the root territory is the one that will be used
to determine the number of winning territories. Even though the Number of Winners is an attribute for each territory,
defining a rank value for a territory that is not the root territory is of no use.
Territory ranking works in conjunction with the Number of Winners. When more than one matching territory is
identified, the ranking and number of winners dictates which territories are the final winning territories and which
need to be filtered out.
Note: The second step where the relative ranks of all territories above a given territory are added up ensures that a
child territory will always have a higher Absolute Rank than its parent.
The table below illustrates the Absolute Ranks of the above Territory structure:
Note: Assume that the max rank of all territories defined for the Service Usage is 60.
Work sheet
Relative Rank Formula:
1 / (Rank * POWER (MAX Rank in Service Usage, Level from Root))
The following is how the Relative Ranks and Absolute Ranks are derived for the above
Territories.
For territory T1
Relative Rank of T1 => 1 / (50 * POWER (60, 1)) = 0.0003333
Absolute Rank of T1 => 0.000333 (since there is no other Parent Territory, the Absolute
Rank is the same as the Relative Rank)
For territory T2
Relative Rank of T2 => 1 / (10 * POWER (60,2)) = 0.0000278
Absolute Rank of T2 => sum of Relative Ranks of T1 and T2
0.0000278 + 0.0003333 = 0.0003611
For territory T3
Relative Rank of T3 => 1 / (60 * POWER (60, 1)) => 0.0002778
Absolute Rank of T3 => 0.0002778 (since there is no other Parent Territory, the Absolute
Rank is the same as the Relative Rank)
For territory T4
Relative Rank of T4 => 1 / (10 * POWER (60, 2)) => 0.0000278
Absolute Rank of T4 => sum of Relative Ranks of T3 and T4
0.0000278 + 0.0002778 => 0.0003056
If the above territories were to be sorted in order of their Absolute Ranks, the following would be the order:
Note: Within a winning territory or a set of winning territories, there can be multiple resources defined. However,
only one resource needs to be identified for service request or service request task ownership assignment. In order to
be able to pick one resource out of a pool of resources returned by Oracle Territory Manager, Assignment Manager
and Advanced Scheduler use other logic like load balancing, resource availability, resource skills, parts availability,
travel distance etc to pick the winning resource. To learn more about these additional features please refer to the
Oracle TeleService Implementation and User Guide and the Oracle Advanced Scheduler User Guide3.
In cases where additional logic is not defined, the winning resource is selected randomly and no particular ordering is
followed.
3 http://download.oracle.com/docs/cd/B40089_07/current/html/docset.html
Territory structures can be exported from Oracle Territory Manager into an Excel spread sheet, and any additions or
changes made to the structure in the Excel spread sheet can be imported back into Oracle Territory Manager.
There are three simple steps to follow when using the WebADI feature:
1. Export data from Oracle Territory Manager into an Excel spread sheet
2. Edit changes in the spread sheet.
3. Import data from the Excel spread sheet into Oracle Territory Manager
Figure 8 – Web ADI – Import data from Excel spread sheet into Oracle Territory Manager
After making changes to the structure in the spread sheet, the changes can be uploaded back into Oracle Territory
Manager by selecting the ‘Upload’ options in the special ‘Oracle’ menu in Excel.
In the above figure, a territory type called ‘SR Territories Only’ is defined. The three main components of the territory
type are shown – capturing the Usage, Transaction Types, and Qualifiers.
The list of qualifiers that are available when setting up territory types are those that are enabled for the Operating Unit
and Transaction Type selected.
When territories are defined based on the above template, the list of qualifiers that are available during territory
definition is restricted to the four qualifiers defined in the above template.
Administrators need to plan and define their territory types first before moving on to defining the actual territories.
The list of Territories displayed to the Administrator is filtered by the ‘Usage’ selected. In this example, only
Territories used by the Service application are displayed.
A Parent Territory needs to be selected under which the new Territory can be created. In the case of a fresh
installation where there are no Territories defined, administrators need to select the root territory as the Parent
Territory. The root territory is the territory that is created for every operating unit – in the screen shot above ‘Vision
Operations’ is the root territory.
In the above screen shot, the new Territory definition is based on the ‘SR Territories Only’ Territory Type defined in
Figure 1. This indicates the following for the new territory:
• Can be used to determine ownership only for the Service Request Transaction Type
• The four Qualifiers that are defined in the Territory Type are the ones that can be used in the definition of the
new Territory
Resources together with their access levels form the third component of a territory. In the above screen shot, the
‘Access Type’ column refers to the ‘Transaction Types’ that were defined in the territory type. The ‘SR Territories
Only’ territory type in Figure 9 has one transaction type – Service Request – defined – therefore only one Access Type
is displayed in this territory definition. This means that resources in this territory can be used only for service request
assignment.
Note: If the same territory needs to be used for assignment for more than one transaction type, the territory type will
need to be defined with those transaction types first. The screen shot below shows a territory based on a territory type
whose definition contains all three Service transaction types. Resources defined in the territory below can be used for
service request tasks, service request, and standalone task ownership assignment.
Geographic qualifiers help break down a territory with respect to a location or an area on a map. For example, if
Thomas Johnson is based in the city of San Francisco, a territory can be defined to assign all service requests for the
city of San Francisco to Thomas Johnson.
Defining geographic qualifiers and their values is an optional component of a territory and can be skipped.
In the screen shot above, only the City Qualifier is displayed since the territory type defined in Figure 9 has only one
Geographic Qualifier defined – City.
Note: The other Geographic Qualifiers are Postal Code, State, Province, County, and Country.
Non Geographic Qualifiers are the rest of the qualifiers. In the above screen shot there are three qualifiers displayed
since the territory type this territory is based on has only these three non geographic qualifiers defined.
From Figure 9 and Figure 10 we see how defining transaction types filter the list of qualifiers that are displayed,
making it easier to manage and create Territories.
Geographical Qualifiers
All cities from table ‘HZ City of the Incident Address City of the Incident Address
Geographies’ where the associated to the service associated to the service
geography type = ‘CITY’. In request. request.
1 City Account Is Equal To LOV Yes Yes
addition all lookup codes This value is derived from table This value is derived from table
defined for lookup type ‘HZ_LOCATION’. ‘HZ_LOCATION’.
‘CS_CITY’ will also be listed.
All countries from table Country of the Incident Country of the Incident
‘FND_TERRITORIES_VL’. Address associated to the Address associated to the
2 Country Account Is Equal To LOV service request. service request. Yes Yes
This value is derived from table This value is derived from table
‘FND_TERRITORIES_VL’. ‘FND_TERRITORIES_VL’.
All counties from table ‘HZ County of the Incident Address County of the Incident Address
Geographies’ where the associated to the service associated to the service
geography type = ‘COUNTY’. request. request.
3 County Account Is Equal To LOV In addition all lookup codes This value is derived from table This value is derived from table Yes Yes
defined for lookup type ‘HZ_LOCATION’. ‘HZ_LOCATION’.
‘CS_COUNTY’ will also be
listed.
Postal Code of the Incident Postal Code of the Incident
Is Equal To Address associated to the Address associated to the
4 Postal Code Account Between Free Form NA service request. service request. Yes Yes
Contains This value is derived from table This value is derived from table
‘HZ_LOCATION’. ‘HZ_LOCATION’.
All provinces from table ‘HZ Province of the Incident Province of the Incident
Geographies’ where the Address associated to the Address associated to the
geography type = ‘PROVINCE’. service request. service request.
5 Province Account Is Equal To LOV In addition all lookup codes This value is derived from table This value is derived from table Yes Yes
defined for lookup type ‘HZ_LOCATION’. ‘HZ_LOCATION’.
‘CS_PROVINCE’ will also be
listed.
All states from table ‘HZ State of the Incident Address State of the Incident Address
Geographies’ where the associated to the service associated to the service
6 State Account Is Equal To LOV Yes Yes
geography type = ‘STATE’. In request. request.
addition all lookup codes This value is derived from table This value is derived from table
Subcomponent LOV
All active BOM items derived
Component/ Two
Service from the following tables:
20 Subcompone Is Equal To values Yes Yes
Request ‘MTL_SYSTEM_ITEMS’,
nt from LOV
‘BOM_BILL_OF_MATERIAL
S’, and
‘BOM_INVENTORY_COMP
ONENTS’.
All these items need to be setup
in the organization that is
returned by the function
‘CS_STD.get_item_valdn_orgzn
_id’. These items need to be a
subcomponent of the selected
Component.
All active lookups from table Contact preference of the Contact preference of the
Contact Service ‘AR_LOOKUPS’ where lookup Contact associated to the Contact associated to the
21 Is Equal To LOV ? ?
Preference Request type = service request. service request.
‘COMMUNICATION_TYPE’.
For SR Group and Individual The customer_site_id column
Owner Assignment and from
Task Owner Assignment: CS_INCIDENTS_ALL_B.
Customer Service If the Incident Address of the
22 Is Equal To LOV All active party sites from TCA. Yes Yes
Site Request SR is a party site, the
party_site_id of the Incident
Address is passed. If not,
NULL is passed.
Component LOV
All active BOM items derived
Subcomponent LOV
All active BOM items derived
from the following tables:
‘MTL_SYSTEM_ITEMS’,
‘BOM_BILL_OF_MATERIAL
S’, and
‘BOM_INVENTORY_COMP
ONENTS’.
All these items need to be setup
in the organization that is
returned by the function
‘CS_STD.get_item_valdn_orgzn
_id’. These items need to be a
subcomponent of the selected
Component.
Product Category Product Category is the Product Category is the
All product categories from table Inventory Category associated Inventory Category associated
‘MTL_CATEGORY_SET_VA to the service request. to the service request.
LID_CATS’ that belong to the
Product
Service Two Category Set that is set in profile Product is the Inventory Item Product is the Inventory Item
30 Category / Yes Yes
Request LOVs ‘Service: Default Item Category associated to the service associated to the service
Product
Set’. request. This product needs to request. This product needs to
belong to the selected product belong to the selected product
Product category. category.
All active items from the item
Service All active contract coverage Coverage type of the contract Coverage type of the contract
Service
37 Contract Is Equal To LOV types from table associated to the service associated to the service ? ?
Request
Coverage ‘OKS_COV_TYPES’. request. request.
All active serviceable items from Inventory Item Id defined in Inventory item defined in the
table ‘MTL_SYSTEM_ITEMS’ the Contract associated to the contract associated to the
Service which can be associated to a Service Request. service request.
38 Service Item Is Equal To LOV ? ?
Request contract. All these items need to Field Service passes item_id
be setup in the organization that + org_id from
is returned by the function OKC_K_ITEMS.
Qualifier Name Update statement to modify LOV SQL associated to the qualifier
UPDATE jtf_qual_usgs_all j
SET j.HTML_LOV_SQL1 = 'SELECT DISTINCT a.geography_name col1_value, a.geography_name col2_value, ' || 'null col3_value, a.geography_element1 col4_value FROM hz_geographies a
WHERE a.geography_type = ''CITY'' UNION ' || 'SELECT DISTINCT a.meaning col1_value, a.meaning col2_value, null col3_value, null col4_value ' || 'FROM cs_lookups a WHERE
City
a.lookup_type = ''CS_CITY'' ' || 'ORDER BY col1_value', j.DISPLAY_SQL1 = 'SELECT city_list.city_name ' || 'FROM ( select distinct a.geography_name city_name ' || 'FROM hz_geographies
a ' || 'WHERE a.geography_type = ''CITY'' UNION ' || 'select distinct a.meaning city_name ' || 'from cs_lookups a ' || 'where a.lookup_type = ''CS_CITY'' ) city_list ' || 'WHERE city_list.city_name
UPDATE jtf_qual_usgs_all j
SET j.HTML_LOV_SQL1 = 'SELECT DISTINCT a.geography_name col1_value, a.geography_code col2_value, ' || 'null col3_value, a.geography_element1 col4_value FROM hz_geographies a
WHERE a.geography_type = ''STATE'' UNION ' || 'SELECT DISTINCT a.meaning col1_value, a.lookup_code col2_value, null col3_value, null col4_value ' || 'FROM cs_lookups a WHERE
State
a.lookup_type = ''CS_STATE'' ' || 'ORDER BY col1_value ', j.DISPLAY_SQL1 = 'SELECT state_list.state_name ' || 'FROM ( select distinct a.geography_name state_name, ' ||
'a.geography_code state_code ' || 'FROM hz_geographies a ' || 'WHERE a.geography_type = ''STATE'' ' || 'UNION ' || 'select distinct a.meaning state_name, '
|| 'a.lookup_code state_code ' || 'from cs_lookups a ' || 'where a.lookup_type = ''CS_STATE'' ) state_list ' || 'WHERE state_list.state_code = 'WHERE j.qual_usg_id = -1042;
UPDATE jtf_qual_usgs_all j
SET j.HTML_LOV_SQL1 = 'SELECT DISTINCT trim(a.geography_name) col1_value, trim(a.geography_name) col2_value, ' || 'trim(geography_element2) col3_value,
trim(a.geography_element1) col4_value FROM hz_geographies a WHERE a.geography_type = ''COUNTY'' UNION ' || 'SELECT DISTINCT a.meaning col1_value, a.meaning col2_value, null
County col3_value, null col4_value ' || 'FROM cs_lookups a WHERE a.lookup_type = ''CS_COUNTY'' ' || 'ORDER BY col1_value ', j.DISPLAY_SQL1 = 'SELECT county_list.county_name ' || 'FROM
( select distinct a.geography_name county_name ' || 'FROM hz_geographies a ' || 'WHERE a.geography_type = ''COUNTY'' ' || 'UNION '
|| 'select distinct a.meaning county_name ' || 'from cs_lookups a ' || 'where a.lookup_type = ''CS_COUNTY'' ) county_list ' || 'WHERE county_list.county_name =' WHERE j.qual_usg_id = -
1044;
UPDATE jtf_qual_usgs_all j
SET j.HTML_LOV_SQL1 = 'SELECT DISTINCT a.geography_name col1_value, a.geography_code col2_value, ' || 'null col3_value, a.geography_element1 col4_value FROM hz_geographies a
WHERE a.geography_type = ''PROVINCE'' UNION ' || 'SELECT DISTINCT a.meaning col1_value, a.lookup_code col2_value, null col3_value, null col4_value ' || 'FROM cs_lookups a WHERE
Province a.lookup_type = ''CS_PROVINCE'' ' || 'ORDER BY col1_value ', j.DISPLAY_SQL1 = 'SELECT province_list.province_name ' || 'FROM ( select distinct a.geography_name province_name, ' ||
'a.geography_code province_code ' || 'FROM hz_geographies a ' || 'WHERE a.geography_type = ''PROVINCE'' ' || 'UNION '
|| 'select distinct a.meaning province_name, ' || 'a.lookup_code province_code ' || 'from cs_lookups a ' || 'where a.lookup_type = ''CS_PROVINCE'' ) province_list ' || 'WHERE
Usage
Territory / Usage JTF_SOURCES_ALL Territory Types / Usage
Individual Resources JTF_TERR_USGS_ALL EBS Applications that use Territory Manager for JTF_TERR_TYPE_USGS_ALL
JTF_RS_RESOURCE_EXTNS Defines Territories for a given Usage. ownership assignment. They are: Defines Territory Types for a given Usage.
Individual Resources of Type: The setup UI allows a Territory to belong Service The setup UI allows a Territory Type to
Employee Groups to only one Usage. Example: Sales belong to only one Usage. Example:
Partner JTF_RS_GROUPS_B Usage = Service Service Contracts Usage = Service
Party Territory = Bay Area District; Western Trade Management Territory Type = Service Territory
Supplier Contact Region Collections Template
To be hired
Partner Management
Other
Teams
JTF_RS_TEAMS_B
Transaction Types
Resource Access Level JTF_QUAL_TYPES_ALL
JTF_TERR_RSC_ACCESS_ALL Business Objects within each EBS
Defines what kind of access a resource Operating Application (Usage) that use Territory Operating
has for a Transaction Type. Example: Manager for ownership Assignment. Unit
Unit
Resource = Smith, John Example – for the Service Application the
Access Level = Default; Escalation Transaction Types are:
Owner Service Request Qualifiers / Transaction Type
Territory Type / Qualifiers
Territory / Qualifier Service Request Tasks JTF_QUAL_USGS_ALL
JTF_TERR_TYPE_QUAL_ALL
JTF_TERR_QUAL_ALL Tasks Defines Qualifiers for a given Transaction
Defines Qualifiers for a given
Defines Qualifiers for a given Type (within an EBS Application). A
Territory Type. Example:
Territory. Example: Qualifier can belong to only one
FND Lookups Territory Type = Service
Territory = Bay Area District Transaction Type. Example:
FND_LOOKUP_TYPES_VL Territory Template
Qualifier = Service Request Transaction Type = Service Request
Stores Oracle Application Object Library Quick Codes Qualifier = Service Request
Type; Postal Code Qualifier = Service Request Type;
types. The Resource Access Levels are stored in Lookup Type; Postal Code
Postal Code
type ’JTY_SERVICE_RSC_ACCESS’. The Access Level
Lookup Codes are:
Default
None
Primary Contact
Escalation Owner
Escalation Resource Qualifiers
Qualifier Values
JTF_SEEDED_QUAL_ALL_B
JTF_TERR_VALUES_ALL
Defines attributes of a Transaction Type. They could be Geographic or
Stores the values assigned to each qualifier.
Non Geographic. Example:
Values could be stored in the following Legend: Color Codes Used
expressions: Is Equal To, Between, and
Contains. Example:
Geographic Non Geographic Territory Definitions
Service Request Type = Dell Laptops City Service Request Type Territory Type Definitions
Postal Code Between 94000 and 95000 Postal Code Service Request Status Seed Data
State Service Request Creation
External Reference
Province Channel
County Service Request Severity
Country For a full list see Appendix – A.
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
oracle.com