The <RateSelector>
tag adds a control that contains the Base Rate and Annual Salary fields. When you enter a value in one of the fields, the other is automatically calculated. Only one of the fields is editable, and this is controlled by which pay type you select. For salaried pay types, the Annual Salary field is editable and the Base Rate field is read only. For hourly pay types, the Base Rate field is editable and the Annual Salary field is read only.
You can use the <AuthorizationKey>
tag to control who has access to the rate selector control. Access authorization is applied to both of the fields in the control, based on the user's role. Data in the rate selector fields is processed and saved even if the fields are hidden from a user. For example, Eileen submits a form with a change in the Annual Salary field. Robert is the first approver, but he doesn't have access to pay information. Even though the Base Rate and Annual Salary field is not visible to Robert, the change that Eileen entered will be approved when Robert approves the form. For more information about the <AuthorizationKey>
tag, see Control Database Access.