PaymentSummary Object

Manages the Payment Summary report parameters and data source creation.
Property Description
Contact
Phone
Fax
Address1
Suburb
State
PostCode
PostalAddress1
PostalSuburb
PostalPostCode
EMail
Allow you to override the contact information written to the EDT file. The contact information will default to that entered in Kwik-Pay.
CreateFile True if an EDT format file is to be created when the report data is created.
Data ADO recordset containing report data
FileName The full path name of a file to contain the EDT file data.
GatewayId
Supplier
Reference numbers provided by the ATO. Consult ATO documentation for further details.
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
Sequence Currently not used. Report data is always in Last Name, First Name sequence
TaxYear The tax year to include in the report

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 CreateFile is true, an ATO EDT file will also be created.
Save Saves the values of report parameters