PayslipItemsData Object

Manages the maintenance of a collection of PayslipItem objects, acting as a Datasource object.
Property Description
Count Long - the number of items in the collection
PayDate Date - pay date of the payslip items to be retrieved.
PayGroupId Long - database identifier of the pay group of the payslip items to be retrieved
PayItemId Long - database identifier of the pay item of the payslip items to be retrieved.
Payroll Payroll object - refererence to the global Payroll object.
PayType long - payslip type of the payslip items to be retrieved.
PayTypes Textlist object - containing a list of valid payslip types.
Sequence Long - payslip sequence number of the payslip items to be retrieved

The collection methods provide the means to add and delete objects from the collection, and load a complete collection from the database tables.

Method Description
ApplyEdit (Server, Connection) Saves all items in the collection to the database.
BeginEdit Starts an edit session to allow the object to be changed.
CancelEdit Cancels an edit session.
Fetch (Server, Connection) Loads all items in the database into this collection. The PaygroupId, PayItemId, PayDate, PayType and Sequence must be set first.