Leave Module Setup in under System Manager ⇒ HRPro Setup, Leave Module Setup.
位於[系統管理員](System Manager) → [HRPro 設定](HRPro Setup) → [假期模組設定](Leave Module Setup)
The compensation Leave tab is used to configure compensation leave entitlement generation, deduction logic, and expiry rules.
補假分頁是用於設定補假配額的產生、扣減方式及到期計算規則。
Compensation Leave Balance Unit:
Days: When this option is set to Days, all Compensation Leave processing is handled in days instead of hours. This means your organization’s compensation leave, whether it is vacation, personal time off, or any other leave type, is recorded and calculated by the number of days earned, taken, and remaining.
There is no automatic conversion from days to hours. For example, if an employee has 2 days of compensation leave balance, that is treated as 2 days, not 16 hours. As a result, balance tracking and leave deduction are always based on days to ensure accuracy.
Hours: When this option is set to Hours, compensation leave is processed in hours rather than days.
Employee Compensation Leave Status Report started from the current year: When turned on, only compensation leave and adjustments for the current year will be shown on the Employee Compensation Leave Status Report. Otherwise, all compensation leave and adjustments (starting from the employment start date) will be displayed on the report.
Employee Compensation Leave Status Report prints zero balance: When turned on, the Employee Compensation Leave Status Report will be printed out even if an employee's Compensation Leave Balance is zero.
Compensation Leave Expiry considers Leave Entries: This option controls how the system determines which entitlement a leave deduction should come from.
When enabled, the system uses the actual leave date to match against the entitlement period. Leave is deducted only from entitlements that are valid at the time the leave is taken. This results in more accurate expiry tracking, ensuring that older entitlements are not incorrectly consumed and left unused to expire.
When disabled, the system ignores the leave date and applies a FIFO (first-in, first-out) approach. Leave is always deducted from the earliest entitlement first, regardless of whether that entitlement was valid on the leave date. This simplifies processing but may lead to less accurate expiry outcomes.
Example
Suppose an employee has:
1 day entitlement from 1-Jun, expiring 30-Jun
1 day entitlement from 15-Jun, expiring 15-Jul
Total balance: 2 days
1 day leave taken on 10-Jul
Enabled (date-based allocation):
The leave taken on 10-Jul falls within the validity of the second entitlement (15-Jun to 15-Jul). Therefore, the system deducts from the second entitlement. The first entitlement (expiring 30-Jun) remains unused and may expire.
Disabled (FIFO allocation):
The system deducts from the first entitlement (1-Jun to 30-Jun) simply because it is the earliest, ignoring the leave date. This leaves the second entitlement untouched, even though it was the correct match based on the leave date.
補償假餘額單位:
日:當此選項設定為「日」時,所有補償假處理都會以日為單位,而不是以小時為單位。這表示貴機構的補償假,無論是年假、事假,或其他任何假別,皆會以已累計、已使用及剩餘的天數來記錄及計算。
系統不會自動將日數轉換為小時數。例如,若某位員工的補償假餘額為 2 天,系統會視為 2 天,而不是 16 小時。因此,餘額追蹤及扣假都會一律以日為單位,以確保準確性。
小時:當此選項設定為「小時」時,補償假會以小時為單位處理,而不是以日為單位。
員工補假狀況表,從當年開始:啟用後,[員工補假狀況報表]中只會顯示本年度的補假及調整記錄。否則,報表將顯示自入職日起所有補假及調整記錄。
員工補假狀況表列印零結餘 :啟用後,即使員工的補假餘額為 0,[員工補假狀況報表]仍會被列印。
補假到期計算是否考慮請假記錄:此選項用於控制系統如何判斷請假應從哪一個假期配額中扣減。
啟用時,系統會根據實際請假日期,匹配對應有效期間的假期配額。只有在請假當日仍然有效的配額才會被扣減。這樣可更準確地計算到期情況,避免較早的配額未被正確使用而過期。
停用時,系統會忽略請假日期,並採用先進先出(FIFO)方式處理。無論該配額在請假當日是否有效,系統都會優先從最早的配額開始扣減。此方式較簡單,但可能導致到期計算不夠準確。
例子
假設員工有:
1 天配額:由 6 月 1 日起,6 月 30 日到期
1 天配額:由 6 月 15 日起,7 月 15 日到期
總餘額:2 天
於 7 月 10 日請假 1 天
啟用(按日期分配):
7 月 10 日的請假落在第二個配額(6 月 15 日至 7 月 15 日)的有效期內,因此系統會從第二個配額扣減。第一個配額(6 月 30 日到期)未被使用,可能會過期。
停用(FIFO 分配):
系統會因為先進先出原則,從第一個配額(6 月 1 日至 6 月 30 日)扣減,完全忽略請假日期。結果是第二個配額未被使用,即使它才是符合請假日期的正確配額。