PayeeRate Object

Manages the maintenance of a Payee Rate within a Payee object.
Property Description
AnnualSalary Currency - annual salary amount
EffectiveDate Variant date - date from which the pay rate will be effective
GotRate Boolean - true if any of the rates are non zero, false if all rates are zero
HourlyRate1 Currency - hourly pay rate (default rate used by ordinary pay pay item).
HourlyRate2 Currency - alternate hourly pay rate
HourlyRate2 Currency - alternate hourly pay rate
Id Long - database identifier for this item (read only)
Index Long - subscript of this item within a PayeeRates collection
IsDeleted True/False - item has been flagged for deletion
IsDirty True/False - item has been modified but not saved yet
IsEditing True/false - item is in the process of being edited
IsNew True/false - item is new and has not been saved
IsValid True/false - indicates if the item has any errors
PayeeId Long - database record identifier for this object's payee

In order to apply any changes to an object, the BeginEdit method must be called setting any property values. To save the changes, call the ApplyEdit method, and to undo the changes call the CancelEdit method.

Method Description
ApplyChildEdit Completes an edit session for the object.
ApplyEdit(Server, Connection) Saves the item in the database. 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.
BeginChildEdit Prepares the item for updating.
CancelChildEdit Reverses the changes in the current edit session and restores the state of the item to that preceding the last BeginEdit.
Delete Flags the item for deletion. The item will be deleted from the database when the next ApplyEdit is called. A Delete must be preceded by a BeginEdit.
Load(Server, Connection, Country, PayeeId) Loads into this object the data from the database for the specified database payee record id.