!!!Converting Attendance Banks (Leave Accruals) The application stores the information for employee leave balances in a set of tables accessible from the [IALA] screen. This screen reads from the [P2K_AT_LEAVE_ACCRUALS] and it dependent table [P2K_AT_LEAVE_ACCRUAL_DETAILS]. The process of converting these records is to load them into the interface table, INF_CV_ACCRUALS, first and run the conversion procedure to move them from this table into the two application tables. Since each [leave policy|LEAVE POLICIES] can have a different setup and a different set of [Attendance Component|ATTENDANCE COMPONENTS] codes that will be required, the records can be loaded in separately for each [policy type|LEAVE_TYPE_CODE]. This will allow the records to be loaded into the environment in smaller batches, over a period of time. As each set of records are loaded and converted they can be validated while the next set of records are being processed. Typically, each employee will have up to three records loaded and converted for each [leave policy type|LEAVE_TYPE_CODE] they are eligible to be a member of, for each leave bank year they needs to be maintained for historical purposes. The only set of records that will need to loaded and converted are for the current leave bank year. This is the only set of records that will have any impact on the payroll process, or will be picked up for leave time validation. The three records to be loaded for the leave accruals will be the total time accumulated for the leave bank, the total time taken within the current leave bank year and the total time rolled over from the previous leave bank year. These three records correspond to the [AC290|AC-A290], [AC300|AC-A290] and [AC900|AC-A900], respectfully. The following table is the layout of the ACCRUAL interface table: Each leave bank will have a minimum of one record in the INF_CV_ACCRUALS table with all the “NOT NULL” fields filled in, as well as the [AC_CODE] and [ACCRUAL_VALUE]. This record will have the [AC_CODE] set to [A290|AC-A290] and the [ACCRUAL_VALUE] set to the amount of time the employee has available in the bank. However, it is highly recommended that the [A300|AC-A300] record also be loaded and converted to accurately calculate the amount of time remaining in the leave bank. [A900|AC-900] will also need to be loaded and converted if the bank allows the rolling over of time from one year to the next. The [A290|AC-A290], [A300|AC-A300] and [A900|AC-A900] [AC_CODES] track time only. If you have any leave banks that track the dollars associate to this time, you will also need to loaded and convert the [A380|AC-A380], [A370|AC-A370] and [A950|AC-A950]. These are the current year amount earned, current year amount paid and the amount owing at year end. Since most leave banks are tracking time and not dollars, it is rare to convert these AC codes. After the records have been loaded and converted, they will need to be processed by the [UPCALC]/[UPCLOZ] processes, or from [UACALC]/[UACLOZ]. If the leave accrual records will be processed by [UACALC]/[UACLOZ], outside a pay cycle, the [leave policy|LEAVE POLICIES] should not make use of [user calcs|USERCALC]. If the [leave policy|LEAVE_POLICY_CODE] is defined with [user calcs|USERCALC] that makes use of any data that is derived during a pay cycle these would not be valid during [UACALC]. This would include any [pay component|PAY COMPONENTS] values, [elements|PAY ELEMENTS], pay period start or end dates. If the [user calc|USERCALC] does not make use of any of these types of values, it can still be called from the attendance processing routines in the [UACALC]. Until the leave accrual records are processed through either the [UACALC] or [UPCALC] functions, the employee’s record will only contain the three AC codes that have been loaded and converted. Once processed and closed, all the AC codes configured to store values in accruals from the leave policy definition screen will be filled in and stored in the employee’s records on the [IALA] screen.