The document describes how to set up a leave accrual plan in Oracle HRMS. It involves creating elements to track opening balances, adjustments, and encashment. An accrual plan is then defined to calculate leave balances based on accrual bands. A function returns accrued leave as of a given date based on contract type and tables storing accrual data. The accrual formula uses this function to calculate accrued days between hire/contract dates and the calculation date.