ConvertWebMailMergeTemplate

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757K - Convert Web Mail Merge Template

Parameter NameData ItemData TypeReq/OptI/O/Both
szNameObjectOBNMcharOPTINPUT

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

nReturnCodeINT01integerOPTOUTPUT

Number of Days in Future to Query for Responses Due. 

MailMergeDataStringMMDScharOPTINPUT

This field is used in F980014W and contains a pipe delimited string representation of the data structure.  When running on the Web Tam 
specs are not available so the data structure can not be reat at run time.  This field is also used in F980014D and contains a comma delimited 
string of the merge data to be used as replacement values.

nFieldsInStringINT01integerOPTINPUT

Number of Days in Future to Query for Responses Due. 

szMailMergeHTMLQueueMMQUEcharOPTINPUT

The name of the queue in which the HTML mail merge letters will be saved.

szStartDelimiterSTOKENcharOPTINPUT

A character that the system uses to mark the start of the merge field.

szEndDelimiterETOKENcharOPTINPUT

A character that the system uses to mark the end of the merge field.

Related Functions

None

Related Tables

None
CopyWebMailMergeLetter

CopyWebMailMergeLetter

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757H - Copy Web Mail Merge Letter

Parameter NameData ItemData TypeReq/OptI/O/Both
szNewWebMailMergeIDWMIDcharREQINPUT

A unique text description of a web mail merge letter. When a letter is first generated, this field is blank. You must enter a unique description 
of the letter in this field when you save the letter. 

mnSourceUniqueIDMMUIDMATH_NUMERICREQINPUT

A unique value that links a record in the Web Mail Merge Letters table (F05WEBMM) to one or many records in the Mail Merge Runtime 
Web Data table (F980014D). The system generates this value by adding 1 to the MMUID record in the Web Mail Merge Letters table that 
represents the largest value. The resulting value is the primary, unique key for the Web Mail Merge Letters table.

mnDestinationUniqueIDMMUIDMATH_NUMERICOPTOUTPUT

A unique value that links a record in the Web Mail Merge Letters table (F05WEBMM) to one or many records in the Mail Merge Runtime 
Web Data table (F980014D). The system generates this value by adding 1 to the MMUID record in the Web Mail Merge Letters table that 
represents the largest value. The resulting value is the primary, unique key for the Web Mail Merge Letters table.

nReturnCodeINT01integerOPTOUTPUT

Number of Days in Future to Query for Responses Due. 

Related Functions

None

Related Tables

None
DeleteAllMailMergeLetters

DeleteAllMailMergeLetters

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757I - Delete All Mail Merge Letters

Parameter NameData ItemData TypeReq/OptI/O/Both
mnWebMailMergeUniqueIDMMUIDMATH_NUMERICREQINPUT

A unique value that links a record in the Web Mail Merge Letters table (F05WEBMM) to one or many records in the Mail Merge Runtime 
Web Data table (F980014D). The system generates this value by adding 1 to the MMUID record in the Web Mail Merge Letters table that 
represents the largest value. The resulting value is the primary, unique key for the Web Mail Merge Letters table.

Related Functions

None

Related Tables

None
GetNextWebMailMergeID

GetNextWebMailMergeID

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757F - Insert Web Mail Merge Header Record

Parameter NameData ItemData TypeReq/OptI/O/Both
mnWebMailMergeUniqueIDMMUIDMATH_NUMERICOPTNONE

A unique value that links a record in the Web Mail Merge Letters table (F05WEBMM) to one or many records in the Mail Merge Runtime 
Web Data table (F980014D). The system generates this value by adding 1 to the MMUID record in the Web Mail Merge Letters table that 
represents the largest value. The resulting value is the primary, unique key for the Web Mail Merge Letters table.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

szNameObjectOBNMcharOPTNONE

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

szWebMailMergeIDWMIDcharOPTNONE

A unique text description of a web mail merge letter. When a letter is first generated, this field is blank. You must enter a unique description 
of the letter in this field when you save the letter. 

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

szDataStructureHeaderStringMMDSHScharOPTNONE

A text string that exists in the Mail Merge Web Objects (F980014W) and Web Mail Merge Letters (F05WEBMM) tables, and that represents a 
delimited string representation of the mail-merge data structure.

cDataStructureStringDelimiMMDLcharOPTNONE

A character that is used to separate each field in a delimited string. The default character in the mail merge process is '|'.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeLastUpdatedUPMTMATH_NUMERICOPTNONE

The time that specifies when the program executed the last update to this record.

nWebMailMergeLetterCountMMLCintegerOPTNONE

