ww.dll
 
The ww.dll has been enhanced to support Automated Revenue Recognition on expired and unused tickets/passes as follows:
 
Two new parameters have been added to the recognizerevenue function
• macrotouse - allows the caller to define the macro to use to recognize revenue. If this is not entered, it use the rules column in the dp_rules table (original behavior).
• info_type - allows the user to specify the info_type number when it inserts a new entry into the tr_info table. If this is not specified, then a 31 is used (original behavior).
 
Example:
<func>recognizerevenue</func>
<table>access</table>
<passno>2926007000</passno>
<macrotouse>MOVEREVENUE(*DEFERRED*, EXPIRERECOGNIZE, 100, 0, TICKETS,MOVEREVENU,EXPADJTIX, EXPRT1, MIKEG)</macrotouse>
<info_type>32</info_type>
<operator>EXPORT</operator>
<salespoint>EXPRT1</salespoint>
 
The recognizerevenue function now fails if any of the parameters are not valid, i.e., move from profit center, move to profit center, salespoint name, operator name, and DCI.