函式組:HRGB_SSP

SapCity發表於2009-07-24

說明:SSP 是 Statutory Sick Pay 的縮寫

HR_GBSSP_GET_WEEK_DATES 函式模組作用:
獲得某個日期所在周的相關資訊。

[@more@]

HRGB_SSP SSP specific processing for GBSXP
HR_GBSSP_ABSENCE_IS_A_PIW Check whether the absence forms a PIW
HR_GBSSP_CHECK_QUALIFYING Create NCALE
HR_GBSSP_CHECK_WAITING Create NCALE
HR_GBSSP_CREATE_D_MARK Create NCALE
HR_GBSSP_DAY_CHECKS Create NCALE
HR_GBSSP_GBQDP Derive whether the Maximum amount of OSP should b
HR_GBSSP_GET_DECIMAL_SWKPD Derive the number of Paid Weeks so far
HR_GBSSP_GET_LAST_SWKPD Derive the number of Paid Weeks so far
HR_GBSSP_GET_NEW_SWKPD Derive the number of Paid Weeks so far
HR_GBSSP_GET_PREV_EER_WKS_PAID Derive the number of Paid Weeks so far
HR_GBSSP_GET_WEEK_DATES Derive dates during the SSP week
HR_GBSSP_LOG_DAILY_RATE Log payment rate
HR_GBSSP_PAYMENT_AMOUNT Derive MMP Start Date
HR_GBSSP_PERIOD_CHECKS Create NCALE
HR_GBSSP_PERIOD_HISTORY_REFINE Refine Period History (Absence Specific)
HR_GBSSP_QDP_CHECK Aggregate SxP and OxP history
HR_GBSSP_SET_RRDAT_EARLIER Set RRDAT earlier (if necessary) in PA30 & TMW
HR_GBSSP_SHORT_DISQUAL Derive MMP Start Date
HR_GBSSP_T5G22_QDP Derive FAKE PERWS from QDP Week (T5G24)
HR_GBSSP_T5GQDP_QDP Derive FAKE PERWS from QDP Week (T5G24)
HR_GBSSP_TRANSLATE_SWKPD Derive the number of Paid Weeks so far

HR_GBSSP_GET_WEEK_DATES

函式模組作用:
獲得某個日期所在周的相關資訊。

輸入引數:
P_PDATE:一個日期,必須填寫。

輸出引數:
P_SUNDAY:該周的週日,在 SSP 日期系統中,週日為第一天。
P_SATURDAY:該周的週六,在 SSP 日期系統中,週六為最後一天。
P_DAY_IN_WEEK:輸入日期在當週的第幾天,週日第 1 天,週一第 2 天,依此類推,週六第 7 天。
P_WEEK_NO:該周是年度的第幾周。6 位數字,格式為 YYYYWW,前四位是年,後兩位是周。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22172240/viewspace-1024548/,如需轉載,請註明出處,否則將追究法律責任。