'Error BLveEngPolicyAlloc::GetAllocationRecord : Fail to match an Allocation Value Range' during initialization of leave type, How do I fix this?
The above error message implies that system is not able to initialize a specific leave type e.g. ANNUAL LEAVE because it failed to match the Range at Allocation Table.
Steps: (Reverse Checking)
1. Go-to Leave > Modules > Leave Details.
2. Select employee and click on [POLICY] tab. Check what leave policy is being assigned to the employee.
3. Go-to Leave Policy. Select the Leave Policy ID and check the allocation column for the allocation type (e.g. Annual_14) that is assigned to the Annual Leave Type.
4. Go-to Allocation Table, select the Allocation ID (e.g. Annual_14) and check the range basis and the period defined. Make the necessary amendment.
Example:
Range Basis : by Service Year
Refer to below: the range is >= 3 to < 5, followed by >= 6 to < 99.
Employee work more than 5 years but less than 6 years. There is a missing range from >5 and <6 years.

The allocation should be
- 0 to 3 years,
- 3 to 5 years,
- 5 to 99 years
5. Go-to Process Leave > Initialise. Select Leave Policy ID and initiliase Annual Leave for that employee.