Message contents

When the message is delivered to the target application, it contains the information that is shown in Table 1.
Table 1. Message content for EndOfDayCheckEventHandler
Message part Value Description
Unit of Work Business Day ID as a long This value is used to locate the business day just completed in the database.
Payload A string value specifying the type of end of day check to be performed Table 2 shows the types of end of day processing that can be performed for a business day. Use one of these values to specify the type of end of day check.
Contents XML that describes the business day Provides more information, such as the business date, category, and site, about the business day. An example of the XML for the contents is:
<contents>
   <businessDay>
      <site>0</site>
      <category>NACHA</category>
      <date>20170317</date>
   </businessDay>
</contents>
Note: The contents of this message must match what the receiver is expecting.
The types of end of day processing that can be performed for a business day are shown in Table 2.
Table 2. EndOfDayCheckEventHandler message payload values
Value Description
QUERY The query end of day check asks the target application if it is ready for end of day processing. The target application should only check if there is anything that inhibits it from running end of day and return an appropriate error code and message. It should not actually begin processing the end of day.
Note: Since the actual end of day processing is not started, the target application should quickly respond to the query. Asynchronous processing is not supported.
EXEC Indicates that end of day is actually being executed. The target application performs any end of day work it requires and returns the appropriate error codes and messages. If an error is returned, end of day fails on the Transaction Server and must be rerun.
EXEC,FORCE Indicates that end of day is actually being executed and will be forced to complete. The Transaction Server disregards any return code values and forces the end of day to complete. In this event, the user should clean up as much as possible and respond to the message. The business day is placed in end of day state.