JP2020004301A - Holiday residual allocation management apparatus, holiday residual allocation management method and holiday residual allocation management program - Google Patents

Holiday residual allocation management apparatus, holiday residual allocation management method and holiday residual allocation management program Download PDF

Info

Publication number
JP2020004301A
JP2020004301A JP2018125600A JP2018125600A JP2020004301A JP 2020004301 A JP2020004301 A JP 2020004301A JP 2018125600 A JP2018125600 A JP 2018125600A JP 2018125600 A JP2018125600 A JP 2018125600A JP 2020004301 A JP2020004301 A JP 2020004301A
Authority
JP
Japan
Prior art keywords
vacation
data
assignment
remaining
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018125600A
Other languages
Japanese (ja)
Other versions
JP7097763B2 (en
Inventor
雅之 矢野
Masayuki Yano
雅之 矢野
剛光 上野
Takemitsu Ueno
剛光 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Obic Co Ltd
Original Assignee
Obic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Obic Co Ltd filed Critical Obic Co Ltd
Priority to JP2018125600A priority Critical patent/JP7097763B2/en
Publication of JP2020004301A publication Critical patent/JP2020004301A/en
Priority to JP2022102976A priority patent/JP7431894B2/en
Application granted granted Critical
Publication of JP7097763B2 publication Critical patent/JP7097763B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To provide a holiday residual allocation management apparatus that can preferentially acquire a holiday having an earlier annihilation period.SOLUTION: In a holiday residual allocation management apparatus comprising a control unit, the control unit comprises: holiday giving data creation means that creates holiday giving data including data of a giving ID, an employee code, a holiday giving date, a residual management section specifying a paid day off or a compensatory day off, a valid period start date of a holiday, a valid period end date of the holiday, and a giving number of days of the holiday for each event of holiday generation; holiday acquisition data creation means that create holiday acquisition data including data of an acquisition ID, an employee code, a holiday acquisition date, a holiday type specifying a half day or a full day of the holiday, a residual management section specifying a paid day off or a compensatory day off, and acquisition number of days, each time when the holiday request is received; and holiday residual allocation data creation means that includes an allocation ID, that associates the holiday acquisition data with the holiday giving data, and that creates holiday residual allocation data for preferentially acquiring the holiday having an earlier annihilation period.SELECTED DRAWING: Figure 2

Description

本発明は、休暇残割当管理装置、休暇残割当管理方法、及び休暇残割当管理プログラムに関する。   The present invention relates to a leave assignment management device, a leave assignment management method, and a leave assignment management program.

近年、「働き方改革」というキーワードで、労働時間の適正管理が重要性を増し、それに伴って勤怠管理システムに対する期待とニーズも高まっている。従業員の正確な勤務状況を管理部門・所属上長がきちんと把握し、過重労働を防止したり、定期的な休暇取得を促したり、といった改善を行う必要があり、従業員の休暇の残日数、取得状況を従来よりも厳密に管理することが求められている。従来、勤務管理システムとして、例えば、特許文献1〜3がある。   In recent years, under the keyword “work style reform”, the appropriate management of working hours has become increasingly important, and with that, expectations and needs for an attendance management system have also increased. It is necessary for administrative departments and senior managers to accurately grasp the working conditions of employees, and to make improvements such as preventing overwork and encouraging employees to take regular leave. It is required that the acquisition status be managed more strictly than before. Conventionally, there are Patent Documents 1 to 3 as work management systems, for example.

特開2005−71020号公報JP 2005-71020 A 特開2017−120499号公報JP-A-2017-120499 特開2011−65486号公報JP 2011-65486 A

しかしながら、上記特許文献1〜3では、消滅期限が早い休暇から優先的に取得する仕組みに関して何等記載されていない。   However, Patent Documents 1 to 3 do not describe anything about a mechanism for preferentially acquiring a vacation whose expiration date is earlier.

本発明は、上記に鑑みてなされたものであり、消滅期限が早い休暇から優先的に取得することが可能な休暇残割当管理装置、休暇残割当管理方法、及び休暇残割当管理プログラムを提供することを目的とする。   The present invention has been made in view of the above, and provides a remaining vacation assignment management device, a remaining vacation assignment management method, and a remaining vacation assignment management program that can preferentially acquire a vacation whose expiration date is earlier. The purpose is to:

上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた休暇残割当管理装置であって、前記制御部は、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成手段と、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データ作成手段と、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention is a leave remaining allocation management device including a control unit, wherein the control unit is provided with an assignment ID and an employee code for each vacation occurrence event. Vacation grant data creation means for creating vacation grant data including data on vacation grant dates, leave management schedules that specify paid or paid holidays, vacation effective period start dates, vacation effective period end dates, and vacation grant days Each time a vacation request is received, the vacation acquisition including data of acquisition ID, employee code, vacation acquisition date, vacation type specifying half-day or full-day vacation, remaining management classification specifying paid or paid holidays, and number of days taken Leave acquisition data creating means for creating data, and leave assignment data including an assignment ID, associating the leave grant data with the leave acquisition data, and preferentially acquiring leave with earlier expiration date. Characterized by comprising a vacation remaining allocated data generating means for generating.

また、本発明の好ましい態様によれば、前記休暇残割当データは、前記休暇付与データの付与日数に前記休暇取得データの取得日数を割り当てた割当日数を、当該付与日数から減算した割当後残日数を含むことにしてもよい。   Further, according to a preferred aspect of the present invention, the remaining vacation assignment data is obtained by subtracting the number of assignment days obtained by assigning the number of days of acquisition of the vacation acquisition data to the number of days of assignment of the vacation grant data, and the number of remaining days after assignment obtained by subtracting from the number of days assigned. May be included.

また、本発明の好ましい態様によれば、前記休暇残割当データは、未取得の休暇が有効期限終了日に消滅することを示す自然消滅データを含むことにしてもよい。   Further, according to a preferred aspect of the present invention, the remaining vacation assignment data may include natural disappearance data indicating that an unacquired vacation expires on the expiration date.

また、本発明の好ましい態様によれば、さらに、休暇申請段階で、前記休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知手段を備えることにしてもよい。   Further, according to a preferred aspect of the present invention, further, in the leave application stage, a message notifying means for notifying a shorter priority and higher priority leave from a plurality of remaining management classes by referring to the remaining leave allocation data is provided. It may be provided.

また、本発明の好ましい態様によれば、さらに、前記休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数を超過している休暇申請にアラートを通知するアラート通知手段を備えることにしてもよい。   Further, according to a preferred aspect of the present invention, further, by referring to the remaining vacation allocation data, an alert is notified to a vacation request that is close to the expiration date and / or a vacation request that exceeds the number of days that can be acquired. An alert notification unit may be provided.

また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置に実行させるための休暇残割当管理方法であって、前記制御部で実行させる、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、を含むことを特徴とする。   Further, in order to solve the above-described problems and achieve the object, the present invention relates to a leave remaining allocation management method for causing an information processing apparatus including a control unit to execute, For each event that occurs, the data of the grant ID, employee code, leave grant date, remaining management classification to specify paid or paid leave, vacation effective period start date, vacation effective period end date, and leave granted days A vacation grant data creation step for creating vacation grant data including a leave ID, an employee code, a leave acquisition date, a leave type designating half-day or full-day leave, and a leave designation specifying paid or closed holidays each time a leave application is received. A vacation acquisition data step for creating vacation acquisition data including data of the management classification and the number of days acquired, and an assignment ID, linking the vacation grant data and the vacation acquisition data, Vacation remaining allocated data creating step of creating a holiday remaining allocated data for obtaining preferentially from vacation have, characterized in that it comprises a.

また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置に実行させるための休暇残割当プログラムであって、前記制御部において、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、を実行させるための休暇残割当管理プログラムであることを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention relates to a leave remaining allocation program to be executed by an information processing apparatus including a control unit, wherein the control unit includes: For each time, leave grant including data of grant ID, employee code, leave grant date, remaining management classification to specify paid or closed leave, vacation effective period start date, vacation effective period end date, and leave granted days A leave grant data creation step for creating data, and a leave type each time a leave application is received, an acquisition ID, an employee code, a leave acquisition date, a leave type for specifying a half-day or full-day leave, a remaining management class for specifying paid or closed holidays, And a vacation acquisition data step for creating vacation acquisition data including data on the number of days acquired, and an assignment ID, linking the vacation grant data and the vacation acquisition data, Characterized in that it is a holiday residue allocation management program for executing a vacation remaining allocated data creating step of creating a holiday remaining allocated data for obtaining preferentially from vacation, the.

本発明によれば、消滅期限が早い休暇から優先的に取得することが可能となるという効果を奏する。   ADVANTAGE OF THE INVENTION According to this invention, there exists an effect that it becomes possible to acquire preferentially from a vacation whose expiration date is earlier.

図1は、休暇の種類と年次有給休暇/代休の付与パターンと取得のイメージを示す図である。FIG. 1 is a diagram showing a type of vacation, an annual paid vacation / time off grant pattern, and an image of acquisition. 図2は、本実施の形態に係る休暇残割当管理装置の構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a configuration of the remaining vacation allocation management device according to the present embodiment. 図3は、本実施の形態における休暇残割当管理装置の全体の処理の流れを説明するための図である。FIG. 3 is a diagram for explaining the overall processing flow of the remaining vacation assignment management device according to the present embodiment. 図4は、マスタ設定処理の具体例を説明するための図である。FIG. 4 is a diagram for explaining a specific example of the master setting process. 図5は、年次有給休暇の付与処理を説明するための図である。FIG. 5 is a diagram for explaining the process of giving the annual paid leave. 図6は、休日出勤に伴う代休の付与処理を説明するための図である。FIG. 6 is a diagram for explaining a process of giving a substitute holiday accompanying a work on a holiday. 図7は、休暇取得処理の具体例を説明するための図である。FIG. 7 is a diagram for explaining a specific example of the vacation acquisition processing. 図8は、休暇残割当データの一例を示す図である。FIG. 8 is a diagram illustrating an example of remaining vacation allocation data. 図9は、休暇付与データ及び休暇取得データと、休暇残割当データのイメージを示す図である。FIG. 9 is a diagram showing an image of leave grant data, leave acquisition data, and remaining leave allocation data. 図10は、基準日を説明するための図である。FIG. 10 is a diagram for explaining a reference date. 図11は、休暇残割当データの再割当の計算が必要となる期間を一旦削除する例を説明するための図である。FIG. 11 is a diagram for explaining an example in which a period in which calculation of reassignment of remaining vacation allocation data is required is temporarily deleted. 図12は、再割当の計算が必要となる期間に該当する割当候補付与データの一覧を作成する例を説明するための図である。FIG. 12 is a diagram for explaining an example of creating a list of assignment candidate assignment data corresponding to a period in which reassignment calculation is required. 図13は、休暇残割当データの割当後残日数を説明するための図である。FIG. 13 is a diagram for explaining the number of remaining days after the assignment of the remaining vacation assignment data. 図14は、休暇取得データから割当計算対象データを抽出する例を説明するための図である。FIG. 14 is a diagram for describing an example of extracting assignment calculation target data from vacation acquisition data. 図15は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の手順を示すフローチャートである。FIG. 15 is a flowchart illustrating a procedure of reassigning the remaining vacation assignment data using the assignment calculation target data and the assignment candidate assignment data. 図16は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の具体例を示す図である。FIG. 16 is a diagram illustrating a specific example of reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 図17は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の具体例を示す図である。FIG. 17 is a diagram illustrating a specific example of reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 図18は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の具体例を示す図である。FIG. 18 is a diagram illustrating a specific example of reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 図19は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の具体例を示す図である。FIG. 19 is a diagram illustrating a specific example of reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 図20は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の具体例を示す図である。FIG. 20 is a diagram illustrating a specific example of reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 図21は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の具体例を示す図である。FIG. 21 is a diagram illustrating a specific example of reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 図22は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当の具体例を示す図である。FIG. 22 is a diagram illustrating a specific example of reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 図23は、代休の残日数が足りない状態で代休を取得しようとした場合の例を説明するための図である。FIG. 23 is a diagram for explaining an example in a case where an attempt is made to acquire a holiday in a state where the number of remaining days of the holiday is insufficient. 図24は、休日出勤の追加により、代休の残日数が足りない状態が解消する場合の例を説明するための図である。FIG. 24 is a diagram for explaining an example of a case in which the state in which the number of remaining days of holidays is insufficient is eliminated by the addition of work on holidays. 図25は、休暇取得時のチェックを説明するための図である。FIG. 25 is a diagram for explaining the check at the time of vacation acquisition. 図26は、申請日時点で取得可能な別の休暇残のうち、有効期間終了日が早く終了する場合を説明するための図である。FIG. 26 is a diagram for explaining a case in which the effective period end date ends earlier than another vacation remaining that can be acquired as of the application date. 図27は、申請されている休暇種別と残管理区分が異なる休暇残割当データから、直近の有効期間終了日を取得する場合を説明するための図である。FIG. 27 is a diagram for explaining a case in which the latest validity period end date is obtained from the remaining vacation assignment data in which the applied vacation type and the remaining management category are different. 図28は、割当エラーデータがあるかのチェックを説明するための図である。FIG. 28 is a diagram for explaining a check whether there is allocation error data. 図29は、本人、上長などへのアラート表示を説明するための図である。FIG. 29 is a diagram for explaining alert display to the person, the superior, and the like.

本発明の実施形態を図面に基づいて詳細に説明する。なお、本発明は本実施の形態により限定されるものではない。   An embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited by the present embodiment.

[1.概要]
近年、「働き方改革」というキーワードで、労働時間の適正管理が重要性を増し、それに伴って勤怠管理システムに対する期待とニーズも高まっている。従業員の正確な勤務状況を管理部門・所属上長がきちんと把握し、過重労働を防止したり、定期的な休暇取得を促したり、といった改善を行う必要があり、従業員の休暇の残日数、取得状況を従来よりも厳密に管理することが求められている。
[1. Overview]
In recent years, under the keyword “work style reform”, the appropriate management of working hours has become increasingly important, and with that, expectations and needs for an attendance management system have also increased. It is necessary for administrative departments and senior managers to accurately grasp the working conditions of employees, and to make improvements such as preventing overwork and encouraging employees to take regular leave. It is required that the acquisition status be managed more strictly than before.

しかしながら、休暇には「年次有給休暇」と「代休」のように性質が異なる休暇があり、それぞれ有効期限の設定が異なることから、間違った選択による休暇の期限消滅や、残業代の追加支払いなどのリスクが増し、管理負荷も増大してしまうという課題があった。   However, there are vacations with different characteristics, such as "annual paid vacation" and "paid vacation", and their expiration dates are set differently. However, there is a problem in that the risk of such factors increases and the management load also increases.

図1は、休暇の種類と年次有給休暇/代休の付与パターンと取得のイメージを示す図である。図1(A)に示すように、休暇には、年次有給休暇(有休)と代休がある。年次有給休暇(有休)は、従業員の勤続年数や勤務日数に応じて、付与が法的に義務付けられている休暇である。継続勤務年数が、0.5年、1.5年、2.5年、3.5年、4.5年、5.5年、6.5年以上で、法定最低付与日数は、それぞれ、10日、11日、12日、14日、16日、18日、20日となる。また、年次有給休暇は、当年度に発生する分と、前年度から繰越分がある。   FIG. 1 is a diagram showing a type of vacation, an annual paid vacation / time off grant pattern, and an image of acquisition. As shown in FIG. 1A, the vacation includes an annual paid vacation (paid vacation) and a paid vacation. Annual paid leave (paid leave) is a leave legally required to be granted according to the number of years of service or the number of working days of an employee. The continuous working years are 0.5 years, 1.5 years, 2.5 years, 3.5 years, 4.5 years, 5.5 years, 6.5 years or more. 10, 11, 12, 14, 16, 18, and 20 days. In addition, there are annual paid leave that occurs during the current year and carry-over from the previous year.

代休は、休日労働が行われた場合に、その代償として他の労働日を休日として休ませる措置である。本来であれば休日出勤として割増賃金を支払う必要があるが、代休取得相当時間分は割増賃金の支払いが不要になる。法的な有効期限の規定はないものの、残業時間の賃金支払いを繰り延べていることになるため、就業規則の定めにより通常は休日出勤から数週間〜数か月程度以内の有効期限が設けられる。従って、年次有給休暇よりも優先して代休を取得する必要があり、期限が切れた場合は再度残業代を支払う義務が発生する。   Compensation is a measure that, when holiday work is performed, rests other work days as holidays. Normally, it would be necessary to pay extra wages for work on holidays, but there is no need to pay extra wages for the time equivalent to taking holidays. Although there is no legal expiration date, wage payments for overtime hours are postponed. Therefore, according to the rules of employment, expiration dates are usually set within a few weeks to several months from work on holidays. Therefore, it is necessary to take a paid leave in preference to an annual paid leave, and when the time expires, it becomes obligatory to pay overtime again.

さらに、過重労働のリスクの観点では、休日出勤後に速やかに代休を取得することが望ましく、休暇取得を強制するためにあえて数週間などの短い期限を設定する企業が増えていく傾向が予想される。このため、月単位で何日消滅するかではなく、何日後に消滅するか、といったより細かい把握ができる仕組みが望ましい。   Furthermore, from the viewpoint of the risk of overwork, it is desirable to take immediate leave after going to work on holidays, and it is expected that the number of companies that set short deadlines such as several weeks in order to force them to take leave will increase. . For this reason, it is desirable to have a mechanism that enables a more detailed grasp of how many days later, rather than how many days will disappear in monthly units.

例えば、図1(B)に示すように、年次有給休暇は、前年度からの繰り越しが2018/3末に消滅し、本年度2017/4/1(日数=18日)に付与されたものが、2019年/3末に消滅する。代休は、6/10出勤分が2017/8末に消滅し、8/20出勤分が2017/10末に消滅する。この場合において、例えば、2017/8/22(火)に出勤をする場合は、どの休暇を消費すべきかが問題となる。   For example, as shown in FIG. 1 (B), the annual paid leave is one in which the carry-over from the previous year disappeared at the end of 2018/3, and was given on 2017/4/1 (days = 18 days) this year. Disappears at the end of March 2019. In paid leave, 6/10 attendances will disappear at the end of 2017/8, and 8/20 attendances will disappear at the end of 2017/10. In this case, for example, when going to work on August 8, 2017 (Tue), there is a problem as to which vacation should be consumed.

従来のシステムでは、年次有給休暇のように、一度にまとまった日数(20日等)を長い有効期間(通常2年)で付与される休暇は、これまでは年度ごとの付与日数に対して何日消化したかを日数ベースで把握する方法が一般的であった。   In the conventional system, vacations in which a set number of days (20 days, etc.) are granted for a long period of validity (usually two years), such as annual paid leave, have been calculated based on the number of days granted per year. It was common to know how many days were digested on a days basis.

しかし、休暇には有給休暇以外に、代休のように性質が異なる休暇が労働基準法で定められており、付与単位が半日〜1日程度、有効期限が数週間〜数か月と短いため、有休よりも細かいスケジュール管理が必要であった。このため、月次単位の日数ベースの残管理では、追加された休暇がいつ消滅し、いつまでに取得すればよいかがわかりづらかった。
また、このような管理は複雑であるため、システムが複雑になり、計算に時間がかかるなどの課題があった。
However, in addition to paid leave, holidays with different characteristics such as holidays are stipulated by the Labor Standards Law, and the unit of grant is about half a day to one day, and the expiration date is as short as several weeks to several months, More detailed schedule management was needed than with paid days off. For this reason, in the remaining management based on the number of days on a monthly basis, it has been difficult to know when the added vacation has disappeared and when it should be acquired.
In addition, since such management is complicated, there is a problem that the system becomes complicated and the calculation takes time.

そこで、本実施の形態では、休暇残割当管理機能を導入し、任意の日時点の休暇残や取得日数、消滅日数のチェック・可視化をすることを可能とすることで、任意の日時点での取得率の算出や任意の日時点の消滅が早い休暇を確認することができ、より有効期間の短い代休の取得を視覚的に促すことがきるようにした。また、代休に対しての取得可能期間を、締期間や暦期間など個社ごとのルールに則った有効期間でシステム上管理できるようにした。   Therefore, in the present embodiment, a leave remaining allocation management function is introduced, and it is possible to check and visualize the leave remaining, the number of days acquired, and the number of days extinguished at any day, so that the time at any day can be checked. Calculation of the acquisition rate and confirmation of vacations that disappear sooner on an arbitrary date can be confirmed, and it is possible to visually encourage the acquisition of a paid vacation with a shorter effective period. In addition, the system allows the system to manage the period during which a holiday can be obtained, according to the rules of each company, such as the closing period and the calendar period.

より具体的には、本実施の形態では、以下の(1)〜(4)の方法により、厳密な休暇残管理を可能にするとともに、勤怠管理者および従業員が、いつ時点でどの休暇を取得すべきかが即座にわかる仕組みを実現した。
(1)休暇の付与情報(日数、有効期間開始日、有効期間終了日)と休暇取得日の自動割当(紐付)管理を行い、消滅期限が早い休暇から優先的に取得する仕組み。
(2)休暇残の割当データ上に、未取得残日数データを保持することにより、特定日時点で有効な休暇残日数が即座にわかる仕組み。
(3)休暇残の割当データ上に、有効期間終了日の自然消滅データを保持することにより、特定期間に消滅する休暇残日数が即座にわかる仕組み。
(4)休暇申請段階で、複数の残管理区分からより期限の短い優先度の高い休暇を判別して取得を促す仕組み。
More specifically, in the present embodiment, strict remaining vacation management is enabled by the following methods (1) to (4), and the time manager and the employee We have realized a mechanism to immediately know whether to acquire.
(1) A mechanism for automatically managing (gating) vacation grant information (number of days, effective period start date, effective period end date) and vacation acquisition date, and preferentially acquiring vacations with earlier expiration dates.
(2) A mechanism in which the number of remaining days remaining on a specific day is immediately available by retaining data on the number of remaining days of vacation that has not yet been acquired on the allocation data of remaining vacations.
(3) A system in which the number of remaining vacation days that disappear in a specific period can be immediately recognized by retaining the naturally disappearing data of the effective period end date on the remaining vacation assignment data.
(4) A system in which at the vacation application stage, a vacation with a shorter deadline and a higher priority is identified from a plurality of remaining management categories to prompt acquisition.

[2.構成]
図2を参照して、本実施の形態に係る休暇残割当管理装置の構成の一例について説明する。図2は、本実施の形態に係る休暇残割当管理装置100の構成の一例を示すブロック図である。
[2. Constitution]
With reference to FIG. 2, an example of the configuration of the remaining vacation assignment management device according to the present embodiment will be described. FIG. 2 is a block diagram illustrating an example of a configuration of the remaining vacation allocation management device 100 according to the present embodiment.

図2において、休暇残割当管理装置100は、例えば、サーバ−クライアントシステムのサーバとして機能し、ネットワーク300を介して、クライアントとして機能する複数の端末装置200と通信可能に接続されている。端末装置200は、例えば、会社の従業員(社員、アルバイト、管理職、役員を含む)が使用するものである。   2, the remaining vacation assignment management device 100 functions as, for example, a server of a server-client system, and is communicably connected to a plurality of terminal devices 200 functioning as clients via a network 300. The terminal device 200 is used, for example, by employees of the company (including employees, part-time workers, managers, and officers).

休暇残割当管理装置100は、端末装置200からのリクエストに応じて、端末装置200にログイン画面、休暇申請画面、休暇確認画面等の各種画面を提供し、端末装置200の表示部に表示される各種画面上でのユーザのオペレータの操作に応じた情報の入力を受付け、各種処理を行う。また、休暇残割当管理装置100は、端末装置200にメッセージやアラートを通知する。   The remaining vacation assignment management device 100 provides various screens such as a login screen, a vacation application screen, and a vacation confirmation screen to the terminal device 200 in response to a request from the terminal device 200 and is displayed on the display unit of the terminal device 200. An input of information according to a user's operation on various screens is received, and various processes are performed. Further, the remaining vacation assignment management device 100 notifies the terminal device 200 of a message or an alert.

休暇残割当管理装置100は、例えば、ワークステーションやパーソナルコンピュータでもよい。休暇残割当管理装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。休暇残割当管理装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。   The leave assignment management device 100 may be, for example, a workstation or a personal computer. The remaining vacation assignment management device 100 includes a control unit 102, a communication interface unit 104, a storage unit 106, and an input / output interface unit 108. The units included in the remaining vacation assignment management device 100 are communicably connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、休暇残割当管理装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、休暇残割当管理装置100と端末装置200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。   The communication interface unit 104 communicably connects the remaining vacation allocation management device 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with another device via a communication line. Here, the network 300 has a function of connecting the remaining vacation assignment management device 100 and the terminal device 200 so as to be able to communicate with each other, and is, for example, the Internet or a LAN (Local Area Network).

入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、および、マイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114として記載する場合がある。   An input device 112 and an output device 114 are connected to the input / output interface unit 108. As the output device 114, in addition to a monitor (including a home television), a speaker or a printer can be used. As the input device 112, a monitor that realizes a pointing device function in cooperation with a mouse can be used in addition to a keyboard, a mouse, and a microphone. In the following, the output device 114 may be described as the monitor 114.

記憶部106には、各種のデータベース、テーブル、および、ファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および、光ディスク等を用いることができる。   The storage unit 106 stores various databases, tables, files, and the like. In the storage unit 106, a computer program for performing various processes by giving instructions to a CPU (Central Processing Unit) in cooperation with an OS (Operating System) is recorded. As the storage unit 106, for example, a memory device such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, and an optical disk can be used.

記憶部106は、有休付与表マスタ106a、代休付与条件マスタ106b、休暇種別マスタ106c、及びデータファイル106d等を備えている。   The storage unit 106 includes a leave allowance table master 106a, a leave allowance condition master 106b, a leave type master 106c, a data file 106d, and the like.

有休付与表マスタ106aは、年次有給休暇の付与条件、付与日数、及び保存期間年数を設定するためのマスタである。有休付与表マスタ106aは、年次有給休暇の付与条件(勤続年(以上)、勤続月(以上)、勤続年(以下)、勤続月(以下))、付与日数、及び有休保存期間年数のデータを関連づけて登録するテーブル等で構成することができる(図4(A)参照)。   The paid leave table master 106a is a master for setting the conditions for granting the annual paid leave, the number of days to be given, and the number of years of the storage period. The paid leave master table 106a includes data on conditions for granting annual paid leave (year of service (or more), month of service (or more), year of service (or less), month of service (or less)), number of days granted, and number of years of paid leave. (See FIG. 4A).

代休付与条件マスタ106bは、代休の期限設定等を管理するためのマスタである。代休付与条件マスタ106bは、代休前期間区分、代休以前月数、代休以前日数、代休後期間区分、代休以降月数、代休以降日数、代休付与条件(終日)、及び代休付与条件(半日)等のデータを関連づけて登録したテーブル等で構成することができる(図4(B)参照)。   The substitute holiday grant condition master 106b is a master for managing the setting of the period of the substitute holiday. The holiday leave condition master 106b includes the period before holiday, the number of months before holiday, the number of days before holiday, the period after holiday, the number of months after holiday, the number of days after holiday, the holiday condition (all day), the holiday condition (half day), etc. (See FIG. 4 (B)).

休暇種別マスタ106cは、各休暇種別の取得可能日数を設定するためのマスタである。休暇種別マスタ106cは、休暇種別、残管理区分、取得日数のデータを関連づけて登録したテーブル等で構成することができる(図7(C)参照)。   The vacation type master 106c is a master for setting the number of days that each vacation type can be acquired. The vacation type master 106c can be configured by a table or the like in which data of the vacation type, the remaining management category, and the number of days acquired are registered in association with each other (see FIG. 7C).

データファイル106dは、各種データを格納するためのファイルである。データファイル106eは、例えば、休暇付与データ、休暇取得データ、及び休暇残割当データ等のデータを格納する。   The data file 106d is a file for storing various data. The data file 106e stores, for example, data such as vacation grant data, vacation acquisition data, and remaining vacation assignment data.

休暇付与データは、付与ID、従業員を識別するための従業員コード、休暇を付与した日である付与日、残管理区分(年次有給休暇、代休)、付与した休暇の有効期間開始日、付与した休暇の有効期間終了日、休暇の付与日数のデータを含んでいてもよい(図5(C)参照)。   The leave grant data includes a grant ID, an employee code for identifying an employee, a grant date that is a date on which the leave was granted, a remaining management category (annual paid leave, substitute holiday), a validity start date of the granted leave, It may also include data on the effective period end date of the granted vacation and the number of days the vacation is granted (see FIG. 5C).

休暇取得データは、休暇申請が行われた場合に作成されるデータであり、取得ID、従業員を識別するための従業員コード、休暇取得日、休暇種別(AM有休、PM有休、終日有休、AM代休、PM代休、終日代休)、残管理区分(年次有給休暇、代休)、休暇の取得日数、及び休暇の申請理由のデータを含んでいてもよい(図7(C)参照)。   The vacation acquisition data is data created when a vacation application is made, and includes an acquisition ID, an employee code for identifying an employee, a vacation acquisition date, and a vacation type (AM vacation, PM vacation, all day vacation, The data may include AM holidays, PM holidays, all-day holidays, remaining management categories (annual paid holidays, daily holidays), the number of days for which a vacation has been acquired, and reasons for applying for a vacation (see FIG. 7C).

休暇残割当データは、休暇付与データと休暇取得データを紐付けるためのデータである。休暇残割当データは、割当ID、従業員コード、残管理区分、付与ID、付与日、有効期間開始日、有効期間終了日、付与日数、取得ID、休暇取得日、取得日数、割当日数、割当連番、割当後残日数のデータを含んでいてもよい(図8参照)。   The remaining vacation assignment data is data for linking the vacation grant data and the vacation acquisition data. The remaining vacation assignment data includes the assignment ID, employee code, remaining management category, grant ID, grant date, effective period start date, effective period end date, grant days, acquisition ID, vacation acquisition date, acquisition days, assignment days, assignment It may include data of the serial number and the number of remaining days after the assignment (see FIG. 8).

制御部102は、休暇残割当管理装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。制御部102は、機能概念的に、マスタ設定部102aと、休暇付与データ作成部102bと、休暇取得データ作成部102cと、休暇残割当データ作成部102dと、メッセージ通知部102eと、アラート通知部102fを備えている。   The control unit 102 is a CPU or the like that controls the remaining vacation allocation management device 100 as a whole. The control unit 102 has an internal memory for storing a control program such as an OS, a program defining various processing procedures, required data, and the like, and performs various types of information processing based on the stored programs. Execute. The control unit 102 conceptually includes a master setting unit 102a, a leave grant data creation unit 102b, a leave acquisition data creation unit 102c, a leave assignment data creation unit 102d, a message notification unit 102e, and an alert notification unit. 102f.

マスタ設定部102aは、モニタ114に表示されるマスタメンテ画面上でのオペレータの操作に応じて、有休付与表マスタ106a、代休付与条件マスタ106b、及び休暇種別マスタ106cに対して、データの入力・追加・更新等の編集を行う。   The master setting unit 102a inputs and outputs data to the holidays grant table master 106a, the holidays grant condition master 106b, and the vacation type master 106c in response to an operator's operation on a master maintenance screen displayed on the monitor 114. Edits such as additions and updates.

休暇付与データ作成部102bは、付与ID、従業員コード、付与日、残管理区分、有効期間開始日、有効期間終了日、及び付与日数のデータを含む休暇付与データを作成して、データファイル106dに格納する。   The vacation grant data creation unit 102b creates vacation grant data including data of the grant ID, the employee code, the grant date, the remaining management category, the effective period start date, the effective period end date, and the number of days granted, and creates a data file 106d. To be stored.

休暇取得データ作成部102cは、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、休暇種別、残管理区分、取得日数、及び申請理由のデータを含む休暇取得データを作成して、データファイル106dに格納する。   Each time a leave application is received, the leave acquisition data creation unit 102c creates leave acquisition data including data of an acquisition ID, an employee code, a leave acquisition date, a leave type, a remaining management category, the number of days acquired, and the reason for application. , In the data file 106d.

休暇残割当データ作成部102dは、休暇付与データと休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成して、データファイル106dに格納する。   The leave assignment data creation unit 102d associates the vacation grant data with the vacation acquisition data, creates vacation assignment data for preferentially acquiring a vacation whose expiration date is earlier, and stores the data in the data file 106d.

この場合、休暇残割当データは、前記休暇付与データの付与日数に前記休暇取得データの取得日数を割り当てた割当日数を、当該付与日数から減算した割当後残日数を含むことにしてもよい。   In this case, the remaining vacation assignment data may include the remaining days after the assignment obtained by subtracting the assignment days obtained by assigning the acquisition days of the vacation acquisition data to the grant days of the vacation assignment data, from the assignment days.

また、休暇残割当データは、未取得の休暇が有効期限終了日に消滅することを示す自然消滅データを含むことにしてもよい。   Further, the remaining vacation assignment data may include natural disappearance data indicating that the unacquired vacation expires on the expiration date.

メッセージ通知部102eは、休暇申請段階で、データファイル106dに格納される休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知する。   At the vacation application stage, the message notification unit 102e refers to the vacation remaining allocation data stored in the data file 106d to notify a vacation with a shorter priority and a higher priority from a plurality of remaining management categories.

アラート通知部102fは、データファイル106dに格納される休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数を超過している休暇申請にアラートを通知する。   The alert notification unit 102f refers to the remaining vacation assignment data stored in the data file 106d, and notifies an alert to the remaining vacation with a near expiration date and / or a vacation request exceeding the number of days that can be acquired.

[3.全体の処理]
図2及び図3を参照して、本実施の形態における休暇残割当管理装置100の全体の処理の流れを説明する。図3は、本実施の形態における休暇残割当管理装置100の全体の処理の流れを説明するための図である。
[3. Overall processing]
With reference to FIG. 2 and FIG. 3, a description will be given of the overall processing flow of the leave assignment management device 100 according to the present embodiment. FIG. 3 is a diagram for explaining the flow of the overall processing of the remaining vacation assignment management device 100 according to the present embodiment.

図3において、マスタ設定部102aは、マスタ設定処理(S1)を実行する。マスタ設定処理(S1)では、モニタ112に表示されるマスタメンテ画面上でのオペレータの操作に応じて、有休付与表マスタ106a、代休付与条件マスタ106b、及び休暇種別マスタ106cに対して、データの入力・追加・更新等の編集を行う。   3, the master setting unit 102a executes a master setting process (S1). In the master setting process (S1), the data of the holidays grant table master 106a, the holidays grant condition master 106b, and the vacation type master 106c are transmitted according to the operation of the operator on the master maintenance screen displayed on the monitor 112. Edits such as input / addition / update.

休暇付与データ作成部102bは、休暇付与処理(S2)を実行する。休暇付与処理(S2)では、年毎に、従業員コード、付与日、及び勤続年数に基づいて、有休付与表マスタ106aを参照し、有給休暇に関する休暇付与データを作成してデータファイル106dに格納する。また、休暇付与処理(S2)では、従業員の端末装置200から入力される、従業員コード、休日出勤日、予定労働時間を含む休日出勤の申請に基づいて、代休付与条件マスタ106bを参照し、代休に関する休暇付与データを作成して、データファイル106dに格納する。   The vacation grant data creating unit 102b executes a vacation grant process (S2). In the leave granting process (S2), based on the employee code, the grant date and the number of years of service, the leave grant table master 106a is referenced for each year to create leave grant data relating to paid leave and store it in the data file 106d. I do. Further, in the leave granting process (S2), the holiday leave grant condition master 106b is referred to based on the application for the holiday attendance including the employee code, the holiday attendance date, and the scheduled working time input from the employee terminal device 200. , And creates vacation grant data relating to holidays and stores it in the data file 106d.

休暇取得データ作成部102cは、休暇取得処理(S3)を実行する。休暇取得処理(S3)では、従業員の端末装置200から入力される、従業員コード、休暇取得日、休暇種別、及び申請理由を含む休暇申請に基づいて、休暇種別マスタ106cを参照し、休暇取得データを作成して、データファイル106dに格納する。   The vacation acquisition data creation unit 102c executes a vacation acquisition process (S3). In the leave acquisition process (S3), the leave type master 106c is referred to based on the leave application input from the employee's terminal device 200, including the employee code, the leave acquisition date, the leave type, and the application reason. The acquired data is created and stored in the data file 106d.

休暇残割当データ作成部102dは、休暇残割当処理(S4)を実行する。休暇残割当処理(S4)では、休暇付与データと休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成して、データファイル106dに格納する。   The remaining vacation assignment data creating unit 102d executes a remaining vacation assignment process (S4). In the leave remaining assignment process (S4), the leave grant data and the leave acquisition data are linked, and leave leave assignment data for preferentially obtaining a leave with an earlier expiration date is created and stored in the data file 106d.

メッセージ通知部102eは、メッセージ通知処理(S5)を実行する。メッセージ通知処理(S5)では、休暇申請段階で、休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を知らせるためのメッセージを通知する。   The message notification unit 102e executes a message notification process (S5). In the message notification processing (S5), at the vacation application stage, a message for notifying a vacation with a shorter deadline and a higher priority is notified from a plurality of remaining management categories with reference to the remaining vacation assignment data.

アラート通知部102fは、アラート通知処理(S6)を実行する。アラート通知処理(S6)では、休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数を超過している休暇申請にアラートを通知する。   The alert notification unit 102f performs an alert notification process (S6). In the alert notification processing (S6), an alert is notified to the remaining vacation with a near expiration date and / or a vacation request that exceeds the number of days that can be acquired by referring to the remaining vacation assignment data.

[4.具体例]
図4〜図29を参照して、本実施の形態における休暇残割当管理装置100の処理の具体例について説明する。図4〜図29は、本実施の形態における休暇残割当管理装置100の処理の具体例を説明するための図である。
[4. Concrete example]
With reference to FIGS. 4 to 29, a specific example of the processing of the remaining vacation allocation management device 100 according to the present embodiment will be described. FIGS. 4 to 29 are diagrams for explaining specific examples of the processing of the remaining vacation allocation management device 100 according to the present embodiment.

(マスタ設定処理)
図4は、マスタ設定部102aにより実行されるマスタ設定処理の具体例を説明するための図である。図4を参照して、マスタ設定処理の具体例を説明する。
(Master setting process)
FIG. 4 is a diagram for explaining a specific example of the master setting process executed by the master setting unit 102a. A specific example of the master setting process will be described with reference to FIG.

1.マスタ設定
1−1.有休付与表マスタ106aの設定
図4(A)は、有休付与表マスタ106aの設定例を説明するための図である。有休付与表マスタ106aは、勤続年(以上)、勤続月(以上)、勤続年(以下)、勤続月(以下)、付与日数、有休保存期間年数のデータを関連づけて登録する。図4(A)に示す例では、勤続年月が6か月以内に対して有給休暇10日(2年有効)を付与、勤続年月が7か月〜1年6か月に対して有給休暇11日(2年有効)を付与、勤続年月が1年7か月〜2年6か月に対して有給休暇12日(2年有効)を付与、勤続年月が2年7か月〜3年6か月に対して有給休暇14日(2年有効)を付与、勤続年月が3年7か月〜4年6か月に対して有給休暇16日(2年有効)を付与、勤続年月が4年7か月〜5年6か月に対して有給休暇18日(2年有効)を付与、勤続年月が5年7か月〜6年6か月に対して有給休暇20日(2年有効)を付与、勤続年月が6年7か月以上に対して有給休暇20日(2年有効)を付与する。
1. Master setting 1-1. FIG. 4 (A) is a diagram for explaining an example of setting of the holidays grant table master 106a. The paid leave table master 106a registers the data of the continuous service year (or more), the continuous service month (or more), the continuous service year (or less), the continuous service month (below), the number of days granted, and the number of years of the paid leave storage period. In the example shown in FIG. 4 (A), a paid leave of 10 days (valid for 2 years) is given to employees who have been with the company for 6 months or less, and paid for those who have been with the company for 7 months to 1 year and 6 months. 11 days of leave (valid for 2 years), 12 days of paid leave (1 year, 7 months to 2 years, 6 months), 12 days of paid leave (valid for 2 years), 2 years, 7 months of service 14 days of paid leave (valid for 2 years) for 3 years and 6 months, 16 days of paid leave (valid for 2 years) for 3 years 7 months to 4 years and 6 months of service 18 days of paid leave (valid for 2 years) for 4 years 7 months to 5 years and 6 months of service, paid for 5 years 7 months to 6 years and 6 months of service 20 days of leave (valid for 2 years) and 20 days of paid leave (valid for 2 years) for 6 years and 7 months or more.

1−2.代休付与条件マスタの設定
図4(B)は、代休付与条件マスタ106bの設定例を説明するための図である。代休付与条件マスタ106bは、代休の期限設定等を管理するマスタである。代休付与条件マスタ106bは、代休前期間区分、代休以前月数、代休以前日数、代休後期間区分、代休以降月数、代休以降日数、代休付与条件(終日)、及び代休付与条件(半日)等のデータを関連づけて登録したテーブル等で構成することができる。
1-2. FIG. 4B is a diagram for explaining an example of setting a substitute holiday grant condition master 106b. The substitute holiday grant condition master 106b is a master that manages the setting of the period of the substitute holiday. The holiday leave condition master 106b includes the period before holiday, the number of months before holiday, the number of days before holiday, the period after holiday, the number of months after holiday, the number of days after holiday, the holiday condition (all day), the holiday condition (half day), etc. Can be constituted by a table or the like in which the above data are registered in association with each other.

図4(C)は、代休前期間区分及び代休後期間区分を説明するための図である。代休前期間区分は、代休出勤日前の代休の取得を規定する。代休後期間区分は、代休出勤日以降の代休の取得を規定する。ここでは不可/暦期間の例で記載している。「不可」は、使用不可を示す。「日数」は、日数単位で指定する。「締期間」は、月を勤怠締期間の区切りで指定(例:20締の場合、21日〜翌月20日)する。「暦期間」は、月を暦期間(年月)の区切りで指定(1日〜月末日)する。   FIG. 4C is a diagram for explaining the pre-holiday period section and the post-holiday period section. The pre-paid holiday period stipulates the acquisition of paid pre-paid holidays. The period after paid holidays specifies the acquisition of paid holidays after the paid work day. Here, an example of “impossible / calendar period” is described. “Unavailable” indicates that it cannot be used. "Days" is specified in days. In the "closed period", the month is designated by a break of the attendance time period (for example, in the case of 20 closed periods, 21 days to 20 days of the following month). The “calendar period” designates a month by a calendar period (year and month) (1st day to last day of the month).

代休付与条件マスタ106bに従う場合は、以下の判定で「付与日数」を決定する。
(1)休日出勤時間≧代休付与条件(終日)の場合は終日(1日)
(2)代休付与条件(終日)>休日出勤時間≧代休付与条件(半日)の場合は半日(0.5日)
(3)休日出勤時間<代休付与条件(半日)の場合は付与なし
In the case of following the substitute holiday grant condition master 106b, the “number of grant days” is determined by the following determination.
(1) All day (1 day) if holiday work hours ≥ holidays grant conditions (all day)
(2) Day off grant conditions (all day)> Holiday work hours ≥ day off leave conditions (half day), half day (0.5 day)
(3) No holidays are granted in the case of work hours <holiday allowance conditions (half day)

図4(D)は、代休付与条件マスタ106bによる代休付与のイメージを示す図である。代休前期間区分が「不可」に設定されている場合は、休日出勤日前の代休は取得することができない。代休後期間区分が「暦期間」に設定されているので、「暦」で期間を指定する。代休以降月数が「2」に指定されているので、2ヶ月後の月の末日まで代休を取得可能である。代休以降日数が「0」であるので、日数の加算・減算は行わない。代休以降日数≠「0」の場合は、さらに、日数を加算・減算して調整する。例えば、2ヶ月後の翌日の場合は、「+1」とする。   FIG. 4D is a diagram showing an image of the provision of the holiday by the holiday grant condition master 106b. If the period before holidays is set to "impossible", it is not possible to acquire holidays before the day of work on holidays. Since the period after holidays is set to "calendar period", specify the period in "calendar". Since the number of months after the paid holiday is designated as "2", the paid holiday can be acquired until the last day of the month two months later. Since the number of days after the holidays is "0", the number of days is not added or subtracted. If the number of days after the holiday is "0", the number of days is further adjusted by adding or subtracting the number of days. For example, in the case of the next day after two months, "+1" is set.

(休暇付与処理)
図5及び図6は、休暇付与データ作成部102bにより実行される休暇付与処理の具体例を説明するための図である。図5及び図6を参照して、休暇付与処理の具体例を説明する。
(Vacation grant processing)
FIGS. 5 and 6 are diagrams for explaining a specific example of the vacation grant processing executed by the vacation grant data creation unit 102b. With reference to FIGS. 5 and 6, a specific example of the vacation granting process will be described.

2.休暇付与の動作
2.1.年次有給休暇の付与処理
図5は、年次有給休暇の付与処理を説明するための図である。休暇付与データ作成部102bは、付与対象者の勤続年数を基準として有休付与表マスタ106aを参照し、付与日数と有休保存期間年数を元に休暇付与データを作成する。
2. Operation of vacation grant 2.1. FIG. 5 is a diagram for explaining the process of granting an annual paid leave. The vacation grant data creation unit 102b refers to the vacation grant table master 106a based on the number of years of service of the grantee, and creates vacation grant data based on the number of days granted and the number of years of saved leave.

図5(A)は、入力データの例を示しており、入力データとして、従業員コード「A」、付与日「2017/4/1」、勤続年数「5年」が入力される。   FIG. 5A shows an example of input data, in which an employee code “A”, a grant date “2017/4/1”, and a length of service “5 years” are input.

勤続年数「5年」であるので、図5(B)に示す有休付与表マスタ106aを参照して、4年7ヶ月≦5年≦5年6ヶ月であるので、対応する付与日数「18」、有休保存期間年数「2」を取得して、図5(C)に示すような休暇付与データを作成する。   Since the number of years of service is “5 years”, referring to the vacation grant table master 106a shown in FIG. 5B, 4 years 7 months ≦ 5 years ≦ 5 years 6 months, the corresponding grant days “18” Then, the system acquires the number of years for which the leave is stored, "2", and creates leave grant data as shown in FIG.

図5(C)に示す休暇付与データは、1行目が付与ID「XXX1」、従業員コード「A」、付与日「2016/4/1」、残管理区分「年次有給休暇」、有効期間開始日「2016/4/1」、有効期間終了日「2018/3/31」、付与日数「16.0」となっており、これは、前年付与済みのデータである。   In the vacation grant data shown in FIG. 5C, the first row has a grant ID “XXX1”, an employee code “A”, a grant date “2016/4/1”, a remaining management category “annual paid leave”, and valid. The period start date is "2016/4/1", the effective period end date is "2018/3/31", and the number of grant days is "16.0", which is data that has been granted in the previous year.

2行目は、今回追加(作成)されたデータであり、付与ID「XXX2」、従業員コード「A」、付与日「2017/4/1」、残管理区分「年次有給休暇」、有効期間開始日「2017/4/1」、有効期間終了日「2019/3/31」、付与日数「18.0」となっている。   The second line is the data that has been added (created) this time, and is provided with the grant ID “XXX2”, the employee code “A”, the grant date “2017/4/1”, the remaining management category “annual paid leave”, The period start date is “2017/4/1”, the effective period end date is “2019/3/31”, and the number of grant days is “18.0”.

なお、年次有給休暇の場合、有効期間開始日=付与日、有効期間終了日=付与日の有休保存期間年数後を設定する。   In the case of annual paid leave, the effective date start date = grant date, the effective date end date = grant date after the number of years of paid leave saved.

図5(D)は、図5(C)に示す休暇付与データに基づいた年次有給休暇の付与イメージ(休暇有効期限の確認画面)を示す図である。図5(D)では、前年度からの年次有給休暇の繰り越し分の有効期間と、今回(新規に)付与された年次有給休暇の有効期間が表示されている。例えば、休暇付与データ作成部102bは、端末装置200からのリクエストに応じて、図5(D)に示すような休暇有効期限の確認画面を端末装置200に提供してもよい。   FIG. 5 (D) is a diagram showing an image of an annual paid leave (vacation expiration date confirmation screen) based on the leave data shown in FIG. 5 (C). In FIG. 5D, the effective period of the carryover of the annual paid leave from the previous year and the effective period of the (newly) given annual paid leave are displayed. For example, in response to a request from the terminal device 200, the vacation grant data creating unit 102b may provide a terminal expiration date confirmation screen as shown in FIG.

2.2.休日出勤に伴う代休の付与処理
図6は、休日出勤に伴う代休の付与処理を説明するための図である。休暇付与データ作成部102bは、代休付与条件マスタ106bを参照し、休日出勤対象者の休日出勤日を基準として代休の前期間/後期間設定を元に代休付与データを作成する。代休の付与日数は、1日固定とするか、別途、代休付与条件マスタ106bの設定により休日出勤日の労働時間に応じて半日/1日の分岐をすることも可能となっている。
2.2. FIG. 6 is a diagram for explaining a process of giving a substitute holiday accompanying a holiday work. The vacation grant data creation unit 102b refers to the holiday grant condition master 106b and creates the holiday grant data based on the setting of the period before and after the holiday based on the holiday attendance date of the holiday attendee. It is also possible to set the number of days of the paid leave fixed at one day, or to split the half-day / one-day depending on the working hours on the holiday work day by separately setting the paid leave condition master 106b.

図6(A)は入力データの一例を示す図である。例えば、従業員の端末装置200から入力データが入力される。図6(A)に示す例では、従業員コード「A」、休日出勤日「2017/8/20」、予定労働時間「6時間」が入力される。   FIG. 6A is a diagram illustrating an example of input data. For example, input data is input from the terminal device 200 of the employee. In the example shown in FIG. 6A, the employee code “A”, the work day on holiday “2017/8/20”, and the planned working time “6 hours” are input.

図6(B)に示すように、代休付与条件マスタ106bの代休期間区分が「不可」となっているので、休暇付与データの有効期間開始日=休日出勤日「2017/8/20」とし、有効期間終了日=休日出勤日(2017/8/20)の2月後の月(2017/10)の末日=2017/10/31とする。また、予定労働時間(6時間)であるので、代休付与条件マスタ106bを参照して、代休付与条件(終日)(7時間)>予定労働時間(6時間)>代休付与条件(半日)(3時間)であるので、代休付与条件マスタ106bを参照して、代休付与条件(半日)「3時間」を取得して、図6(C)に示すような休暇付与データを作成する。   As shown in FIG. 6 (B), since the holiday period classification of the holiday leave grant condition master 106b is “impossible”, the effective period start date of the holiday grant data = the holiday work date “2017/8/20”, Effective period end date = last day of month (2017/10) two months after holiday work day (2017/8/20) = 2017/10/31. Also, since it is the scheduled working time (6 hours), referring to the substitute leave grant condition master 106b, the substitute leave grant condition (all day) (7 hours)> the planned working time (6 hours)> the substitute leave grant condition (half day) (3 Therefore, the holiday giving condition (half-day) “3 hours” is acquired with reference to the holiday giving condition master 106b, and the vacation giving data as shown in FIG. 6C is created.

図6(C)に示す例において、3行目は付与ID「XXX3」、従業員コード「A」、付与日「2017/6/10」、残管理区分「代休」、有効期間開始日「2017/6/10」、有効期間終了日「2017/8/31」、付与日数「1.0」は、2017/6/10の休日出勤に伴って既に追加されたデータである。   In the example shown in FIG. 6 (C), the third line is the grant ID “XXX3”, the employee code “A”, the grant date “2017/6/10”, the remaining management category “quick holiday”, and the effective period start date “2017”. / 6/10 ", the effective period end date" 2017/8/31 ", and the number of grant days" 1.0 "are data that have already been added with the work on holidays on 2017/6/10.

4行目は、2017/8/20の休日出勤に伴い今回追加(作成)されたデータであり、付与ID「XXX4」、従業員コード「A」、付与日「2017/8/20」、残管理区分「代休」、有効期間開始日「2017/8/20」、有効期間終了日「2017/10/31」、付与日数「0.5」となっている。なお、代休前期間区分≠不可の場合、有効期間開始日<付与日となる場合がある。   The fourth line is data that has been added (created) this time due to work on holidays on August 20, 2017, and has been given a grant ID “XXX4”, an employee code “A”, a grant date “2017/8/20”, The management category is “time off”, the effective period start date is “2017/8/20”, the effective period end date is “2017/10/31”, and the number of grant days is “0.5”. In addition, when the period before substitute holiday is not possible, the validity period start date may be less than the grant date.

図6(D)は、図6(C)に示す休暇付与データに基づいた休暇付与イメージ(休暇有効期限の確認画面)を示す図である。図6(D)では、6月10日出勤分の代休の有効期間と、8月20日出勤分の代休の有効期間とが表示されている。例えば、休暇付与データ作成部102bは、端末装置200からのリクエストに応じて、図6(D)に示すような休暇有効期限の確認画面を端末装置200に提供してもよい。   FIG. 6D is a diagram showing a vacation grant image (vacation expiration date confirmation screen) based on the vacation grant data shown in FIG. 6C. In FIG. 6D, the effective period of the paid leave for the work on June 10 and the effective period of the paid leave for the work on August 20 are displayed. For example, the vacation grant data creating unit 102b may provide the terminal device 200 with a vacation expiration date confirmation screen as shown in FIG.

2.3.休暇残割当処理の実行
2.1.の年次有給休暇の有効期限開始日、または、2.2.の代休の有効期限開始日以降に先に休暇取得予定がある場合、休暇の取得順番が変わる可能性があるため、後述の休暇残割当処理を、有効期限開始日を基準として実行する。
2.3. Executing remaining vacation assignment processing 2.1. The start date of the expiration date of the annual paid leave, or 2.2. If the vacation is scheduled to be acquired earlier than the expiration date of the holiday, the leave acquisition order may be changed. Therefore, the remaining vacation assignment process described below is executed based on the expiration date.

(休暇取得処理)
図7は、休暇取得データ作成部102cにより実行される休暇取得処理の具体例を説明するための図である。図7を参照して、休暇取得処理の具体例を説明する。
(Vacation acquisition processing)
FIG. 7 is a diagram for explaining a specific example of the vacation acquisition processing executed by the vacation acquisition data creation unit 102c. A specific example of the vacation acquisition processing will be described with reference to FIG.

3.休暇取得時の動作
休暇の取得は、従業員の端末装置200からの申請等により行う。例えば、従業員の端末装置200の休暇申請画面から従業員コード、休暇取得日、休暇種別、申請理由等の休暇申請データを入力して、休暇残割当管理装置100に送信する。休暇取得データ作成部102cは、休暇申請データが入力されると、休暇種別マスタ106cを参照して、休暇取得データを作成する。具体的には、休暇種別をキーとして、休暇種別マスタ106cから残管理区分、取得日数を取得して、入力データ(従業員コード、休暇取得日、休暇種別、申請理由)と休暇種別マスタ106cから取得した残管理区分、取得日数に基づいて休暇取得データを作成する。
3. Operation at the Time of Vacation Acquisition The vacation is acquired by an application from the terminal device 200 of the employee. For example, leave application data such as an employee code, a leave acquisition date, a leave type, and a reason for application is input from the leave request screen of the employee terminal device 200 and transmitted to the remaining leave assignment management device 100. When the leave application data is input, the vacation acquisition data creation unit 102c creates vacation acquisition data with reference to the vacation type master 106c. Specifically, using the vacation type as a key, the remaining management classification and the number of days acquired are acquired from the vacation type master 106c, and the input data (employee code, vacation acquisition date, vacation type, application reason) and the vacation type master 106c are obtained. Create vacation acquisition data based on the acquired remaining management category and the number of days acquired.

例えば、図7(A)に示すように、今回、従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日有休」、申請理由「通院のため」の休暇申請の入力データの場合、図7(B)に示すように、休暇種別「終日有休」をキーとして、休暇種別マスタ106cから残管理区分「年次有給休暇」、取得日数「1.0」を取得する。そして、図7(C)に示すように、休暇取得データとして、取得ID「YYY8」、従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日有休」、残管理区分「年次有給休暇」、取得日数「1.0」、及び申請理由「通院のため」が作成される。   For example, as shown in FIG. 7 (A), this time, the employee code “A”, the leave acquisition date “2017/8/22”, the leave type “all day leave”, the reason for application “for hospital visit”, In the case of the input data, as shown in FIG. 7B, the remaining management category “annual paid vacation” and the number of days of acquisition “1.0” are acquired from the vacation type master 106c using the vacation type “all day paid” as a key. . Then, as shown in FIG. 7 (C), as the vacation acquisition data, the acquisition ID “YYY8”, the employee code “A”, the vacation acquisition date “2017/8/22”, the vacation type “all day off”, the remaining management The classification “annual paid vacation”, the number of days of acquisition “1.0”, and the reason for application “for hospital visit” are created.

なお、将来の休暇取得予定が休暇の取得順番で変わる可能性があるため、後述の休暇残割当処理の休暇取得日を基準として実行する。   In addition, since the future vacation acquisition schedule may be changed in the vacation acquisition order, the vacation acquisition schedule is executed based on the vacation acquisition date in the remaining vacation assignment process described later.

(休暇残割当処理)
図8〜図24は、休暇残割当データ作成部102dにより実行される休暇残割当処理の具体例を説明するための図である。図8〜図24を参照して、休暇残割当処理の具体例を説明する。
(Remaining leave assignment processing)
8 to 24 are diagrams for explaining a specific example of the leave assignment process executed by the leave assignment data creating unit 102d. A specific example of the remaining vacation assignment processing will be described with reference to FIGS.

4.休暇残割当処理
休暇残割当処理では、休暇付与データと休暇取得データの割当(紐付)を行い、休暇残割当データを作成する。休暇残割当データによって、休暇付与データから休暇取得分の残日数が減り、有効期限を考慮した残日数のチェックが可能となる。
4. Vacation Leave Assignment In vacation leave assignment, leave assignment data and vacation acquisition data are assigned (linked) to create leave assignment data. The remaining vacation assignment data reduces the remaining days for vacation acquisition from the vacation grant data, making it possible to check the remaining days in consideration of the expiration date.

図8は、休暇残割当データの一例を示す図である。2017/8/22の終日有休を申請する前の割当済み状態を示している。   FIG. 8 is a diagram illustrating an example of remaining vacation allocation data. It shows the allocated state before applying for a holiday all day on 2017/8/22.

休暇残割当データは、割当ID、従業員コード、残管理区分、付与ID、付与日、有効期間開始日、有効期間終了日、付与日数、取得ID、休暇取得日、取得日数、割当日数、割当連番、割当後残日数のデータを含んでいる。   The remaining vacation assignment data includes the assignment ID, employee code, remaining management category, grant ID, grant date, effective period start date, effective period end date, grant days, acquisition ID, vacation acquisition date, acquisition days, assignment days, assignment Includes data on serial number and remaining days after assignment.

割当ID、従業員コード、残管理区分は、割当のキー情報となる。「付与ID、付与日、有効期間開始日、有効期間終了日、付与日数は、休暇付与データから取得する情報である。「取得ID」、「休暇取得日」、「取得日数」は、休暇取得データから取得する情報である。割当日数、割当連番、及び割当後残日数は、割当情報である。   The assignment ID, the employee code, and the remaining management category become the key information of the assignment. The “grant ID, grant date, validity period start date, validity period end date, and number of days granted are information acquired from the leave grant data.“ Acquisition ID ”,“ vacation acquisition date ”, and“ acquisition days ”are vacation acquisition dates. This is information obtained from the data. The allocation days, the allocation serial number, and the remaining days after allocation are allocation information.

ここで、割当情報について説明する。「割当連番」は、同じ休暇付与データに割り当てた休暇取得データの割当順序を示し、取得日が早い順に連番を振る。例えば、同一日にAM有休とPM有休のように複数取得した場合は時系列が早い方を優先する。「割当日数」は、休暇データの付与日数から、休暇取得データに割り当てた日数である。「割当後残日数」は、同じ休暇付与データに割り当てられた休暇取得データのうち、割当連番が自分の番号以下の割当日数の合計を、付与日数から控除した残日数である。休暇を取得するにつれて減少し、「0」になるとその休暇付与データはそれ以上割当不可となる。   Here, the assignment information will be described. The “assignment serial number” indicates an assignment order of the vacation acquisition data assigned to the same vacation grant data, and the assignment number is assigned in ascending order of the acquisition date. For example, if a plurality of AM days and PM days are acquired on the same day, the earlier time series is prioritized. “Allocated days” is the number of days assigned to the vacation acquisition data based on the number of days assigned to the vacation data. “Remaining days after assignment” is the number of remaining days obtained by subtracting the total number of assigned days whose assigned serial number is equal to or less than the own number from the granted days, from the vacation acquisition data assigned to the same vacation granted data. It decreases as the vacation is acquired, and when it becomes “0”, the vacation grant data can no longer be allocated.

取得ID、取得日数がNULLの行のデータを「自然消滅データ」と称する。この自然消滅データは、未取得の休暇が有効期限終了日に消滅することを意味する特別な割当データである。   The data in the row whose acquisition ID and acquisition days are NULL are referred to as “naturally disappearing data”. This spontaneous disappearance data is special allocation data which means that a vacation that has not been acquired expires on the expiration date.

図9は、休暇付与データ及び休暇取得データと、休暇残割当データのイメージを示す図である。同一の従業員区分・休暇残管理区分の休暇付与データと休暇取得データを紐付けした結果、有効期限終了日が最も早い休暇付与データを優先して紐付ける。   FIG. 9 is a diagram showing an image of leave grant data, leave acquisition data, and remaining leave allocation data. As a result of associating the vacation grant data and the vacation acquisition data of the same employee category and leave management category, the vacation grant data with the earliest expiration date is prioritized and linked.

4.1.入力データ
休暇残割当処理は、休暇付与データの追加/削除や休暇取得データの追加/削除を起点とし、再割当が必要な期間で行う。入力データとして、従業員コード、休暇残管理区分、基準日を受け取る。より具体的には、休暇付与データ作成部102bは、休暇付与データを追加/削除した場合に、その従業員コード、休暇残管理区分、及び基準日を休暇残割当データ作成部102dに通知する。
4.1. Input data The leave assignment process is performed in a period in which reassignment is required, starting from addition / deletion of leave grant data or addition / deletion of leave acquisition data. Receives employee code, leave management classification, and key date as input data. More specifically, when the leave grant data is added / deleted, the leave grant data creating unit 102b notifies the employee code, the leave management category, and the reference date to the leave assign data creating unit 102d.

(1)休暇付与データが登録または削除された場合、該当データの有効期間開始日を基準日とする。
図10(A)に示すように、休暇付与データとして、今回、付与ID「XXX2」、従業員コード「A」、付与日「2017/4/1」、残管理区分「年次有給休暇」、有効期間開始日「2017/4/1」、有効期間終了日「2019/3/31」、付与日数「18.0」が作成された場合、有効期間開始日「2017/4/1」を基準日とする。
(1) When the leave grant data is registered or deleted, the effective date start date of the data is set as a reference date.
As shown in FIG. 10A, as the leave grant data, this time, the grant ID “XXX2”, the employee code “A”, the grant date “2017/4/1”, the remaining management category “annual paid leave”, When the validity period start date "2017/4/1", the validity period end date "2019/3/31", and the number of grant days "18.0" are created, the validity period start date "2017/4/1" is used as the basis. Days.

(2)休暇取得データが登録または削除された場合、該当データの休暇取得日を基準日とする。
図10(B)に示すように、休暇取得データとして、今回、取得ID「YYY8」、従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日有休」、残管理区分「年次有給休暇」、取得日数「1.0」、申請理由「通院のため」が作成された場合、休暇取得日「2017/8/22」を基準日とする。
(2) When the vacation acquisition data is registered or deleted, the vacation acquisition date of the data is set as a reference date.
As shown in FIG. 10B, as the vacation acquisition data, this time, the acquisition ID “YYY8”, the employee code “A”, the vacation acquisition date “2017/8/22”, the vacation type “all day off”, the remaining management If the category “annual paid leave”, the number of days of acquisition “1.0”, and the reason for application “for hospital visit” are created, the date of vacation acquisition “2017/8/22” is set as the reference date.

図10(C)に示すように、(2)の場合の入力データは、従業員コード「A」、残管理区分「年次有給休暇」、基準日「2017/8/22」となる。   As shown in FIG. 10C, the input data in the case of (2) is the employee code “A”, the remaining management category “annual paid leave”, and the reference date “2017/8/22”.

4.2.休暇残割当データから、従業員コードおよび残管理区分が入力データと同一で、かつ休暇取得日≧基準日となるデータを削除する。休暇付与データ又は休暇取得データの変動により、再割当の計算が必要となる期間を一旦クリアする。 4.2. Data in which the employee code and the remaining management classification are the same as the input data and the vacation acquisition date ≧ the reference date is deleted from the vacation leave assignment data. The period in which the calculation of the reassignment is necessary is temporarily cleared due to the change in the leave grant data or the leave acquisition data.

図11は、休暇残割当データの再割当の計算が必要となる期間を一旦削除する例を説明するための図である。   FIG. 11 is a diagram for explaining an example in which a period in which calculation of reassignment of remaining vacation allocation data is required is temporarily deleted.

図11に示す休暇残割当データのうち、従業員コード「A」、残管理区分「年次有給休暇」、かつ、休暇取得日≧基準日「2017/8/22」となるのは、割当ID「ZZZ5」〜「ZZZ8」であるので、これらのデータを一旦削除する。   In the remaining vacation assignment data shown in FIG. 11, the employee ID “A”, the remaining management category “annual paid vacation”, and the vacation acquisition date ≧ the reference date “2017/8/22” are assignment IDs. Since these are "ZZZ5" to "ZZZ8", these data are temporarily deleted.

4.3.休暇付与データから、従業員コードおよび残管理区分が入力データと同一で、かつ基準日≦有効期間終了日となるデータを取得する。再割当の計算が必要となる期間に該当する割当候補付与データの一覧を作成する。 4.3. From the leave grant data, data is obtained in which the employee code and the remaining management category are the same as the input data, and the reference date ≤ the effective period end date. A list of allocation candidate assignment data corresponding to a period in which calculation of reassignment is required is created.

図12は、再割当の計算が必要となる期間に該当する割当候補付与データの一覧を作成する例を説明するための図である。   FIG. 12 is a diagram for explaining an example of creating a list of assignment candidate assignment data corresponding to a period in which reassignment calculation is required.

図12(A)に示す休暇付与データのうち、従業員コード「A」、残管理区分「年次有給休暇」、かつ、基準日「2017/8/22」≦有効期間終了日となるのは、付与ID「XXX1」、「XXX2」であるので、図12(B)に示すように、これらのデータを割当候補付与データとして抽出して、有効期間終了日が早い順に並び替える。   12A, the employee code “A”, the remaining management category “annual paid leave”, and the reference date “2017/8/22” ≦ the effective end date are as follows. Since the assignment IDs are “XXX1” and “XXX2”, as shown in FIG. 12B, these data are extracted as assignment candidate assignment data, and are rearranged in ascending order of the effective period end date.

4.4.休暇残割当データから、付与IDが割当候補付与データと同一で、「割当連番」が最大値となるデータを取得し、割当後残日数をセットする。 4.4. From the remaining vacation assignment data, data having the same assignment ID as the assignment candidate assignment data and having the maximum “assignment serial number” is acquired, and the number of remaining days after assignment is set.

基準日以降の休暇残割当データは削除されているため、「割当連番」が最大のデータの「割当後残日数」が、基準日以降に割り当て可能な残日数を意味する。割当後残日数を保持していることにより、再計算の効率化が可能になる。また、後述の残をチェックする照会画面等にも効果がある。   Since the remaining vacation assignment data after the base date has been deleted, the “number of remaining days after assignment” of the data having the largest “assignment serial number” means the number of remaining days that can be assigned after the base date. By retaining the number of days remaining after the assignment, the efficiency of the recalculation can be increased. Further, the present invention is also effective for an inquiry screen or the like for checking the remaining described later.

図13(A)に示すように、休暇残割当データの割当ID「ZZZ4」のデータ(4行目)の付与ID「XXX1」が図12(B)の割当候補付与データと同一で、「割当連番」が最大値「4」となるので、このデータを取得して、図13(B)に示すように、割当候補付与データの付与ID「XXX1」に、割当連番「4」、割当後残日数「12.5」をセットする。なお、付与ID「XXX2」のように、休暇残割当データに存在しない場合、割当連番を「0」、割当後残日数=付与日数とする。   As shown in FIG. 13A, the assignment ID “XXX1” of the data (the fourth row) of the assignment ID “ZZZ4” of the remaining vacation assignment data is the same as the assignment candidate assignment data of FIG. Since the “sequential number” has the maximum value “4”, this data is acquired, and as shown in FIG. 13B, the assigned serial number “4” is assigned to the assignment ID “XXX1” of the assignment candidate assignment data. The number of remaining days “12.5” is set. In the case where the data does not exist in the remaining vacation assignment data as in the case of the assignment ID “XXX2”, the assignment serial number is set to “0”, and the remaining days after assignment = the number of grant days.

4.5.休暇取得データから、従業員コードと休暇残管理区分が入力データと同一で、休暇取得日≧基準日となるデータを取得する。図14は、休暇取得データから割当計算対象データを抽出する例を説明するための図である。 4.5. From the vacation acquisition data, data is obtained in which the employee code and the leave management category are the same as the input data, and the vacation acquisition date ≧ the reference date. FIG. 14 is a diagram for describing an example of extracting assignment calculation target data from vacation acquisition data.

図14(A)に示す休暇取得データにおいて、取得ID「YYY8」のデータが今回追加されたデータであり、従業員コード「A」と休暇残管理区分「年次有給休暇」が入力データと同一で、休暇取得日≧基準日「2017/8/22」となるのは、取得ID「YYY8」、「YYY6」、「YYY7」のデータである。   In the vacation acquisition data shown in FIG. 14A, the data of the acquisition ID “YYY8” is the data added this time, and the employee code “A” and the remaining vacation management category “annual paid vacation” are the same as the input data. The vacation acquisition date ≧ the reference date “2017/8/22” is the data of the acquisition IDs “YYY8”, “YYY6”, and “YYY7”.

図14(B)に示すように、休暇取得データから取得ID「YYY8」、「YYY6」、「YYY7」のデータを割当計算対象データとして抽出して、休暇取得日が早い順に並び替える。なお、同一日にAM有休とPM有休のように複数取得した場合は時系列が早い方を優先する。   As shown in FIG. 14B, data of the acquisition IDs “YYY8”, “YYY6”, and “YYY7” are extracted from the vacation acquisition data as allocation calculation target data, and are rearranged in ascending order of the vacation acquisition dates. When a plurality of AM days and PM days are acquired on the same day, priority is given to the earlier time series.

つぎに、図15〜図22を参照し、上記図12〜図14で抽出した割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当について説明する。図15は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当を説明するためのフローチャートである。図16〜図22は、休暇残割当データの再割当の具体例を示す図である。   Next, with reference to FIGS. 15 to 22, the reassignment of the remaining vacation assignment data using the assignment calculation target data and the assignment candidate assignment data extracted in FIGS. 12 to 14 will be described. FIG. 15 is a flowchart for explaining reassignment of remaining vacation assignment data using assignment calculation target data and assignment candidate assignment data. 16 to 22 are diagrams showing specific examples of the reassignment of the remaining vacation assignment data.

図15において、まず、割当エラーデータを初期化する(ステップS11)。つぎに、割当計算対象データの1行目から順に読み込む(ステップS12)。割当候補付与データを1行目から順に読み込む(ステップS13)。現行の割当候補付与データが、有効期間開始日≦休暇取得日≦有効期間終了日、かつ、割当後残日数>0であるか否かを判断する(ステップS14)。現行の割当候補付与データが、有効期間開始日≦休暇取得日≦有効期間終了日、かつ、割当後残日数>0でない場合には(ステップS14の「No」)、ステップS18に移行して、割当候補付与データの次の行があるか否かを判断する。割当候補付与データの次の行がある場合には(ステップS18の「Yes」)、ステップS13に戻り、割当候補付与データの次の行を読み出して、同じ処理を繰り返し行う。現行の割当候補付与データが、有効期間開始日≦休暇取得日≦有効期間終了日、かつ、割当後残日数>0の場合(ステップS14の「Yes」)、現行の割当計算対象データの「取得日数」のうち、現行の割当候補付与データの割当後残日数の範囲内で休暇残割当データを作成する(ステップS15)。次に、休暇残割当データを追加した場合、割当計算対象データ・割当候補付与データを更新する(ステップS16)。   In FIG. 15, first, allocation error data is initialized (step S11). Next, the allocation calculation target data is sequentially read from the first line (step S12). The allocation candidate assignment data is read in order from the first row (step S13). It is determined whether the current assignment candidate assignment data satisfies the validity period start date ≦ the vacation acquisition date ≦ the validity period end date, and the number of remaining days after the allocation> 0 (step S14). If the current assignment candidate assignment data does not satisfy the validity period start date ≦ the vacation acquisition date ≦ the validity period end date and the number of remaining days after the allocation> 0 (“No” in step S14), the process proceeds to step S18. It is determined whether or not there is a next row of the assignment candidate assignment data. If there is a next row of the assignment candidate assignment data (“Yes” in step S18), the process returns to step S13, reads the next row of the assignment candidate assignment data, and repeats the same process. If the current assignment candidate grant data is valid period start date ≦ vacation acquisition date ≦ valid period end date and remaining days after allocation> 0 (“Yes” in step S14), “acquisition” of the current allocation calculation target data is performed. Of the “number of days”, the remaining vacation assignment data is created within the range of the remaining days after the assignment of the current assignment candidate assignment data (step S15). Next, when the remaining vacation assignment data is added, the assignment calculation target data / assignment candidate assignment data is updated (step S16).

つづいて、現行の割当計算対象データの取得日数>0であるか否かを判断する(ステップS17)。現行の割当計算対象データの取得日数>0でない場合(ステップS17の「No」)、すなわち、現行の割当計算対象データの取得日数の割当が完了した場合には、割当計算対象データに次の行があるか否を判断する(ステップS20)。割当計算対象データに次の行がある場合には(ステップS20の「Yes」)、ステップS12に戻り、割当計算対象データの次の行を読み出して、同じ処理を繰り返し行う。割当計算対象データに次の行がない場合には(ステップS20の「No」)、処理を終了する。   Subsequently, it is determined whether or not the number of acquisition days of the current allocation calculation target data> 0 (step S17). If the number of acquisition days of the current allocation calculation target data is not greater than 0 (“No” in step S17), that is, if the allocation of the number of acquisition days of the current allocation calculation target data has been completed, the next row is added to the allocation calculation target data. It is determined whether or not there is (step S20). If there is a next row in the allocation calculation target data ("Yes" in step S20), the process returns to step S12, reads the next row of the allocation calculation target data, and repeats the same processing. If there is no next row in the allocation calculation target data ("No" in step S20), the process ends.

現行の割当計算対象データの取得日数>0である場合は(ステップS17の「Yes」)、割当候補付与データに次の行があるか否を判断する(ステップS18)。割当候補付与データに次の行がある場合には(ステップS18の「Yes」)、ステップS13に戻り、割当候補付与データの次の行を読み出して、現行の割当計算対象データの取得日数=0となるまで、同じ処理を繰り返し行う。   If the number of acquisition days of the current allocation calculation target data is greater than 0 (“Yes” in step S17), it is determined whether or not the next row exists in the allocation candidate assignment data (step S18). If there is a next row in the assignment candidate assignment data (“Yes” in step S18), the process returns to step S13, reads the next row of the assignment candidate assignment data, and acquires the current number of days of assignment calculation target data = 0. The same processing is repeatedly performed until.

割当候補付与データに次の行がない場合には(ステップS18の「No」)、すなわち、全ての割当候補付与データを処理した後も、現行の割当計算対象データの取得日数>0の場合は、割当エラーデータを作成する(ステップS19)。   If there is no next row in the assignment candidate assignment data ("No" in step S18), that is, if the current number of days of acquisition of the assignment calculation target data> 0 after all the assignment candidate assignment data has been processed, Then, allocation error data is created (step S19).

4.6.割当計算対象データを順番に読み込み、以下の処理を行う(図16)。
STEP0:割当データの初期化を行う。図16(A)に示すように、割当エラーデータ(後述の、割当時の超過データ)に該当の取得IDが存在する場合は、削除する。
4.6. The allocation calculation target data is sequentially read, and the following processing is performed (FIG. 16).
STEP0: Initialize the allocation data. As shown in FIG. 16A, if the corresponding acquisition ID exists in the allocation error data (excess data at the time of allocation, which will be described later), it is deleted.

STEP1:1行目
図16(B)に示すように、割当計算対象データの1行目(取得ID「YYY8」のデータ)を読み込む。割当計算対象データの各行の「取得日数」を割当候補付与データに割り当てるために、以下の処理を行う。
STEP 1: First Line As shown in FIG. 16B, the first line (data of the acquisition ID “YYY8”) of the allocation calculation target data is read. The following processing is performed in order to assign the “acquisition days” of each row of the assignment calculation target data to the assignment candidate assignment data.

4.6.1.割当候補付与データを読み込み、以下の処理を行う(図17)。
STEP1−1:1行目
図17において、割当候補付与データの1行目(付与ID「XXX1」のデータ)を読み込む。
4.6.1. The assignment candidate assignment data is read, and the following processing is performed (FIG. 17).
STEP1-1: First Line In FIG. 17, the first line of the assignment candidate assignment data (data of the assignment ID “XXX1”) is read.

4.6.1.1.有効期間開始日≦休暇取得日≦有効期間終了日、かつ、割当残日数>0の場合、取得日数のうち、割当後残日数の範囲内で休暇残割当データを作成する。
例えば、1行目の割当候補付与データの付与「XXX1」は、有効期間開始日「2016/4/1」≦休暇取得日「2017/8/22」≦有効期間終了日「2018/3/31」、かつ、割当後残日数「12.5」>0となっているので、割当計算対象データの取得ID「YYY8」の取得日数「1.0」のうち、割当後残日数「12.5」の範囲内で休暇残割当データを作成する。
4.6.1.1. If the effective period start date ≦ the vacation acquisition date ≦ the effective period end date and the remaining number of assignment days> 0, the remaining vacation assignment data is created within the range of the remaining number of days after assignment among the acquisition days.
For example, the assignment “XXX1” of the assignment candidate assignment data in the first row is defined as “effective period start date“ 2016/4/1 ”≦ vacation acquisition date“ 2017/8/22 ”≦ effective period end date“ 2018/3/31 ” And the number of remaining days after allocation “12.5”> 0, the remaining number of days after allocation “12.5” of the number of obtained days “1.0” of the acquisition ID “YYY8” of the allocation calculation target data is obtained. Create remaining vacation allocation data within the range of

ここで、休暇残割当データの「割当日数」は、取得日数のうち、割当後残日数以下の日数とする。ただし、取得日数>割当後残日数の場合、すべてを割り当て切れないため、残りはSTEP1−2以降で後続の付与データから割り当てる。また、「割当連番」は、割当候補付与データの現在の割当連番+1とする。また、「割当後残日数」は、割当候補付与データの現在の割当後残日数−今回追加行の割当日数とする。   Here, the “allocation days” of the remaining vacation allocation data is the number of days that are equal to or less than the remaining days after allocation among the acquisition days. However, when the number of acquired days> the number of remaining days after allocation, all of the remaining data cannot be allocated, so the remaining data is allocated from the subsequent grant data in STEP1-2 and subsequent steps. The “assignment serial number” is the current assignment serial number of the assignment candidate assignment data + 1. In addition, “the number of remaining days after allocation” is the current number of remaining days after allocation of the allocation candidate assignment data−the number of days of allocation of the currently added row.

図17に示す例では、休暇残割当データの割当ID「ZZ11」を追加し、その割当日数「1.0」、割当連番「5(=4+1)」、及び割当後残日数「11.5(=12.5−1.0)」とする。   In the example shown in FIG. 17, the assignment ID “ZZ11” of the remaining vacation assignment data is added, the assignment days “1.0”, the assignment serial number “5 (= 4 + 1)”, and the remaining days after assignment “11.5”. (= 12.5−1.0) ”.

4.6.1.2.休暇残割当データを追加した場合、割当計算対象データ・割当候補付与データを更新する。 4.6.1.2. When remaining vacation assignment data is added, the assignment calculation target data / assignment candidate assignment data is updated.

図18(A)に示すように、割当計算対象データの取得ID「YYY8」の取得日数を、1.0→0.0に減算する。また、図18(B)に示すように、割当候補付与データの付与ID「XXX1」の割当連番を4→5にインクリメントし、割当後残日数を12.5→11.5に減算する。   As shown in FIG. 18A, the number of days of acquisition of the acquisition ID “YYY8” of the allocation calculation target data is subtracted from 1.0 to 0.0. Also, as shown in FIG. 18B, the assignment serial number of the assignment ID “XXX1” of the assignment candidate assignment data is incremented from 4 to 5, and the remaining days after assignment is subtracted from 12.5 to 11.5.

STEP1−2:現在の割当計算対象データの取得日数>0の場合、2行目以降の割当候補付与データについての、STEP1−1の処理を繰り返し行う。 STEP1-2: If the current number of days of allocation calculation target data> 0, the processing of STEP1-1 is repeatedly performed for the allocation candidate assignment data on the second and subsequent rows.

図18に示す例では、割当計算対象データの1行目の取得ID「YYY8」の取得日数は「0.0」となるので、1行目の処理は終了となる。   In the example illustrated in FIG. 18, the acquisition number of the acquisition ID “YYY8” in the first row of the allocation calculation target data is “0.0”, and thus the processing in the first row is completed.

STEP1−3:全ての候補付与データを処理した後も、現在の割当計算対象データの取得日>0の場合、割当エラーデータを作成する(図19)。
通常、休暇取得時点で残日数が足りない場合は取得前のチェックにてエラーとなるが、次のようなケースでは事後的にエラーが発生するため、検知が必要となる。
STEP 1-3: After processing all candidate assignment data, if the current acquisition date of assignment calculation target data> 0, create assignment error data (FIG. 19).
Normally, if the number of remaining days is insufficient at the time of vacation acquisition, an error occurs in the check before acquisition, but in the following cases, an error occurs afterward, and thus detection is required.

例1:休日出勤の申請後に、代休取得申請をしていたが、休日出勤をキャンセルした場合(休暇取得が残り、休暇付与が消えた状態になる)。   Example 1: An application for holidays was made after applying for work on a holiday, but the work on holidays was canceled (vacation acquisition was left, and the leave grant disappeared).

この場合、想定する対応としては、別の休日出勤予定がある場合は、登録により解消したり、当初代休日を、有給休暇に振り替えることにしてもよい。   In this case, as a supposed response, if there is another holiday work schedule, it may be canceled by registration, or the initial holiday may be transferred to paid vacation.

例2:当初の代休予定日より前に別の代休取得を割り込みで申請した結果、当初の代休に割り当て可能な付与がなくなった場合。
この場合、想定する対応としては、別の休日出勤予定がある場合は、登録により解消したり、当初代休日を、有給休暇に振り替えることにしてもよい。
Example 2: A case in which there is no longer a grant that can be assigned to the original holiday, as a result of applying for another holiday by interruption before the scheduled holiday date.
In this case, as a supposed response, if there is another holiday work schedule, it may be canceled by registration, or the initial holiday may be transferred to paid vacation.

上記のようなオペレーションを事前チェックして禁止してしまうと、休暇取得の操作が難しくなり迅速な取得を阻害してしまうため望ましくない。そこで、本実施の形態では、事前に入力エラーにはせず、計算過程でエラーデータを生成しておき、後述のアラート検知で担当者および上長・勤怠管理者が把握できるようにし、想定する対応に記載したような事後的な解消手段を提供する。   If the above-mentioned operations are checked in advance and prohibited, the operation of vacation acquisition becomes difficult, which hinders quick acquisition, which is not desirable. Therefore, in the present embodiment, it is assumed that error data is generated in the calculation process, not an input error in advance, so that a person in charge and a supervisor / time attendance manager can grasp by alert detection described later. Provide ex-post resolution measures as described in the response.

図20(A)に示すように、割当計算対象データの「取得日数」の未割当の残日数がエラーとなる。また、図20(B)に示すように、割当エラーデータについては、STEP1−1〜1−2の記載例では、すべて割当可能なためエラーとならない。   As shown in FIG. 20A, the remaining number of unassigned days in the “acquisition days” of the assignment calculation target data results in an error. Also, as shown in FIG. 20B, no error occurs in the assignment error data in the example described in STEP1-1 to STEP1-2, since all assignments can be made.

STEP2:割当計算対象データの2行目以降について、STEP1の処理を繰り返し行う。割当計算対象データの1〜3までの処理結果を図21に示す。図21において、割当計算対象データの1行目の「YYY8」については上述した通りである。次に、割当計算対象データの2行目の「YYY6」の取得日数「1.0」のうち、割当候補付与データの1行目の付与「XXX1」の割当後残日数「11.5」の範囲内で休暇残割当データを作成し、休暇残割当データの割当ID「ZZ12」を追加し、その割当日数「1.0」、割当連番「6(=5+1)」、及び割当後残日数「10.5(=11.5−1.0)」とする。 STEP 2: The process of STEP 1 is repeated for the second and subsequent rows of the allocation calculation target data. FIG. 21 shows the processing results of the allocation calculation target data of 1 to 3. In FIG. 21, “YYY8” in the first row of the allocation calculation target data is as described above. Next, among the acquisition days “1.0” of “YYY6” on the second line of the allocation calculation target data, the remaining days after allocation “11.5” of the allocation “XXX1” on the first line of the allocation candidate allocation data The remaining vacation assignment data is created within the range, the assignment ID “ZZ12” of the remaining vacation assignment data is added, the assigned days “1.0”, the assigned serial number “6 (= 5 + 1)”, and the remaining days after the assignment “10.5 (= 11.5−1.0)”.

割当計算対象データの取得ID「YYY6」の取得日数を、1.0→0.0に減算する。また、割当候補付与データの付与ID「XXX1」の割当連番を5→6にインクリメントし、割当後残日数を11.5→10.5に減算する。   The acquisition days of the acquisition ID “YYY6” of the allocation calculation target data is subtracted from 1.0 to 0.0. In addition, the assignment serial number of the assignment ID “XXX1” of the assignment candidate assignment data is incremented from 5 to 6, and the remaining days after assignment is subtracted from 11.5 to 10.5.

さらに、割当計算対象データの3行目の「YYY7」の取得日数「1.0」のうち、割当候補付与データの1行目の付与「XXX1」の割当後残日数「10.5」の範囲内で休暇残割当データを作成する。具体的には、休暇残割当データの割当ID「ZZ13」を追加し、その割当日数「1.0」、割当連番「7(=6+1)」、及び割当後残日数「9.5(=10.5−1.0)」とする。   Furthermore, of the acquisition days “1.0” of “YYY7” in the third row of the allocation calculation target data, the remaining days after allocation “10.5” of the allocation “XXX1” in the first row of the allocation candidate allocation data Create leave assignment data within More specifically, the assignment ID “ZZ13” of the remaining vacation assignment data is added, the assignment days “1.0”, the assignment serial number “7 (= 6 + 1)”, and the remaining days after assignment “9.5 (= 10.5-1.0) ".

割当計算対象データの取得ID「YYY7」の取得日数を、1.0→0.0に減算する。また、割当候補付与データの付与ID「XXX1」の割当連番を6→7にインクリメントし、割当後残日数を10.5→9.5に減算する。   The acquisition days of the acquisition ID “YYY7” of the allocation calculation target data is subtracted from 1.0 → 0.0. Further, the assignment serial number of the assignment ID “XXX1” of the assignment candidate assignment data is incremented from 6 to 7, and the remaining days after assignment is subtracted from 10.5 to 9.5.

4.6.割当候補付与データから自然消滅レコードを抽出し、休暇残割当データに自然消滅分の割り当てを追加する(図22)。有効期限時点で割当データに明示的に消滅を記録することで、休暇残割当データをチェックすればすべての休暇の取得可能残日数が把握可能となる(後述)。 4.6. A natural disappearance record is extracted from the assignment candidate assignment data, and an assignment for the natural disappearance is added to the remaining vacation assignment data (FIG. 22). By explicitly recording the disappearance in the assignment data at the expiration date, the remaining available days of all vacations can be grasped by checking the remaining vacation assignment data (described later).

自然消滅データの取得ID・取得日数は「NULL」とし、割当日数は割当候補付与データの割当後残日数、割当後残日数は「0」とする。自然消滅データにより、有効期間終了日時点で必ず残が「0」となる。   The acquisition ID and the number of acquired days of the naturally disappearing data are “NULL”, the assigned days are the remaining days after the assignment of the assignment candidate grant data, and the remaining days after the assignment are “0”. Due to the natural disappearance data, the remaining is always "0" at the end of the effective period.

つぎに、上記のように構成されたシステムによる具体例を説明する。   Next, a specific example of the system configured as described above will be described.

図23は、代休の残日数が足りない状態で代休を取得しようとした場合の例を説明するための図である。   FIG. 23 is a diagram for explaining an example in a case where an attempt is made to acquire a holiday in a state where the number of remaining days of the holiday is insufficient.

図23(A)に示すように、休暇付与データの付与ID「XXX3」では、付与日「2017/6/10」の代休が「1.0」日付与されている。   As shown in FIG. 23 (A), in the leave ID “XXX3” of the leave grant data, the substitute holiday of the grant date “2017/6/10” is given “1.0” days.

図23(B)に示すように、休暇取得データの取得ID「YYY5」で休暇取得日「2017/7/18」に半日代休「0.5」を取得し、さらに、取得ID「YYY9」で休暇取得日「2017/8/27」に終日代休「1.0」を取得しているため、0.5日超過している。この場合は、図20(C)に示すように、休暇残割当データの割当ID「ZZ16」において、割当日数「0.5」、割当後残日数「0.0」とする。   As shown in FIG. 23 (B), a half day holiday “0.5” is acquired on the vacation acquisition date “2017/7/18” with the vacation acquisition data acquisition ID “YYY5”, and further, with the acquisition ID “YYY9”. Since the all-day holiday "1.0" was acquired on the holiday acquisition date "2017/8/27", it has exceeded 0.5 days. In this case, as shown in FIG. 20C, in the assignment ID “ZZ16” of the remaining vacation assignment data, the number of assignment days is “0.5” and the number of remaining days after assignment is “0.0”.

そして、割当エラーデータで、取得ID「YYY9」について、超過分の日数を「超過日数」として、「0.5」とする。   Then, in the allocation error data, the number of days of the excess for the acquisition ID “YYY9” is set to “0.5” as “the number of excess days”.

図24は、休日出勤の追加により、代休の残日数が足りない状態が解消する場合の例を説明するための図である。   FIG. 24 is a diagram for explaining an example of a case in which the state in which the number of remaining days of holidays is insufficient is eliminated by the addition of work on holidays.

図24(A)に示すように、休暇付与データの付与ID「XXX4」では、2017/8/20の休日出勤分の代休が「0.5日」付与される。   As shown in FIG. 24 (A), in the assignment ID “XXX4” of the vacation assignment data, “0.5 days” is given as a substitute for the work on holiday on August 20, 2017.

図24(B)に示すように、休暇取得データの取得ID「YYY9」では、2017/8/27に、終日代休「1.0日」を取得しており、0.5日超過している。   As shown in FIG. 24 (B), with the acquisition ID “YYY9” of the vacation acquisition data, the all-day holiday “1.0 day” was acquired on August 27, 2017, which is more than 0.5 days. .

この場合は、図24(C)に示すように、休暇残割当データの割当ID「ZZ17」において、付与ID「XXX4」で超過していた割当日数「0.5」を割り当て、超過を解消する。このように、1つの休暇取得を複数の休暇付与データに分割することができる。   In this case, as shown in FIG. 24 (C), in the assignment ID “ZZ17” of the remaining vacation assignment data, the assignment days “0.5”, which has been exceeded by the assignment ID “XXX4”, are assigned to resolve the excess. . Thus, one vacation acquisition can be divided into a plurality of vacation grant data.

図24(D)に示すように、超過していた割当日数「0.5」が付与され、付与ID「XXX4」に割当られ、超過が解消するため、割当エラーデータは追加されず、STEP0にて削除されたままとなる。   As shown in FIG. 24 (D), the excess allocation days “0.5” are assigned and assigned to the assignment ID “XXX4”, and the excess is resolved. And remain deleted.

5.休暇取得時のチェック(図25)
休暇取得の申請時点で、休暇残日数の不足チェックや、ほかの優先的に取得すべき休暇の警告、登録後の割当エラーの表示を行う。
5. Check when taking vacation (Fig. 25)
At the time of the application for vacation acquisition, the system checks the number of remaining vacation days, alerts other vacations to be taken preferentially, and displays assignment errors after registration.

5.1.申請日時点で取得可能な休暇残があるかのチェック
休暇残割当データから、付与ID単位で「有効期間開始日≦休暇取得日≦有効期間終了日」かつ、「休暇取得日≧申請日」となる「割当連番が最小」の行を取得する。休暇取得データあり、かつ、(割当日数+割当後残日数)の合計≧取得日数の場合はOKとし、以外はNGとする。ここで、申請日は休暇取得日の意味であり、休暇申請の入力データの休暇取得日(申請日)である。図25は、休暇取得時のチェックを説明するための図である。
5.1. Check whether there is remaining vacation available at the time of application date From the remaining vacation assignment data, for each grant ID, "Effective period start date ≤ vacation acquisition date ≤ effective period end date" and "Vacation acquisition date ≥ application date" To obtain the row with the “minimum assigned serial number”. If there is leave acquisition data, and if the sum of (number of days assigned + remaining days after assignment) ≧ number of days acquired, OK is set; otherwise, NG is set. Here, the application date means the vacation acquisition date, and is the vacation acquisition date (application date) in the vacation request input data. FIG. 25 is a diagram for explaining the check at the time of vacation acquisition.

例えば、図25において、入力データが従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日代休」の場合について説明する。以下、休暇取得日(申請日)が「 2017/7/10」、「2017/8/25」、「2017/11/6」のそれぞれの場合について説明する。   For example, in FIG. 25, a case will be described in which the input data is an employee code “A”, a vacation acquisition date “2017/8/22”, and a vacation type “all day off”. Hereinafter, the case where the leave acquisition date (application date) is “2017/7/10”, “2017/8/25”, and “2017/11/6” will be described.

CASE1:申請日が7/10の場合は、割当ID「ZZZ9」の取得ID「YYY5」は、割当連番「1」、割当日数「0.5日」、割当後残「0.5日」であり、可能残合計=1.0となるので、取得可能である。   CASE1: When the application date is 7/10, the acquisition ID “YYY5” of the allocation ID “ZZZ9” is the allocation serial number “1”, the number of allocation days “0.5 day”, and the remaining after allocation “0.5 day” , And the total possible remaining = 1.0, so that acquisition is possible.

CASE2:申請日が8/25の場合は、割当ID「ZZ10」の取得ID「NULL(自然消滅)」は、割当連番「2」、割当日数「0.5日」、割当後残「0.5日」であり、可能残=0.5となる。また、割当ID「ZZ17」の取得ID「NULL(自然消滅)」は、割当連番「1」、割当日数「0.5日」、割当後残「0.5日」であり、可能残=0.5となる。申請している日の直後の割当データの割当後残日数を加算すると割当前残=今回取得可能残となる。このように、可能残合計=1.0となるので、取得可能である。   CASE 2: When the application date is 8/25, the acquisition ID “NULL (natural disappearance)” of the allocation ID “ZZ10” is the allocation serial number “2”, the number of allocation days “0.5 days”, and the remaining after allocation “0”. .5 days ", and the possible remaining = 0.5. The acquisition ID “NULL (natural disappearance)” of the allocation ID “ZZ17” is the allocation serial number “1”, the number of allocated days “0.5 day”, the remaining after allocation “0.5 day”, and the possible remaining = 0.5. When the number of remaining days after the assignment of the assignment data immediately after the day of application is added, the remaining before the assignment = the currently available remaining. As described above, since the total possible remaining = 1.0, acquisition is possible.

CASE3:申請日が11/6の場合は、付与ID「XXX3」、「XXX4」の有効期限後であり、可能残合計=0となるので、取得することができない。   CASE3: If the application date is 11/6, it is after the expiration date of the grant IDs “XXX3” and “XXX4”, and the total possible remaining = 0, so it cannot be acquired.

ポイントは、休暇未取得の残がある場合、必ず有効期限終了日に自然消滅データが存在する。従って、申請日以降の直近割当データから現時点の残を必ず計算することができる。   As for the points, if there are any remaining vacations, there will always be natural disappearance data on the expiration date. Therefore, the current balance can always be calculated from the latest allocation data after the application date.

なお、休暇の割り込み取得により、将来の休暇取得が残不足になる場合のエラーはここではチェックしない。後述の割当エラー表示、アラート通知にて行う。   It should be noted that an error in the case where the remaining vacation acquisition becomes insufficient due to the acquisition of a vacation interrupt is not checked here. This is performed by the allocation error display and alert notification described later.

5.2.申請日時点で取得可能な別の休暇残のうち、有効期間終了日が早く終了するものがあるかのチェック(図26)。 5.2. It is checked whether there is another vacation that can be acquired as of the application date and whose effective period end date ends earlier (FIG. 26).

5.2.1.申請されている休暇種別と残管理区分が同一の休暇残割当データから、直近の有効期間終了日を取得する。休暇残割当データから、付与ID単位で「有効期間開始日≦休暇取得日≦有効期間終了日」かつ、「休暇取得日≧申請日」となる「割当連番が最小」の行を取得する。取得データあり、かつ、(割当日数+割当後残日数)の合計≧取得日数の場合はOKとし、そのうち有効期間終了日が小さい方を取得する。   5.2.1. The latest effective period end date is acquired from the remaining vacation allocation data in which the applied vacation type and remaining management category are the same. From the remaining vacation allocation data, a row of “minimum assigned serial number” that satisfies “validity start date ≦ vacation acquisition date ≦ validity end date” and “vacation acquisition date ≧ application date” is obtained for each grant ID. If there is acquired data and the sum of (number of allocated days + number of remaining days after allocation) ≧ number of acquired days, it is determined to be OK, and the smaller of the validity period end date is acquired.

例えば、図26において、入力データが従業員コード「A」、休暇取得日「2017/10/20」、休暇種別「AM有休」の場合について説明する。付与ID「XXX1」は、有効期間終了日「2018/3/31」である。割当ID「ZZ14」の取得ID「NULL(自然消滅)」は、割当連番「8」、割当日数「9.5日」、割当後残「0日」であり、可能残=9.5となる。他方、付与ID「XXX2」は、有効期間終了日「2019/3/31」である。割当ID「ZZ15」の取得ID「NULL(自然消滅)」は、割当連番「1」、割当日数「18日」、割当後残「0.0日」であり、可能残=18となる。   For example, in FIG. 26, a case will be described in which the input data is an employee code “A”, a vacation acquisition date “2017/10/20”, and a vacation type “AM paid leave”. The grant ID “XXX1” is the effective term end date “2018/3/31”. The acquisition ID “NULL (natural disappearance)” of the allocation ID “ZZ14” is the allocation serial number “8”, the number of allocation days “9.5 days”, the remaining after allocation “0 days”, and the possible remaining = 9.5. Become. On the other hand, the grant ID “XXX2” is the effective term end date “2019/3/31”. The acquisition ID “NULL (natural disappearance)” of the allocation ID “ZZ15” is the allocation serial number “1”, the number of allocation days “18 days”, the remaining after allocation “0.0 days”, and the possible remaining = 18.

この場合は、有効期限終了日が小さい方の、付与ID「XXX1」の休暇を取得する。   In this case, the vacation of the grant ID “XXX1” with the smaller expiration date is acquired.

5.2.2.申請されている休暇種別と残管理区分が異なる休暇残割当データから、直近の有効期間終了日を取得(図27)
休暇残割当データから、付与ID単位で「有効期間開始日≦休暇取得日≦有効期間終了日」かつ、「休暇取得日≧申請日」となる「割当連番が最小」の行を取得する。取得データありの場合、そのうち有効期間終了日<5.1.1.で取得した有効期間終了日を取得する。有効な休暇データが見つかった場合は、確認メッセージを表示し、別の休暇の取得を促す。
5.2.2. Obtain the latest validity period end date from the remaining vacation allocation data for which the applied vacation type and remaining management category are different (Fig. 27)
From the remaining vacation allocation data, a row of “minimum assigned serial number” that satisfies “validity start date ≦ vacation acquisition date ≦ validity end date” and “vacation acquisition date ≧ application date” is obtained for each grant ID. If there is acquired data, the validity period end date <5.1.1. Acquires the effective period end date acquired in. If valid vacation data is found, a confirmation message is displayed and another vacation is requested.

図27において、申請が10/20の場合は、付与ID「XXX3」の場合は、有効期限終了日「2017/8/31」であり、有効期限後であるので、該当しない。他方、付与ID「XXX4」の場合は、有効期限終了日「2017/10/31」であり、割当ID「ZZ17」の取得ID「NULL(自然消滅)」は、割当連番「1」、割当日数「0.5日」、割当後残「0日」であり、可能残=0.5となり取得可能である。   In FIG. 27, if the application is 10/20, the application ID is “XXX3”, the expiration date is “2017/8/31”, which is not applicable since the expiration date is after. On the other hand, in the case of the assignment ID “XXX4”, the expiration date is “2017/10/31”, the acquisition ID “NULL (natural disappearance)” of the assignment ID “ZZ17” is the assignment serial number “1”, and the assignment ID is “1”. The number of days is “0.5 days”, the remaining time after the assignment is “0 days”, and the possible remaining = 0.5, which means that it can be acquired.

このように、有効な休暇が見つかった場合は、確認メッセージを通知(表示)して、切り替えを促してもよい。同図に示す確認メッセージの例では、「有効期限終了が近い別の休暇がありますがよろしいですか?」との表示と、その残管理区分、有効期限終了日、及び残日数とが表示されている。   As described above, when a valid vacation is found, a confirmation message may be notified (displayed) to prompt switching. In the example of the confirmation message shown in the figure, the message "Is there another vacation near expiration date? Are you sure?" And the remaining management classification, expiration date, and the number of remaining days are displayed. I have.

5.3.割当エラーデータがあるかのチェック(図28)
例えば、図28において、入力データが従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日代休」の場合について説明する。休暇申請及び休暇残割当処理後、休暇種別と残管理区分が同一の割当エラーデータを取得する。
5.3. Check if there is allocation error data (Fig. 28)
For example, in FIG. 28, the case where the input data is the employee code “A”, the vacation acquisition date “2017/8/22”, and the vacation type “all day holiday” will be described. After the leave application and the remaining leave assignment processing, the assignment error data with the same leave type and remaining management classification is acquired.

割当エラーデータが存在する場合は、警告メッセージを通知(表示)する。同図に示す警告メッセージでは、「取得可能な日数を超過している休暇があります。別の休暇に振替を行って下さい」との表示と、その休暇種別、休暇取得日、及び超過日数とが表示されている。   If the allocation error data exists, a warning message is notified (displayed). In the warning message shown in the figure, the display that "There is a vacation that exceeds the number of days that can be acquired. Please transfer to another vacation" and the type of vacation, vacation acquisition date, and excess days are displayed. Is displayed.

6.本人、上長などへのアラート表示(図29)
有効期限が近い休暇残、取得可能な日数を超過している休暇をアラート表示し、対応を促す。
6. Alert display to the person, superior, etc. (Fig. 29)
Alerts are displayed for vacations that are close to expiration and for vacations that have exceeded the number of days that can be acquired, prompting you to respond.

休暇未取得の残がある場合、必ず有効期限終了日に自然消滅の休暇残割当データが存在する。これを利用して、何時の休暇が消滅するかを、従業員本人、上長、管理者が即座に確認できる。   If there is a vacation unacquired remaining, there will always be leave-off assignment data that naturally disappears on the expiration date. By using this, employees, their superiors, and managers can immediately confirm when their vacation will end.

6.1.有効期限が近い休暇のアラート
例えば、以下の取得条件に該当する場合に、有効期限が近い休暇のアラートを通知(表示)し、対応を促してもよい。
6.1. Alerts for vacations near expiration date For example, when the following acquisition conditions are met, an alert for vacations near expiration date may be notified (displayed) to urge response.

取得条件:今日の日付の月初日≦有効期間終了日≦今日の日付の月末日、かつ、割当連番が最大の行、かつ、取得ID=NULL(自然消滅)で割当日数>0のデータ(消滅日数があるもの)   Acquisition condition: data of the first day of today's date ≤ the end date of validity period ≤ the last day of the month of today's date, the row with the largest assigned serial number, and the acquisition ID = NULL (natural disappearance) and the number of assigned days> 0 Those with days of disappearance)

有効期限が近い休暇のアラートの例では、ログインメニューにおいて、通知エリアに、「今月中が取得期限の休暇残があります。(2017/8/31期限 代休 残0.5日)」が表示されている。   In the example of a vacation alert that is about to expire, in the log-in menu, "There is a vacation due this month. (August 31, 2017, 0.5 days remaining due holiday)" is displayed in the notification area. I have.

6.2.取得可能な日数の超過アラート
例えば、以下の取得条件に該当する場合に、取得可能な休暇の日数を超過している旨のアラートを通知(表示)し、対応を促してもよい。
6.2. Alert for Acquiring Excessive Days If, for example, the following acquisition conditions are met, an alert indicating that the number of available vacation days has been exceeded may be notified (displayed) to urge response.

取得条件:休暇取得日≧今日の日付の月の一日   Acquisition condition: Vacation acquisition date ≧ today's day of the month

取得可能な日数の超過アラートの例では、ログインメニューにおいて、通知エリアに、「取得可能な日数を超過している休暇があります。(2017/8/27 代休 超過0.5)」が表示されている。   In the example of the alert that the number of days that can be acquired is exceeded, in the login area, “There is a vacation that exceeds the number of days that can be acquired. I have.

以上説明したように、本実施の形態によれば、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成部102bと、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データ作成部102cと、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成部102dとを備えているので、消滅期限が早い休暇から優先的に取得することが可能となる。   As described above, according to the present embodiment, for each vacation-occurring event, the grant ID, the employee code, the leave grant date, the remaining management category for specifying paid or paid leave, the start date of the effective period of the vacation, A vacation grant data creating unit 102b for creating vacation grant data including data on the effective period end date of the vacation and the number of days of leave granted, and each time a vacation request is received, an acquisition ID, an employee code, a vacation acquisition date, a half day or A vacation acquisition data creating unit 102c that creates vacation acquisition data including data of a vacation type that designates all-day vacation, a leave management category that designates paid vacation or holidays, and the number of days acquired, and an assignment ID that includes the vacation grant data. A vacation leave allocation data creating unit 102d for linking the vacation acquisition data and creating vacation leave allocation data for preferentially acquiring a vacation with an earlier expiration date. , It is possible to disappear deadline to get preferentially from an early vacation.

また、本実施の形態によれば、休暇残割当データは、前記休暇付与データの付与日数に休暇取得データの取得日数を割り当てた割当日数を、当該付与日数から減算した割当後残日数を含むこととしたので、特定日時点で有効な休暇残日数を即時に把握することが可能となる。   Further, according to the present embodiment, the remaining vacation assignment data includes the remaining days after the assignment obtained by subtracting the assignment days obtained by assigning the acquisition days of the vacation acquisition data to the grant days of the vacation grant data, from the grant days. Therefore, it is possible to immediately grasp the number of remaining vacation days effective as of the specific day.

また、本実施の形態によれば、休暇残割当データは、未取得の休暇が有効期限終了日に消滅することを示す自然消滅データを含むこととしたので、特定期間に消滅する休暇残日数を即時に把握することが可能となる。   Further, according to the present embodiment, the remaining vacation assignment data includes the natural disappearance data indicating that the unacquired vacation expires on the expiration date, so that the number of remaining vacation days that disappear in the specific period is calculated. It becomes possible to grasp immediately.

また、本実施の形態によれば、休暇申請段階で、休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知部102eを備えているので、複数の残管理区分からより期限の短い優先度の高い休暇を判別して取得を促すことが可能となる。   Further, according to the present embodiment, at the vacation application stage, the message notifying unit 102e is provided which refers to the remaining vacation assignment data and notifies a plurality of remaining management categories of a vacation having a shorter priority and a higher priority vacation. Therefore, it is possible to determine a vacation with a shorter deadline and a higher priority from a plurality of remaining management categories to prompt the vacation.

また、本実施の形態によれば、休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数超過している休暇申請にアラートを通知するアラート通知部102fを備えているので、有効期限が近い休暇残等を警告することが可能となる。   Further, according to the present embodiment, the alert notification unit 102f that notifies an alert to a leave application with a near expiration date and / or a vacation application that has exceeded the number of available days by referring to the remaining vacation allocation data. Since it is provided, it is possible to warn of the remaining vacation or the like, which is near expiration date.

[5.他の実施形態]
本発明は、上述した実施の形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[5. Other Embodiments]
The present invention may be embodied in various different embodiments within the scope of the technical idea described in the claims, in addition to the above-described embodiments.

例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。   For example, of the processes described in the embodiment, all or some of the processes described as being performed automatically can be manually performed, or all of the processes described as being performed manually can be performed. Alternatively, it can be performed partly automatically by a known method.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。   In addition, processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions of each processing, screen examples, and database configurations shown in this specification and drawings are not unless otherwise specified. Can be changed arbitrarily.

また、休暇残割当管理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。   Also, regarding the remaining vacation allocation management device 100, the illustrated components are functionally conceptual and do not necessarily need to be physically configured as illustrated.

例えば、休暇残割当管理装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて休暇残割当管理装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。   For example, all or any part of the processing functions provided in the remaining vacation allocation management device 100, particularly each processing function performed by the control unit, are realized by the CPU and a program interpreted and executed by the CPU. And may be realized as hardware by wired logic. The program is recorded on a non-transitory computer-readable recording medium containing programmed instructions for causing the information processing apparatus to execute the processing described in the present embodiment. It is read mechanically by the management device 100. That is, in a storage unit such as a ROM or an HDD (Hard Disk Drive), a computer program for giving instructions to the CPU in cooperation with the OS and performing various processes is recorded. This computer program is executed by being loaded into the RAM, and forms a control unit in cooperation with the CPU.

また、このコンピュータプログラムは、休暇残割当管理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。   Further, this computer program may be stored in an application program server connected to the remaining vacation assignment management device 100 via an arbitrary network, and may be downloaded in whole or in part as needed. It is possible.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD−ROM(Compact Disk Read Only Memory)、MO(Magneto−Optical disk)、DVD(Digital Versatile Disk)、および、Blu−ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。   Further, the program for executing the processing described in the present embodiment may be stored in a non-transitory computer-readable recording medium, or may be configured as a program product. Here, the “recording medium” includes a memory card, a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), and an EEPROM (registered). Trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical Disc, Digital (Digital and Digital), DVD (Digital, Digital and Digital, etc.) Any "portable physical media It is intended to include.

また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。   The “program” is a data processing method described in an arbitrary language or description method, and may be in any form such as a source code or a binary code. Note that the “program” is not necessarily limited to a single program, but achieves its function in cooperation with a program that is distributed as a plurality of modules or libraries or a separate program represented by an OS. Including things. It should be noted that a known configuration and procedure can be used for a specific configuration and reading procedure for reading a recording medium in each apparatus described in the embodiment, an installation procedure after reading, and the like.

記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。   Various databases and the like stored in the storage unit are storage devices such as a memory device such as a RAM and a ROM, a fixed disk device such as a hard disk, a flexible disk, and an optical disk. Stores programs, tables, databases, web page files, and the like.

また、休暇残割当管理装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、休暇残割当管理装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。   Further, the remaining vacation assignment management device 100 may be configured as an information processing device such as a known personal computer or a workstation, or may be configured as an information processing device to which an arbitrary peripheral device is connected. The remaining vacation allocation management device 100 may be realized by installing software (including a program or data) for realizing the processing described in the present embodiment in the device.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。   Furthermore, the specific form of the distribution / integration of the apparatus is not limited to the illustrated one, and all or a part of the apparatus may be functionally or physically separated in arbitrary units according to various additions or the like or according to the functional load. It can be configured to be distributed and integrated. That is, the above-described embodiments may be arbitrarily combined and implemented, or the embodiments may be selectively implemented.

1 休暇残割当管理装置
102 制御部
102a マスタ設定部
102b 休暇付与データ作成部
102c 休暇取得データ作成部
102d 休暇残割当データ作成部
102e メッセージ通知部
102f アラート通知部
104 通信インターフェース部
106 記憶部
106a 有休付与表マスタ
106b 代休付与条件マスタ
106c 休暇種別マスタ
106d データファイル
112 入力装置
114 出力装置
200 端末装置
300 ネットワーク
REFERENCE SIGNS LIST 1 leave remaining allocation management device 102 control unit 102 a master setting unit 102 b leave grant data creating unit 102 c leave acquisition data creating unit 102 d leave remaining assignment data creating unit 102 e message notifying unit 102 f alert notifying unit 104 communication interface unit 106 storage unit 106 a leave giving Table master 106b Holiday leave grant condition master 106c Vacation type master 106d Data file 112 Input device 114 Output device 200 Terminal device 300 Network

Claims (7)

制御部を備えた休暇残割当管理装置であって、
前記制御部は、
休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成手段と、
休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データ作成手段と、
割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成手段と、
を備えたことを特徴とする休暇残割当管理装置。
A remaining vacation assignment management device including a control unit,
The control unit includes:
For each holiday occurrence event, data on the grant ID, employee code, leave grant date, remaining management classification to specify paid or paid leave, vacation effective period start date, vacation effective period end date, and leave grant days Vacation grant data creating means for creating vacation grant data including
Each time a vacation application is received, the acquisition ID, employee code, vacation acquisition date, vacation type that specifies half-day or full-day vacation, remaining management classification that specifies paid or paid holidays, and vacation acquisition data including data on the number of days taken Means for creating vacation acquisition data to be created;
A leave assignment data creating unit that includes assignment ID, associates the vacation grant data with the vacation acquisition data, and creates vacation assignment data for preferentially acquiring a vacation with an earlier expiration date;
A remaining vacation allocation management device, comprising:
前記休暇残割当データは、前記休暇付与データの付与日数に前記休暇取得データの取得日数を割り当てた割当日数を、当該付与日数から減算した割当後残日数を含むことを特徴とする請求項1に記載の休暇残割当管理装置。   The method according to claim 1, wherein the remaining vacation assignment data includes remaining days after assignment obtained by subtracting, from the assigned days, the assigned days obtained by assigning the acquisition days of the vacation acquisition data to the granted days of the vacation grant data. The remaining vacation assignment management device according to the description. 前記休暇残割当データは、未取得の休暇が有効期限終了日に消滅することを示す自然消滅データを含むことを特徴とする請求項1又は請求項2に記載の休暇残割当管理装置。   3. The remaining vacation assignment management device according to claim 1, wherein the remaining vacation assignment data includes natural disappearance data indicating that an unacquired vacation expires on an expiration date. さらに、休暇申請段階で、前記休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知手段を備えたことを特徴とする請求項1〜請求項3のいずれか1つに記載の休暇残割当管理装置。   Further, in the leave application step, there is provided a message notifying means for notifying a short-term and high-priority leave from a plurality of remaining management categories by referring to the remaining leave allocation data. The remaining vacation assignment management device according to claim 3. さらに、前記休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数を超過している休暇申請にアラートを通知するアラート通知手段を備えたことを特徴とする請求項1〜4のいずれか1つに記載の休暇残割当管理装置。   Further, an alert notifying unit is provided for notifying the user of remaining vacations near the expiration date and / or a vacation request that has exceeded the number of days that can be acquired by referring to the remaining vacation assignment data. The remaining vacation assignment management device according to any one of claims 1 to 4. 制御部を備えた情報処理装置に実行させるための休暇残割当管理方法であって、
前記制御部で実行させる、
休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、
休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、
割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、
を含むことを特徴とする休暇残割当管理方法。
A remaining vacation assignment management method for causing an information processing apparatus having a control unit to execute,
Executed by the control unit,
For each holiday occurrence event, data on the grant ID, employee code, leave grant date, remaining management classification to specify paid or paid leave, vacation effective period start date, vacation effective period end date, and leave grant days A vacation grant data creating step of creating vacation grant data including
Each time a vacation application is received, the acquisition ID, employee code, vacation acquisition date, vacation type that specifies half-day or full-day vacation, remaining management classification that specifies paid or paid holidays, and vacation acquisition data including data on the number of days taken A vacation acquisition data step to create,
A vacation leave assignment data creating step of creating a vacation assignment data that includes an assignment ID, associates the vacation grant data with the vacation acquisition data, and creates vacation assignment data for preferentially acquiring a vacation with an earlier expiration date;
A remaining vacation assignment management method comprising:
制御部を備えた情報処理装置に実行させるための休暇残割当プログラムであって、
前記制御部において、
休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、
休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、
割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、
を実行させるための休暇残割当管理プログラム。
A leave assignment program to be executed by an information processing apparatus having a control unit,
In the control unit,
For each holiday occurrence event, data on the grant ID, employee code, leave grant date, remaining management classification to specify paid or paid leave, vacation effective period start date, vacation effective period end date, and leave grant days A vacation grant data creating step of creating vacation grant data including
Each time a vacation application is received, the acquisition ID, employee code, vacation acquisition date, vacation type that specifies half-day or full-day vacation, remaining management classification that specifies paid or paid holidays, and vacation acquisition data including data on the number of days taken A vacation acquisition data step to create,
A vacation leave assignment data creating step of creating a vacation assignment data that includes an assignment ID, associates the vacation grant data with the vacation acquisition data, and creates vacation assignment data for preferentially acquiring a vacation with an earlier expiration date;
Leave management program to run
JP2018125600A 2018-06-29 2018-06-29 Paid leave allocation management device, vacation remaining allocation management method, and vacation remaining allocation management program Active JP7097763B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018125600A JP7097763B2 (en) 2018-06-29 2018-06-29 Paid leave allocation management device, vacation remaining allocation management method, and vacation remaining allocation management program
JP2022102976A JP7431894B2 (en) 2018-06-29 2022-06-27 Leave remaining allocation management device, leave remaining allocation management method, and leave remaining allocation management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018125600A JP7097763B2 (en) 2018-06-29 2018-06-29 Paid leave allocation management device, vacation remaining allocation management method, and vacation remaining allocation management program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022102976A Division JP7431894B2 (en) 2018-06-29 2022-06-27 Leave remaining allocation management device, leave remaining allocation management method, and leave remaining allocation management program

Publications (2)

Publication Number Publication Date
JP2020004301A true JP2020004301A (en) 2020-01-09
JP7097763B2 JP7097763B2 (en) 2022-07-08

Family

ID=69100085

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018125600A Active JP7097763B2 (en) 2018-06-29 2018-06-29 Paid leave allocation management device, vacation remaining allocation management method, and vacation remaining allocation management program
JP2022102976A Active JP7431894B2 (en) 2018-06-29 2022-06-27 Leave remaining allocation management device, leave remaining allocation management method, and leave remaining allocation management program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022102976A Active JP7431894B2 (en) 2018-06-29 2022-06-27 Leave remaining allocation management device, leave remaining allocation management method, and leave remaining allocation management program

Country Status (1)

Country Link
JP (2) JP7097763B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200127882A (en) * 2019-05-03 2020-11-11 웰키아이앤씨 주식회사 Vacation Information and Suggestion System

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005071020A (en) * 2003-08-22 2005-03-17 Honda Motor Co Ltd Device for managing taking of paid leave
JP2008276417A (en) * 2007-04-26 2008-11-13 Sato Corp Vacation application system
JP2010140430A (en) * 2008-12-15 2010-06-24 Ricoh Co Ltd System, method and program for managing attendance
JP2011065486A (en) * 2009-09-17 2011-03-31 Itcs:Kk Noticing program and noticing system
JP2017120499A (en) * 2015-12-28 2017-07-06 アマノ株式会社 Information processing apparatus, information processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005071020A (en) * 2003-08-22 2005-03-17 Honda Motor Co Ltd Device for managing taking of paid leave
JP2008276417A (en) * 2007-04-26 2008-11-13 Sato Corp Vacation application system
JP2010140430A (en) * 2008-12-15 2010-06-24 Ricoh Co Ltd System, method and program for managing attendance
JP2011065486A (en) * 2009-09-17 2011-03-31 Itcs:Kk Noticing program and noticing system
JP2017120499A (en) * 2015-12-28 2017-07-06 アマノ株式会社 Information processing apparatus, information processing method, and program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MAJORFLOW WEBワークフローソフトウェア, JPN6022012271, 14 July 2016 (2016-07-14), ISSN: 0004742068 *
熊野 憲辰: "未来に活きる! 現場で使える! データモデリング 第21回 企業の勤怠管理システム", シェルスクリプトマガジン, vol. 2015 November vol.31, JPN6022012272, 20 October 2015 (2015-10-20), pages 49 - 52, ISSN: 0004742067 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200127882A (en) * 2019-05-03 2020-11-11 웰키아이앤씨 주식회사 Vacation Information and Suggestion System
KR102250004B1 (en) 2019-05-03 2021-05-10 웰키아이앤씨 주식회사 Vacation Information and Suggestion System

Also Published As

Publication number Publication date
JP7431894B2 (en) 2024-02-15
JP7097763B2 (en) 2022-07-08
JP2022118277A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US8731981B2 (en) Method, system and program product for filling job orders
US6941514B2 (en) System and method for priority-based work order scheduling
US8285578B2 (en) Managing information technology (IT) infrastructure of an enterprise using a centralized logistics and management (CLAM) tool
US7117162B1 (en) System and Method for Facilitating Managing a Job
KR102101858B1 (en) Labor management method and system for short-time workers
KR101991881B1 (en) Labor management solution system and method
JP2015225550A (en) Attendance shift system and shift assignment server
US20070100881A1 (en) Method, system and storage medium for identifying and allocating surplus inventory
JP3992111B2 (en) Systems, methods and programs for adjusting work schedules
JP2018185639A (en) Scheduling system, scheduling method and program
JP2015210691A (en) Intellectual property rights information management system
JP7393817B2 (en) Industrial property cost estimation system and method
JP2021068294A (en) Management support device, management support system, and program
JP7431894B2 (en) Leave remaining allocation management device, leave remaining allocation management method, and leave remaining allocation management program
JP5853017B2 (en) Remote portal for billing, docketing and document management
US20110071842A1 (en) Judicial case management computer system and method for providing the same
US20050182698A1 (en) Report generation and distribution system and method for a time and attendance recording system
KR101664830B1 (en) System and method for managing compliance
JP2008203909A (en) Account managing system
KR20190076930A (en) Labor management solution system and method
KR100976420B1 (en) Software configuration management system and method therefore
JP2006146530A (en) Scheduling support system
JP2005228059A (en) Account management system and its method
JP2002324153A (en) System and method for managing duty circumstances of dispatched employee, and program therefor
JP6570604B2 (en) Schedule management system and schedule management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210607

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220518

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220628

R150 Certificate of patent or registration of utility model

Ref document number: 7097763

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150