UpdateQueueAssigneeMessage

Update Queue Assignee Message

Minor Business Rule

Object Name: B1702890

Parent DLL: CCRIN

Location: Client/Server

Language: C

Functional Description
This business function will update Work Center Messages when routing information or effective dates change.


Purpose

The purpose of this function is to simplify code in the N1700140 and P17504 by reusing code.


Setup Notes and Prerequisites

Although the BSFN checks for a valid Email number (SERK), it is recommended that the calling module verify valid Email number.  This function 

should only be called with Work Center Interface (F17001) turned on, and a valid (non-zero) Email Number (SERK).


Special Logic




Technical Specification

Determine if Previously Assigned


Determine if Currently Assigned


Determine if routing information has changed


If routing information has not changed, determine if effective date has changed


IF routing information for message has changed


LOAD Mailbox


UPDATE Entire Message

END


IF only effective date has changed


UPDATE effective date only

END




Data Structure

D1702890 - Update Queue Assignee Message

SERKEmail NumberIYEmail Number to update
CALLQOriginal QueueIYUsed to detect change, May be used as 

parameter to update

CALLQCurrent QueueIYUsed to detect change, May be used as 

parameter to update

AN8Original AssigneeIYUsed to detect change, May be used as 

parameter to update

AN8Current AssigneeIYUsed to detect change, May be used as 

parameter to update

DEFOriginal Effective DateIYUsed to detect change, May be used as 

parameter to update

DEFCurrent Effective DateIYUsed to detect change, May be used as 

parameter to update

MBDSQueue MailboxIYMailbox to update queue, or if assignee mailbox 

is blank

MBDSAssignee MailboxIYMailbox to update assignee

TCNTMessage TypeIYMaintenance Request = 1, Task = 2

MODEMode ProcessingReserved for future use

ERRCError CodeReserved for future use

DTAIData ItemReserved for future use

Parameter NameData ItemData TypeReq/OptI/O/Both
mnMessageNumberSERKMATH_NUMERICOPTNONE

SERK:
Value stored in either the F1755 or F1757

mnOriginalQueueCALLQMATH_NUMERICOPTNONE

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.

mnCurrentQueueCALLQMATH_NUMERICOPTNONE

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.

mnOriginalAssigneeAN8MATH_NUMERICOPTNONE

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

mnCurrentAssigneeAN8MATH_NUMERICOPTNONE

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

jdOriginalEffectiveDateDEFJDEDATEOPTNONE

The date on which this transaction takes effect. The effective date is used generically. It can be the date of the next raise, a lease effective 
date, a price or cost effective date, a currency effective date, a tax rate effective date, a change in well status, or any other date that is 
appropriate.

jdCurrentEffectiveDateDEFJDEDATEOPTNONE

The date on which this transaction takes effect. The effective date is used generically. It can be the date of the next raise, a lease effective 
date, a price or cost effective date, a currency effective date, a tax rate effective date, a change in well status, or any other date that is 
appropriate.

szAssigneeMailboxMBDScharOPTNONE

A field that determines the mailbox associated with the queue that should be used on delivery of the message.

szQueueMailboxMBDScharOPTNONE

A field that determines the mailbox associated with the queue that should be used on delivery of the message.

cModeMODEcharOPTNONE

Reserved for future use

cErrorCodeERRCcharOPTNONE

Reserved for future use

szDataItemDTAIcharOPTNONE

Reserved for future use

cMessageType1TCNTcharOPTNONE

Message Type
Valid Values:

1= Maintenance Request Message

2= Task Message

Related Functions

None

Related Tables

None