A value that specifies the number of letters that the system uses in the web mail-merge process. The Web Mail Merge Letters table 
(F05WEBMM) includes this value and contains the number of linked detail records in the Mail Merge Runtime Web Data table (F980014D).

nWebMailMergeDataItemCountMMDCintegerOPTNONE

A value that specifies the number of data items in the linked data structure. This value is used in the Mail Merge Web Objects 
table(F980014W) and the Mail Merge Runtime Web Data table (F980014D).

Related Functions

None

Related Tables

None
GetWebMailMergeLetter

GetWebMailMergeLetter

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757D - GetWebMailMergeLetter

Parameter NameData ItemData TypeReq/OptI/O/Both
szUserIdUSERcharREQINPUT

The code that identifies a user profile.

szNameObjectOBNMcharREQINPUT

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

szWebMailMergeIDWMIDcharREQINPUT

A unique text description of a web mail merge letter. When a letter is first generated, this field is blank. You must enter a unique description 
of the letter in this field when you save the letter. 

jdDateUpdatedUPMJJDEDATEOPTOUTPUT

The date that specifies the last update to the file record.

mnTimeLastUpdatedUPMTMATH_NUMERICOPTOUTPUT

The time that specifies when the program executed the last update to this record.

szProgramIdPIDcharOPTOUTPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szWorkStationIdJOBNcharOPTOUTPUT

The code that identifies the work station ID that executed a particular job.

nReturnCodeINT01integerOPTOUTPUT

Number of Days in Future to Query for Responses Due. 

Related Functions

None

Related Tables

None
GetWebMailMergeQueuePath

GetWebMailMergeQueuePath

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757A - Get Queue Path

Parameter NameData ItemData TypeReq/OptI/O/Both
szQueueNameQUNAMcharREQINPUT

The value entered is used to define a Media Object queue name where images may be found. The queue name is a symbolic reference 
only. The Media Object queue name is one half of a properly defined Media Object queue. The other half is the Media Object path. NOTE: 
OLEQUE is a reserved queue name. It must be defined as it is used as the default queue name in the OLE object attachment mode of Media 
Objects. It is mandatory that this queue name be defined in order to use OLE object attachments.

szMOQueuePathQUPATHcharOPTOUTPUT

A path that points to the location of OLE objects, images, or URLs. The queue path is the second half of a properly-defined queue for a 
media object. The first half is the name of the media object. A valid queue path for a network location might be  . To set the queue for a CD ROM, 
use "cd:" in the pathname; the system automatically substitutes the appropriate drive letter when it resolves the path. The queue path and 
queue name are stored in the Media Object Queues table (F98MOQUE). Object Configuration Manager controls the location of this table. The 
system reads the F98MOQUE table to determine name of the queue and the location of the associated OLE objects, images, or URLs. 

nInteger01INT01integerOPTOUTPUT

Number of Days in Future to Query for Responses Due. 

Related Functions

None

Related Tables

None
GetWebmailMergeRecord

GetWebmailMergeRecord

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757 - Get Web Mail Merge Template Record

Parameter NameData ItemData TypeReq/OptI/O/Both
szNameObjectOBNMcharREQINPUT

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

szDescriptionDESCcharOPTOUTPUT

A description, remark, name, or address.

szQueueNameQUNAMcharOPTOUTPUT

The value entered is used to define a Media Object queue name where images may be found. The queue name is a symbolic reference 
only. The Media Object queue name is one half of a properly defined Media Object queue. The other half is the Media Object path. NOTE: 
OLEQUE is a reserved queue name. It must be defined as it is used as the default queue name in the OLE object attachment mode of Media 
Objects. It is mandatory that this queue name be defined in order to use OLE object attachments.

jdDateModifiedDMJDEDATEOPTOUTPUT

The date that the object, such as a DREAM Writer version, Software Versions Repository Record, and so on, was last modified.

szDataStructureObjectNameDSONcharOPTOUTPUT

The object name of the data structure used for identifying the error message substitution variables.

szUserIdUSERcharOPTOUTPUT

The code that identifies a user profile.

szMOQueuePathQUPATHcharOPTOUTPUT

A path that points to the location of OLE objects, images, or URLs. The queue path is the second half of a properly-defined queue for a 
media object. The first half is the name of the media object. A valid queue path for a network location might be  . To set the queue for a CD ROM, 
use "cd:" in the pathname; the system automatically substitutes the appropriate drive letter when it resolves the path. The queue path and 
queue name are stored in the Media Object Queues table (F98MOQUE). Object Configuration Manager controls the location of this table. The 
system reads the F98MOQUE table to determine name of the queue and the location of the associated OLE objects, images, or URLs. 

