!!!VIEW LEAVE BALANCES 
 
The View Leave Balances (VALB) screen allows you to view all of the leave policies that an employee has ‘as of’ a specific date. 

The definition data for the View Leave Balances screen is stored in the [P2K_HR_EMPLOYMENTS] and [P2K_AT_LEAVE_ACCRUALS] tables.

;[Hired Date|HIRE_DATE]:The date the employee was hired is displayed in this field.
;[Seniority Date|SENIORITY_DATE]:The employee's seniority date is displayed in this field.
;[Seq #|SEQUENCE]:The sequential order of the leave balances are defined in this field.
;[Leave|LEAVE_TYPE_CODE]: User-defined code to indicate the type of leave for the the leave balance. 
;[Description|DESCRIPTION]:A short description of the leave balance is displayed here.
;[Evaluated|EVALUATED_DATE]:This date field indicates the last time the leave time was evaluated.
;[Basis|DRV_TIME_BASIS]: The time basis of the leave (hourly, daily) is defined in this field.
;[Prior Balance|DRV_PRIOR_YEAR_BAL]: This field displays how much leave is remaining from last year. 
;[Earned(Capped)|DRV_CURRENT_ENTITLEMENT_CAPPED]:This field displays how much leave was earned for the current year. 
;[Taken|DRV_CURRENT_TAKEN]:This field displays how much leave was taken for the current year.
;[Earned(Unoff)|DRV_UNACCRUED_GIVEN]:This field displays how much leave has been earned after the bank was last updated.
;[Taken(Unoff)|DRV_UNACCRUED_TAKEN]:This field displays how much leave has been taken after the bank was last updated and prior to the current date.
;[Current Balance|DRV_BALANCE_TO_DATE]: This field displays the amount of time you may take from.
;[Total Time|TOTAL_TIME]:This field displays the total amount of the leave time.
;[Planned Leave|DRV_TOTAL_PLANNED]:This field displays how much leave has been scheduled to be taken beyond the current date.

VALB gets its numbers from information on the Maintain Leave Accruals [IALA] and Maintain Leave Records [IAAL] screens as follows:

|(A)|Prior Balance|A900 + A050 (on [IALA] – official) 
|(B)|Earned (Capped)|A330 (on [IALA] – official) 
|(C)|Taken|A300 (on [IALA] – official) 
|(D)|Earned (Unoff)|sum of A290 (on [IAAL] – up to the current date – for non updated lines)
|(E)|Taken (Unoff)|sum of A300 (on [IAAL] – up to the current date – for non updated lines)
|(F)|Current Balance|(A) + (B) + (D) – (C) – (E) 
|(G)|Total Time|(F) – A760 (on [IALA] – official) 
|(H)|Planned Leaves|sum of A300 on [IAAL] – after the current date

----
![Notes|Edit:Internal.VALB] 	
[{InsertPage page='Internal.VALB' default='Click to create a new notes page'}]