JP7097763B2 - Paid leave allocation management device, vacation remaining allocation management method, and vacation remaining allocation management program - Google Patents
Paid leave allocation management device, vacation remaining allocation management method, and vacation remaining allocation management program Download PDFInfo
- Publication number
- JP7097763B2 JP7097763B2 JP2018125600A JP2018125600A JP7097763B2 JP 7097763 B2 JP7097763 B2 JP 7097763B2 JP 2018125600 A JP2018125600 A JP 2018125600A JP 2018125600 A JP2018125600 A JP 2018125600A JP 7097763 B2 JP7097763 B2 JP 7097763B2
- Authority
- JP
- Japan
- Prior art keywords
- vacation
- data
- allocation
- leave
- grant
- 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.)
- Active
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、休暇残割当管理装置、休暇残割当管理方法、及び休暇残割当管理プログラムに関する。 The present invention relates to a vacation balance allocation management device, a vacation balance allocation management method, and a vacation balance allocation management program.
近年、「働き方改革」というキーワードで、労働時間の適正管理が重要性を増し、それに伴って勤怠管理システムに対する期待とニーズも高まっている。従業員の正確な勤務状況を管理部門・所属上長がきちんと把握し、過重労働を防止したり、定期的な休暇取得を促したり、といった改善を行う必要があり、従業員の休暇の残日数、取得状況を従来よりも厳密に管理することが求められている。従来、勤務管理システムとして、例えば、特許文献1~3がある。
In recent years, with the keyword "work style reform", proper management of working hours has become more important, and along with this, expectations and needs for time and attendance management systems have also increased. It is necessary for the management department / supervisor to properly grasp the accurate working conditions of employees, prevent overwork, encourage regular leave, and make other improvements. , It is required to manage the acquisition status more strictly than before. Conventionally, as a work management system, for example, there are
しかしながら、上記特許文献1~3では、消滅期限が早い休暇から優先的に取得する仕組みに関して何等記載されていない。
However, the above-mentioned
本発明は、上記に鑑みてなされたものであり、消滅期限が早い休暇から優先的に取得することが可能な休暇残割当管理装置、休暇残割当管理方法、及び休暇残割当管理プログラムを提供することを目的とする。 The present invention has been made in view of the above, and provides a vacation balance allocation management device, a vacation balance allocation management method, and a vacation balance allocation management program that can be preferentially taken from vacations with an early expiration date. The purpose is.
上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた休暇残割当管理装置であって、前記制御部は、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成手段と、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データ作成手段と、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成手段と、を備えたことを特徴とする。 In order to solve the above-mentioned problems and achieve the object, the present invention is a vacation remaining allocation management device provided with a control unit, and the control unit is used for each event in which a vacation occurs, such as a grant ID and an employee code. , A means for creating vacation grant data, which creates vacation grant data including data on the date of grant of leave, the remaining management category for specifying paid leave or substitute leave, the start date of valid period of vacation, the end date of valid period of vacation, and the number of days of leave granted. And every time a leave request is received, the leave acquisition including the acquisition ID, employee code, vacation acquisition date, vacation type that specifies half-day or full-day leave, remaining management category that specifies paid leave or substitute leave, and the number of days taken. Create the vacation remaining allocation data for preferentially acquiring the vacation with the earliest extinction deadline by associating the vacation grant data with the vacation acquisition data, including the vacation acquisition data creation means for creating data and the allocation ID. It is characterized by having a means for creating leave allocation data.
また、本発明の好ましい態様によれば、前記休暇残割当データは、前記休暇付与データの付与日数に前記休暇取得データの取得日数を割り当てた割当日数を、当該付与日数から減算した割当後残日数を含むことにしてもよい。 Further, according to a preferred embodiment of the present invention, the vacation remaining allocation data is the number of remaining days after allocation obtained by subtracting the number of allocated days obtained by allocating the number of days for acquiring the vacation acquisition data to the number of days granted for the vacation grant data. May be included.
また、本発明の好ましい態様によれば、前記休暇残割当データは、未取得の休暇が有効期限終了日に消滅することを示す自然消滅データを含むことにしてもよい。 Further, according to a preferred embodiment of the present invention, the vacation balance allocation data may include spontaneous extinction data indicating that unacquired vacations will be extinguished on the expiration date.
また、本発明の好ましい態様によれば、さらに、休暇申請段階で、前記休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知手段を備えることにしてもよい。 Further, according to a preferred embodiment of the present invention, further, at the vacation application stage, a message notification means for notifying a higher priority vacation with a shorter deadline from a plurality of residual management categories by referring to the vacation balance allocation data is provided. You may be prepared.
また、本発明の好ましい態様によれば、さらに、前記休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数を超過している休暇申請にアラートを通知するアラート通知手段を備えることにしてもよい。 Further, according to a preferred embodiment of the present invention, the vacation balance allocation data is further referred to to notify an alert to a vacation balance that is nearing the expiration date and / or a vacation application that exceeds the number of days that can be obtained. An alert notification means may be provided.
また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置に実行させるための休暇残割当管理方法であって、前記制御部で実行させる、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、を含むことを特徴とする。 Further, in order to solve the above-mentioned problems and achieve the object, the present invention is a vacation remaining allocation management method for causing an information processing apparatus provided with a control unit to execute the vacation, which is executed by the control unit. For each event that occurs, data on the grant ID, employee code, vacation grant date, remaining management category that specifies paid leave or substitute leave, vacation validity period start date, vacation validity period end date, and vacation grant days Create leave grant data including leave grant data creation step, and each time a leave request is received, the acquisition ID, employee code, vacation acquisition date, leave type that specifies half-day or full-day leave, and the rest that specifies paid leave or substitute leave The vacation acquisition data step that creates the vacation acquisition data including the management category and the data of the number of days acquired, and the vacation acquisition data including the allocation ID, the vacation grant data and the vacation acquisition data are linked, and the vacation with the earliest extinction deadline is given priority. It is characterized by including a leave remaining allocation data creation step for creating leave remaining allocation data for acquisition.
また、上述した課題を解決し、目的を達成するために、本発明は、制御部を備えた情報処理装置に実行させるための休暇残割当プログラムであって、前記制御部において、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、を実行させるための休暇残割当管理プログラムであることを特徴とする。 Further, in order to solve the above-mentioned problems and achieve the object, the present invention is a vacation remaining allocation program for causing an information processing apparatus provided with a control unit to execute a vacation occurrence event in the control unit. For each leave grant ID, employee code, leave grant date, remaining management category to specify paid leave or substitute leave, vacation valid period start date, vacation valid period end date, and leave grant including data on the number of days of leave granted The leave grant data creation step to create data, the acquisition ID, employee code, vacation acquisition date, vacation type to specify half-day or full-day leave, remaining management category to specify paid leave or substitute leave, In order to link the vacation acquisition data step that creates the vacation acquisition data including the data of the number of days acquired and the vacation acquisition data including the allocation ID, the vacation grant data and the vacation acquisition data, and preferentially acquire the vacation with the earliest extinction deadline. It is characterized by being a vacation balance allocation data creation step for creating vacation balance allocation data and a vacation balance allocation management program for executing.
本発明によれば、消滅期限が早い休暇から優先的に取得することが可能となるという効果を奏する。 According to the present invention, there is an effect that it is possible to preferentially take a leave with an early extinction deadline.
本発明の実施形態を図面に基づいて詳細に説明する。なお、本発明は本実施の形態により限定されるものではない。 Embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to the present embodiment.
[1.概要]
近年、「働き方改革」というキーワードで、労働時間の適正管理が重要性を増し、それに伴って勤怠管理システムに対する期待とニーズも高まっている。従業員の正確な勤務状況を管理部門・所属上長がきちんと把握し、過重労働を防止したり、定期的な休暇取得を促したり、といった改善を行う必要があり、従業員の休暇の残日数、取得状況を従来よりも厳密に管理することが求められている。
[1. Overview]
In recent years, with the keyword "work style reform", proper management of working hours has become more important, and along with this, expectations and needs for time and attendance management systems have also increased. It is necessary for the management department / supervisor to properly grasp the accurate working conditions of employees, prevent overwork, encourage regular leave, and make other improvements. , It is required to manage the acquisition status more strictly than before.
しかしながら、休暇には「年次有給休暇」と「代休」のように性質が異なる休暇があり、それぞれ有効期限の設定が異なることから、間違った選択による休暇の期限消滅や、残業代の追加支払いなどのリスクが増し、管理負荷も増大してしまうという課題があった。 However, there are vacations with different characteristics such as "annual paid leave" and "substitute leave", and each has a different expiration date setting. There was a problem that such risks increased and the management load also increased.
図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 the types of leave, the pattern of granting annual paid leave / substitute leave, and the image of taking the leave. As shown in FIG. 1 (A), there are annual paid leave (paid leave) and substitute leave. Annual paid leave (paid leave) is a leave that is legally required to be granted according to the length of service and the number of working days of the employee. The number of years of continuous service is 0.5 years, 1.5 years, 2.5 years, 3.5 years, 4.5 years, 5.5 years, 6.5 years or more, and the legal minimum number of days granted is, respectively. It will be 10th, 11th, 12th, 14th, 16th, 18th and 20th. In addition, annual paid leave includes the amount that occurs in the current year and the amount carried over from the previous year.
代休は、休日労働が行われた場合に、その代償として他の労働日を休日として休ませる措置である。本来であれば休日出勤として割増賃金を支払う必要があるが、代休取得相当時間分は割増賃金の支払いが不要になる。法的な有効期限の規定はないものの、残業時間の賃金支払いを繰り延べていることになるため、就業規則の定めにより通常は休日出勤から数週間~数か月程度以内の有効期限が設けられる。従って、年次有給休暇よりも優先して代休を取得する必要があり、期限が切れた場合は再度残業代を支払う義務が発生する。 Substitute leave is a measure to take other working days as a holiday in return for the holiday work. Normally, it is necessary to pay extra wages for work on holidays, but it is not necessary to pay extra wages for the time equivalent to taking a substitute leave. Although there is no legal expiration date, wage payments for overtime hours are postponed, so the expiration date is usually set within a few weeks to a few months from work on holidays according to the rules of employment. Therefore, it is necessary to take paid leave in preference to annual paid leave, and if the period expires, it will be obliged to pay overtime again.
さらに、過重労働のリスクの観点では、休日出勤後に速やかに代休を取得することが望ましく、休暇取得を強制するためにあえて数週間などの短い期限を設定する企業が増えていく傾向が予想される。このため、月単位で何日消滅するかではなく、何日後に消滅するか、といったより細かい把握ができる仕組みが望ましい。 Furthermore, from the perspective of the risk of overwork, it is desirable to take a substitute leave promptly after going to work on holidays, and it is expected that more and more companies will dare to set a short deadline such as several weeks to force them to take leave. .. For this reason, it is desirable to have a mechanism that allows a more detailed understanding of how many days will disappear rather than how many days will disappear on a monthly basis.
例えば、図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 that was carried over from the previous year disappeared at the end of March 2018 and was granted on April 1, 2017 (days = 18 days) this year. , Will disappear at the end of March 2019. As for the substitute leave, the 6/10 attendance will disappear at the end of 2017/8, and the 8/20 attendance will disappear at the end of 2017/10. In this case, for example, when going to work on Tuesday, August 22, 2017, the question is which vacation should be consumed.
従来のシステムでは、年次有給休暇のように、一度にまとまった日数(20日等)を長い有効期間(通常2年)で付与される休暇は、これまでは年度ごとの付与日数に対して何日消化したかを日数ベースで把握する方法が一般的であった。 In the conventional system, leave that is granted a set number of days (20 days, etc.) at one time for a long valid period (usually 2 years), such as annual paid leave, has been granted for each year. It was common to know how many days were consumed on a daily basis.
しかし、休暇には有給休暇以外に、代休のように性質が異なる休暇が労働基準法で定められており、付与単位が半日~1日程度、有効期限が数週間~数か月と短いため、有休よりも細かいスケジュール管理が必要であった。このため、月次単位の日数ベースの残管理では、追加された休暇がいつ消滅し、いつまでに取得すればよいかがわかりづらかった。
また、このような管理は複雑であるため、システムが複雑になり、計算に時間がかかるなどの課題があった。
However, in addition to paid leave, the Labor Standards Law stipulates leave with different characteristics such as paid leave, 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. It was necessary to manage the schedule more finely than with paid holidays. For this reason, it was difficult to know when the added leave would disappear and by when it should be taken in the monthly balance management based on the number of days.
Further, since such management is complicated, there are problems that the system becomes complicated and the calculation takes time.
そこで、本実施の形態では、休暇残割当管理機能を導入し、任意の日時点の休暇残や取得日数、消滅日数のチェック・可視化をすることを可能とすることで、任意の日時点での取得率の算出や任意の日時点の消滅が早い休暇を確認することができ、より有効期間の短い代休の取得を視覚的に促すことがきるようにした。また、代休に対しての取得可能期間を、締期間や暦期間など個社ごとのルールに則った有効期間でシステム上管理できるようにした。 Therefore, in this embodiment, a vacation balance allocation management function is introduced to enable checking and visualization of the vacation balance, the number of days taken, and the number of days extinguished as of any day, so that the time can be checked and visualized. It is possible to calculate the acquisition rate and confirm the leave that disappears early on any day, and it is possible to visually encourage the acquisition of a substitute leave with a shorter effective period. In addition, the available period for substitute holidays can be managed on the system with a valid period that complies with the rules of each company, such as the closing period and calendar period.
より具体的には、本実施の形態では、以下の(1)~(4)の方法により、厳密な休暇残管理を可能にするとともに、勤怠管理者および従業員が、いつ時点でどの休暇を取得すべきかが即座にわかる仕組みを実現した。
(1)休暇の付与情報(日数、有効期間開始日、有効期間終了日)と休暇取得日の自動割当(紐付)管理を行い、消滅期限が早い休暇から優先的に取得する仕組み。
(2)休暇残の割当データ上に、未取得残日数データを保持することにより、特定日時点で有効な休暇残日数が即座にわかる仕組み。
(3)休暇残の割当データ上に、有効期間終了日の自然消滅データを保持することにより、特定期間に消滅する休暇残日数が即座にわかる仕組み。
(4)休暇申請段階で、複数の残管理区分からより期限の短い優先度の高い休暇を判別して取得を促す仕組み。
More specifically, in the present embodiment, the following methods (1) to (4) enable strict management of the remaining leave, and the attendance manager and the employee can take which leave at what time. We have realized a mechanism to immediately know whether to acquire it.
(1) A mechanism that automatically allocates (links) leave grant information (number of days, valid period start date, valid period end date) and vacation acquisition date, and preferentially acquires leave from the earliest extinction deadline.
(2) By holding the data on the number of unacquired days remaining on the allocation data of the remaining vacation days, the number of days remaining on vacation that is valid as of a specific date can be immediately known.
(3) A mechanism that allows the number of days remaining on vacation to disappear in a specific period to be immediately known by retaining the data on the natural disappearance of the expiration date on the allocation data for the remaining vacation.
(4) At the leave application stage, a mechanism to identify high-priority leave with a shorter deadline from multiple remaining management categories and encourage them to take it.
[2.構成]
図2を参照して、本実施の形態に係る休暇残割当管理装置の構成の一例について説明する。図2は、本実施の形態に係る休暇残割当管理装置100の構成の一例を示すブロック図である。
[2. Constitution]
An example of the configuration of the vacation balance allocation management device according to the present embodiment will be described with reference to FIG. 2. FIG. 2 is a block diagram showing an example of the configuration of the vacation balance
図2において、休暇残割当管理装置100は、例えば、サーバ-クライアントシステムのサーバとして機能し、ネットワーク300を介して、クライアントとして機能する複数の端末装置200と通信可能に接続されている。端末装置200は、例えば、会社の従業員(社員、アルバイト、管理職、役員を含む)が使用するものである。
In FIG. 2, the vacation balance
休暇残割当管理装置100は、端末装置200からのリクエストに応じて、端末装置200にログイン画面、休暇申請画面、休暇確認画面等の各種画面を提供し、端末装置200の表示部に表示される各種画面上でのユーザのオペレータの操作に応じた情報の入力を受付け、各種処理を行う。また、休暇残割当管理装置100は、端末装置200にメッセージやアラートを通知する。
The vacation balance
休暇残割当管理装置100は、例えば、ワークステーションやパーソナルコンピュータでもよい。休暇残割当管理装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。休暇残割当管理装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。
The vacation balance
通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、休暇残割当管理装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、休暇残割当管理装置100と端末装置200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。
The
入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、および、マイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114として記載する場合がある。
An input device 112 and an
記憶部106には、各種のデータベース、テーブル、および、ファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および、光ディスク等を用いることができる。
Various databases, tables, files, and the like are stored in the
記憶部106は、有休付与表マスタ106a、代休付与条件マスタ106b、休暇種別マスタ106c、及びデータファイル106d等を備えている。
The
有休付与表マスタ106aは、年次有給休暇の付与条件、付与日数、及び保存期間年数を設定するためのマスタである。有休付与表マスタ106aは、年次有給休暇の付与条件(勤続年(以上)、勤続月(以上)、勤続年(以下)、勤続月(以下))、付与日数、及び有休保存期間年数のデータを関連づけて登録するテーブル等で構成することができる(図4(A)参照)。
The paid leave
代休付与条件マスタ106bは、代休の期限設定等を管理するためのマスタである。代休付与条件マスタ106bは、代休前期間区分、代休以前月数、代休以前日数、代休後期間区分、代休以降月数、代休以降日数、代休付与条件(終日)、及び代休付与条件(半日)等のデータを関連づけて登録したテーブル等で構成することができる(図4(B)参照)。
The substitute holiday
休暇種別マスタ106cは、各休暇種別の取得可能日数を設定するためのマスタである。休暇種別マスタ106cは、休暇種別、残管理区分、取得日数のデータを関連づけて登録したテーブル等で構成することができる(図7(C)参照)。
The
データファイル106dは、各種データを格納するためのファイルである。データファイル106eは、例えば、休暇付与データ、休暇取得データ、及び休暇残割当データ等のデータを格納する。
The
休暇付与データは、付与ID、従業員を識別するための従業員コード、休暇を付与した日である付与日、残管理区分(年次有給休暇、代休)、付与した休暇の有効期間開始日、付与した休暇の有効期間終了日、休暇の付与日数のデータを含んでいてもよい(図5(C)参照)。 The leave grant data includes the grant ID, the employee code for identifying the employee, the grant date which is the date when the leave was granted, the remaining management category (annual paid leave, substitute leave), the effective period start date of the granted leave, It may include data on the end date of the valid period of the granted leave and the number of days granted of the leave (see FIG. 5 (C)).
休暇取得データは、休暇申請が行われた場合に作成されるデータであり、取得ID、従業員を識別するための従業員コード、休暇取得日、休暇種別(AM有休、PM有休、終日有休、AM代休、PM代休、終日代休)、残管理区分(年次有給休暇、代休)、休暇の取得日数、及び休暇の申請理由のデータを含んでいてもよい(図7(C)参照)。 The vacation acquisition data is data created when a vacation application is made, and is the acquisition ID, the employee code for identifying the employee, the vacation acquisition date, the vacation type (AM paid holiday, PM paid holiday, all day paid holiday, It may include data on AM leave, PM leave, all-day leave), remaining management classification (annual paid leave, substitute leave), the number of days of leave taken, and the reason for applying for leave (see FIG. 7 (C)).
休暇残割当データは、休暇付与データと休暇取得データを紐付けるためのデータである。休暇残割当データは、割当ID、従業員コード、残管理区分、付与ID、付与日、有効期間開始日、有効期間終了日、付与日数、取得ID、休暇取得日、取得日数、割当日数、割当連番、割当後残日数のデータを含んでいてもよい(図8参照)。 The vacation remaining allocation data is data for associating the vacation grant data and the vacation acquisition data. The vacation remaining allocation data includes the allocation ID, employee code, remaining management category, grant ID, grant date, valid period start date, valid period end date, grant days, acquisition ID, vacation acquisition date, acquisition days, allocation days, allocation. It may include data on serial numbers and the number of days remaining after allocation (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 collectively controls the vacation balance
マスタ設定部102aは、モニタ114に表示されるマスタメンテ画面上でのオペレータの操作に応じて、有休付与表マスタ106a、代休付与条件マスタ106b、及び休暇種別マスタ106cに対して、データの入力・追加・更新等の編集を行う。
The master setting unit 102a inputs data to the paid leave
休暇付与データ作成部102bは、付与ID、従業員コード、付与日、残管理区分、有効期間開始日、有効期間終了日、及び付与日数のデータを含む休暇付与データを作成して、データファイル106dに格納する。
The vacation grant data creation unit 102b creates vacation grant data including data of the grant ID, employee code, grant date, remaining management classification, valid period start date, valid period end date, and grant days, and
休暇取得データ作成部102cは、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、休暇種別、残管理区分、取得日数、及び申請理由のデータを含む休暇取得データを作成して、データファイル106dに格納する。
Each time the vacation acquisition
休暇残割当データ作成部102dは、休暇付与データと休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成して、データファイル106dに格納する。
The vacation remaining allocation
この場合、休暇残割当データは、前記休暇付与データの付与日数に前記休暇取得データの取得日数を割り当てた割当日数を、当該付与日数から減算した割当後残日数を含むことにしてもよい。 In this case, the vacation remaining allocation data may include the number of days remaining after allocation obtained by subtracting the number of days allocated for the acquisition days of the vacation acquisition data from the number of days granted the vacation grant data.
また、休暇残割当データは、未取得の休暇が有効期限終了日に消滅することを示す自然消滅データを含むことにしてもよい。 In addition, the vacation balance allocation data may include spontaneous extinction data indicating that unacquired vacations will be extinguished on the expiration date.
メッセージ通知部102eは、休暇申請段階で、データファイル106dに格納される休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知する。
At the vacation application stage, the
アラート通知部102fは、データファイル106dに格納される休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数を超過している休暇申請にアラートを通知する。
The alert notification unit 102f refers to the vacation remaining allocation data stored in the
[3.全体の処理]
図2及び図3を参照して、本実施の形態における休暇残割当管理装置100の全体の処理の流れを説明する。図3は、本実施の形態における休暇残割当管理装置100の全体の処理の流れを説明するための図である。
[3. Overall processing]
With reference to FIGS. 2 and 3, the overall processing flow of the vacation balance
図3において、マスタ設定部102aは、マスタ設定処理(S1)を実行する。マスタ設定処理(S1)では、モニタ112に表示されるマスタメンテ画面上でのオペレータの操作に応じて、有休付与表マスタ106a、代休付与条件マスタ106b、及び休暇種別マスタ106cに対して、データの入力・追加・更新等の編集を行う。
In FIG. 3, the master setting unit 102a executes the master setting process (S1). In the master setting process (S1), data is generated for the paid leave
休暇付与データ作成部102bは、休暇付与処理(S2)を実行する。休暇付与処理(S2)では、年毎に、従業員コード、付与日、及び勤続年数に基づいて、有休付与表マスタ106aを参照し、有給休暇に関する休暇付与データを作成してデータファイル106dに格納する。また、休暇付与処理(S2)では、従業員の端末装置200から入力される、従業員コード、休日出勤日、予定労働時間を含む休日出勤の申請に基づいて、代休付与条件マスタ106bを参照し、代休に関する休暇付与データを作成して、データファイル106dに格納する。
The vacation grant data creation unit 102b executes the vacation grant process (S2). In the leave grant process (S2), every year, based on the employee code, grant date, and years of service, the paid leave
休暇取得データ作成部102cは、休暇取得処理(S3)を実行する。休暇取得処理(S3)では、従業員の端末装置200から入力される、従業員コード、休暇取得日、休暇種別、及び申請理由を含む休暇申請に基づいて、休暇種別マスタ106cを参照し、休暇取得データを作成して、データファイル106dに格納する。
The vacation acquisition
休暇残割当データ作成部102dは、休暇残割当処理(S4)を実行する。休暇残割当処理(S4)では、休暇付与データと休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成して、データファイル106dに格納する。
The vacation balance allocation
メッセージ通知部102eは、メッセージ通知処理(S5)を実行する。メッセージ通知処理(S5)では、休暇申請段階で、休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を知らせるためのメッセージを通知する。
The
アラート通知部102fは、アラート通知処理(S6)を実行する。アラート通知処理(S6)では、休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数を超過している休暇申請にアラートを通知する。 The alert notification unit 102f executes the alert notification process (S6). In the alert notification process (S6), the vacation remaining allocation data is referred to, and an alert is notified to the vacation remaining that is near the expiration date and / or the vacation request that exceeds the number of days that can be acquired.
[4.具体例]
図4~図29を参照して、本実施の形態における休暇残割当管理装置100の処理の具体例について説明する。図4~図29は、本実施の形態における休暇残割当管理装置100の処理の具体例を説明するための図である。
[4. Concrete example]
A specific example of the processing of the vacation balance
(マスタ設定処理)
図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. 1. Master setting 1-1. Setting of the paid holiday
1-2.代休付与条件マスタの設定
図4(B)は、代休付与条件マスタ106bの設定例を説明するための図である。代休付与条件マスタ106bは、代休の期限設定等を管理するマスタである。代休付与条件マスタ106bは、代休前期間区分、代休以前月数、代休以前日数、代休後期間区分、代休以降月数、代休以降日数、代休付与条件(終日)、及び代休付与条件(半日)等のデータを関連づけて登録したテーブル等で構成することができる。
1-2. Setting of Substitute Holiday Grant Condition Master FIG. 4B is a diagram for explaining a setting example of the substitute holiday
図4(C)は、代休前期間区分及び代休後期間区分を説明するための図である。代休前期間区分は、代休出勤日前の代休の取得を規定する。代休後期間区分は、代休出勤日以降の代休の取得を規定する。ここでは不可/暦期間の例で記載している。「不可」は、使用不可を示す。「日数」は、日数単位で指定する。「締期間」は、月を勤怠締期間の区切りで指定(例:20締の場合、21日~翌月20日)する。「暦期間」は、月を暦期間(年月)の区切りで指定(1日~月末日)する。 FIG. 4C is a diagram for explaining the period before the substitute holiday and the period after the substitute holiday. The pre-substitute holiday period classification stipulates the acquisition of substitute holidays before the substitute holiday work day. The period classification after the substitute leave stipulates the acquisition of the substitute leave after the substitute leave work day. Here, it is described as an example of impossible / calendar period. "Impossible" indicates that it cannot be used. "Number of days" is specified in units of days. In the "closing period", the month is specified by the delimiter of the attendance closing period (example: in the case of 20 closing, the 21st to the 20th of the following month). In the "calendar period", the month is specified by the calendar period (year / month) delimiter (1st to the last day).
代休付与条件マスタ106bに従う場合は、以下の判定で「付与日数」を決定する。
(1)休日出勤時間≧代休付与条件(終日)の場合は終日(1日)
(2)代休付与条件(終日)>休日出勤時間≧代休付与条件(半日)の場合は半日(0.5日)
(3)休日出勤時間<代休付与条件(半日)の場合は付与なし
When following the substitute leave
(1) If work hours on holidays ≥ conditions for granting substitute leave (all day), all day (1 day)
(2) Conditions for granting substitute leave (all day)> Half-day (0.5 days) in the case of holiday work hours ≥ conditions for granting substitute leave (half day)
(3) No grant if holiday work hours <substitute leave grant condition (half day)
図4(D)は、代休付与条件マスタ106bによる代休付与のイメージを示す図である。代休前期間区分が「不可」に設定されている場合は、休日出勤日前の代休は取得することができない。代休後期間区分が「暦期間」に設定されているので、「暦」で期間を指定する。代休以降月数が「2」に指定されているので、2ヶ月後の月の末日まで代休を取得可能である。代休以降日数が「0」であるので、日数の加算・減算は行わない。代休以降日数≠「0」の場合は、さらに、日数を加算・減算して調整する。例えば、2ヶ月後の翌日の場合は、「+1」とする。
FIG. 4D is a diagram showing an image of granting substitute holidays by the substitute holiday
(休暇付与処理)
図5及び図6は、休暇付与データ作成部102bにより実行される休暇付与処理の具体例を説明するための図である。図5及び図6を参照して、休暇付与処理の具体例を説明する。
(Vacation grant processing)
5 and 6 are diagrams for explaining a specific example of the leave grant process executed by the leave grant data creation unit 102b. A specific example of the leave grant process will be described with reference to FIGS. 5 and 6.
2.休暇付与の動作
2.1.年次有給休暇の付与処理
図5は、年次有給休暇の付与処理を説明するための図である。休暇付与データ作成部102bは、付与対象者の勤続年数を基準として有休付与表マスタ106aを参照し、付与日数と有休保存期間年数を元に休暇付与データを作成する。
2. 2. Operation of giving leave 2.1. Annual paid leave granting process FIG. 5 is a diagram for explaining the annual paid leave granting process. The leave grant data creation unit 102b refers to the paid 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 years of service “5 years” are input as input data.
勤続年数「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 paid leave
図5(C)に示す休暇付与データは、1行目が付与ID「XXX1」、従業員コード「A」、付与日「2016/4/1」、残管理区分「年次有給休暇」、有効期間開始日「2016/4/1」、有効期間終了日「2018/3/31」、付与日数「16.0」となっており、これは、前年付与済みのデータである。 In the leave grant data shown in FIG. 5 (C), the first line is the grant ID "XXX1", the employee code "A", the grant date "2016/4/1", the remaining management category "annual paid leave", and is valid. The period start date is "2016/4/1", the valid period end date is "2018/3/31", and the number of granted days is "16.0", which are the data already 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 added (created) this time, and the grant ID "XXX2", employee code "A", grant date "2017/4/1", remaining management category "annual paid leave", and valid The period start date is "2017/4/1", the valid period end date is "2019/3/31", and the number of granted days is "18.0".
なお、年次有給休暇の場合、有効期間開始日=付与日、有効期間終了日=付与日の有休保存期間年数後を設定する。 In the case of annual paid leave, the effective period start date = grant date and the valid period end date = grant date after the number of years of paid holiday storage period are set.
図5(D)は、図5(C)に示す休暇付与データに基づいた年次有給休暇の付与イメージ(休暇有効期限の確認画面)を示す図である。図5(D)では、前年度からの年次有給休暇の繰り越し分の有効期間と、今回(新規に)付与された年次有給休暇の有効期間が表示されている。例えば、休暇付与データ作成部102bは、端末装置200からのリクエストに応じて、図5(D)に示すような休暇有効期限の確認画面を端末装置200に提供してもよい。
FIG. 5 (D) is a diagram showing an image of annual paid leave granted (confirmation screen of vacation expiration date) based on the vacation grant data shown in FIG. 5 (C). In FIG. 5D, the valid period of the carry-over of the annual paid leave from the previous year and the valid period of the annual paid leave granted this time (newly) are displayed. For example, the vacation grant data creation unit 102b may provide the
2.2.休日出勤に伴う代休の付与処理
図6は、休日出勤に伴う代休の付与処理を説明するための図である。休暇付与データ作成部102bは、代休付与条件マスタ106bを参照し、休日出勤対象者の休日出勤日を基準として代休の前期間/後期間設定を元に代休付与データを作成する。代休の付与日数は、1日固定とするか、別途、代休付与条件マスタ106bの設定により休日出勤日の労働時間に応じて半日/1日の分岐をすることも可能となっている。
2.2. Processing for Granting Substitute Leave for Work on Holidays FIG. 6 is a diagram for explaining the processing for granting substitute holidays for commuting on holidays. The vacation grant data creation unit 102b refers to the substitute leave
図6(A)は入力データの一例を示す図である。例えば、従業員の端末装置200から入力データが入力される。図6(A)に示す例では、従業員コード「A」、休日出勤日「2017/8/20」、予定労働時間「6時間」が入力される。
FIG. 6A is a diagram showing an example of input data. For example, input data is input from the employee's
図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. 6B, since the substitute leave period classification of the substitute leave
図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. 6C, the third line is the grant ID "XXX3", the employee code "A", the grant date "2017/6/10", the remaining management category "substitute leave", and the valid period start date "2017". "/ 6/10", the valid period end date "2017/8/31", and the number of granted days "1.0" are the data already added with the holiday work 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 the data added (created) this time due to the holiday work on August 20, 2017, with the grant ID "XXX4", employee code "A", grant date "2017/8/20", and the rest. The management category is "substitute leave", the valid period start date is "2017/8/20", the valid period end date is "2017/10/31", and the number of grant days is "0.5". If the period before the substitute holiday classification ≠ is not possible, the valid 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. 6 (D) is a diagram showing a vacation grant image (confirmation screen of vacation expiration date) based on the vacation grant data shown in FIG. 6 (C). In FIG. 6D, the valid period of the substitute leave for work on June 10 and the valid period of the substitute leave for work on August 20 are displayed. For example, the vacation grant data creation unit 102b may provide the
2.3.休暇残割当処理の実行
2.1.の年次有給休暇の有効期限開始日、または、2.2.の代休の有効期限開始日以降に先に休暇取得予定がある場合、休暇の取得順番が変わる可能性があるため、後述の休暇残割当処理を、有効期限開始日を基準として実行する。
2.3. Execution of vacation balance allocation processing 2.1. The expiration date of the annual paid leave, or 2.2. If there is a plan to take leave before the expiration date start date of the substitute leave, the order of taking leave may change. Therefore, the vacation balance allocation process described later is executed based on the expiration date start date.
(休暇取得処理)
図7は、休暇取得データ作成部102cにより実行される休暇取得処理の具体例を説明するための図である。図7を参照して、休暇取得処理の具体例を説明する。
(Vacation acquisition process)
FIG. 7 is a diagram for explaining a specific example of the vacation acquisition process executed by the vacation acquisition
3.休暇取得時の動作
休暇の取得は、従業員の端末装置200からの申請等により行う。例えば、従業員の端末装置200の休暇申請画面から従業員コード、休暇取得日、休暇種別、申請理由等の休暇申請データを入力して、休暇残割当管理装置100に送信する。休暇取得データ作成部102cは、休暇申請データが入力されると、休暇種別マスタ106cを参照して、休暇取得データを作成する。具体的には、休暇種別をキーとして、休暇種別マスタ106cから残管理区分、取得日数を取得して、入力データ(従業員コード、休暇取得日、休暇種別、申請理由)と休暇種別マスタ106cから取得した残管理区分、取得日数に基づいて休暇取得データを作成する。
3. 3. Operation when taking a leave The leave is taken by an application from the employee's
例えば、図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 vacation acquisition date "2017/8/22", the vacation type "all-day paid leave", and the reason for application "for going to the hospital" are applied for the vacation. In the case of input data, as shown in FIG. 7 (B), the remaining management category "annual paid leave" and the number of days to be taken "1.0" are acquired from the
なお、将来の休暇取得予定が休暇の取得順番で変わる可能性があるため、後述の休暇残割当処理の休暇取得日を基準として実行する。 Since the future vacation acquisition schedule may change depending on the vacation acquisition order, the vacation acquisition date, which will be described later, is used as the reference for the vacation remaining allocation process.
(休暇残割当処理)
図8~図24は、休暇残割当データ作成部102dにより実行される休暇残割当処理の具体例を説明するための図である。図8~図24を参照して、休暇残割当処理の具体例を説明する。
(Paid leave allocation processing)
8 to 24 are diagrams for explaining a specific example of the vacation balance allocation process executed by the vacation balance allocation
4.休暇残割当処理
休暇残割当処理では、休暇付与データと休暇取得データの割当(紐付)を行い、休暇残割当データを作成する。休暇残割当データによって、休暇付与データから休暇取得分の残日数が減り、有効期限を考慮した残日数のチェックが可能となる。
4. Remaining leave allocation processing In the remaining vacation allocation processing, the vacation grant data and the vacation acquisition data are assigned (linked), and the vacation remaining allocation data is created. The vacation remaining allocation data reduces the number of days remaining for taking leave from the vacation grant data, and makes it possible to check the number of days remaining in consideration of the expiration date.
図8は、休暇残割当データの一例を示す図である。2017/8/22の終日有休を申請する前の割当済み状態を示している。 FIG. 8 is a diagram showing an example of vacation balance allocation data. It shows the allocated status before applying for all-day paid leave on August 22, 2017.
休暇残割当データは、割当ID、従業員コード、残管理区分、付与ID、付与日、有効期間開始日、有効期間終了日、付与日数、取得ID、休暇取得日、取得日数、割当日数、割当連番、割当後残日数のデータを含んでいる。 The vacation remaining allocation data includes the allocation ID, employee code, remaining management category, grant ID, grant date, valid period start date, valid period end date, grant days, acquisition ID, vacation acquisition date, acquisition days, allocation days, allocation. Includes data on serial numbers and the number of days remaining after allocation.
割当ID、従業員コード、残管理区分は、割当のキー情報となる。「付与ID、付与日、有効期間開始日、有効期間終了日、付与日数は、休暇付与データから取得する情報である。「取得ID」、「休暇取得日」、「取得日数」は、休暇取得データから取得する情報である。割当日数、割当連番、及び割当後残日数は、割当情報である。 The allocation ID, employee code, and remaining management category are the key information for the allocation. "Grant ID, grant date, valid period start date, valid period end date, grant days are information acquired from vacation grant data." Acquisition ID "," vacation acquisition date ", and" acquisition days "are vacation acquisition days. Information obtained from the data. The number of allotted days, the allotted serial number, and the number of remaining days after allotment are allotted information.
ここで、割当情報について説明する。「割当連番」は、同じ休暇付与データに割り当てた休暇取得データの割当順序を示し、取得日が早い順に連番を振る。例えば、同一日にAM有休とPM有休のように複数取得した場合は時系列が早い方を優先する。「割当日数」は、休暇データの付与日数から、休暇取得データに割り当てた日数である。「割当後残日数」は、同じ休暇付与データに割り当てられた休暇取得データのうち、割当連番が自分の番号以下の割当日数の合計を、付与日数から控除した残日数である。休暇を取得するにつれて減少し、「0」になるとその休暇付与データはそれ以上割当不可となる。 Here, the allocation information will be described. The "allocation serial number" indicates the allocation order of the vacation acquisition data assigned to the same vacation grant data, and the serial numbers are assigned in the order of the earliest acquisition date. For example, when multiple acquisitions are made on the same day, such as AM paid holidays and PM paid holidays, the one with the earliest time series is given priority. The "allocated days" is the number of days allocated to the vacation acquisition data from the number of days granted of the vacation data. The “remaining days after allocation” is the number of days remaining after deducting the total number of days allocated to which the assigned serial number is less than or equal to the number of the employees assigned to the same vacation acquisition data. It decreases as the leave is taken, and when it reaches "0", the leave grant data cannot be assigned any more.
取得ID、取得日数がNULLの行のデータを「自然消滅データ」と称する。この自然消滅データは、未取得の休暇が有効期限終了日に消滅することを意味する特別な割当データである。 The data in the row where the acquisition ID and the number of acquisition days are NULL are referred to as "natural disappearance data". This spontaneous disappearance data is special allocation data which means that the untaken leave disappears on the expiration date.
図9は、休暇付与データ及び休暇取得データと、休暇残割当データのイメージを示す図である。同一の従業員区分・休暇残管理区分の休暇付与データと休暇取得データを紐付けした結果、有効期限終了日が最も早い休暇付与データを優先して紐付ける。 FIG. 9 is a diagram showing images of vacation grant data, vacation acquisition data, and vacation balance allocation data. As a result of associating the vacation grant data and the vacation acquisition data of the same employee category / vacation balance management category, the vacation grant data with the earliest expiration date is preferentially linked.
4.1.入力データ
休暇残割当処理は、休暇付与データの追加/削除や休暇取得データの追加/削除を起点とし、再割当が必要な期間で行う。入力データとして、従業員コード、休暇残管理区分、基準日を受け取る。より具体的には、休暇付与データ作成部102bは、休暇付与データを追加/削除した場合に、その従業員コード、休暇残管理区分、及び基準日を休暇残割当データ作成部102dに通知する。
4.1. Input data The vacation balance allocation process starts from the addition / deletion of vacation grant data and the addition / deletion of vacation acquisition data, and is performed during the period when reassignment is required. As input data, you will receive the employee code, vacation management category, and record date. More specifically, when the leave grant data creation unit 102b adds / deletes the leave grant data, the employee code, the leave balance management category, and the record date are notified to the leave balance allocation
(1)休暇付与データが登録または削除された場合、該当データの有効期間開始日を基準日とする。
図10(A)に示すように、休暇付与データとして、今回、付与ID「XXX2」、従業員コード「A」、付与日「2017/4/1」、残管理区分「年次有給休暇」、有効期間開始日「2017/4/1」、有効期間終了日「2019/3/31」、付与日数「18.0」が作成された場合、有効期間開始日「2017/4/1」を基準日とする。
(1) If the vacation grant data is registered or deleted, the valid period start date of the relevant data will be the base 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 granted days "18.0" are created, the validity period start date "2017/4/1" is used as a reference. Let's say the day.
(2)休暇取得データが登録または削除された場合、該当データの休暇取得日を基準日とする。
図10(B)に示すように、休暇取得データとして、今回、取得ID「YYY8」、従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日有休」、残管理区分「年次有給休暇」、取得日数「1.0」、申請理由「通院のため」が作成された場合、休暇取得日「2017/8/22」を基準日とする。
(2) If the vacation acquisition data is registered or deleted, the vacation acquisition date of the relevant data will be the base 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 paid", and the remaining management If the category "annual paid leave", the number of days taken "1.0", and the reason for application "for going to the hospital" are created, the leave taking date "2017/8/22" will be the base date.
図10(C)に示すように、(2)の場合の入力データは、従業員コード「A」、残管理区分「年次有給休暇」、基準日「2017/8/22」となる。 As shown in FIG. 10 (C), the input data in the case of (2) is the employee code "A", the remaining management category "annual paid leave", and the base date "2017/8/22".
4.2.休暇残割当データから、従業員コードおよび残管理区分が入力データと同一で、かつ休暇取得日≧基準日となるデータを削除する。休暇付与データ又は休暇取得データの変動により、再割当の計算が必要となる期間を一旦クリアする。 4.2. Delete the data in which the employee code and the remaining management category are the same as the input data and the vacation acquisition date ≥ the base date from the vacation remaining allocation data. Due to changes in the vacation grant data or vacation acquisition data, the period for which reassignment calculation is required is temporarily cleared.
図11は、休暇残割当データの再割当の計算が必要となる期間を一旦削除する例を説明するための図である。 FIG. 11 is a diagram for explaining an example of temporarily deleting a period in which the calculation of reallocation of the vacation balance allocation data is required.
図11に示す休暇残割当データのうち、従業員コード「A」、残管理区分「年次有給休暇」、かつ、休暇取得日≧基準日「2017/8/22」となるのは、割当ID「ZZZ5」~「ZZZ8」であるので、これらのデータを一旦削除する。 Of the vacation remaining allocation data shown in FIG. 11, the employee code “A”, the remaining management category “annual paid leave”, and the vacation acquisition date ≧ base date “2017/8/22” are the allocation IDs. Since it is "ZZZ5" to "ZZZ8", these data are temporarily deleted.
4.3.休暇付与データから、従業員コードおよび残管理区分が入力データと同一で、かつ基準日≦有効期間終了日となるデータを取得する。再割当の計算が必要となる期間に該当する割当候補付与データの一覧を作成する。 4.3. From the leave grant data, acquire the data in which the employee code and the remaining management category are the same as the input data and the base date ≤ the end date of the valid period. Create a list of allocation candidate grant data corresponding to the period for which reassignment calculation is required.
図12は、再割当の計算が必要となる期間に該当する割当候補付与データの一覧を作成する例を説明するための図である。 FIG. 12 is a diagram for explaining an example of creating a list of allocation candidate grant data corresponding to the period in which the calculation of reassignment is required.
図12(A)に示す休暇付与データのうち、従業員コード「A」、残管理区分「年次有給休暇」、かつ、基準日「2017/8/22」≦有効期間終了日となるのは、付与ID「XXX1」、「XXX2」であるので、図12(B)に示すように、これらのデータを割当候補付与データとして抽出して、有効期間終了日が早い順に並び替える。 Of the leave grant data shown in FIG. 12 (A), the employee code "A", the remaining management category "annual paid leave", and the base date "2017/8/22" ≤ the end date of the valid period are , Since the grant IDs are "XXX1" and "XXX2", as shown in FIG. 12B, these data are extracted as allocation candidate grant data and sorted in order of earliest valid period end date.
4.4.休暇残割当データから、付与IDが割当候補付与データと同一で、「割当連番」が最大値となるデータを取得し、割当後残日数をセットする。 4.4. From the vacation remaining allocation data, the data whose grant ID is the same as the allocation candidate grant data and whose "allocation serial number" is the maximum value is acquired, and the number of remaining days after allocation is set.
基準日以降の休暇残割当データは削除されているため、「割当連番」が最大のデータの「割当後残日数」が、基準日以降に割り当て可能な残日数を意味する。割当後残日数を保持していることにより、再計算の効率化が可能になる。また、後述の残をチェックする照会画面等にも効果がある。 Since the vacation remaining allocation data after the base date has been deleted, the "remaining days after allocation" of the data with the largest "allocation serial number" means the number of remaining days that can be allocated after the base date. By holding the number of days remaining after allocation, it is possible to improve the efficiency of recalculation. It is also effective for an inquiry screen for checking the rest 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. 13 (A), the assignment ID “XXX1” of the data (fourth line) of the allocation ID “ZZZ4” of the vacation balance allocation data is the same as the allocation candidate assignment data of FIG. 12 (B), and is “allocated”. Since the "serial number" becomes the maximum value "4", this data is acquired, and as shown in FIG. 13 (B), the allocation serial number "4" is assigned to the assignment ID "XXX1" of the allocation candidate assignment data. Set the number of remaining days "12.5". If it does not exist in the vacation remaining allocation data such as the grant ID "XXX2", the allocation serial number is "0" and the number of remaining days after allocation = the number of grant days.
4.5.休暇取得データから、従業員コードと休暇残管理区分が入力データと同一で、休暇取得日≧基準日となるデータを取得する。図14は、休暇取得データから割当計算対象データを抽出する例を説明するための図である。 4.5. From the vacation acquisition data, acquire the data in which the employee code and the vacation balance management category are the same as the input data and the vacation acquisition date ≥ the base date. FIG. 14 is a diagram for explaining an example of extracting allocation 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. 14 (A), the data of the acquisition ID "YYY8" is the data added this time, and the employee code "A" and the vacation balance management category "annual paid leave" are the same as the input data. Then, the vacation acquisition date ≧ 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, the data of the acquisition IDs “YYY8”, “YYY6”, and “YYY7” are extracted from the vacation acquisition data as the allocation calculation target data, and the data is sorted in order from the earliest vacation acquisition date. If multiple acquisitions are made on the same day, such as AM paid holidays and PM paid holidays, the one with the earliest time series is given priority.
つぎに、図15~図22を参照し、上記図12~図14で抽出した割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当について説明する。図15は、割当計算対象データ及び割当候補付与データを使用した休暇残割当データの再割当を説明するためのフローチャートである。図16~図22は、休暇残割当データの再割当の具体例を示す図である。 Next, with reference to FIGS. 15 to 22, reassignment of the vacation balance allocation data using the allocation calculation target data and the allocation candidate assignment data extracted in FIGS. 12 to 14 will be described. FIG. 15 is a flowchart for explaining the reassignment of the vacation balance allocation data using the allocation calculation target data and the allocation candidate grant data. 16 to 22 are diagrams showing specific examples of reassignment of vacation balance allocation 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, the allocation error data is initialized (step S11). Next, the data is read in order from the first line of the allocation calculation target data (step S12). The allocation candidate assignment data is read in order from the first line (step S13). It is determined whether or not the current allocation candidate grant data has a valid period start date ≤ vacation acquisition date ≤ valid period end date and the number of remaining days after allocation> 0 (step S14). If the current allocation candidate grant data is valid period start date ≤ vacation acquisition date ≤ valid period end date and the number of remaining days after allocation is not> 0 (“No” in step S14), the process proceeds to step S18. Determine if there is a next row of allocation candidate grant data. If there is a line next to the allocation candidate assignment data (“Yes” in step S18), the process returns to step S13, the next row of the allocation candidate assignment data is read, and the same process is repeated. When the current allocation candidate grant data is valid period start date ≤ vacation acquisition date ≤ valid period end date and the number of remaining days after allocation> 0 (“Yes” in step S14), “acquisition” of the current allocation calculation target data. Of the "number of days", the vacation remaining allocation data is created within the range of the remaining days after allocation of the current allocation candidate grant data (step S15). Next, when the vacation balance allocation data is added, the allocation calculation target data / allocation 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 acquisition days of the current allocation calculation target data> 0 (step S17). When the number of acquisition days of the current allocation calculation target data is not> 0 (“No” in step S17), that is, when the allocation of the acquisition days of the current allocation calculation target data is completed, the next line in the allocation calculation target data. It is determined whether or not there is (step S20). If the allocation calculation target data has the next row (“Yes” in step S20), the process returns to step S12, the next row of the allocation calculation target data is read, and the same process is repeated. 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となるまで、同じ処理を繰り返し行う。 When the number of acquisition days of the current allocation calculation target data> 0 (“Yes” in step S17), it is determined whether or not there is the next line in the allocation candidate assignment data (step S18). If the allocation candidate assignment data has the next row (“Yes” in step S18), the process returns to step S13, the next row of the allocation candidate assignment data is read, and the number of days for acquiring the current allocation calculation target data = 0. The same process is repeated until the result becomes.
割当候補付与データに次の行がない場合には(ステップS18の「No」)、すなわち、全ての割当候補付与データを処理した後も、現行の割当計算対象データの取得日数>0の場合は、割当エラーデータを作成する(ステップS19)。 If there is no next line in the allocation candidate assignment data (“No” in step S18), that is, if the acquisition days of the current allocation calculation target data> 0 even after processing all the allocation candidate assignment data, , Create allocation error data (step S19).
4.6.割当計算対象データを順番に読み込み、以下の処理を行う(図16)。
STEP0:割当データの初期化を行う。図16(A)に示すように、割当エラーデータ(後述の、割当時の超過データ)に該当の取得IDが存在する場合は、削除する。
4.6. The data to be allocated and calculated are read in order, 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」のデータ)を読み込む。割当計算対象データの各行の「取得日数」を割当候補付与データに割り当てるために、以下の処理を行う。
STEP1: 1st line As shown in FIG. 16B, the 1st line (data of acquisition ID "YYY8") of the allocation calculation target data is read. The following processing is performed in order to allocate the "acquisition days" of each row of the allocation calculation target data to the allocation candidate grant data.
4.6.1.割当候補付与データを読み込み、以下の処理を行う(図17)。
STEP1-1:1行目
図17において、割当候補付与データの1行目(付与ID「XXX1」のデータ)を読み込む。
4.6.1. The allocation candidate grant data is read and the following processing is performed (FIG. 17).
STEP1-1: 1st line In FIG. 17, the first line of the allocation candidate grant data (data of the grant 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 valid period start date ≤ vacation acquisition date ≤ valid period end date and the number of remaining allocation days> 0, the vacation remaining allocation data is created within the range of the remaining number of days after allocation among the acquisition days.
For example, the grant "XXX1" of the allocation candidate grant data in the first row has a valid period start date "2016/4/1" ≤ vacation acquisition date "2017/8/22" ≤ valid period end date "2018/3/31". And, since the number of remaining days after allocation "12.5"> 0, the number of remaining days after allocation "12.5" out of the number of acquisition days "1.0" of the acquisition ID "YYY8" of the allocation calculation target data. Create vacation balance allocation data within the range of.
ここで、休暇残割当データの「割当日数」は、取得日数のうち、割当後残日数以下の日数とする。ただし、取得日数>割当後残日数の場合、すべてを割り当て切れないため、残りはSTEP1-2以降で後続の付与データから割り当てる。また、「割当連番」は、割当候補付与データの現在の割当連番+1とする。また、「割当後残日数」は、割当候補付与データの現在の割当後残日数-今回追加行の割当日数とする。 Here, the “allocated days” of the remaining vacation allocation data is the number of days acquired that is less than or equal to the number of remaining days after allocation. However, if the number of acquisition days> the number of remaining days after allocation, all of them cannot be allocated, so the rest will be allocated from the subsequent grant data in STEP 1-2 or later. Further, the "allocation serial number" is the current allocation serial number + 1 of the allocation candidate grant data. In addition, "remaining days after allocation" is the current number of remaining days after allocation of the allocation candidate grant data-the number of days allocated for the additional row this time.
図17に示す例では、休暇残割当データの割当ID「ZZ11」を追加し、その割当日数「1.0」、割当連番「5(=4+1)」、及び割当後残日数「11.5(=12.5-1.0)」とする。 In the example shown in FIG. 17, the allocation ID “ZZ11” of the vacation remaining allocation data is added, the allocation days “1.0”, the allocation serial number “5 (= 4 + 1)”, and the remaining days after allocation “11.5”. (= 12.5-1.0) ”.
4.6.1.2.休暇残割当データを追加した場合、割当計算対象データ・割当候補付与データを更新する。 4.6.1.2. When the vacation remaining allocation data is added, the allocation calculation target data and allocation candidate assignment data are 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 acquisition days of the acquisition ID “YYY8” of the allocation calculation target data is subtracted from 1.0 to 0.0. Further, as shown in FIG. 18B, the allocation serial number of the allocation ID “XXX1” of the allocation candidate assignment data is incremented from 4 to 5, and the number of remaining days after allocation is subtracted from 12.5 to 11.5.
STEP1-2:現在の割当計算対象データの取得日数>0の場合、2行目以降の割当候補付与データについての、STEP1-1の処理を繰り返し行う。 STEP1-2: When the number of acquisition days of the current allocation calculation target data> 0, the processing of STEP1-1 is repeated for the allocation candidate assignment data in the second and subsequent rows.
図18に示す例では、割当計算対象データの1行目の取得ID「YYY8」の取得日数は「0.0」となるので、1行目の処理は終了となる。 In the example shown in FIG. 18, since the number of acquisition days of the acquisition ID “YYY8” in the first row of the allocation calculation target data is “0.0”, the processing in the first row ends.
STEP1-3:全ての候補付与データを処理した後も、現在の割当計算対象データの取得日>0の場合、割当エラーデータを作成する(図19)。
通常、休暇取得時点で残日数が足りない場合は取得前のチェックにてエラーとなるが、次のようなケースでは事後的にエラーが発生するため、検知が必要となる。
STEP1-3: Even after processing all candidate assignment data, if the acquisition date of the current allocation calculation target data> 0, allocation error data is created (FIG. 19).
Normally, if the number of remaining days is insufficient at the time of taking leave, an error will occur in the check before taking the leave, but in the following cases, an error will occur after the fact, so detection is required.
例1:休日出勤の申請後に、代休取得申請をしていたが、休日出勤をキャンセルした場合(休暇取得が残り、休暇付与が消えた状態になる)。 Example 1: After applying for holiday commuting, if you applied for taking a substitute leave, but canceled the holiday commuting (the leave acquisition remains and the leave grant disappears).
この場合、想定する対応としては、別の休日出勤予定がある場合は、登録により解消したり、当初代休日を、有給休暇に振り替えることにしてもよい。 In this case, as an assumed response, if there is a plan to commute to work on another holiday, it may be canceled by registration or the initial paid holiday may be transferred to paid leave.
例2:当初の代休予定日より前に別の代休取得を割り込みで申請した結果、当初の代休に割り当て可能な付与がなくなった場合。
この場合、想定する対応としては、別の休日出勤予定がある場合は、登録により解消したり、当初代休日を、有給休暇に振り替えることにしてもよい。
Example 2: When an application for another substitute holiday is interrupted before the original scheduled substitute holiday, and as a result, the grant that can be assigned to the initial substitute holiday is lost.
In this case, as an assumed response, if there is a plan to commute to work on another holiday, it may be canceled by registration or the initial paid holiday may be transferred to paid leave.
上記のようなオペレーションを事前チェックして禁止してしまうと、休暇取得の操作が難しくなり迅速な取得を阻害してしまうため望ましくない。そこで、本実施の形態では、事前に入力エラーにはせず、計算過程でエラーデータを生成しておき、後述のアラート検知で担当者および上長・勤怠管理者が把握できるようにし、想定する対応に記載したような事後的な解消手段を提供する。 If the above operations are checked in advance and prohibited, it is not desirable because the operation of taking vacations becomes difficult and prompt acquisition is hindered. Therefore, in this embodiment, it is assumed that error data is generated in the calculation process without making an input error in advance so that the person in charge and the superior / attendance manager can grasp it by the alert detection described later. Provide ex post facto resolution measures as described in Correspondence.
図20(A)に示すように、割当計算対象データの「取得日数」の未割当の残日数がエラーとなる。また、図20(B)に示すように、割当エラーデータについては、STEP1-1~1-2の記載例では、すべて割当可能なためエラーとならない。 As shown in FIG. 20 (A), the number of unallocated remaining days of the "acquisition days" of the allocation calculation target data becomes an error. Further, as shown in FIG. 20B, all the allocation error data can be assigned in the description examples of STEP 1-1 to 1-2, so that no error occurs.
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)」とする。
STEP2: The process of STEP1 is repeated for the second and subsequent rows of the allocation calculation target data. FIG. 21 shows the processing results of the allocation
割当計算対象データの取得ID「YYY6」の取得日数を、1.0→0.0に減算する。また、割当候補付与データの付与ID「XXX1」の割当連番を5→6にインクリメントし、割当後残日数を11.5→10.5に減算する。 The number of acquisition days of the acquisition ID "YYY6" of the allocation calculation target data is subtracted from 1.0 to 0.0. Further, the allocation serial number of the allocation ID "XXX1" of the allocation candidate assignment data is incremented from 5 to 6, and the number of remaining days after allocation 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)」とする。 Further, among the acquisition days "1.0" of "YYY7" in the third row of the allocation calculation target data, the range of the remaining days after allocation "10.5" of the grant "XXX1" in the first row of the allocation candidate grant data. Create vacation balance allocation data within. Specifically, the allocation ID "ZZ13" of the vacation remaining allocation data is added, and the allocation days "1.0", the allocation serial number "7 (= 6 + 1)", and the remaining days after allocation "9.5 (=)" are added. 10.5-1.0) ”.
割当計算対象データの取得ID「YYY7」の取得日数を、1.0→0.0に減算する。また、割当候補付与データの付与ID「XXX1」の割当連番を6→7にインクリメントし、割当後残日数を10.5→9.5に減算する。 The number of acquisition days of the acquisition ID "YYY7" of the allocation calculation target data is subtracted from 1.0 to 0.0. Further, the allocation serial number of the allocation ID "XXX1" of the allocation candidate assignment data is incremented from 6 to 7, and the number of remaining days after allocation is subtracted from 10.5 to 9.5.
4.6.割当候補付与データから自然消滅レコードを抽出し、休暇残割当データに自然消滅分の割り当てを追加する(図22)。有効期限時点で割当データに明示的に消滅を記録することで、休暇残割当データをチェックすればすべての休暇の取得可能残日数が把握可能となる(後述)。 4.6. A record of spontaneous disappearance is extracted from the allocation candidate assignment data, and the allocation of the spontaneous disappearance is added to the vacation remaining allocation data (FIG. 22). By explicitly recording the disappearance in the allocation data at the time of expiration date, it is possible to grasp the number of remaining days that can be taken for all vacations by checking the vacation allocation data (described later).
自然消滅データの取得ID・取得日数は「NULL」とし、割当日数は割当候補付与データの割当後残日数、割当後残日数は「0」とする。自然消滅データにより、有効期間終了日時点で必ず残が「0」となる。 The acquisition ID and the number of acquisition days of the spontaneously disappearing data are set to "Null", the number of allocation days is the number of remaining days after allocation of the allocation candidate grant data, and the number of remaining days after allocation is "0". Due to the spontaneous disappearance data, the balance is always "0" as of the end date of the valid 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 which an attempt is made to take a substitute holiday when the number of remaining days of the substitute holiday is insufficient.
図23(A)に示すように、休暇付与データの付与ID「XXX3」では、付与日「2017/6/10」の代休が「1.0」日付与されている。 As shown in FIG. 23 (A), in the leave grant data grant ID “XXX3”, a substitute holiday of the grant date “2017/6/10” is granted for “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), the half-day leave "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 leave "1.0" is taken on the leave acquisition date "2017/8/27", it is over 0.5 days. In this case, as shown in FIG. 20 (C), in the allocation ID "ZZ16" of the vacation remaining allocation data, the number of allocated days is "0.5" and the number of remaining days after allocation is "0.0".
そして、割当エラーデータで、取得ID「YYY9」について、超過分の日数を「超過日数」として、「0.5」とする。 Then, in the allocation error data, the number of excess days for the acquisition ID "YYY9" is set to "0.5" as the "excess number of days".
図24は、休日出勤の追加により、代休の残日数が足りない状態が解消する場合の例を説明するための図である。 FIG. 24 is a diagram for explaining an example in which the state in which the number of remaining days of the substitute holiday is insufficient is resolved by adding the holiday commuting.
図24(A)に示すように、休暇付与データの付与ID「XXX4」では、2017/8/20の休日出勤分の代休が「0.5日」付与される。 As shown in FIG. 24 (A), the leave grant data grant ID "XXX4" is granted "0.5 days" as a substitute leave for the holiday commuting on August 20, 2017.
図24(B)に示すように、休暇取得データの取得ID「YYY9」では、2017/8/27に、終日代休「1.0日」を取得しており、0.5日超過している。 As shown in FIG. 24 (B), the vacation acquisition data acquisition ID “YYY9” acquired the all-day holiday “1.0 days” on August 27, 2017, which exceeds 0.5 days. ..
この場合は、図24(C)に示すように、休暇残割当データの割当ID「ZZ17」において、付与ID「XXX4」で超過していた割当日数「0.5」を割り当て、超過を解消する。このように、1つの休暇取得を複数の休暇付与データに分割することができる。 In this case, as shown in FIG. 24 (C), in the allocation ID "ZZ17" of the vacation remaining allocation data, the allocation days "0.5" that were exceeded by the allocation ID "XXX4" are allocated, and the excess is resolved. .. In this way, 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 number of allocated days "0.5" is assigned and assigned to the assigned ID "XXX4", and the excess is resolved. Therefore, the allocation error data is not added and is set to STEP0. Will remain deleted.
5.休暇取得時のチェック(図25)
休暇取得の申請時点で、休暇残日数の不足チェックや、ほかの優先的に取得すべき休暇の警告、登録後の割当エラーの表示を行う。
5. Check when taking leave (Fig. 25)
At the time of application for taking leave, check for insufficient number of days left on leave, warn of other leave that should be taken with priority, and display allocation error after registration.
5.1.申請日時点で取得可能な休暇残があるかのチェック
休暇残割当データから、付与ID単位で「有効期間開始日≦休暇取得日≦有効期間終了日」かつ、「休暇取得日≧申請日」となる「割当連番が最小」の行を取得する。休暇取得データあり、かつ、(割当日数+割当後残日数)の合計≧取得日数の場合はOKとし、以外はNGとする。ここで、申請日は休暇取得日の意味であり、休暇申請の入力データの休暇取得日(申請日)である。図25は、休暇取得時のチェックを説明するための図である。
5.1. Check if there is a vacation balance that can be acquired as of the application date From the vacation balance allocation data, "valid period start date ≤ vacation acquisition date ≤ valid period end date" and "vacation acquisition date ≥ application date" Gets the row with the "minimum assigned serial number". If there is vacation acquisition data and the total of (number of allocated days + number of remaining days after allocation) ≥ the number of acquired days, it is OK, and otherwise it is NG. Here, the application date means the vacation acquisition date, and is the vacation acquisition date (application date) of the input data of the vacation application. FIG. 25 is a diagram for explaining a check at the time of taking a vacation.
例えば、図25において、入力データが従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日代休」の場合について説明する。以下、休暇取得日(申請日)が「 2017/7/10」、「2017/8/25」、「2017/11/6」のそれぞれの場合について説明する。 For example, in FIG. 25, the case where the input data is the employee code “A”, the vacation acquisition date “2017/8/22”, and the vacation type “all-day leave” will be described. Hereinafter, the cases where the vacation 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 "YY5" of the allocation ID "ZZZ9" is the allocation serial number "1", the number of allocation days "0.5 days", and the remaining "0.5 days" after allocation. Since the total possible balance is 1.0, it can be obtained.
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となるので、取得可能である。 CASE2: When the application date is 8/25, the acquisition ID "Null (natural extinction)" of the allocation ID "ZZ10" is the allocation serial number "2", the number of allocation days "0.5 days", and the remaining "0" after allocation. .5 days ”, and the possible balance = 0.5. Further, the acquisition ID "Null (natural extinction)" of the allocation ID "ZZ17" is the allocation serial number "1", the number of allocation days "0.5 days", and the remaining after allocation "0.5 days". It becomes 0.5. If the number of remaining days after allocation of the allocation data immediately after the application date is added, the balance before allocation = the balance that can be acquired this time. In this way, the total possible balance = 1.0, so that it can be obtained.
CASE3:申請日が11/6の場合は、付与ID「XXX3」、「XXX4」の有効期限後であり、可能残合計=0となるので、取得することができない。 CASE3: When the application date is 11/6, it cannot be obtained because it is after the expiration date of the granted IDs "XXX3" and "XXX4" and the total possible balance = 0.
ポイントは、休暇未取得の残がある場合、必ず有効期限終了日に自然消滅データが存在する。従って、申請日以降の直近割当データから現時点の残を必ず計算することができる。 The point is that if there is a balance that has not been taken on vacation, there will always be spontaneous 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 the error when the future vacation acquisition becomes insufficient due to the vacation interruption acquisition is not checked here. It is performed by the allocation error display and alert notification described later.
5.2.申請日時点で取得可能な別の休暇残のうち、有効期間終了日が早く終了するものがあるかのチェック(図26)。 5.2. Check if there is another leave that can be taken as of the application date and the expiration date ends earlier (Fig. 26).
5.2.1.申請されている休暇種別と残管理区分が同一の休暇残割当データから、直近の有効期間終了日を取得する。休暇残割当データから、付与ID単位で「有効期間開始日≦休暇取得日≦有効期間終了日」かつ、「休暇取得日≧申請日」となる「割当連番が最小」の行を取得する。取得データあり、かつ、(割当日数+割当後残日数)の合計≧取得日数の場合はOKとし、そのうち有効期間終了日が小さい方を取得する。 5.2.1. The latest valid period end date is acquired from the vacation remaining allocation data in which the applied leave type and the remaining management category are the same. From the vacation remaining allocation data, the row of "minimum allocation serial number" in which "valid period start date ≤ vacation acquisition date ≤ valid period end date" and "vacation acquisition date ≥ application date" is acquired for each grant ID. If there is acquired data and the total of (number of allocated days + number of remaining days after allocation) ≥ the number of acquired days, it is OK, and the one with the smaller end date of the valid period 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, the case where the input data is the employee code “A”, the vacation acquisition date “2017/10/20”, and the vacation type “AM paid holiday” will be described. The assigned ID "XXX1" is the expiration date "2018/3/31". The acquisition ID "Null (natural extinction)" of the allocation ID "ZZ14" is the allocation serial number "8", the number of allocation days "9.5 days", the remaining "0 days" after the allocation, and the possible balance = 9.5. Become. On the other hand, the assigned ID "XXX2" is the expiration date "2019/3/31". The acquisition ID "Null (natural extinction)" of the allocation ID "ZZ15" is the allocation serial number "1", the number of allocation days "18 days", and the remaining after allocation "0.0 days", and the possible balance = 18.
この場合は、有効期限終了日が小さい方の、付与ID「XXX1」の休暇を取得する。 In this case, the vacation with the grant ID "XXX1", which has the smaller expiration date, is taken.
5.2.2.申請されている休暇種別と残管理区分が異なる休暇残割当データから、直近の有効期間終了日を取得(図27)
休暇残割当データから、付与ID単位で「有効期間開始日≦休暇取得日≦有効期間終了日」かつ、「休暇取得日≧申請日」となる「割当連番が最小」の行を取得する。取得データありの場合、そのうち有効期間終了日<5.1.1.で取得した有効期間終了日を取得する。有効な休暇データが見つかった場合は、確認メッセージを表示し、別の休暇の取得を促す。
5.2.2. Obtain the latest valid period end date from the leave remaining allocation data for which the applied leave type and the remaining management category are different (Fig. 27).
From the vacation remaining allocation data, the row of "minimum allocation serial number" in which "valid period start date ≤ vacation acquisition date ≤ valid period end date" and "vacation acquisition date ≥ application date" is acquired for each grant ID. If there is acquired data, the expiration date <5.1.1. Get the expiration date of the validity period obtained in. If valid vacation data is found, a confirmation message will be displayed prompting you to take another vacation.
図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, when the application is 10/20, the grant ID “XXX3” is the expiration date end date “2017/8/31”, which is not applicable because it is after the expiration date. On the other hand, in the case of the grant ID "XXX4", the expiration date is "2017/10/31", and the acquisition ID "Null (natural extinction)" of the allocation ID "ZZ17" is the allocation serial number "1". The number of days is "0.5 days" and the remaining amount after allocation is "0 days", and the possible remaining amount is 0.5, which can be acquired.
このように、有効な休暇が見つかった場合は、確認メッセージを通知(表示)して、切り替えを促してもよい。同図に示す確認メッセージの例では、「有効期限終了が近い別の休暇がありますがよろしいですか?」との表示と、その残管理区分、有効期限終了日、及び残日数とが表示されている。 In this way, when a valid vacation is found, a confirmation message may be notified (displayed) to prompt the switch. In the example of the confirmation message shown in the figure, the message "Is there another vacation that is about to expire?" Is displayed, and the remaining management category, expiration date, and number of remaining days are displayed. There is.
5.3.割当エラーデータがあるかのチェック(図28)
例えば、図28において、入力データが従業員コード「A」、休暇取得日「2017/8/22」、休暇種別「終日代休」の場合について説明する。休暇申請及び休暇残割当処理後、休暇種別と残管理区分が同一の割当エラーデータを取得する。
5.3. Check for 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 vacation application and the vacation balance allocation process, the allocation error data with the same vacation type and balance management category is acquired.
割当エラーデータが存在する場合は、警告メッセージを通知(表示)する。同図に示す警告メッセージでは、「取得可能な日数を超過している休暇があります。別の休暇に振替を行って下さい」との表示と、その休暇種別、休暇取得日、及び超過日数とが表示されている。 If allocation error data exists, a warning message is notified (displayed). In the warning message shown in the figure, the message "There are vacations that exceed the available days. Please transfer to another vacation" and the vacation type, vacation acquisition date, and excess days are displayed. It is displayed.
6.本人、上長などへのアラート表示(図29)
有効期限が近い休暇残、取得可能な日数を超過している休暇をアラート表示し、対応を促す。
6. Alert display to the person, superior, etc. (Fig. 29)
Alerts are displayed for the remaining vacations that are about to expire and the vacations that have exceeded the number of days that can be taken, prompting the response.
休暇未取得の残がある場合、必ず有効期限終了日に自然消滅の休暇残割当データが存在する。これを利用して、何時の休暇が消滅するかを、従業員本人、上長、管理者が即座に確認できる。 If there is a vacation balance that has not been taken, there will always be vacation balance allocation data that disappears spontaneously on the expiration date. By using this, the employee, superior, and manager can immediately confirm when the leave will disappear.
6.1.有効期限が近い休暇のアラート
例えば、以下の取得条件に該当する場合に、有効期限が近い休暇のアラートを通知(表示)し、対応を促してもよい。
6.1. Alerts for vacations with near expiration dates For example, alerts for vacations with near expiration dates may be notified (displayed) and prompted for response when the following acquisition conditions are met.
取得条件:今日の日付の月初日≦有効期間終了日≦今日の日付の月末日、かつ、割当連番が最大の行、かつ、取得ID=NULL(自然消滅)で割当日数>0のデータ(消滅日数があるもの) Acquisition condition: Data with the first day of the month of today's date ≤ the end date of the valid period ≤ the last day of today's date, the row with the largest allocation serial number, and the acquisition ID = NULL (natural extinction) and the number of allocation days> 0 ( Those with extinction days)
有効期限が近い休暇のアラートの例では、ログインメニューにおいて、通知エリアに、「今月中が取得期限の休暇残があります。(2017/8/31期限 代休 残0.5日)」が表示されている。 In the example of a vacation alert that is about to expire, in the login menu, "There is a vacation remaining due for acquisition during this month. (2017/8/31 deadline 0.5 days remaining)" is displayed in the notification area. There is.
6.2.取得可能な日数の超過アラート
例えば、以下の取得条件に該当する場合に、取得可能な休暇の日数を超過している旨のアラートを通知(表示)し、対応を促してもよい。
6.2. Alert for exceeding the number of days that can be acquired For example, if the following acquisition conditions are met, an alert indicating that the number of days of vacation that can be acquired has been exceeded may be notified (displayed) to prompt a response.
取得条件:休暇取得日≧今日の日付の月の一日 Acquisition conditions: Vacation acquisition date ≧ 1st of the month of today's date
取得可能な日数の超過アラートの例では、ログインメニューにおいて、通知エリアに、「取得可能な日数を超過している休暇があります。(2017/8/27 代休 超過0.5)」が表示されている。 In the example of the alert for exceeding the number of days that can be acquired, in the login menu, "There is a vacation that exceeds the number of days that can be acquired. (2017/8/27 Exceeded 0.5 days off)" is displayed in the notification area. There is.
以上説明したように、本実施の形態によれば、休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成部102bと、休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データ作成部102cと、割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成部102dとを備えているので、消滅期限が早い休暇から優先的に取得することが可能となる。
As described above, according to the present embodiment, for each event in which a vacation occurs, the grant ID, employee code, vacation grant date, remaining management category for designating paid leave or substitute leave, vacation valid period start date, The vacation grant data creation unit 102b that creates vacation grant data including data on the end date of the vacation validity period and the number of days of leave granted, and each time a vacation request is received, the acquisition ID, employee code, vacation acquisition date, half day or The vacation acquisition
また、本実施の形態によれば、休暇残割当データは、前記休暇付与データの付与日数に休暇取得データの取得日数を割り当てた割当日数を、当該付与日数から減算した割当後残日数を含むこととしたので、特定日時点で有効な休暇残日数を即時に把握することが可能となる。 Further, according to the present embodiment, the vacation remaining allocation data includes the number of remaining days after allocation obtained by subtracting the number of allocated days obtained by allocating the number of days for acquiring vacation acquisition data to the number of days granted for the vacation grant data. Therefore, it is possible to immediately grasp the number of remaining days of leave that are valid as of a specific date.
また、本実施の形態によれば、休暇残割当データは、未取得の休暇が有効期限終了日に消滅することを示す自然消滅データを含むこととしたので、特定期間に消滅する休暇残日数を即時に把握することが可能となる。 Further, according to the present embodiment, since the vacation remaining allocation data includes the spontaneous extinction data indicating that the unacquired vacation disappears on the expiration date, the number of vacation days remaining to be extinguished in a specific period is calculated. It will be possible to grasp immediately.
また、本実施の形態によれば、休暇申請段階で、休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知部102eを備えているので、複数の残管理区分からより期限の短い優先度の高い休暇を判別して取得を促すことが可能となる。
Further, according to the present embodiment, at the vacation application stage, the
また、本実施の形態によれば、休暇残割当データを参照して、有効期限が近い休暇残、及び/又は、取得可能な日数超過している休暇申請にアラートを通知するアラート通知部102fを備えているので、有効期限が近い休暇残等を警告することが可能となる。 Further, according to the present embodiment, the alert notification unit 102f for notifying an alert to the vacation remaining that is near the expiration date and / or the vacation request that has exceeded the number of days that can be acquired is provided with reference to the vacation remaining allocation data. Since it is prepared, it is possible to warn about the remaining vacations that are about to expire.
[5.他の実施形態]
本発明は、上述した実施の形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[5. Other embodiments]
In addition to the above-described embodiments, the present invention may be implemented in various different embodiments within the scope of the technical idea described in the claims.
例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, of each of the processes described in the embodiments, all or part of the processes described as being automatically performed may be manually performed, or all of the processes described as being performed manually. Alternatively, a part can be automatically performed by a known method.
また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions for each processing, screen examples, and database configurations shown in this specification and drawings are not specified unless otherwise specified. Can be changed arbitrarily.
また、休暇残割当管理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。
Further, with respect to the vacation balance
例えば、休暇残割当管理装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて休暇残割当管理装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。
For example, with respect to the processing functions included in the vacation balance
また、このコンピュータプログラムは、休暇残割当管理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。
Further, this computer program may be stored in an application program server connected to the vacation balance
また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、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 process described in the present embodiment may be stored in a non-temporary 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 (registration). Trademarks) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magnet-Optical Disk), MO (Magnet-Optical Disk), DVD (Digital), DVD (Digital) It shall include any "portable physical medium".
また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 Further, the "program" is a data processing method described in any language or description method, regardless of the format such as source code or binary code. The "program" is not necessarily limited to a single program, but is distributed as multiple modules or libraries, or cooperates with a separate program represented by the OS to achieve its function. Including things. It should be noted that well-known configurations and procedures can be used for the specific configuration and reading procedure for reading the recording medium and the installation procedure after reading in each device shown in the embodiment.
記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。 Various databases and the like stored in the storage unit are memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and storage means such as optical disks, and are used for various processes and website provision. Stores programs, tables, databases, files for web pages, etc.
また、休暇残割当管理装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、休暇残割当管理装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。
Further, the vacation balance
更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific form of distribution / integration of the device is not limited to that shown in the figure, and all or part of the device may be functionally or physically in any unit according to various additions or functional loads. It can 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 ネットワーク
1 Leave remaining allocation management device 102 Control unit 102a Master setting unit 102b Vacation grant
Claims (6)
前記制御部は、
休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成手段と、
休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データ作成手段と、
割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成手段と、
休暇申請段階で、前記休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知手段と、
を備えたことを特徴とする休暇残割当管理装置。 It is a vacation balance allocation management device equipped with a control unit.
The control unit
Data on the grant ID, employee code, vacation grant date, remaining management category for specifying paid leave or substitute leave, vacation valid period start date, vacation valid period end date, and vacation grant days for each vacation event. A means of creating vacation grant data, including
Each time you receive a vacation request, you will receive vacation acquisition data including data on the acquisition ID, employee code, vacation acquisition date, vacation type that specifies half-day or full-day leave, remaining management category that specifies paid or substitute leave, and the number of days taken. The means of creating vacation acquisition data and
A means for creating vacation remaining allocation data, which includes the allocation ID, links the vacation grant data and the vacation acquisition data, and creates vacation balance allocation data for preferentially acquiring vacations with an earlier expiration date.
At the leave application stage, a message notification means for notifying a higher priority leave with a shorter deadline from a plurality of remaining management categories by referring to the vacation remaining allocation data,
A vacation balance allocation management device characterized by being equipped with.
前記制御部において実行される、
休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、
休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、
割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、
休暇申請段階で、前記休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知ステップと、
を含むことを特徴とする休暇残割当管理方法。 It is a vacation balance allocation management method executed by an information processing device equipped with a control unit.
Executed in the control unit,
Data on the grant ID, employee code, vacation grant date, remaining management category for specifying paid leave or substitute leave, vacation valid period start date, vacation valid period end date, and vacation grant days for each vacation event. The leave grant data creation step and the leave grant data creation step to create the leave grant data including
Each time you receive a vacation request, you will receive vacation acquisition data including data on the acquisition ID, employee code, vacation acquisition date, vacation type that specifies half-day or full-day leave, remaining management category that specifies paid or substitute leave, and the number of days taken. With the vacation acquisition data step to create,
A step for creating vacation remaining allocation data, which includes the allocation ID, associates the vacation grant data with the vacation acquisition data, and creates vacation remaining allocation data for preferentially acquiring vacations with an earlier expiration date.
At the leave application stage, a message notification step for notifying a higher priority leave with a shorter deadline from a plurality of remaining management categories by referring to the vacation remaining allocation data, and
A vacation balance allocation management method characterized by including.
前記制御部において、
休暇発生のイベント毎に、付与ID、従業員コード、休暇の付与日、有休又は代休を指定する残管理区分、休暇の有効期間開始日、休暇の有効期間終了日、及び休暇の付与日数のデータを含む休暇付与データを作成する休暇付与データ作成ステップと、
休暇申請を受け取る毎に、取得ID、従業員コード、休暇取得日、半日又は全日の休暇を指定する休暇種別、有休又は代休を指定する残管理区分、及び取得日数のデータを含む休暇取得データを作成する休暇取得データステップと、
割当IDを含み、前記休暇付与データと前記休暇取得データとを紐付け、消滅期限が早い休暇から優先的に取得するための休暇残割当データを作成する休暇残割当データ作成ステップと、
休暇申請段階で、前記休暇残割当データを参照して、複数の残管理区分からより期限の短い優先度の高い休暇を通知するメッセージ通知ステップと、
を実行させるための休暇残割当管理プログラム。 It is a vacation balance allocation program to be executed by an information processing device equipped with a control unit.
In the control unit
Data on the grant ID, employee code, vacation grant date, remaining management category for specifying paid leave or substitute leave, vacation valid period start date, vacation valid period end date, and vacation grant days for each vacation event. The leave grant data creation step to create leave grant data, including
Each time you receive a vacation request, you will receive vacation acquisition data including data on the acquisition ID, employee code, vacation acquisition date, vacation type that specifies half-day or full-day leave, remaining management category that specifies paid or substitute leave, and the number of days taken. With the vacation acquisition data step to create,
A step for creating vacation remaining allocation data, which includes the allocation ID, associates the vacation grant data with the vacation acquisition data, and creates vacation remaining allocation data for preferentially acquiring vacations with an earlier expiration date.
At the leave application stage, a message notification step for notifying a higher priority leave with a shorter deadline from a plurality of remaining management categories by referring to the vacation remaining allocation data, and
A vacation balance allocation management program for running.
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 JP2020004301A (en) | 2020-01-09 |
| JP7097763B2 true 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) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102250004B1 (en) * | 2019-05-03 | 2021-05-10 | 웰키아이앤씨 주식회사 | Vacation Information and Suggestion System |
| JP7779679B2 (en) * | 2021-08-20 | 2025-12-03 | 株式会社オービック | Vacation management device, vacation management method, and vacation management program |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005071020A (en) | 2003-08-22 | 2005-03-17 | Honda Motor Co Ltd | Holiday acquisition status management device |
| 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 |
-
2018
- 2018-06-29 JP JP2018125600A patent/JP7097763B2/en active Active
-
2022
- 2022-06-27 JP JP2022102976A patent/JP7431894B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005071020A (en) | 2003-08-22 | 2005-03-17 | Honda Motor Co Ltd | Holiday acquisition status management device |
| 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)
| Title |
|---|
| MajorFlow Webワークフローソフトウェア,パナソニックネットソリューションズ株式会社,2016年07月14日 |
| 熊野 憲辰,未来に活きる! 現場で使える! データモデリング 第21回 企業の勤怠管理システム,シェルスクリプトマガジン ,(有)USP研究所,2015年10月20日,2015 November vol.31 ,第49-52頁 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7431894B2 (en) | 2024-02-15 |
| JP2022118277A (en) | 2022-08-12 |
| JP2020004301A (en) | 2020-01-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10725965B1 (en) | Systems and methods for managing copy creation and deletion | |
| JP3921865B2 (en) | Data processing system and program recording medium thereof | |
| US7401083B2 (en) | Methods and systems for managing user access to computer software application programs | |
| US8555333B2 (en) | Identifying and resolving separation of duties conflicts in a multi-application environment | |
| US20020116340A1 (en) | Method and system for retrieving data from the XSLM license manager | |
| KR101991881B1 (en) | Labor management solution system and method | |
| JP7393817B2 (en) | Industrial property cost estimation system and method | |
| JP7431894B2 (en) | Leave remaining allocation management device, leave remaining allocation management method, and leave remaining allocation management program | |
| US8635162B2 (en) | Creating rules for the administration of end-user license agreements | |
| JP7287050B2 (en) | Data check device, data check method and data check program | |
| JP6963473B2 (en) | Attendance management device, attendance management method and attendance management program | |
| JP2003256064A (en) | License management method, license management server, license acquisition client, license management program, and recording medium | |
| JP2022171129A (en) | Information processing device, program, and information processing method | |
| JP2006146530A (en) | Scheduling support system | |
| JP2019101636A (en) | Working time calculation device, working time calculation method, and working time calculation program | |
| JP2002324153A (en) | System and method for managing duty circumstances of dispatched employee, and program therefor | |
| JP2021096514A (en) | Information processing device and information processing method | |
| JP6570604B2 (en) | Schedule management system and schedule management program | |
| US20070083474A1 (en) | Administration of end-user licence agreements | |
| JP2004062439A (en) | Information management support device, information management support system, information management support method, storage medium, and program | |
| KR20240028221A (en) | Labor management system enabling continuous management and access of labor information before and after employee resignation or turnover | |
| JP2006235872A (en) | Project management device | |
| CN115810223B (en) | Method, device, processor and storage medium for attendance analysis | |
| JP6850162B2 (en) | Business data change check device, business data change check method, and business data change check program | |
| JP7818875B1 (en) | Information processing system, information processing method, and 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |