Combined Data Driven Email and Data Driven Printing

To utilize both data driven email and data driven printing in a single report definition submission, you must create a customized delivery tag for either the email or printer delivery values. The customized delivery tag could be a report variable (RV) that you populate with delivery tag values using event rule logic in the Report Design Aid.

For example, if you want to send specific outputs as email to certain Address Book numbers, and specific outputs to different printers based on the data, you would populate the RV variable in the source UBE with the delivery values. In this way, the delivery tag has the necessary information to deliver the output appropriately.

Consider the following scenario: A company groups its customers by business unit and sends them statements on a monthly basis. Customers can receive an electronic statement by email or a printed statement sent by regular mail. The customer record has a field that denotes the email preference. If the email preference is not selected in the customer record or if an email address has not been specified, a printed statement is considered the preferred delivery method.

After creating a report variable for the delivery tag, the logic for this hypothetical scenario would be similar to the following:

 If EmailAddressValue is <blank>
   RV DeliveryTag = BC Business Unit (F4201)(MCU)
 Else
   RV DeliveryTag = [BC Address Number (F4201)(AN8)]
 End If

For printer delivery, the report variable would be mapped to a data delivery mapping name in the Report Definition Printer Mappings application (P95621); business unit values from the report variable would then be assigned to individual printer devices. As a result, the statements for customers who want a printed copy would be sent to the printer assigned to their business unit.

No mapping is required for email delivery, because the Address Book application (P01012) contains logic to deliver the output to the email address associated with each address number.

For information about using report variables and event rules in the Report Design Aid, see "Working with Event Rules" in the JD Edwards EnterpriseOne Tools Report Design Aid Guide