Superannuation Object

Manages the Superannuation report parameters and data source creation.
Property Description
CreateFile True if a bank file is to be created when the report data is created.
Data ADO recordset containing report data
EndDate The last pay date to include in the report
FileName The full path name of a file to contain the superannuation transactions in a format required y the Superannuation fund administrators.
FileType The format of the bank file
FileTypes Textlist object - containing a list of valid file types
PayeeIds Comma delimited string containing record identifiers of payees to include in the report. All payees will be included if PayeeIds is an empty string
Payroll Object reference to the global payroll object
ReportName Full path of the custom report definition to be used to create the report. The system default layout will be used if ReportName is an empty string
Sequence Currently not used. Report data is always in Super member number sequence
StartDate The first pay date to include in the report
SuperFund The name of a specific super fund for which transactions are to be extracted.
SuperFunds Textlist object - containing a list of valid super funds

The object methods provide the means to save and recall the report parameters, and to create the data source required to print the report.

Method Description
Initialise Retrieves the last recorded values of report parameters
Create (Server , Connection) Creates the report data source. Server is a string containing the name of the network server to provide the data, and Connection is the ADO connection string to establish a connection with the database on that server. If the CreateFile proeprty is true, an ASCII file of transactions will also be created.
Save Saves the values of report parameters