Setting the report parameters

The Crystal reporting task sets report parameter values based on event information that is received from the Transaction Server. The following table shows the parameters that are set with the current values for a report instance. Unit of work types and values usually come from a Transaction Server event, but can be entered by using the Services Framework user interface when the task is run manually.
Table 1. Report parameter settings
Parameter name How the value is determined Example
paramUOWtype Unit of work type from the event BUSINESS_DAY_ID
paramUOWvalue Unit of work value from the event 23
paramBusinessDay If the unit of work value from the event is BUSINESS_DAY_ID or ENTRY_ID, the business date is retrieved from the FTM database by using the unit of work value. If a unit of work is not received, the current business days are retrieved and a report instance is initiated for each day. For example, DateTime(2010, 3, 11, 0, 0, 0) is displayed as 03/11/2010 12:00 am.
paramCategory Determined similar to paramBusinessDay, the category value is retrieved from the FTM database. 1
paramInboundFilename If the unit of work value from the event is PRESENTMENT_GROUP_ID, the Gateway received transmission name is retrieved from the FTM database. SiteA_Incoming_file_15
paramOutboundFilename If the unit of work value from the event is OUTBOUND_PRESENTMENT_GROUP_ID, the outbound transmission name is retrieved from the FTM database. SiteA_presentment_43

If a value for any report parameter cannot be determined based on the unit of work type and value, the Crystal reporting task uses the report parameter default value. If a parameter is required, but cannot be determined and does not have a default value, the report is not initiated and an error message is generated. For the best results, events and tasks need to be configured to initiate reports where the parameter values that are needed can be determined from the event.