1.Functional Description
1.1Purpose
Create a bar delimited string from the data structure associated with the specified letter. Write the string to a file on the user's hard drive in the
TEMP directory. The mail merge template requires the data file name when it is first created and must have the correct number of fields. This function will be call
when you add a new Mail Merge Letter.
1.2Setup Notes and Prerequisites
A record must exist in the Mail Merge Objects - F980014 table for the specified letter.
1.3Special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
OBNMNameObjectIYLetter
name
EV01UseLongNamesI
2.2Related Tables
Table Table Description
2.3Related Business Functions
Source NameFunction Name
N9800015Get Mail Merge Information
Processing:
Open a file in write mode in the directory on the users hard drive specified by the TEMP environment variable.
The name of the file is the value passed in the NameObject parameter with a .dat extension.
Call GetMailMergeDSTemplName to get the name of the Data Structure associated with the specified letter.
Call AllocBuildHDRStrFromDstmplName to parse the specified data structure and create a bar delimited string containing the names of the members of
the media object.
Close the file
^
D9800175A - Create Mail Merge Header
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szNameObject | OBNM | char | REQ | INPUT |
The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks
| ||||
cUseLongNames | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. |
N9800015 Get MailMerge Information |
None |