GetDefaultQueueNumber

Get Default Queue Number

Minor Business Rule

Object Name: N1700200

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.1Purpose
This function retrieves the routing sequence and matches the routing information in a Call or Service 

Order to the Routing Rules.  If it finds a match, it returns the appropriate queue.  It it does not 

find a match, no queue number is assigned.  


1.2Setup Notes and Prerequisites

At least one Routing Sequence must be defined in the Routing Sequence table (F1750).  At least one 

matching Routing Rule must be defined in the Routing Rules table.  The Routing Sequence table will be 

read sequentially so be sure that a Routing Sequence for Customer comes before a Routing Sequence for a 

Product. 


1.3Special Logic

• Read first record in Routing Sequence table (F1750). 
• Using the routing sequence as a mask, load input parameter values and try to fetch record from 
Routing Rules table (F1754).

• If match found, return queue number. 
• If match not found, fetch next record from Routing Sequence table and redo mask and fetch from 
Routing Rules.  Continue until match found or all records read from Routing Sequence table. 

• If no match found, do not set error, but return no queue number. 

Data Structure

D1700200 - Get Default Queue Number

Parameter NameData ItemData TypeReq/OptI/O/Both
mnCustomerAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnCallCenterLocationAN86MATH_NUMERICOPTNONE

An alternate address number. You can use this field for any secondary business address that relates to the primary address. For example:   
  Ship-to address Law firm Accountant Securities agent Bonding agent  If you leave this field blank on an entry screen, the system supplies 
the primary address from the Address Number field.

szProductFamilyPRODFcharOPTNONE

A code that classifies an inventory item into a group for customer service. Some examples include: Laser Printer, Inkjet, or Fax.

szProductModelPRODMcharOPTNONE

A code that classifies an inventory item into a model for customer service. Some examples include: Laser Printer, Inkjet or Fax.

szEnvironmentENVcharOPTNONE

The operating environment of the user. Some examples include Windows 95, Windows NT, UNIX or AS/400.

szLanguagePreferenceLNGPcharOPTNONE

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

szGeographicRegionREGIONcharOPTNONE

The geographic region of the customer.

cTypeWoTYPScharOPTNONE

A user defined code (00/TY) that indicates the classification of a work order or engineering change order. You can use work order type as a 
selection criterion for work order approvals.

mnCallQueueCALLQMATH_NUMERICREQBOTH

The address number of the case provider group. To resolve customer problems, the system or a person can assign case to provider 
groups. A provider group might be that of a specific service person, or it might be a group that is used to monitor and assign requests to the 
provider groups of service personnel.

cInformationType1ITYPEcharREQINPUT

A code that indicates specific record types when records of different types are stored within the same table. For internal use only.

mnAssigneeNumberAN8MATH_NUMERICREQOUTPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

Related Functions

None

Related Tables

None