PayAdvices Object

Manages the Pay Advices report parameters and data source creation.
Property Description
ChangedOnly True if the Data recordset is only to contain pay advices that are different from the normal pay in the last pay period
Data ADO recordset containing report data
EndDate The last pay date to include in the report
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
PayGroupId The record identifier of the pay group to process
Payroll Object reference to the global payroll object
PayslipTypes Comma delimited list of pay types to be included in the report.
PayTypes Reference to a TextList object containing a list of valid payslip types.
PayMethod If set to a pay method, only those pay advices with a corresponding pay method are included in the Data recordset
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
PayItemsReportName Full path of the custom report definition to be used to create the pay items sub report. The system default layout will be used if ReportName is an empty string
BankItemsReportName Full path of the custom report definition to be used to create the bank items sub report. The system default layout will be used if ReportName is an empty string
LeaveReportName Full path of the custom report definition to be used to create the leave balances sub report. The system default layout will be used if ReportName is an empty string
Sequence Currently not used. Report data is always in Note date descending, Last Name, First Name sequence
StartDate The first diary date 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.
Save Saves the values of report parameters