szFileName9MOFILEcharOPTOUTPUT

The name of the file, excluding suffix or path, containing a media object.

szMailMergeHTMLQueueMMQUEcharOPTOUTPUT

The name of the queue in which the HTML mail merge letters will be saved.

MailMergeDataStringMMDScharOPTOUTPUT

This field is used in F980014W and contains a pipe delimited string representation of the data structure.  When running on the Web Tam 
specs are not available so the data structure can not be reat at run time.  This field is also used in F980014D and contains a comma delimited 
string of the merge data to be used as replacement values.

nNumberOfDataItemsMMDRNintegerOPTOUTPUT

This field is use in F980014D to make the record unique within the primary key. This is a calculated field that, when a record is inserted, will 
contain the next higher number.

nAddressBookFieldNumberABFNintegerOPTOUTPUT

This field specifies the position in the data structure where the Address Book Number (AN8) data item exists. The system uses the address 
number when sending an e-mail message, and when attaching a letter to the Employee Master program (P0801) as a media object 
attachment.  For example, if Address Book Number occupies the third field in the mail merge data structure, then this field should display a 3.  If this 
field contains a 0, then the Sort Key (MMSK) in the F980014D record will be used to e-mail and attach letters. 

szOutputQueuePathQUPATHcharOPTOUTPUT

A path that points to the location of OLE objects, images, or URLs. The queue path is the second half of a properly-defined queue for a 
media object. The first half is the name of the media object. A valid queue path for a network location might be  . To set the queue for a CD ROM, 
use "cd:" in the pathname; the system automatically substitutes the appropriate drive letter when it resolves the path. The queue path and 
queue name are stored in the Media Object Queues table (F98MOQUE). Object Configuration Manager controls the location of this table. The 
system reads the F98MOQUE table to determine name of the queue and the location of the associated OLE objects, images, or URLs. 

szStartTokenSTOKENcharOPTOUTPUT

A character that the system uses to mark the start of the merge field.

szEndTokenETOKENcharOPTOUTPUT

A character that the system uses to mark the end of the merge field.

cMSTokenMSTOKENcharOPTOUTPUT

A value that specifies whether the merge process uses the default Microsoft mail merge tokens (characters).

szFileTypeFTYPEcharOPTOUTPUT

Text characters that specify the file extension which the system uses when naming the mail merge template and mail merge letters. Valid 
values are: Blank The system uses .htm as the default file extension. .htm Normal HTML and filtered HTML files. .mht A file extension option for 
Mail HTML files. .mhtml A file extenstion option for Mail HTML files. .txt Text files.

Related Functions

None

Related Tables

None
UpdateOrInsertWebMailMergeLetter

UpdateOrInsertWebMailMergeLetter

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757E - UpdateOrInsertWebMailMergeLetter

Parameter NameData ItemData TypeReq/OptI/O/Both
szUserIdUSERcharREQINPUT

The code that identifies a user profile.

szNameObjectOBNMcharREQINPUT

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

szWebMailMergeIDWMIDcharREQINPUT

A unique text description of a web mail merge letter. When a letter is first generated, this field is blank. You must enter a unique description 
of the letter in this field when you save the letter. 

szProgramIdPIDcharREQINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szWorkStationIdJOBNcharREQINPUT

The code that identifies the work station ID that executed a particular job.

nReturnCodeINT01integerOPTOUTPUT

Number of Days in Future to Query for Responses Due. 

Related Functions

None

Related Tables

None
UpdateWebMailMergeLetterCount

UpdateWebMailMergeLetterCount

Web Mail Merge Record Functions

Minor Business Rule

Object Name: N0500757

Parent DLL: CHRM

Location: Client/Server

Language: NER

Data Structure

D0500757G - Update Letter Count

Parameter NameData ItemData TypeReq/OptI/O/Both
mnWebMailMergeUniqueIDMMUIDMATH_NUMERICREQINPUT

A unique value that links a record in the Web Mail Merge Letters table (F05WEBMM) to one or many records in the Mail Merge Runtime 
Web Data table (F980014D). The system generates this value by adding 1 to the MMUID record in the Web Mail Merge Letters table that 
represents the largest value. The resulting value is the primary, unique key for the Web Mail Merge Letters table.

nWebMailMergeLetterCountMMLCintegerREQINPUT

A value that specifies the number of letters that the system uses in the web mail-merge process. The Web Mail Merge Letters table 
(F05WEBMM) includes this value and contains the number of linked detail records in the Mail Merge Runtime Web Data table (F980014D).

Related Functions

None

Related Tables

None