JP7249650B2 - Working time calculation system, payroll system and computer program - Google Patents

Working time calculation system, payroll system and computer program Download PDF

Info

Publication number
JP7249650B2
JP7249650B2 JP2020080787A JP2020080787A JP7249650B2 JP 7249650 B2 JP7249650 B2 JP 7249650B2 JP 2020080787 A JP2020080787 A JP 2020080787A JP 2020080787 A JP2020080787 A JP 2020080787A JP 7249650 B2 JP7249650 B2 JP 7249650B2
Authority
JP
Japan
Prior art keywords
hours
working hours
working
statutory
daily
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
Application number
JP2020080787A
Other languages
Japanese (ja)
Other versions
JP2021174476A (en
Inventor
喬平 藤川
Original Assignee
株式会社ミッドランドItソリューション
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社ミッドランドItソリューション filed Critical 株式会社ミッドランドItソリューション
Priority to JP2020080787A priority Critical patent/JP7249650B2/en
Publication of JP2021174476A publication Critical patent/JP2021174476A/en
Application granted granted Critical
Publication of JP7249650B2 publication Critical patent/JP7249650B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

この発明は、残業時間(時間外労働時間)のより合理的な計算手法を確立するための労働時間計算システム、給与計算システム及びコンピュータプログラムに関するものである。 The present invention relates to a working time calculation system, a payroll calculation system, and a computer program for establishing a more rational method of calculating overtime hours (overtime working hours).

従来、各事業所等においては、使用者と労働者との間で労働契約により賃金について合意を取り交わし、それに基づいた給与等の賃金計算がなされている。その際に、就業規則等において定めた労働時間(以下、本明細書において所定労働時間という)を超えて労働者が勤務した場合には、時間外労働として別途賃金を支払うことが労働基準法等の法律により義務付けられている。特に、時間外労働のうち、法定労働時間(1日8時間、週40時間)を超えたり、法定休日に出勤して行なったりする労働等については、割増しした時間外労働賃金を支払うことも義務付けられている。 Conventionally, at each place of business, employers and workers have exchanged agreements on wages based on labor contracts, and wages and other wages are calculated based on these agreements. At that time, if a worker works longer than the working hours specified in the employment regulations, etc. (hereinafter referred to as the prescribed working hours in this specification), a separate wage will be paid as overtime work, etc. required by law. In particular, for overtime work that exceeds legal working hours (8 hours per day, 40 hours per week) or work on legal holidays, it is also obligatory to pay extra overtime wages. It is

近年、未払い残業代の問題が顕在化しており、これを巡る訴訟問題等も発生している。未払い残業代については過去2年に遡及して支払いが命じられることもあり、残業代を支払っていない事業所は、潜在的に大きなリスクを抱えていることになる。一方、労働基準法などの法律の規定には程度の自由度があり、法律が許容する範囲内で合理的な取り決めを労使が行い、その範囲で合理的なやり方で時間外労働賃金の支払いをすれば、時間外労働賃金の未払いリスクを無くすことができる場合もある。 In recent years, the problem of unpaid overtime has become apparent, and lawsuits and the like related to this have also occurred. Unpaid overtime pay may be ordered to be paid retroactively to the past two years, so businesses that have not paid overtime pay are potentially at great risk. On the other hand, the provisions of laws such as the Labor Standards Act have a certain degree of freedom. In some cases, it is possible to eliminate the risk of non-payment of overtime wages.

こうした背景に鑑み、特許文献1には、あらかじめ用意された情報ファイルから各労働者の所定労働時間を読み取り、タイムレコーダによる出退時刻データファイルに記録された各日の各労働者の出退データと所定労働時間とを比較することで各日の時間外労働時間の実績値を算出し、これを集計期間において合計することで集計期間における当該労働者の実際の時間外労働時間の合計値である当期実績値を集計するシステムが開示されている。ここで、特許文献1において上記情報ファイルとして具体的に使用されるのは、各日における各労働者の所定労働時間の情報と、年間カレンダに基づく各労働者の設定出勤日情報とが記録されたファイルである。この場合、時間外労働時間を適法に算出可能となるためには、当然のことであるが、情報ファイルに含まれる年間カレンダとして、労働基準法や労働基準法施行規則といった法規に適合する就業規則に従い作成されたものが予め用意されていることが大前提となる。 In view of this background, in Patent Document 1, the prescribed working hours of each worker are read from an information file prepared in advance, and the attendance and departure data of each worker for each day recorded in the attendance and departure time data file by the time recorder. Calculate the actual overtime hours for each day by comparing with the regular working hours, and total the actual overtime hours of the worker during the aggregation period. A system for aggregating current period results is disclosed. Here, what is specifically used as the information file in Patent Document 1 is information on the prescribed working hours of each worker on each day and information on the working days set for each worker based on the annual calendar. file. In this case, in order to be able to legally calculate overtime hours, it is natural that the annual calendar included in the information file should be an employment rule that conforms to the Labor Standards Act and the Ordinance for Enforcement of the Labor Standards Act. It is a major premise that the one created according to is prepared in advance.

また、特許文献2には、勤務実績と労務に関する規則に基づく基準とに基づいて、規則に抵触する場合は注意喚起の情報を当事者と監督者に自動的に送信するようにした勤務管理装置が開示されている。労務実績が規則に抵触するか否かの判定は、アラート基準情報データベースを参照して実行されるようになっているが、特許文献2の段落0035の開示によると、このアラート基準情報データベースは、事業体の就業規則などに基づいたカレンダ情報が格納されたものであり、このカレンダ情報には、就業規則などで定められている始終業時間(いわゆる、定時労働時間)、事業体BPの定休日を示す情報、規定されている残業開始時刻、などといった、労働時間の算出に必要となる情報が含まれるものである。よって、ここでも就業規則に従い作成されたカレンダがデータ化された形で用意されていることが前提として必要である。 In addition, Patent Document 2 discloses a work management device that automatically sends warning information to the parties involved and supervisors when a rule is violated, based on work performance and standards based on rules regarding labor. disclosed. Determination of whether or not the labor performance conflicts with the rules is executed by referring to the alert criteria information database. According to the disclosure of paragraph 0035 of Patent Document 2, this alert criteria information database is It stores calendar information based on the work regulations of the business entity, etc. This calendar information includes the start and end working hours (so-called regular working hours) stipulated in the work regulations, etc., and the business entity BP's regular holidays This includes information necessary for calculating working hours, such as information indicating the number of hours worked, the specified overtime work start time, and the like. Therefore, here as well, it is necessary as a premise that a calendar created in accordance with the employment regulations is prepared in a form of data.

特開2013-134629号公報JP 2013-134629 A 特開2007-272746号公報JP 2007-272746 A 特開2011-065372号公報JP 2011-065372 A

しかしながら、事業者の中には就業規則と整合しないカレンダや、整合していても就業規則自体が内包する問題により法規上の瑕疵を含んだカレンダしか用意されていないことがある。また、基礎となるカレンダ自体が存在しないこともある。特許文献1あるいは特許文献2の技術を実際に実施しようとしたとき、前者の場合では、使用するカレンダが適法性のないものであっては、時間外労働時間の適法な計算ができるわけがない。また、後者のごとくカレンダ自体が存在しない場合は、こうした技術の活用を図ること自体が根本的に不可能である。こうした状況の事業者の数は案外に多いものであり、前述の「合理的なやり方による時間外労働賃金」の算定や支払いがなされる状況には程遠い。 However, there are cases where business operators prepare only calendars that are inconsistent with the work rules, or calendars that include legal flaws due to problems inherent in the work rules themselves even if they are compatible. Also, the underlying calendar itself may not exist. When trying to actually implement the technique of Patent Document 1 or Patent Document 2, in the former case, if the calendar used is not legal, there is no way that the overtime hours can be calculated legally. . Moreover, if the calendar itself does not exist like the latter, it is fundamentally impossible to utilize such technology. The number of businesses in this situation is surprisingly large, and we are far from being able to calculate and pay overtime wages in a rational manner as described above.

なお、時間外労働賃金を含む給与の計算を就業規則と整合させた形で自動計算させるシステムの一例は、特許文献3に開示がある。しかし、このシステムは、就業規則を文字列としてデータ化し、これをAI的に解析して給与計算式の項目を抽出する、といった非常に複雑で高価な装置体系を採用しており、現実的には普及するに至っていない。 Patent document 3 discloses an example of a system that automatically calculates salaries including overtime wages in accordance with employment regulations. However, this system adopts a very complicated and expensive equipment system that converts work regulations into data as character strings, analyzes them using AI, and extracts the items of the salary calculation formula. has not yet become widespread.

本発明の課題は、就業規則に従う労働時間カレンダが用意されていない場合にあっても、残業代等の計算に必要な各日の時間外労働時間の値を、各労働者の出退時刻データを用いて合理的に算出できる労働時間計算システムと、それを用いた給与計算システム及びコンピュータプログラムを提供することにある。 The object of the present invention is to obtain the values of overtime hours for each day, which are necessary for calculating overtime pay, etc., even when a working hour calendar that conforms to the work rules is not prepared. To provide a working hours calculation system that can be rationally calculated using

上記の課題を解決するために、本発明の労働時間計算システムは、各労働者の各日付の出退時刻を記録した出退時刻データを取得する出退時刻データ取得部と、各労働者について設定されるべき労働時間制を、一般労働時間制及び変形労働時間制のいずれかに選択的に入力設定する労働時間制入力設定部と、各労働者の所定出勤日に設定するべき日予定所定労働時間を入力する日予定所定労働時間入力部と、出退時刻データに基づいて、各労働者の各日付の総労働時間を日総労働時間として計算する日総労働時間計算部と、各労働者について各日付にかかる日付属性を、計算された日総労働時間が所定値未満となる日付については休日と判別し、日総労働時間が所定値を超える日付については所定出勤日と判別する日付属性判別部と、日付属性が所定出勤日と判別された日付については、日総労働時間を、入力された日予定所定労働時間及び労働時間制の種別に応じて用意された日固有法定労働時間の少なくともいずれかと比較するとともに、その比較結果に基づいて当該日付に割り振るべき日所定労働時間を決定する一方、日付属性が休日と判別された日付については日所定労働時間をゼロとして決定する日所定労働時間決定部とを備え、各労働者について、日付と、当該日付に対して判別された日付属性と、日所定労働時間とが互いに対応付けられた労働時間カレンダを作成する労働時間カレンダ作成部と、作成された労働時間カレンダを記憶する労働時間カレンダ記憶部と、各労働者の各日付の日所定労働時間を労働時間カレンダ上にて読み取り、各日付について日総労働時間と日予定所定労働時間と日固有法定労働時間とを比較することにより、各日付の日残業時間を、法定内残業時間と法定外残業時間とに区分して算出する残業時間算出部と、各労働者の各日付の日残業時間を予め定められた集計対象期間について集計することにより集計済残業時間を算出する残業時間集計部と、集計済残業時間を各労働者の特定情報と対応付けて記憶する集計済残業時間記憶部と、集計済残業時間記憶部に記憶された集計済残業時間を出力する集計済残業時間出力部と、を備えたことを特徴とする。 In order to solve the above problems, the working hours calculation system of the present invention includes: A working hour system input setting unit that selectively inputs and sets the working hours system to be set to either the general working hours system or the variable working hours system, and a predetermined schedule of days to be set for each worker's prescribed work day A daily scheduled working hours input unit for inputting working hours, a daily total working hours calculation unit for calculating the total working hours for each worker on each day based on the data of the starting and leaving times, and a total daily working hours calculation unit for each worker The date attribute applied to each date for each employee is determined as a holiday for dates when the calculated total daily working hours are less than a predetermined value, and as a predetermined working day for dates when the total daily working hours are greater than a predetermined value. For dates whose date attribute is determined to be a scheduled working day, the total working hours per day are determined according to the input scheduled working hours and working hour system. and determine the daily scheduled working hours to be allocated to the date based on the result of the comparison. a working hours determination unit for creating, for each worker, a working hours calendar in which dates, date attributes determined for the dates, and prescribed working hours per day are associated with each other; a working hour calendar storage unit for storing the created working hour calendar; read the daily prescribed working hours for each worker on the working hour calendar; An overtime calculation unit that divides the daily overtime hours for each date into legal overtime hours and non-legal overtime hours by comparing the hours and the day-specific legal working hours, and each date for each worker an overtime hours counting unit that calculates aggregated overtime hours by aggregating daily overtime hours for a predetermined aggregate target period; It is characterized by comprising a time storage unit and an aggregated overtime hours output unit that outputs the aggregated overtime hours stored in the aggregated overtime hours storage unit.

また、本発明の給与計算システムは、上記本発明の労働時間計算システムと、労働時間計算システムが出力する集計済残業時間の情報に基づいて各労働者の給与計算を行なう給与計算部と、を備えたことを特徴とする。 Further, a payroll calculation system of the present invention comprises the working hours calculation system of the present invention, and a payroll calculation unit that calculates the payroll of each worker based on the information on the aggregated overtime hours output by the working hours calculation system. It is characterized by having

また、本発明のコンピュータプログラムの第一は、コンピュータを、上記本発明の労働時間計算システムの各機能実現部として機能させることを特徴とする。さらに、本発明のコンピュータプログラムの第二は、コンピュータを、上記本発明の給与計算システムの各機能実現部として機能させることを特徴とする。 A first aspect of the computer program of the present invention is characterized by causing a computer to function as each function implementation unit of the working time calculation system of the present invention. Furthermore, a second computer program of the present invention is characterized by causing a computer to function as each function implementation unit of the payroll accounting system of the present invention.

上記本発明の労働時間計算システムにおいては、タイムレコーダ等により記録される出退時刻データを取得し、その出退時刻データに基づいて、各労働者の各日付の総労働時間を日総労働時間として計算する。そして、その計算された日総労働時間の値を用いて労働時間カレンダを作成する点に特徴がある。よって、就業規則に従う労働時間カレンダが用意されていない場合にあっても、作成される労働時間カレンダを用いることで残業代等の計算に必要な各日の残業時間の値を合理的に算出できる。より詳細な作用効果は以下の通りである。 In the working time calculation system of the present invention, data on arrival/departure times recorded by a time recorder or the like is acquired, and based on the data on arrival/departure times, the total working hours of each worker on each date is calculated as the total daily working hours. calculate. The feature is that a working hour calendar is created using the calculated total daily working hours. Therefore, even if a working hour calendar that conforms to the rules of employment is not prepared, by using the created working hour calendar, it is possible to rationally calculate the value of overtime hours for each day necessary for calculating overtime pay, etc. . More detailed effects are as follows.

日総労働時間を所定労働時間と残業時間とに区分する基準となるのは、日固有法定労働時間と、契約等で労働者との間で個別に取り決められる日予定所定労働時間の値である。これらの値が個別に組み込まれた詳細な労働時間カレンダが、何らかの事情でユーザ側にて用意できないことを想定し、ユーザ側には最小限の情報として、労働時間制の種別と日予定所定労働時間とを入力させる。労働時間制の種別を入力させるのは、労働基準法(及びその施行規則)上にて各日の法定労働時間が、労働時間制の種別によって異なるためである。本発明において、労働時間制入力設定部にて選択可能な労働時間制の種別は、上記法に法定労働時間の規定が存在する一般労働時間制、週単位、月単位及び年単位の変形労働時間制のいずれかとしている。これにより、作成されるカレンダ上にて設定可能な労働時間制は、労働基準法に適合するもののみとなる。また、本発明において「所定労働時間」は労働基準法に従い「法定労働時間」の範囲内で設定されるものであり、当然、予定所定労働時間も日固有法定労働時間の範囲内で設定入力される。 The criteria for classifying total daily working hours into regular working hours and overtime hours are the values of statutory working hours specific to the day and the values of scheduled regular working hours that are individually agreed upon with workers in contracts, etc. . Assuming that a detailed working hour calendar in which these values are individually incorporated cannot be prepared by the user for some reason, the minimum information for the user is the type of working hour system and the scheduled work day. to enter the time. The reason why the type of working hour system is required to be entered is that the statutory working hours for each day differ according to the type of working hour system under the Labor Standards Act (and its Enforcement Regulations). In the present invention, the types of working hours system that can be selected in the working hours system input setting section are the general working hours system where the legal working hours are stipulated in the above law, weekly, monthly and yearly variable working hours. system. As a result, the working hours system that can be set on the created calendar is limited to those that comply with the Labor Standards Act. In addition, in the present invention, "prescribed working hours" are set within the scope of "statutory working hours" in accordance with the Labor Standards Act, and of course, the scheduled prescribed working hours are also set and input within the scope of the day-specific legal working hours. be.

上記を前提に、労働時間カレンダ作成部は、労働者について各日付にかかる日付属性を、計算された日総労働時間が所定値未満となる日付については休日と判別し、日総労働時間が所定値を超える日付については所定出勤日と判別する。そして、日付属性が所定出勤日と判別された日付については、日総労働時間計算部により計算されている日総労働時間を、入力された日予定所定労働時間と労働時間制の種別に応じて用意された日固有法定労働時間との少なくともいずれかと比較し、その比較結果に基づいて当該日付に割り振るべき日所定労働時間を決定する。他方、日付属性が休日と判別された日付については日所定労働時間がゼロとして決定される。そして、各日付に対し判別された上記の日付属性と日所定労働時間とが紐づけられ、労働時間カレンダとされる。ここで、上記の休日判別のために日総労働時間に対し設定される所定値は、例えばゼロであるが、例えば、30分未満の出勤時間はゼロとみなす、といった取り決めが別途交わされている場合にあっては、ゼロでない正の値を設定することも可能である。ただし、労働基準法への適合性を高めるためには、該所定値はゼロに設定することがより望ましいといえる。 On the premise of the above, the working hour calendar creation department determines that the dates for which the calculated total daily working hours are less than a predetermined value are holidays, and the total daily working hours are determined as holidays. Dates exceeding the value are discriminated as predetermined working days. Then, for the date whose date attribute is determined to be a scheduled work day, the total daily working hours calculated by the total daily working hours calculation unit are calculated according to the input scheduled working hours for the day and the type of working hour system. It compares with at least one of the prepared day-specific statutory working hours, and determines the daily prescribed working hours to be allocated to the date based on the comparison result. On the other hand, for dates whose date attributes are determined as holidays, the daily prescribed working hours are determined as zero. Then, the date attribute determined for each date and the daily prescribed working hours are linked to form a working hour calendar. Here, the predetermined value set for the total working hours per day for the discrimination of days off is, for example, zero. In some cases, it is also possible to set a positive non-zero value. However, in order to enhance compliance with the Labor Standards Act, it is more desirable to set the predetermined value to zero.

このようにして作成される労働時間カレンダは、労働基準法に適合する日予定所定労働時間と日固有法定労働時間とを参照して決定された日所定労働時間が各日付に設定され、その内容は本質的に遵法的な方向に誘導されたものとなる。さらに、これを参照して残業時間算出部が算出する各日付の法定内残業時間と法定外残業時間も、確実に労働基準法の規定に従う内容のものとなる。 In the working hours calendar created in this way, the prescribed daily working hours determined by referring to the scheduled daily working hours that comply with the Labor Standards Act and the statutory working hours peculiar to the day are set for each date, and the contents thereof is essentially guided in a law-abiding direction. Furthermore, the statutory overtime hours and non-statutory overtime hours for each date calculated by the overtime hours calculation unit with reference to this will surely comply with the provisions of the Labor Standards Act.

つまり、事業者側において、就業規則と整合しないカレンダや法規上の瑕疵を含んだカレンダしか使えない場合、さらには、カレンダ自体が存在しない場合であっても、本発明によれば、労働基準法の規定に適合する労働時間カレンダを、労働者の出退時刻データに基づいて簡単に作成することができる。また、見方を変えれば、本発明により作成される遵法的な労働時間カレンダを用いた残業時間計算を施行することは、適法な就業規則に則った勤務形態運用を事業者側に促すことにつながり、労務指導上の効果も顕著となる。また、事業者側が仮に残業時間に対する賃金の全額支払いを行なわない場合についても、法定上は賃金支払いの対象となる総残業時間の計算結果を示すことで、例えば違法な賃金支払いの実態とそのリスクとを具体的な数字により事業者に把握させ、適法な勤務形態に導く改革等を促す契機等ともなりうるものである。 In other words, even if the business operator can only use a calendar that is inconsistent with the work rules, a calendar that contains legal defects, or even if the calendar itself does not exist, according to the present invention, the Labor Standards Law It is possible to easily create a working time calendar that conforms to the provisions of , based on the data of workers' arrival and departure times. From a different point of view, the implementation of overtime calculations using the legally compliant working hour calendar created by the present invention leads to the encouragement of employers to operate working styles in accordance with legal employment regulations. , the effect on labor guidance is also remarkable. In addition, even if the employer does not pay the full amount of wages for overtime hours, by showing the calculation results of the total overtime hours that are legally subject to wage payment, the actual situation of illegal wage payment and its risks It can also be an opportunity for business operators to grasp the situation with concrete figures and to promote reforms that lead to legal work styles.

労働時間カレンダ作成部は、各労働者の各日付について、日総労働時間の値と労働時間制の設定種別に応じ、各日付固有の日法定労働時間である日固有法定労働時間を決定する日固有法定労働時間決定部を備え、日付、日付属性及び日所定労働時間と日固有法定労働時間とを対応付けて労働時間カレンダを作成するものとして構成できる。この場合、残業時間算出部は、労働時間カレンダを参照することにより、各日付の法定外残業時間を、対応する日固有法定労働時間を用いて算出するものとされる。労働時間カレンダ内にて各日付に日固有法定労働時間が設定されていることで、各日付の法定外残業時間をより誤りなく算出することが可能となる。特に、変形労働時間制が採用されている場合、日固有法定労働時間は週単位、月単位、あるいは年単位で変動することが法定上許されていることから、労働時間カレンダの各日付に日固有法定労働時間を定めておくことで、各日の法定外労働時間の算出をより簡単かつ確実に行なうことができる。なお、日、週、月の各固有法定労働時間は、 For each worker on each date, the working hour calendar creation unit determines the day-specific statutory working hours, which are the statutory working hours peculiar to each day, according to the value of the total daily working hours and the setting type of the working hour system. It can be configured so as to have a unique legal working hours determination unit and create a working hour calendar by associating dates, date attributes, daily prescribed working hours, and daily unique legal working hours. In this case, the overtime hours calculation unit refers to the working hour calendar to calculate the non-statutory overtime hours for each date using the corresponding day-specific legal working hours. Since the legal working hours specific to each day are set for each date in the working hours calendar, it is possible to calculate the non-legal overtime hours for each date without error. In particular, when the variable working hours system is adopted, the statutory daily working hours are legally permitted to vary on a weekly, monthly, or yearly basis. By setting specific statutory working hours, it is possible to calculate the non-statutory working hours for each day more easily and reliably. The specific statutory working hours for each day, week, and month are

労働時間カレンダ作成部は、日付と、当該日付に対して判別された日付属性と、日所定労働時間の計算結果とを互いに対応付けた日労働時間カレンダと、労働時間カレンダを週に区切り、区切られた個々の週に週特定情報を付与した週労働時間カレンダとを労働時間カレンダとして作成するものとして構成できる。この場合、各週について日総労働時間を集計することにより週総労働時間を算出する週総労働時間算出部を設けておく。残業時間算出部は、各週について各日の法定外残業時間の合計である週累積日法定外残業時間を算出する一方、週総労働時間を予め定められた週固有法定労働時間と比較し、その比較結果において週固有法定労働時間を超過する週超過労働時間が生ずる場合に、該週超過労働時間を、週累積日法定外残業時間に加算することにより週総法定外残業時間を算出する週総法定外残業時間算出部を備えるものとして構成することができる。労働基準法(及びその施行規則)では、労働者の1週間当たりの法定労働時間である週固有法定労働時間についても規定があり、1週間の総労働時間のうち週固有法定労働時間を超える労働時間は法定外残業時間として割増賃金支払いの対象となる。出退時刻データから作成された日労働時間カレンダをもとに、上記のような週労働時間カレンダを作成することで、週超過労働時間を含めた形で週総法定外残業時間を労働基準法の規定に従い、正確に算出することができる。 The working hour calendar creation unit creates a daily working hour calendar in which the date, the date attribute determined for the date, and the calculation result of the daily prescribed working hours are associated with each other, and divides the working hour calendar into weeks. A weekly working hours calendar in which week specific information is added to each week obtained by the method can be created as a working hours calendar. In this case, a total weekly working hours calculation unit is provided to calculate the total weekly working hours by summing up the total daily working hours for each week. The overtime calculation unit calculates the cumulative daily non-statutory overtime hours for each week, which is the total of non-statutory overtime hours for each day, and compares the total weekly working hours with the predetermined weekly specific legal working hours, If the comparison results show that weekly overtime hours exceed the specific weekly statutory working hours, the weekly overtime hours are added to the weekly cumulative daily overtime hours to calculate the total weekly overtime hours. It can be configured to include a non-statutory overtime hours calculation unit. The Labor Standards Act (and its enforcement regulations) also stipulates the statutory weekly working hours, which are the statutory working hours of workers per week. Hours are subject to premium wage payment as non-statutory overtime hours. By creating the above weekly working hours calendar based on the daily working hours calendar created from the arrival and departure time data, the total weekly non-statutory overtime hours including weekly overtime hours can be calculated according to the Labor Standards Act. can be calculated accurately according to the provisions of

この場合、労働時間カレンダ作成部は、各週について、労働時間制の設定種別に応じ、各週固有の週法定労働時間である週固有法定労働時間を決定する週固有法定労働時間決定部を備え、週特定情報と週固有法定労働時間とを対応付けて週労働時間カレンダを作成するものとして構成しておくとさらに良い。残業時間算出部は、週労働時間カレンダを参照することにより、週超過労働時間を、週総労働時間と週固有法定労働時間との差分として決定するものとして構成できる。労働時間カレンダ内にて各週に週固有法定労働時間が設定されていることで、各週の週超過労働時間をより誤りなく算出することが可能となる。特に、変形労働時間制が採用されている場合、週固有法定労働時間は週単位、月単位、あるいは年単位で変動することが法定上許されているが、労働時間カレンダの各週に週固有法定労働時間を定めておくことで、各週の週超過労働時間の算出をより簡単かつ確実に行なうことができる。 In this case, the working hour calendar creation unit has a week-specific statutory working hours determination unit that determines the week-specific statutory working hours, which are the statutory working hours peculiar to each week, according to the setting type of the working hour system for each week. It is even better to construct a weekly working hours calendar by associating the specific information with the weekly specific statutory working hours. The overtime hours calculation unit can be configured to determine the weekly overtime hours as the difference between the weekly total working hours and the weekly specific statutory working hours by referring to the weekly working hours calendar. By setting the statutory working hours specific to each week in the working hours calendar, it becomes possible to calculate the weekly overtime hours more accurately. In particular, when a variable working hours system is adopted, the statutory weekly working hours are legally allowed to vary on a weekly, monthly or yearly basis, but each week of the working hours calendar By setting the working hours in advance, the weekly overtime hours can be calculated more easily and reliably.

上記の構成では、労働時間制として一般労働時間制が入力設定されている場合において、日所定労働時間決定部は、日総労働時間が8時間未満の日付については日所定労働時間を日総労働時間と等しく設定する一方、日総労働時間が8時間を超える日付については日所定労働時間を8時間に設定する。これにより、早退や遅刻等により、日総労働時間が法定労働時間である8時間よりも少なくなる出勤日については、その少なくなった日総労働時間を日所定労働時間として設定することで、これを日予定所定労働時間から減ずることにより、労働基準法に従う賃金減額の対象となる不足時間の算出を的確に行うことができる。他方、一般労働時間制が入力設定されている場合において労働基準法に従う法定外残業時間の算出を一律にかつ正確に行なう観点にて、日固有法定労働時間決定部は、各日付の日固有法定労働時間を一律に8時間として決定し、週固有法定労働時間決定部は、各週の週固有法定労働時間を一律に40時間として決定するように構成することが望ましい。なお、日、週、月の各固有法定労働時間は、法定外残業時間等を適法に算出うえでの都合上、労働基準法施行規則に定められた法定労働時間と一致しない値が設定されることもあり得る(特に、変形労働時間制が採用されている場合)。 In the above configuration, when the general working hours system is input and set as the working hours system, the daily prescribed working hours determination part determines the daily prescribed working hours for days when the total daily working hours are less than 8 hours. hours, while on days when the total working hours per day exceeds 8 hours, the daily scheduled working hours are set to 8 hours. As a result, on days when the total working hours per day are less than the legal working hours of 8 hours due to leaving early or arriving late, the reduced total working hours per day can be set as the prescribed working hours per day. is subtracted from the scheduled working hours per day, it is possible to accurately calculate the shortage of hours subject to wage reduction in accordance with the Labor Standards Act. On the other hand, from the viewpoint of uniformly and accurately calculating non-statutory overtime hours according to the Labor Standards Act when the general working hours system is input and set, the day-specific legal working hours It is preferable that the working hours are uniformly determined as 8 hours, and the weekly statutory working hours determining section uniformly determines the statutory weekly working hours as 40 hours for each week. In addition, the unique statutory working hours for each day, week, and month are set to values that do not match the statutory working hours stipulated in the Labor Standards Act Enforcement Regulations for the convenience of legally calculating non-statutory overtime hours. (especially where flexible working hours are in place).

次に、変形労働時間制が採用される場合の望ましい態様について説明する。変形労働時間制とは、労働時間を月単位・年単位で調整することで、繁忙期等により勤務時間が増加しても時間外労働としての取扱いを不要とする労働時間制度であり、繁忙期や閑散期など、業務にかかる時間が月や週ごとにバラつきがある場合に労働時間を調整できる利点がある。他方、変形労働時間制を、従業員を何時間でも働かせてよい制度と勘違いしているブラック企業も少なくない。変形労働時間制の場合でも法律で規定された労働時間を超えた分は残業代として支払わなければならないが、時間外労働時間の算出が複雑化する難点があった。 Next, a desirable mode when the variable working hours system is adopted will be described. The variable working hours system is a working hours system that adjusts working hours on a monthly or yearly basis so that even if working hours increase due to busy periods, etc., it is not treated as overtime work. There is an advantage that working hours can be adjusted when the time required for work varies from month to week, such as during the off-season. On the other hand, many black companies misunderstand the variable working hours system as a system that allows employees to work as many hours as they want. Even in the case of the variable working hours system, employees must be paid for overtime work that exceeds the working hours stipulated by law.

本発明において労働時間制入力設定部は、変形労働時間制として週単位の変形労働時間制を入力設定可能に構成できる。該週単位の変形労働時間制が入力設定されている場合においては、次のように構成することで、上記の問題を解決することができる。まず、日所定労働時間決定部は、日総労働時間の値によらず各日付の日所定労働時間を日総労働時間と等しく設定する。また、週固有法定労働時間決定部は、週単位の変形労働時間制が入力設定されている場合は各週の週固有法定労働時間を一律に40時間として決定する。 In the present invention, the working hours system input setting unit can be configured to be able to input and set a weekly modified working hours system as the modified working hours system. When the weekly variable working hours system is input and set, the above problem can be solved by configuring as follows. First, the prescribed daily working hours determination unit sets the prescribed daily working hours for each date to be equal to the total daily working hours regardless of the value of the total daily working hours. In addition, the week-specific statutory working hours determining unit uniformly determines the statutory weekly working hours for each week as 40 hours when the weekly variable working hours system is input and set.

週単位の変形労働時間制では、週単位で法定労働時間の上限が定められており、本来は明確な日固有法定労働時間(ひいては、日所定労働時間)や、1日当たりの法定内残業時間及び法定外残業時間の概念は存在しない。しかし、本発明の上記態様では、作成する日労働時間カレンダ上の各日付に対し、日総労働時間と等しい値が日所定労働時間としてあえて設定される。すなわち、日総労働時間と等しい値が日所定労働時間として常に設定される結果、1日当たりの法定内残業時間は日総労働時間と無関係に常にゼロとして算出される。他方、週固有法定労働時間決定部は、各週の週固有法定労働時間を一律に40時間として決定するので、例えば(一般労働時間制の法定労働時間である)8時間を超過する日総労働時間の所定出勤日が過度に設定されるような就業状態が発生した場合も、週固有法定労働時間である40時間を超える労働時間は法定外残業時間として的確に算出される。すなわち、作成される日労働時間カレンダ上にて上記のような設定を行なうことで、1日当たりの法定労働時間の制限がない週単位の変形労働時間制が採用されている場合についても法定外残業時間を的確に算出でき、事業者に対する労務指導上の効果も顕著となる。 In the weekly variable working hours system, the upper limit of legal working hours is stipulated on a weekly basis. The concept of non-statutory overtime hours does not exist. However, in the above aspect of the present invention, a value equal to the total daily working hours is purposely set as the daily prescribed working hours for each date on the created daily working hours calendar. That is, as a result of always setting a value equal to the total daily working hours as the daily prescribed working hours, the statutory overtime hours per day are always calculated as zero regardless of the total daily working hours. On the other hand, the weekly-specific legal working hours determination section uniformly determines the weekly-specific legal working hours for each week as 40 hours. Even if a work situation occurs in which the prescribed working days are set excessively, the working hours exceeding 40 hours, which are the peculiar weekly legal working hours, are accurately calculated as non-legal overtime hours. In other words, by making the above settings on the created daily working hours calendar, non-statutory overtime even if a weekly variable working hours system with no limit on statutory working hours per day is adopted The time can be accurately calculated, and the effect of labor guidance for business operators is also remarkable.

本発明において労働時間制入力設定部は、変形労働時間制として月単位の変形労働時間制を入力設定可能に構成することもできる。該月単位の変形労働時間制が入力設定されている場合においては、次のように構成することが望ましい。すなわち、日労働時間カレンダを月に区切るとともに区切られた個々の月に対し、各月の日数に応じた各月固有の月法定労働時間である月固有法定労働時間を決定する月固有法定労働時間決定部を設ける。また、日所定労働時間決定部は、日総労働時間の値によらず各日付の日所定労働時間を日総労働時間と等しく設定するものとする。週固有法定労働時間決定部は、各週に対する週固有法定労働時間の制限を設けないものとする。残業時間算出部は、各月についての総労働時間の合計である月総労働時間を算出するとともに、該月総労働時間を月固有法定労働時間と比較し、その比較結果において月固有法定労働時間を超過する月超過労働時間が生ずる場合に、該月超過労働時間を月総法定外残業時間として算出する月総法定外残業時間算出部を備えるものとして構成する。 In the present invention, the working hours system input setting unit can be configured to be able to input and set a monthly modified working hours system as the modified working hours system. In the case where the monthly variable working hours system is input and set, it is desirable to configure as follows. That is, the monthly specific legal working hours that divide the daily working hours calendar into months and determine the monthly specific legal working hours according to the number of days in each month for each divided month. Establish a decision section. In addition, the daily prescribed working hours determining unit sets the daily prescribed working hours equal to the total daily working hours regardless of the value of the total daily working hours. The weekly statutory working hours determination unit shall not set limits on the statutory weekly working hours for each week. The overtime hours calculation unit calculates the total monthly working hours, which is the sum of the total working hours for each month, and compares the total working hours of the month with the legal working hours specific to the month. is provided with a monthly total non-statutory overtime hours calculation unit for calculating the monthly overtime hours as the monthly total non-statutory overtime hours when the monthly overtime working hours exceed .

月単位の変形労働時間制では、日総労働時間とともに週総労働時間の上限が撤廃され、これに代わって1か月あたりの総労働時間の上限が(月)法定労働時間によって制限される。よって、上記の構成によると、週単位の変形労働時間制が採用される場合と同様に、日総労働時間と等しい値が日所定労働時間として常に設定される結果、日当たりの法定内残業時間は日総労働時間と無関係に常にゼロとして算出される。週固有法定労働時間決定部は週固有法定労働時間の制限を設けない一方、月総労働時間を算出し、該月総労働時間のうち月固有法定労働時間を超過する部分である月超過労働時間を月総法定外残業時間として算出する。これにより、例えば(一般労働時間制の法定労働時間である)8時間を超過する日総労働時間の所定出勤日が過度に設定されるような就業状態が発生した場合も、月固有法定労働時間を超える労働時間は法定外残業時間として的確に算出できる。すなわち、作成される日労働時間カレンダ上にて上記のような設定を行なうことで、日当たりの法定労働時間の制限がない月単位の変形労働時間制が採用されている場合についても法定外残業時間を適法に算出でき、事業者に対する労務指導上の効果も顕著となる。 Under the monthly variable working hours system, the upper limit on total daily working hours as well as the total weekly working hours will be abolished, and instead the upper limit on total working hours per month will be limited by the (month) statutory working hours. Therefore, according to the above configuration, the value equal to the total daily working hours is always set as the daily prescribed working hours, as in the case where the weekly variable working hours system is adopted, and as a result, the legal overtime hours per day are It is always calculated as zero regardless of the total hours worked per day. The Department for Determining Weekly Specific Statutory Working Hours does not set limits on the statutory working hours specific to the week, but calculates the total monthly working hours and determines the portion of the total working hours of the month that exceeds the statutory working hours specific to the month. is calculated as monthly total non-statutory overtime hours. As a result, even if an employment situation occurs in which the prescribed working days for the total daily working hours exceeding 8 hours (which is the legal working hours under the general working hours system) are set excessively, the monthly specific legal working hours can be accurately calculated as non-statutory overtime hours. In other words, by making the above settings on the created daily working hours calendar, non-statutory overtime hours even if a monthly variable working hours system with no restrictions on legal working hours per day is adopted can be calculated legally, and the effect of labor guidance for employers is also remarkable.

なお、週単位の変形労働時間制又は月単位の変形労働時間制を入力設定する場合、日固有法定労働時間決定部は、日総労働時間が8時間を超える日付については日固有法定労働時間を日総労働時間と等しい値に決定するように構成しておくことで、当該日付について日法定内残業時間を常にゼロとして算出することができる。一方、日固有法定労働時間決定部は、日総労働時間が8時間未満の日付については日固有法定労働時間を8時間に決定するように構成しておくことで、当該日付について日法定外残業時間を常にゼロとして算出することができる。 In addition, when the weekly variable working hours system or the monthly variable working hours system is entered and set, the day-specific statutory working hours decision section By setting the value to be equal to the total daily working hours, the daily statutory overtime hours can always be calculated as zero for the date. On the other hand, the day-specific statutory working hours determination department is configured to determine the day-specific statutory working hours to 8 hours on dates where the total daily working hours are less than 8 hours. Time can always be calculated as zero.

本発明において労働時間制入力設定部は、変形労働時間制として年単位の変形労働時間制を入力設定可能に構成することもできる。該年単位の変形労働時間制が入力設定されている場合においては、次のように構成することが望ましい。すなわち、日所定労働時間決定部は、日総労働時間が10時間未満となる日付については日所定労働時間を日総労働時間と等しくなるように決定する一方、日総労働時間が10時間を超える日付については日所定労働時間を10時間として決定するものとする。また、週固有法定労働時間決定部は、日所定労働時間の合計が52時間を超える週について週固有法定労働時間を52時間として決定するものである In the present invention, the working hours system input setting unit can be configured to be able to input and set annual modified working hours system as modified working hours system. When the variable working hours system for each year is input and set, it is desirable to configure as follows. In other words, on days when the total daily working hours are less than 10 hours, the daily scheduled working hours determination unit determines the daily scheduled working hours to be equal to the total daily working hours, while on the other hand, the total daily working hours exceed 10 hours. The date shall be determined assuming that the prescribed working hours per day is 10 hours. In addition, the weekly specific statutory working hours determination unit determines the peculiar weekly statutory working hours as 52 hours for the week in which the total prescribed daily working hours exceeds 52 hours.

年単位の変形労働時間制は、事業所が定めた1か月を超え1年以内の一定期間(対象期間)を平均して、1週間あたりの労働時間が40時間以下になっていれば、40時間を超える週や8時間を超える日があっても、時間外労働として取り扱わなくてもよい、という制度として理解することができる。これは、季節的に忙しい時期が決まっているなど、年のうちに業務の繁閑がある場合や週休2日制を実施できない場合において有益な制度であり、労働時間の弾力的な運用を図ることができる利点がある。具体的には、日総労働時間、週総労働時間及び月総労働時間のいずれについても上限が撤廃され、これに代わって1年あたりの総労働時間の上限が(年)法定労働時間によって制限される。しかし、1日当たりあるいは1週間当たりの労働時間が無制限に拡大されないよう、年単位の変形労働時間制には、労働基準法(及び施行規則)において日総労働時間には10時間の、週総労働時間には52時間の、それぞれ上限が定められている。 Under the annual variable working hours system, if working hours per week are 40 hours or less on average for a certain period (target period) exceeding one month and up to one year determined by the place of business, It can be understood as a system that does not need to be treated as overtime work even if there are weeks exceeding 40 hours or days exceeding 8 hours. This is a useful system when there are fluctuations in work during the year, such as when there are seasonally busy times, or when the five-day work week system cannot be implemented, and it allows flexible operation of working hours. There are advantages. Specifically, the upper limit on the total working hours per day, the total working hours per week and the total working hours per month will be abolished, and instead the upper limit on the total working hours per year will be set by the (annual) statutory working hours. be done. However, in order to prevent an unlimited increase in working hours per day or per week, the Labor Standards Act (and its Enforcement Regulations) requires that the total working hours per day be 10 hours and the total working hours per week be 10 hours. Each time is capped at 52 hours.

上記の構成においては、日総労働時間が10時間を超える日付については日所定労働時間が法定上限の10時間として決定され、これを超過する労働時間は日法定外残業時間として的確に算出される。また、週固有法定労働時間決定部は、日所定労働時間の合計が52時間を超える週について週固有法定労働時間を52時間と定めるので、これを超過する週総労働時間のうちこれを超過する部分は、週法定外残業時間として的確に算出される。 In the above structure, on days when the total daily working hours exceed 10 hours, the prescribed daily working hours are determined as 10 hours, which is the upper limit of the legal limit, and the working hours exceeding this are accurately calculated as non-statutory overtime hours per day. . In addition, since the weekly statutory working hours determination department determines that the statutory working hours peculiar to the week exceeds 52 hours, the total weekly working hours that exceed the statutory working hours exceed 52 hours. The portion is accurately calculated as weekly non-statutory overtime hours.

なお、年単位の変形労働時間制を入力設定する場合、日固有法定労働時間決定部は、日総労働時間が10時間を超える日付については日固有法定労働時間を10時間として決定し、日総労働時間が8時間を超え10時間未満となる日付については日固有法定労働時間を日総労働時間と等しく決定し、日総労働時間が8時間未満となる日付については日固有法定労働時間を8時間として決定するように構成しておくと、日総労働時間が10時間未満となる日付について日法定外残業時間を常にゼロとして算出することができる。また、同様に、週固有法定労働時間決定部は、日所定労働時間の合計が40時間を超え52時間未満の週については週固有法定労働時間を週総労働時間と等しく決定し、日所定労働時間の合計が40時間未満の週については週固有法定労働時間を40時間に決定するように構成しておくと、週総労働時間が52時間未満となる日付について週法定外残業時間を常にゼロとして算出することができる。 In addition, when inputting and setting the variable working hours system on a yearly basis, the day-specific statutory working hours determination department determines the day-specific statutory working hours as 10 hours on dates where the total daily working hours exceed 10 hours. On days when working hours exceed 8 hours and less than 10 hours, the day-specific statutory working hours shall be determined equal to the total daily working hours, and on days when the total daily working hours are less than 8 hours, the day-specific statutory working hours shall be 8 hours. If it is configured to be determined as hours, it is possible to always calculate the daily non-statutory overtime hours as zero for dates when the total daily working hours is less than 10 hours. Similarly, the weekly specific legal working hours determination unit determines the weekly specific legal working hours to be equal to the total weekly working hours for weeks in which the total of the daily prescribed working hours exceeds 40 hours and is less than 52 hours. If you configure the system to determine the weekly total statutory working hours to be 40 hours for weeks where the total hours are less than 40 hours, the weekly non-statutory overtime hours will always be zero for the days when the total weekly working hours are less than 52 hours. can be calculated as

次に、出退時刻データから算出される総労働時間が所定値未満となる日付は、それだけでは休日の種別までは判別できない。これを解決するために、本発明の労働時間計算システムには、各労働者についての法定休日設定条件を入力する法定休日設定条件入力部を設けることができる。労働時間カレンダ作成部の日付属性判別部は、入力された法定休日設定条件と、日付属性が休日と判別された日付の出現形態とに基づいて、休日と判別された日付が法定休日であるか否かを判別する法定休日判別部を備えたものとして構成できる。残業時間集計部は、法定休日と判別された日付に対する日総労働時間を休日出勤時間として別途集計するものとして構成できる。これにより、労働時間カレンダ作成部が作成する労働時間カレンダに法定休日を反映させることができ、割増賃金の対象となる休日出勤時間の算出を的確に行うことができる。 Next, it is not possible to determine the types of holidays on dates when the total working hours calculated from the arrival/departure time data are less than a predetermined value. In order to solve this problem, the working hours calculation system of the present invention can be provided with a legal holiday setting condition input unit for inputting legal holiday setting conditions for each worker. The date attribute determination unit of the working hour calendar creation unit determines whether the date determined as a holiday is a legal holiday based on the input legal holiday setting conditions and the appearance form of the date determined as a holiday in the date attribute. It can be configured as having a legal holiday determination unit that determines whether or not. The overtime hours totaling unit can be configured to separately total the total daily working hours for dates determined to be legal holidays as holiday attendance hours. As a result, legal holidays can be reflected in the working hour calendar created by the working hour calendar creation unit, and the holiday work hours subject to extra wages can be accurately calculated.

この場合、法定休日設定条件入力部は、法定休日体系を曜日固定、曜日不定1週1日及び曜日不定4週4日のいずれかに選択的に入力設定する法定休日体系入力設定部と、入力設定された法定休日体系が曜日固定であった場合に、固定設定されるべき法定休日曜日を入力設定する法定休日曜日入力設定部とを有するものとして構成できる。法定休日判別部は、選択された法定休日体系が曜日固定であった場合には、選択された法定休日曜日と曜日の合致する休日を法定休日として判別し、選択された法定休日体系が曜日不定1週1日であった場合には各週の休日のうち1日までを法定休日として判別し、選択された法定休日体系が曜日不定4週4日であった場合には各週を4週単位にて区分するとともに、区分された各4週にそれぞれ現れる休日のうち4日までを法定休日として判別するものとして構成できる。これにより、交代勤務等の関係で生ずる変則的な法定休日設定についても、作成される労働時間カレンダに的確に反映させることができる。 In this case, the statutory holiday setting condition input unit is a statutory holiday system input setting unit for selectively inputting and setting the statutory holiday system to either a fixed day of the week, an unspecified day of the week 1 day a week, or an unspecified day of the week 4 weeks 4 days; A legal holiday Sunday input setting unit for inputting and setting a legal holiday Sunday to be fixed when the set legal holiday system is a fixed day of the week. If the selected statutory holiday system has fixed days of the week, the statutory holiday determination unit determines a holiday that matches the selected statutory holiday Sunday as a statutory holiday, and determines that the selected statutory holiday system has no fixed days of the week. If there is one day per week, the first day of each holiday is determined as a legal holiday, and if the selected legal holiday system is 4 weeks and 4 days with no fixed days, each week is divided into 4 weeks. In addition, it is possible to determine up to four of the holidays that appear in each of the four divided weeks as legal holidays. As a result, irregular legal holidays that arise due to shift work or the like can be accurately reflected in the created working hour calendar.

また、本発明の労働時間計算システムには、各労働者について届出された有給休暇日付を入力する有給休暇日付入力部を設けることができる。労働時間カレンダ作成部の日付属性判別部は、入力された有給休暇日付の日付属性を有給休暇として判別するものとして構成できる。残業時間集計部は、有給休暇と判別された日付に対する日総労働時間を有給休暇時間として別途集計するものとして構成できる。これにより、出退時刻データのみでは判別できない有給休暇を作成される労働時間カレンダに的確に反映させることができる。なお、有給休暇日付入力部は、有給休暇時間の取得形態として午前のみ、午後のみ及び午前午後通しのいずれかのみを選択入力可能としておくと、労働基準法への適合性をより高めることができる。 Further, the working hours calculation system of the present invention can be provided with a paid vacation date input unit for inputting the paid vacation date notified for each worker. The date attribute determination unit of the working time calendar creation unit can be configured to determine the date attribute of the input paid vacation date as paid vacation. The overtime hours totaling unit can be configured to separately total the total daily working hours for the date determined as the paid vacation time as the paid vacation hours. As a result, it is possible to accurately reflect paid vacations that cannot be determined only by the data of the leaving and leaving time data in the working time calendar to be created. In addition, if the paid vacation date input section allows selection and input of only one of morning only, afternoon only, and all morning and afternoon as the acquisition form of paid vacation time, compliance with the Labor Standards Act can be further improved. .

さらに、本発明の労働時間計算システムには、各労働者について届出された振替休日情報を入力する振替休日情報入力部を設けることができる。この場合、労働時間カレンダ作成部は、入力された振替休日情報の内容に基づいて、対象となる日付にかかる日付属性を所定出勤日と休日との間で振り替える日付属性振替部を有するものとして構成できる。出退時刻データから算出される総労働時間が所定値未満となる日付は、それだけでは別の休日からの振替えであるか否かまでは判別できない。上記構成により、労働時間カレンダ作成部が作成する労働時間カレンダに振替休日の届け出を的確に反映させることができる。 Furthermore, the working hours calculation system of the present invention can be provided with a substitute holiday information input unit for inputting substitute holiday information notified for each worker. In this case, the working hour calendar creation unit is configured to have a date attribute transfer unit that transfers the date attribute of the target date between the predetermined work day and the holiday based on the content of the input substitute holiday information. can. On a date when the total working hours calculated from the arrival/departure time data is less than a predetermined value, it cannot be determined whether or not it is a transfer from another holiday. With the above configuration, it is possible to accurately reflect the notification of the substitute holiday in the working hours calendar created by the working hours calendar creation unit.

本発明の効果については、課題を解決する手段の欄にて詳細に説明したので、ここでは繰り返さない。 Since the effect of the present invention has been described in detail in the column of Means for Solving the Problems, it will not be repeated here.

本発明の給与計算システムの一構成例を示すブロック図。FIG. 2 is a block diagram showing one configuration example of the salary calculation system of the present invention; 本発明の労働時間計算システムの機能を組み込んだユーザ端末装置の一例を示すブロック図。1 is a block diagram showing an example of a user terminal device incorporating functions of the working hours calculation system of the present invention; FIG. 出退勤打刻データの内容例を示す図。The figure which shows the example of the content of the attendance clock data. カルテデータに含まれる共通項目データの内容の一例を示す図。The figure which shows an example of the content of the common item data contained in medical record data. 共通項目データに含まれる選択入力項目を示す図。FIG. 4 is a diagram showing selection input items included in common item data; カルテデータに含まれる所属部署別項目リストの内容の一例を示す図。The figure which shows an example of the content of the item list classified by department included in medical record data. 所属部署別項目リストに含まれる選択入力項目を示す図。FIG. 10 is a diagram showing selection input items included in a department-by-department item list; 社員マスタデータの内容の一例を示す図。The figure which shows an example of the content of employee master data. 提出カレンダデータの第一例を示す図。The figure which shows the 1st example of submission calendar data. 提出カレンダデータの第二例を示す図。The figure which shows the second example of submission calendar data. 休暇申請データの内容例を示す図。FIG. 4 is a diagram showing an example of the content of vacation application data; 早出・遅刻申請データの内容例を示す図。The figure which shows the example of the content of early/late application data. 宿直申請データの内容例を示す図。The figure which shows the example of the content of night duty application data. 作成カレンダデータの内容例を示す図。FIG. 4 is a diagram showing an example of contents of created calendar data; 労働時間計算集計データの内容例を示す図。The figure which shows the example of the content of working time calculation summary data. 主ソフトウェアの処理の流れを示すフローチャート。4 is a flow chart showing the flow of processing of the main software; カルテデータ作成処理の流れを示すフローチャート。The flowchart which shows the flow of a chart data creation process. 提出カレンダデータ統合処理の流れを示すフローチャート。4 is a flowchart showing the flow of submission calendar data integration processing. 打刻修正処理の流れを示すフローチャート。4 is a flowchart showing the flow of stamp correction processing. 日総労働時間算出処理の流れを示すフローチャート。4 is a flowchart showing the flow of total daily working hours calculation processing; 深夜拘束時間算出処理の流れを示すフローチャート。The flowchart which shows the flow of a midnight restraint time calculation process. 深夜休憩時間算出処理の流れを示すフローチャート。4 is a flowchart showing the flow of a late-night break time calculation process; 日カレンダ作成処理の流れを示すフローチャート。4 is a flowchart showing the flow of daily calendar creation processing. 所定出勤日の労働時間設定処理の流れを示すフローチャート。4 is a flowchart showing the flow of processing for setting working hours for a predetermined working day. 週・月カレンダ作成処理の流れを示すフローチャート。4 is a flowchart showing the flow of weekly/monthly calendar creation processing. 休暇申請反映処理の流れを示すフローチャート。6 is a flowchart showing the flow of vacation application reflection processing; 有給休暇反映処理の流れを示すフローチャート。4 is a flowchart showing the flow of paid vacation reflection processing; 振替休日反映処理の流れを示すフローチャート。6 is a flowchart showing the flow of a transfer holiday reflection process; 日総労働時間振分処理の流れを示すフローチャート。A flowchart showing the flow of the total daily working hours apportionment process. 打刻データ使用処理の流れを示すフローチャート。4 is a flow chart showing the flow of stamped data use processing. 提出カレンダ使用処理の流れを示すフローチャート。4 is a flowchart showing the flow of submission calendar use processing; 週労働時間積算・振分け処理の流れを示すフローチャート。4 is a flowchart showing the flow of weekly work hours integration/distribution processing. 月労働時間積算・振分け処理の流れを示すフローチャート。4 is a flow chart showing the flow of monthly working hour accumulation/distribution processing.

以下、本発明の実施の形態を添付の図面に基づき説明する。
図1は、 本発明の給与計算システムの一構成例を示すブロック図である。給与計算システム1は、公共通信網としてのインターネット6により相互に接続される労務管理サーバ5と、複数のユーザ端末2を含んで構成される。労務管理サーバ5は例えばクラウドサーバとして構成されるものであり、給与計算ソフトウェア5aがインストールされている。各ユーザ端末2から労務管理サーバ5にインターネットを介してログインすることにより、給与計算ソフトウェア5aをクラウドソフトウェアの形態で利用することができる。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings.
FIG. 1 is a block diagram showing one configuration example of the payroll accounting system of the present invention. The payroll accounting system 1 includes a labor management server 5 and a plurality of user terminals 2 which are interconnected by the Internet 6 as a public communication network. The labor management server 5 is configured as, for example, a cloud server, and is installed with payroll calculation software 5a. By logging into the labor management server 5 from each user terminal 2 via the Internet, the payroll calculation software 5a can be used in the form of cloud software.

図2は、ユーザ端末2のブロック図である。ユーザ端末2はマイコンを処理主体として備えたパーソナルコンピュータ(PC)として構成されている。該マイコンは、CPU51、プログラム実行領域となるRAM52、ROM53、入出力部54及びそれらを相互に接続するバス50B等からなる。また、バス50Bにはハードディスクドライブ(フラッシュメモリ等の半導体記憶デバイスで構成されていてもよい)にて構成された大容量記憶装置55が接続され、ここに周知のオペレーティングシステム(OS)ソフトウェア55a、通信ソフトウェア55b及びインターネットブラウザ55cがインストールされている。また、入出力部54にはモニタ56及びキーボード等で構成された入力部57が接続されている。さらに、バス50Bにはブロードバンドルータ60が接続され、該ブロードバンドルータ60を介してユーザ端末2はインターネット6に接続される。 FIG. 2 is a block diagram of the user terminal 2. As shown in FIG. The user terminal 2 is configured as a personal computer (PC) having a microcomputer as a main processor. The microcomputer comprises a CPU 51, a RAM 52 serving as a program execution area, a ROM 53, an input/output unit 54, and a bus 50B interconnecting them. Also, the bus 50B is connected to a mass storage device 55 constituted by a hard disk drive (which may be composed of a semiconductor storage device such as a flash memory). Communication software 55b and Internet browser 55c are installed. The input/output unit 54 is also connected to an input unit 57 including a monitor 56 and a keyboard. Further, a broadband router 60 is connected to the bus 50B, and the user terminal 2 is connected to the Internet 6 via the broadband router 60. FIG.

また、大容量記憶装置55には、本発明の労働時間計算システムの主機能を実現するための主ソフトウェア55dがインストールされている。主ソフトウェア55dは、データ入力モジュール55d1、カレンダ作成モジュール55d2、労働時間計算モジュール55d3及びCSVファイル生成モジュール55d4の各プログラムモジュールを含む。該主ソフトウェア55dは、本実施形態では労働時間計算に好都合な表計算ソフトウェア(例えば商標名:Microsoft Excel)上に構築されている場合を例にとるが、ソフトウェア形態はこれに限られるものではない。 Main software 55d for realizing the main functions of the working time calculation system of the present invention is installed in the mass storage device 55. FIG. The main software 55d includes program modules of a data input module 55d1, a calendar creation module 55d2, a working time calculation module 55d3 and a CSV file generation module 55d4. In this embodiment, the main software 55d is built on spreadsheet software (eg, Microsoft Excel, trade name) that is convenient for calculating working hours, but the software form is not limited to this. .

主ソフトウェア55dは、例えば図1において、所定の配信サーバ3よりインターネット6を経由してダウンロードすることにより、個々のユーザ端末2にインストール可能である。また、CD-ROMや着脱式メモリ媒体などからインストールできるように構成してもよい。図2においては、着脱式メモリ媒体としてのUSBメモリ59mを装着するためのUSBメモリ装着部59を設けている(当然、CD-ROMを使用する場合はCD-ROMドライブの実装が必要であるが、周知のデバイスのため、図示は省略している)。 The main software 55d can be installed in each user terminal 2 by downloading it from a predetermined distribution server 3 via the Internet 6 in FIG. 1, for example. It may also be configured so that it can be installed from a CD-ROM, removable memory medium, or the like. In FIG. 2, a USB memory loading unit 59 is provided for loading a USB memory 59m as a detachable memory medium. , are not shown because they are well-known devices).

大容量記憶装置55には、給与計算システム1のユーザである会社や法人、商店、個人事業主(以下、これらを総称する場合は「事業者」ともいう)からコンピュータ読み取り可能な形で作成・提出される、労働時間計算の基礎となる元データ55eが記憶されている。元データ55eは、具体的には、事業者の基本情報であるカルテデータ55e0(共通項目リストデータ55e1及び所属別項目リストデータ55e2を含む)、社員マスタデータ55e3、提出カレンダデータ55e4、休暇申請データ55e5、早出・遅刻申請データ55e6、宿直申請データ55e7及び出退勤打刻データ(以下、単に打刻データともいう)55e8を含むものである。これらのデータは、インターネット6を経由した通信による取得(例えば、電子メールの添付ファイルやサーバからのダウンロード)、あるいは、USBメモリ59m等の記憶媒体を介しての取得が可能であり、データ入力モジュール55d1がその機能実現を担う。つまり、出退時刻データ取得部の機能が実現されている。 In the large-capacity storage device 55, the user of the payroll calculation system 1, such as a company, a corporation, a store, or a sole proprietor (hereafter collectively referred to as "enterprise"), is created and stored in a computer-readable form. Original data 55e to be submitted and used as a basis for calculating working hours is stored. Specifically, the original data 55e includes chart data 55e0 (including common item list data 55e1 and affiliation item list data 55e2), employee master data 55e3, submission calendar data 55e4, and vacation application data. 55e5, early departure/late arrival application data 55e6, night duty application data 55e7, and attendance/leaving clock data (hereinafter simply referred to as clock data) 55e8. These data can be acquired by communication via the Internet 6 (for example, an attached file of an e-mail or downloaded from a server), or can be acquired through a storage medium such as a USB memory 59m. 55d1 is responsible for realizing the function. That is, the function of the departure/exit time data acquisition unit is realized.

以下、元データ55eの構成例について説明する。
図3は、カルテデータ55e0に含まれる出退勤打刻データ55e8の一例を示すものである。出退勤打刻データ55e8は事業所等に配備された出退管理用のタイムレコーダにより打刻記録されるデータを、労働者(社員)別に集約したものであり、特許請求の範囲に記載した「出退時刻データ」に相当するものである。本実施形態では表計算ソフトウェアのスプレッドシートの形でデータ化されており、各労働者の特定情報である社員コード、名前、日付、出勤時刻、退勤(退出)、休憩入時刻、休憩戻時刻などのデータが互いに対応付けられた構造を有する。
A configuration example of the original data 55e will be described below.
FIG. 3 shows an example of attendance/leaving data 55e8 included in the chart data 55e0. The attendance/leaving data 55e8 is a collection of data stamped and recorded by a time recorder for attendance/leaving management deployed at an office or the like for each worker (employee). It corresponds to "time data". In this embodiment, the data is in the form of a spreadsheet of spreadsheet software, and the employee code, name, date, arrival time, leaving (leaving), break entry time, break return time, etc., which are specific information for each worker. data are associated with each other.

図4は、カルテデータ55e0に含まれる共通項目リストデータ55e1の例を示すものであり、具体的には、事業者の名称(会社名)、所在地(郵便番号及び住所)、通知先担当者、通知先メールアドレス、通知先電話番号などが含まれる。一方、選択入力項目として、「休憩入力方法」、「出勤時間の差し替え」、「宿直規定」及び「有の場合、宿直手当に深夜勤務手当が含まれているか」が含まれ、それぞれプルダウンメニューによるデータ入力が可能となっている。「休憩入力方法」は、図3の出退勤打刻データ55e8上での休憩時間入力のフォーマットを規定する情報であり、図5に示す如く「入-戻時刻」及び「取得時間」のいずれかで選択が可能である。図3の出退勤打刻データ55e8は「入-戻時刻」が選択された場合のフォーマットでの表示であり、「取得時間」が選択された場合は、休憩取得した時間長が、図3の休憩入時刻及び休憩戻時刻の代わりに出退勤打刻データ55e8のスプレッドシートに組み込まれる。また、「出勤時間の差し替え」については「する」「しない」のいずれかに選択入力が可能である。また、図示はしていないが、「宿直規定」については「有」「無」のいずれかに、「有の場合、宿直手当に深夜勤務手当が含まれているか」は「含まれている」「含まれていない」のいずれかに選択入力がそれぞれ可能である。 FIG. 4 shows an example of the common item list data 55e1 included in the chart data 55e0. This includes a notification email address, a notification telephone number, and the like. On the other hand, selection input items include "break input method", "replacement of attendance time", "night duty regulations" and "if yes, whether night duty allowance is included in night duty allowance". Data entry is possible. "Break input method" is information that defines the format of the break time input on the attendance/leaving stamp data 55e8 in FIG. 3, and as shown in FIG. A choice is possible. The attendance/leaving time data 55e8 in FIG. 3 is displayed in the format when "entering-returning time" is selected, and when "obtained time" is selected, the length of time obtained for the break is the same as the break shown in FIG. It is incorporated into the spreadsheet of attendance/leaving data 55e8 in place of entry time and break return time. In addition, as for "replacement of attendance time", it is possible to select and input either "yes" or "no". Also, although not shown in the figure, "night duty regulations" can be either "yes" or "no", and "if yes, whether night duty allowance is included in night duty allowance" is "included". Selective input to either "not included" is possible respectively.

図6は、カルテデータ55e0に含まれる所属別項目リストデータ55e2の例を示すものであり、具体的には、事業者の所属部署を特定する「所属」、該所属部署が採用する労働時間制の種別を選択入力するための「労働時間制」、給与払いの単位期間を選択入力するための「給与払い」、労働時間カレンダ上の週の起算曜日を選択入力するための「起算曜日」、法定休日設定条件を入力するための「法定休日」(法定休日設定条件入力部の機能を担う)、週の基本法定休日を選択入力するための「基本法定休日」、午前の予定所定労働時間を入力するための「午前時間」、午後の予定所定労働時間を入力するための「午後時間」(各労働者の所定出勤日に設定するべき日予定所定労働時間を入力する日予定所定労働時間入力部の機能が実現されている)、および「カレンダの提出方法」の各項目が定められている。 FIG. 6 shows an example of affiliation item list data 55e2 included in the chart data 55e0. "Working hour system" for selecting and inputting the type of salary payment, "Salary payment" for selecting and inputting the unit period of salary payment, "Starting day of the week" for selecting and inputting the first day of the week on the working hours calendar, "Statutory holiday" for entering legal holiday setting conditions (responsible for the function of the legal holiday setting condition input part), "basic legal holiday" for selecting and inputting the basic legal holiday of the week, scheduled working hours in the morning "Morning hours" to enter, "Afternoon hours" to enter scheduled working hours in the afternoon functions are realized), and each item of "Calendar Submission Method" is defined.

「所属」項目には、所属部署の特定情報(本実施形態では、所属部署ごとに定められた番号)が入力される。また、図7に示すように、「労働時間制」項目はプルダウンメニューにより、一般労働時間制、変形労働時間制(1週間)、変形労働時間制(1か月間)及び変形労働時間制(1年間)の4つから選択が可能である。つまり、各労働者について設定されるべき労働時間制を、一般労働時間制及び変形労働時間制のいずれかに選択的に入力設定する労働時間制入力設定部の機能が実現されている。「給与払い」項目はプルダウンメニューにより、「時」「日」「月」のいずれかが選択入力可能である。「法定休日」項目は、「固定」「1週1日」「4週4日」」のいずれかが選択入力可能である。「基本法定休日」項目は、「法定休日」として「固定」が選択された場合の曜日を選択するためのものであり、プルダウンメニューにより7つの曜日のいずれかが選択入力可能である。「カレンダの提出方法」項目は、提出可能な労働時間カレンダが事業所に存在する場合はプルダウンメニューにより、「毎年作成」(年カレンダ)、「毎月作成(所属)」(月カレンダ(所属部署別))、「毎月作成(個人)」(月カレンダ(労働者別))のいずれかから選択が可能である。一方、提出可能な労働時間カレンダが事業所に存在しない場合は「打刻データ」が選択される。「打刻データ」が選択された場合、労働時間カレンダは提出されるのではなく、図3の出退勤打刻データ55e8を用いてカレンダ作成モジュール55d2が作成する処理となる。 In the "Affiliation" item, specific information of the department to which the user belongs (in this embodiment, a number determined for each department to which the user belongs) is entered. In addition, as shown in Fig. 7, the "Working hours system" item can be selected from a pull-down menu for general working hours system, modified working hours system (one week), modified working hours system (one month), and modified working hours system (one month). year) can be selected. In other words, the function of the working hour system input setting unit that selectively inputs and sets the working hour system to be set for each worker to either the general working hours system or the variable working hours system is realized. For the "salary payment" item, one of "hour", "day", and "month" can be selected and input from a pull-down menu. Any one of "fixed", "one day per week", and "four days per four weeks" can be selected and input for the "statutory holiday" item. The "basic legal holiday" item is for selecting the day of the week when "fixed" is selected as the "legal holiday", and one of the seven days of the week can be selected and input from the pull-down menu. If the business office has a calendar of working hours that can be submitted, the item "Method of submitting a calendar" can be selected from the pull-down menu by selecting "Create annually" (yearly calendar), "Create monthly (department)" (Monthly calendar (by department). )), or “created monthly (individual)” (monthly calendar (by worker)). On the other hand, if the business office does not have a working hours calendar that can be submitted, "stamping data" is selected. When "stamping data" is selected, the working hours calendar is not submitted, but is processed by the calendar creation module 55d2 using the attendance/leaving stamping data 55e8 of FIG.

次に、図8は、社員マスタデータ55e3の内容例を示すものであり、労働者特定情報(社員コード)、労働者名(名前)及び所属部署特定情報(所属)の各情報が互いに対応付けられたものである。 Next, FIG. 8 shows an example of the contents of the employee master data 55e3, in which worker identification information (employee code), worker name (name), and department identification information (affiliation) are associated with each other. It was given.

図9は、提出カレンダデータ55e4の一例として、所属部署別の年間の労働時間カレンダ(年カレンダ)の内容例を示すものであり、所属部署特定情報(所属)、日付、日付属性(日付種別)、(日)予定所定労働時間及び出勤予定時刻の各情報が互いに対応付けられている。図10上は、所属部署別の月間の労働時間カレンダ(月カレンダ)の内容例を示すものであり、所属部署特定情報(所属)、日付、日付属性(日付種別)、(日)予定所定労働時間及び出勤予定時刻の各情報が互いに対応付けられている。図10下は、労働者個人別の月カレンダの内容例を示すものであり、労働者特定情報(社員コード)、労働者名(名前)、日付、日付属性(日付種別)、(日)予定所定労働時間及び出勤予定時刻の各情報が互いに対応付けられている。 FIG. 9 shows an example of the contents of an annual working hours calendar (annual calendar) for each department, as an example of the submission calendar data 55e4. , (day) scheduled prescribed working hours and scheduled attendance time are associated with each other. The upper part of FIG. 10 shows an example of the contents of a monthly working hour calendar (monthly calendar) for each department, including department specific information (department), date, date attribute (date type), (day) scheduled scheduled work Each piece of information on the time and scheduled time of work is associated with each other. The lower part of Fig. 10 shows an example of the content of a monthly calendar for each individual worker, which includes worker identification information (employee code), worker name (name), date, date attribute (date type), (day) schedule. Each piece of information on the prescribed working hours and the scheduled attendance time is associated with each other.

図11は、休暇申請データ55e5の内容例を示すものであり、労働者特定情報(社員コード)、労働者名(名前)、申請内容、申請日、休む日、休む長さ、全日休まない場合の出勤時刻、代わりに働く日(代替休日・振替休日の場合)、働く長さ及びその場合の出勤予定時刻の各情報が互いに対応付けられている。これらの各項目は、労働者から提出される休暇申請書の記入内容に従い、データ入力される。このうち、申請内容はプルダウンメニューにより、「有給休暇」「代替休日」「振替休日」のいずれかが選択入力される(有給休暇日付入力部の機能を担う)。また、休む長さについては「終日」「AM」(午前)及び「PM」(午後)のいずれかのみが選択可能となっており、これよりも短い時間単位での休暇申請が受け付けられないようになっている。 FIG. 11 shows an example of the content of the leave application data 55e5, which includes worker identification information (employee code), worker name (name), application content, application date, days off, length of leave, and no days off. , the working day (in the case of a substitute holiday/substitute holiday), the length of work, and the scheduled work arrival time in that case are associated with each other. Each of these items is entered as data according to the content of the leave application form submitted by the worker. Among these, the content of the application is selected from a pull-down menu, and one of "paid leave", "alternative holiday", and "substitute holiday" is input. In addition, only one of "all day", "AM" (morning) and "PM" (afternoon) can be selected for the length of rest, and requests for leave for shorter time units will not be accepted. It has become.

図12は、早出・遅刻申請データ55e6の内容例を示すものであり、労働者特定情報(社員コード)、労働者名(名前)、対象日、早出/遅刻の種別及び出勤時刻の各情報が互いに対応付けられている。これらの各項目は、労働者から提出される早出・遅刻申請書の記入内容に従い、データ入力される。図13は、宿直申請データ55e7の内容例を示すものであり、労働者特定情報(社員コード)、労働者名(名前)及び宿直日の各情報が互いに対応付けられている。これらの各項目は、労働者から提出される宿直申請書の記入内容に従い、データ入力される。 FIG. 12 shows an example of the contents of the early arrival/late arrival application data 55e6. are associated with each other. Each of these items is entered as data in accordance with the content of the early arrival/late arrival application form submitted by the worker. FIG. 13 shows an example of the contents of the night duty application data 55e7, in which worker identification information (employee code), worker name (name), and night duty day information are associated with each other. Each of these items is entered as data according to the contents of the night duty application form submitted by the worker.

次に、図2の労働時間計算モジュール55d3は、以下の機能を実現するためのものである。
・日総労働時間計算部:出退時刻データに基づいて、各労働者の各日付の総労働時間を日総労働時間として計算する。
・残業時間算出部:残業時間算出部各労働者の各日付の日所定労働時間を労働時間カレンダ上にて読み取り、各日付について日総労働時間と日予定所定労働時間と日固有法定労働時間とを比較することにより、各日付の日残業時間を、法定内残業時間と法定外残業時間とに区分して算出する。
・残業時間集計部:各労働者の各日付の日残業時間を予め定められた集計対象期間について集計することにより集計済残業時間を算出する。
Next, the working time calculation module 55d3 in FIG. 2 is for realizing the following functions.
・Total daily working hours calculation unit: Calculates the total working hours of each worker on each day as the total working hours per day based on the data of the time of arrival and departure.
・Overtime hours calculation unit: Overtime hours calculation unit Reads the daily prescribed working hours for each worker on the working hour calendar, and calculates the daily total working hours, the daily scheduled working hours, and the day-specific statutory working hours for each date. By comparing , the daily overtime hours for each date are calculated by classifying them into statutory overtime hours and non-statutory overtime hours.
- Overtime hours totaling unit: Calculates the totaled overtime hours by totaling the daily overtime hours of each worker on each date for a predetermined aggregation target period.

また、カレンダ作成モジュール55d2は労働時間カレンダ作成部の機能を実現するためのものであり、以下の機能実現部を含む。
・日付属性判別部:各労働者について各日付にかかる日付属性を、計算された日総労働時間が所定値未満となる日付については休日と判別し、日総労働時間が所定値を超える日付については所定出勤日と判別する。
・日所定労働時間決定部:日付属性が所定出勤日と判別された日付については、日総労働時間を、入力された日予定所定労働時間及び労働時間制の種別に応じて用意された日固有法定労働時間の少なくともいずれかと比較するとともに、その比較結果に基づいて当該日付に割り振るべき日所定労働時間を決定する一方、日付属性が休日と判別された日付については日所定労働時間をゼロとして決定する。
そして、各労働者について、日付と、当該日付に対して判別された日付属性と、日所定労働時間とが互いに対応付けられた労働時間カレンダを作成する。
Also, the calendar creation module 55d2 is for realizing the function of the working hour calendar creation section, and includes the following function implementation section.
・Date attribute determination unit: For each worker, the date attribute for each date is determined as a holiday for the date when the calculated total daily working time is less than the predetermined value, and for the date when the total daily working time exceeds the predetermined value is determined as a prescribed working day.
- Daily scheduled working hours determination part: For dates whose date attribute is determined to be a scheduled working day, the total daily working hours are calculated according to the input scheduled working hours for the day and the type of working hour system. While comparing with at least one of the statutory working hours and determining the daily scheduled working hours that should be allocated to the date based on the comparison result, the daily scheduled working hours are determined as zero for the date whose date attribute is determined as a holiday. do.
Then, for each worker, a working hour calendar is created in which the date, the date attribute determined for that date, and the daily prescribed working hours are associated with each other.

作成された労働時間カレンダは作成カレンダデータ55fとして大容量記憶装置55に記憶される(その記憶エリアは労働時間カレンダ記憶部を形成する)。図14は、作成カレンダデータ55fの一例を示すものであり、各労働者について個別に作成されるものである。具体的には、「所属」、「日付」及び「曜日」の項目と、後述のカレンダ作成処理に伴い算出ないし決定される「日付属性」、事前入力されるか打刻データ上の最頻の出勤時刻等から推定される「出勤予定時刻」、「日所定労働時間」(DWH)、「日固有法定労働時間」(SWH)の各項目の値が対応づけられている(該部分は日労働時間カレンダを形成している)。また、日労働時間カレンダは、「所属」項目の内容に対応する所属別項目リストデータ55e2の情報を用いて週に区切られ、区切られた個々の週に週特定情報(週番号)が付与される。そして、各週番号に対し、後述のカレンダ作成処理に伴い算出ないし決定される週予定所定労働時間DWH’及び週固有法定労働時間(SWH’)が対応付けられる(該部分は週労働時間カレンダを形成している)。さらに、各週は月単位に区切られ、これに対応して、月単位の変形労働時間制において用いられる月固有法定労働時間SWH”の項目も対応付けられている。 The created working hours calendar is stored in the mass storage device 55 as created calendar data 55f (that storage area forms a working hours calendar storage section). FIG. 14 shows an example of created calendar data 55f, which is created individually for each worker. Specifically, items of "affiliation", "date" and "day of the week", "date attribute" calculated or determined in accordance with the calendar creation process described later, and the most frequent The value of each item of "scheduled work time", "daily prescribed working hours" (DWH), and "day-specific statutory working hours" (SWH) estimated from the work arrival time etc. is associated (this part is the daily work hours forms a time calendar). In addition, the daily working hours calendar is divided into weeks using the information of the belonging item list data 55e2 corresponding to the content of the "affiliation" item, and week specific information (week number) is assigned to each of the separated weeks. be. Then, each week number is associated with the weekly scheduled working hours DWH' and the weekly statutory working hours (SWH') calculated or determined in accordance with the calendar creation process described later (this part forms the weekly working hours calendar). are doing). Furthermore, each week is divided into monthly units, and correspondingly, the item of monthly peculiar statutory working hours SWH" used in the monthly variable working hour system is also associated.

なお、週予定所定労働時間DWH’は、労働基準法によると、週単位の変形労働制の場合は40時間以内に定められ、月単位の変形労働制の場合は特に上限は設けられない。また、年単位の変形労働制の場合は、労働基準法によると52時間を超えない範囲で適宜設定が可能である。よって、週予定所定労働時間DWH’は、各週について適法な数値を予め入力しておくことが望ましい。 According to the Labor Standards Act, the scheduled weekly working hours DWH' are set within 40 hours in the case of the weekly variable work system, and no upper limit is set in the case of the monthly variable work system. In addition, in the case of the annual variable work system, according to the Labor Standards Act, it is possible to set it appropriately within a range not exceeding 52 hours. Therefore, it is desirable to input a legal numerical value for each week in advance as the weekly scheduled predetermined working hours DWH'.

次に、集計済残業時間のデータは労働時間計算集計データ55gとして大容量記憶装置55に記憶される(その記憶エリアは集計済残業時間記憶部を形成する)。図15は、労働時間計算集計データ55gの一例を示すものであり、これも各労働者について個別に作成されるものであり、具体的には、個別に労働者特定情報としての社員番号が付与されるとともに、「日付」、「日総労働時間」(TWH)、「日深夜勤務時間(NWH)、「日法定内残業時間」(SOH)、「日法定外残業時間」(NSO)、「日不足労働時間」(QWH)、「休日出勤時間」、「週番号」、「週総労働時間」(TWH)、「週深夜勤務時間(NWH)、「週法定内残業時間」(SOH)、「週法定外残業時間」(NSO)及び「60時間超残業時間」の各集計・算出項目が労働時間カレンダと類似の形式にて互いに対応付けられたデータ構造を有する。 The aggregated overtime hours data is then stored in the mass storage device 55 as aggregated working hours calculation data 55g (that storage area forms an aggregated overtime hours storage unit). FIG. 15 shows an example of the total working hours calculation data 55g, which is also created individually for each worker. In addition, "date", "total daily working hours" (TWH), "day and night working hours (NWH)," legal overtime hours per day" (SOH), "non-statutory overtime hours per day" (NSO), " Day Shortage Hours" (QWH), "Holiday Hours", "Week Number", "Weekly Total Hours" (TWH), "Weekly Midnight Hours" (NWH), "Weekly Legal Overtime Hours" (SOH), It has a data structure in which each aggregation/calculation item of "weekly non-statutory overtime hours" (NSO) and "overtime hours exceeding 60 hours" are associated with each other in a format similar to the working hours calendar.

図16は、主ソフトウェア55dによる本発明の労働時間計算システムの主処理の流れを示すものである。S1(カルテデータ作成)では、ユーザが提供する元データを取り込み、社員マスタの作成処理等が実行される。S2(提出カレンダデータ統合)では、元データに複数に分割して提出されたカレンダデータが含まれている場合、これを統合する処理を行なう。S3(打刻修正)では、出退勤打刻データ55e8の打刻データの丸め・修正処理を行なう。S4(日総労働時間算出)では、打刻データの出退勤時刻・休憩時間から各日の総労働時間を算出する。 FIG. 16 shows the main processing flow of the working time calculation system of the present invention by the main software 55d. In S1 (creation of chart data), original data provided by the user is taken in, and processing such as creation of an employee master is executed. In S2 (integration of submitted calendar data), if the original data contains calendar data that has been divided and submitted, a process of integrating the data is performed. In S3 (correction of clocking), rounding/correction processing of the clocking data of attendance/leaving clock data 55e8 is performed. In S4 (calculation of total working hours per day), the total working hours of each day are calculated from the time of arrival/departure and break time of the clock data.

S5(日カレンダー作成)では、各日の日総労働時間から、提出されるカレンダデータが存在しない社員の日労働時間カレンダ(以下、日カレンダともいう)を作成する。S6(週カレンダ作成)では、日カレンダを集計し、週労働時間カレンダ(以下、週カレンダともいう)を作成する。S7(月カレンダ作成)では、週カレンダを集計し、月労働時間カレンダ(以下、月カレンダともいう)を作成する。S8(休暇申請反映)では、日労働時間カレンダを労働時間計算集計データ55g(図15)に引き当て、休暇申請データを反映させる。 In S5 (creation of daily calendar), a calendar of daily working hours (hereinafter also referred to as a daily calendar) is created for employees for whom there is no calendar data to be submitted, from the total daily working hours of each day. In S6 (creation of weekly calendar), the daily calendar is aggregated to create a weekly working hours calendar (hereinafter also referred to as a weekly calendar). In S7 (creation of monthly calendar), the weekly calendars are aggregated to create a monthly working hours calendar (hereinafter also referred to as a monthly calendar). In S8 (reflection of vacation application), the daily working hours calendar is assigned to the working hour calculation total data 55g (FIG. 15) to reflect the vacation application data.

また、S9(日総労働時間振分)では、日所定労働時間、日固有法定労働時間、日付属性から総労働時間を振り分ける処理を行なう。S10(週労働時間積算・振分け)では、日単位の各労働時間の集計結果を週ごとに積算する。また、週カレンダをもとに、各労働時間の週単位合計を再振り分けする。S11(月労働時間積算・振分け)では、週単位の各労働時間の集計結果を月ごとに積算する。また、月カレンダをもとに、各労働時間の月単位合計を再振り分けする。 In S9 (total working hours distribution per day), a process of distributing the total working hours based on the daily prescribed working hours, the statutory working hours peculiar to the day, and date attributes is performed. In S10 (accumulation/distribution of weekly working hours), the aggregated results of the daily working hours are accumulated for each week. Also, based on the weekly calendar, the weekly total of each working hour is redistributed. In S11 (Monthly Working Hours Accumulation/Distribution), the aggregated result of each weekly working hours is accumulated for each month. Also, based on the monthly calendar, the monthly total of each working hour is redistributed.

図17は、カルテデータ作成処理(図16:S1)の詳細を示すフローチャートである。S101ではユーザから提供される元データを取得する。具体的には、カルテデータ55e0(図4:共通項目リストデータ55e1、図6:所属別項目リストデータ55e2)、提出カレンダデータ55e4(図9又は図10)及び出退勤打刻データ55e8を、インターネット6(図1)経由したダウンロードあるいは電子メール等による通信取得、記憶媒体からの読み取り、あるいは手入力等により取得する。S102では社員マスタデータを同様に取得する。 FIG. 17 is a flowchart showing the details of the chart data creation process (FIG. 16: S1). In S101, original data provided by the user is obtained. Specifically, the medical record data 55e0 (FIG. 4: common item list data 55e1, FIG. 6: affiliation item list data 55e2), submission calendar data 55e4 (FIG. 9 or 10), and time attendance data 55e8 are sent to the Internet 6. (FIG. 1) Obtained by download via a route, acquisition by communication such as e-mail, reading from a storage medium, or manual input. In S102, employee master data is similarly acquired.

S103では、図4の共通項目リストデータ55e1に含まれるプルダウンメニューによる入力項目、すなわち図4に示す「宿直規定の有無」及び「宿直手当に深夜勤務手当が含まれているか」についての選択・入力を行なう。S104では、図6の所属別項目リストデータ55e2に含まれるプルダウンメニューによる入力項目、すなわち図7に示す労働時間制(一般/変形(週・月・年))、給与払い体系(時給/日給/月給)、法定休日体系(固定・1週1日・4週4日)、基本となる法定休日の曜日(日~土)などの選択・入力を行なう。また、S105では、図11の休暇申請データ55e5の取得と、プルダウンメニューによる入力項目、すなわち、申請内容(有給・代休・振替休日)及び休む長さ(終日・AM・PM)の選択・入力を行なう。最後に、S106では、図12の早出・遅刻申請データ55e6及び図13の宿直申請データ55e7の取得を行なう。 In S103, selection/input of input items from the pull-down menu included in the common item list data 55e1 of FIG. do In S104, input items from the pull-down menu included in the affiliation item list data 55e2 of FIG. monthly salary), legal holiday system (fixed, 1 day a week, 4 days a week), basic legal holiday days (Sunday to Saturday), etc. In S105, the user obtains the vacation application data 55e5 of FIG. 11 and selects/inputs the input items from the pull-down menu, that is, the application contents (paid/compensatory holiday/substitute holiday) and the length of vacation (all day/AM/PM). do Finally, in S106, the early arrival/late arrival application data 55e6 of FIG. 12 and the night duty application data 55e7 of FIG. 13 are obtained.

図18は、提出カレンダデータ統合処理(S2)の詳細を示すものである。S201ではまず、労働時間データ作成の対象となる所属部署について、図6の所属別項目リストデータ55e2の「カレンダの提出方法」の項目として、何が参照されているかを参照する。該項目で「打刻データ」が選択されている場合は提出カレンダデータがないことを意味し、提出カレンダデータ統合処理は不要であり、次の打刻修正処理(S3)のステップへと進む。一方、それ以外が選択されている場合はS202に進み、カレンダ提出形態として何が選択されているかの判別を行なう。本実施形態では、提出カレンダデータ55e4として、年カレンダ(図9)の提出があった場合、所属部署別の月カレンダ(図10上)の提出があった場合及び労働者個人別の月カレンダ(図10下)の提出があった場合を想定しており、S203~S205ではそれぞれ提出されたカレンダデータを、労働時間カレンダを作成する場合に使用するカレンダひな形ファイル(図14参照)の日カレンダ部分の各項目に転送する。これにより、S204及びS205では、提出された各月の月カレンダデータが年カレンダの形に統合される。本実施形態では、提出カレンダデータに含まれる(日)予定所定労働時間の各日付の値を、図14の日所定労働時間(DWH)の各値として転送する。また、日固有法定労働時間(SWH)の各値は、選択されている労働時間制の種別と日付属性に応じて、予め定められた値に設定される(日固有法定労働時間決定部の機能が実現されている)。週カレンダ及び月カレンダ部分の各値は、後述のカレンダ作成時の処理と同じである。 FIG. 18 shows details of the submission calendar data integration process (S2). In S201, first, what is referred to as the item of "Calendar Submission Method" in the item list data 55e2 by department 55e2 in FIG. If "stamping data" is selected in this item, it means that there is no submission calendar data, submission calendar data integration processing is unnecessary, and the process proceeds to the next step of stamping correction processing (S3). On the other hand, if any other form is selected, the process advances to S202 to determine what form is selected as the calendar submission form. In this embodiment, as the submitted calendar data 55e4, when a yearly calendar (Fig. 9) is submitted, when a monthly calendar by belonging department (Fig. 10 top) is submitted, and when a monthly calendar by individual worker ( Fig. 10 bottom) is assumed, and in S203 to S205, each submitted calendar data is converted into a calendar template file (see Fig. 14) used when creating a working hour calendar. Transfer to each item in parts. As a result, in S204 and S205, the submitted monthly calendar data for each month are integrated into a yearly calendar. In this embodiment, the value of each date of the (day) scheduled predetermined working hours included in the submitted calendar data is transferred as each value of the daily predetermined working hours (DWH) in FIG. In addition, each value of the day-specific legal working hours (SWH) is set to a predetermined value according to the type of working hour system selected and the date attribute (the function of the day-specific legal working hours determination unit has been realized). Each value of the weekly calendar and monthly calendar portions is the same as the process for creating the calendar, which will be described later.

次に、図19は、打刻修正処理(S3)の処理の詳細を示すものである。この処理は、各労働者の出退勤打刻データ55e8(図3)に対し、各日付について実行される。まず、S301では、共通項目リストデータ55e1(図4)にて「出勤時間の差し替え」が「する」に選択されている場合はS302に進む。S302では、該当する日付にて該当する労働者の早出・遅刻申請データが入力されているか否かが判断され、されていない場合はS303に進み、当該日付の(打刻された)出勤時刻データを日カレンダの出勤予定時刻で置き換える処理を行なう。これにより、打刻された出勤時刻データが日によってばらついていても、予め取り決めされた出勤予定時刻に一律に丸め処理される。 Next, FIG. 19 shows the details of the stamp correction process (S3). This processing is executed for each date for each worker's attendance and leaving data 55e8 (FIG. 3). First, in S301, when "replace attendance time" is selected as "Yes" in the common item list data 55e1 (FIG. 4), the process proceeds to S302. In S302, it is determined whether or not the corresponding worker's early arrival/late arrival application data has been input on the relevant date. is replaced with the scheduled attendance time of the day calendar. As a result, even if the stamped attendance time data varies from day to day, the data is uniformly rounded to the predetermined scheduled attendance time.

他方、S302で早出・遅刻申請データが存在する場合はS304に進み、申請された時刻にて出勤時刻データが置き換えられる。なお、事前申請なしで遅刻や早出を行なった場合は、後日早出・遅刻申請データが提出・補充される運用が前提であり、早出・遅刻申請データが存在しない(つまり、届け出が失念された)早出ないし遅刻に対応する出勤時刻データは考えない。続いてS305では、同じ日付にて打刻されている出勤時刻と退勤(退出)時刻とを比較する。これは、退勤時刻が日付をまたいでいないかを確認するためのものであり、退勤時刻が出勤時刻よりも小さくなっている場合は日付をまたいだと判断し、S306に進んで退勤時刻に24時間加算する処理を行なう。この場合、退勤時刻は、例えば30時間制の範囲内で表示するものとする。 On the other hand, if early departure/late application data exists in S302, the process proceeds to S304, and the attendance time data is replaced with the applied time. In addition, if you arrive late or leave early without applying in advance, it is assumed that the application data for early departure/late arrival will be submitted and supplemented at a later date, and there is no early arrival/late application data (that is, the notification was forgotten). The attendance time data corresponding to early arrival or late arrival is not considered. Subsequently, in S305, the time to come to work and the time to leave work (leaving) stamped on the same date are compared. This is for confirming whether or not the leaving time is over the date. If the leaving time is less than the starting time, it is determined that the date is over. Perform processing to add time. In this case, it is assumed that the time to leave work is displayed, for example, within the range of the 30-hour system.

続いて、図20は、日総労働時間算出処理(S4)の詳細を示すものである。この処理も、各労働者の出退勤打刻データ55e8(図3)に対し、各日付について実行される。S401では、カレンダひな形ファイル(図14参照)を開く。各日付の日総労働時間の計算結果は、後述の労働時間計算集計データ55g(図15)の対応する日付のセルに書き込まれることとなる。S402では、拘束時間RHを退勤時刻ET-出勤時刻ATにて算出する。この拘束時間RHには総労働時間WTHから控除されるべき休憩時間VHが含まれている。また、遵法的な就業規則が制定される場合に想定される深夜手当支給のための労働時間計算が考慮されたアルゴリズムが採用されている。以下、詳細に説明する。 Next, FIG. 20 shows details of the total daily working hours calculation process (S4). This processing is also executed for each date for each worker's attendance and leaving time stamp data 55e8 (FIG. 3). In S401, a calendar template file (see FIG. 14) is opened. The calculation result of the total daily working hours for each date is written in the cell of the corresponding date of the working hour calculation summary data 55g (FIG. 15) described later. In S402, the duty time RH is calculated as the leaving time ET-arriving time AT. This on-duty time RH includes a break time VH to be deducted from the total working time WTH. In addition, an algorithm is adopted that takes into consideration the calculation of working hours for the payment of late-night allowances, which is assumed when legally compliant employment rules are enacted. A detailed description will be given below.

S403では、該当する日付について該当する労働者の宿直申請データが入力されているか否かを調べる。入力されている場合はS404に進み、入力されていない場合はS404をスキップする。S404では、共通項目リスト55e1(図4)にて、宿直手当に深夜手当が含まれているか否か(宿直手当における深夜手当支給の規定があるかないか)を調べ、含まれている(深夜手当の支給規定あり)が選択されている場合はS406に進み、含まれていない(深夜手当の支給規定なし)が選択されている場合はS405に進んで深夜拘束時間NRH=0とする。S406に進んだ場合は、労働基準法が定める深夜時間帯の開始時刻22:00から翌朝5:00までの間に拘束時間RHがかかっているか否かを、AT≧05:00かつET≦22:00を充足しているか否かにより調べる。S406でnoの場合はS407に進み、深夜拘束時間算出処理となる。S406でyesの場合はS405に進み、深夜拘束時間NRH=0とする。 In S403, it is checked whether or not the night duty application data for the applicable worker has been entered for the applicable date. If it has been input, the process proceeds to S404, and if it has not been input, S404 is skipped. In S404, the common item list 55e1 (FIG. 4) is checked to determine whether or not the night duty allowance includes the late-night allowance (whether or not there is a provision for the provision of the late-night allowance in the night duty allowance). is selected, the process proceeds to S406, and if not included (no provision for payment of late-night allowance) is selected, the process proceeds to S405 and sets the late-night duty time NRH=0. If the process proceeds to S406, it is determined whether or not the restraint time RH is applied from 22:00 to 5:00 the next morning, when AT≧05:00 and ET≦22, as determined by the Labor Standards Law. : Examine whether or not 00 is satisfied. In the case of no in S406, the process advances to S407 to perform midnight duty time calculation processing. In the case of yes in S406, the process proceeds to S405, and the midnight restraint time NRH=0.

図21は、深夜拘束時間算出処理の一例を示す。S40701ではAT<05:00であるか否かを調べる。S40701でyesの場合はS40702に進み、ET<05:00であるか否かを調べる。S40702でyesの場合はS40703Aに進み、深夜拘束時間(1)をET-ATにて算出する。S40702でnoの場合はS40703Bに進み、深夜拘束時間(1)を05:00 -ATにて算出する。他方、S40701でnoの場合はS40702~S40704をスキップする。 FIG. 21 shows an example of a late-night on-duty time calculation process. In S40701, it is checked whether AT<05:00. If yes in S40701, the process advances to S40702 to check whether ET<05:00. If yes in S40702, proceed to S40703A to calculate the midnight duty time (1) by ET-AT. If no in S40702, proceed to S40703B to calculate the midnight duty time (1) at 05:00-AT. On the other hand, if S40701 is no, S40702 to S40704 are skipped.

次に、S40705ではET>22:00であるか否かを調べる。S40705でyesの場合はS40706に進み、AT>22:00であるか否かを調べる。S40706でyesの場合はS40707に進み、さらにET<29:00であるか否かを調べる。S40707でyesの場合はS40708に進み、深夜拘束時間(2)をET-ATにて算出する。S40707でnoの場合はS40709に進み、深夜拘束時間(2)を29:00-ATにて算出する。 Next, in S40705, it is checked whether ET>22:00. If yes in S40705, the process advances to S40706 to check whether AT>22:00. If yes in S40706, the process advances to S40707 to check whether ET<29:00. If yes in S40707, the process proceeds to S40708, and the midnight duty time (2) is calculated by ET-AT. If no in S40707, the process advances to S40709 to calculate the midnight duty time (2) at 29:00-AT.

一方、S40706でnoの場合はS40710に進み、ET<29:00であるか否かを調べる。S40710でyesの場合はS40711に進み、深夜拘束時間(2)をET- 22:00にて算出する。S40710でnoの場合はS40712に進み、深夜拘束時間(2)を29:00 - 22:00にて算出する。また、S40705でnoの場合もS40712に進み、同様の処理となる。S40713では、最終的な深夜拘束時間を深夜拘束時間(1)+深夜拘束時間(2)にて算出する。 On the other hand, if no in S40706, the process advances to S40710 to check whether ET<29:00. If yes in S40710, proceed to S40711 to calculate the midnight duty time (2) at ET-22:00. If no in S40710, proceed to S40712, and calculate the midnight duty time (2) from 29:00 to 22:00. Also, in the case of no in S40705, the process advances to S40712 and the same processing is performed. In S40713, the final midnight duty time is calculated as midnight duty time (1)+midnight duty time (2).

図20に戻り、S408では、共通項目リストデータ55e1(図4)にて休憩入力方法として何が選択されているかを確認する。「取得時間」が選択されている場合はS409に進み、打刻された値を休憩時間として採用する(これは、深夜休憩時間についても同じである)。一方、「入り・戻り時刻」が選択されている場合はS411に進み、休憩時間VHを戻り時刻VET-入り時刻VATにて算出する。次いで、その休憩時間に含まれる深夜休憩時間を算出するために、S412では、VAT≧05:00かつVET≦22:00を充足しているか否かにより調べる。S412でnoの場合はS413に進み、深夜休憩時間算出処理となる。S412でyesの場合はS410に進み、深夜休憩時間NVH=0とする。 Returning to FIG. 20, in S408, it is confirmed what is selected as the break input method in the common item list data 55e1 (FIG. 4). If "acquisition time" is selected, the process proceeds to S409, and the stamped value is adopted as the break time (this also applies to the late-night break time). On the other hand, if the "entering/returning time" is selected, the process proceeds to S411 to calculate the break time VH by (returning time VET - entering time VAT). Next, in order to calculate the late-night rest period included in the rest period, it is checked in S412 whether VAT≧05:00 and VET≦22:00 are satisfied. In the case of no in S412, the process advances to S413 to perform midnight break time calculation processing. In the case of yes in S412, the process proceeds to S410, and the late-night break time NVH is set to zero.

図22は、深夜休憩時間算出処理の一例を示す。S41301ではVAT<05:00であるか否かを調べる。S41301でyesの場合はS41302に進み、VET<05:00であるか否かを調べる。S41302でyesの場合はS41303に進み、深夜休憩時間(1)をVET-VATにて算出する。S41302でnoの場合はS41304に進み、深夜休憩時間(1)を05:00 -VATにて算出する。他方、S41301でnoの場合はS41302~S41304をスキップする。 FIG. 22 shows an example of a late-night break time calculation process. In S41301, it is checked whether VAT<05:00. If yes in S41301, the process advances to S41302 to check whether VET<05:00. If yes in S41302, proceed to S41303 to calculate the late-night break time (1) by VET-VAT. If no in S41302, proceed to S41304 to calculate the late-night break time (1) as 05:00-VAT. On the other hand, if S41301 is no, S41302 to S41304 are skipped.

次に、S41305ではVET>22:00であるか否かを調べる。S41305でyesの場合はS41306に進み、VAT>22:00であるか否かを調べる。S41306でyesの場合はS41307に進み、深夜休憩時間(2)をVET-VATにて算出する。S41306でnoの場合はS41308に進み、深夜休憩時間(2)をVET-22:00にて算出する.S41309では、最終的な深夜休憩時間を深夜休憩時間(1)+深夜休憩時間(2)にて算出する。 Next, in S41305, it is checked whether or not VET>22:00. If yes in S41305, proceed to S41306 to check whether VAT>22:00. If yes in S41306, proceed to S41307 to calculate the midnight break time (2) by VET-VAT. If S41306 is no, proceed to S41308 to calculate the late-night break time (2) at VET-22:00. In S41309, the final late-night break time is calculated as late-night break time (1)+late-night break time (2).

以上で拘束時間と休憩時間の算出が終わるので図20に戻り、S414で日総労働時間TWHを拘束時間RH-休憩時間VHにて算出する。また、S416では、日深夜勤務時間NWHを深夜拘束時間NRH-深夜休憩時間NVHにて算出する。算出された日総労働時間TWHと日深夜勤務時間NWHとは、対応する労働者の労働時間計算集計データ55g(図15)の対応する日付のセルに転送され、記憶される。 Since the calculation of the on-duty time and the break time is completed as described above, returning to FIG. 20, the total daily working hours TWH is calculated as the on-duty time RH-the break time VH in S414. Further, in S416, the day and night working hours NWH are calculated by dividing the midnight duty time NRH-the midnight break time NVH. The calculated daily total working hours TWH and day/night working hours NWH are transferred and stored in the corresponding date cell of the corresponding worker's working hours calculation summary data 55g (FIG. 15).

図23は、日カレンダ作成処理(S5)の詳細を示すものである。該処理は、図14のカレンダひな形ファイル上にて各日付について、各労働者の労働時間計算集計データ55g(図15)上の総労働時間TWHの算出結果を参照する形で順次実施される。S501では提出カレンダデータがあるか否かを判別する。提出カレンダデータがある場合は日カレンダの作成は不要であり、処理全体がスキップされる。 FIG. 23 shows the details of the daily calendar creation process (S5). This processing is sequentially carried out by referring to the calculation results of the total working hours TWH in the working hour calculation summary data 55g (FIG. 15) of each worker for each date on the calendar template file of FIG. . In S501, it is determined whether or not there is submission calendar data. If there is submission calendar data, day calendar creation is not required and the entire process is skipped.

S502では、総労働時間TWH>0(すなわち、休日判別比較のための所定値をゼロと定めている)であるか否かを判別する。S502でnoの場合はS503に進み、日カレンダ上で当該日を所定休日に設定する。また、日所定労働時間DWH=0、日固有法定労働時間SWH=0として、それぞれカレンダひな形ファイルの対応するセルに値を格納する。一方、S502でyesの場合はS504に進み、日カレンダ上で当該日を所定出勤日に設定する。そしてS505に進み、所定出勤日の労働時間設定処理を行なう。 In S502, it is determined whether or not the total working hours TWH>0 (that is, the predetermined value for the holiday determination comparison is set to zero). If no in S502, the process proceeds to S503 to set the day as a predetermined holiday on the day calendar. Also, set the daily prescribed working hours DWH=0 and the day-specific statutory working hours SWH=0, and store the values in the corresponding cells of the calendar template file. On the other hand, in the case of yes in S502, the process proceeds to S504, and the relevant day is set as a predetermined working day on the day calendar. Then, the process advances to S505 to perform working hours setting processing for a predetermined working day.

図24は、該処理の詳細を示すものである。S50501では、図6の所属別項目リストデータ55e2を参照し、対象の労働者が所属する部署について選択されている労働時間制の種別を判別する。S50501で一般労働時間制が選択されている場合はS50502に進み、総労働時間TWHについてTWH≧8となっているか否かを判別する。S50502でyesの場合はS50504に進み、日所定労働時間DWH=8、日固有法定労働時間SWH=8として、それぞれカレンダひな形ファイルの対応するセルに値を格納する。一方、S50502でnoの場合はS50503に進み、日所定労働時間DWH=TWHとする(つまり、その日の総労働時間の算出値を日所定労働時間DWHの値として設定する)。また、日固有法定労働時間SWHは8(時間)とし、それぞれカレンダひな形ファイルの対応するセルに値を格納する。 FIG. 24 shows details of the processing. In S50501, the affiliation item list data 55e2 of FIG. 6 is referenced to determine the type of working hour system selected for the department to which the target worker belongs. If the general working hours system is selected in S50501, the process advances to S50502 to determine whether or not TWH≧8 for the total working hours TWH. If YES in S50502, proceed to S50504 to set daily prescribed working hours DWH=8 and daily specific statutory working hours SWH=8 and store the values in the corresponding cells of the calendar template file. On the other hand, if no in S50502, proceed to S50503 and set the daily prescribed working hours DWH=TWH (that is, set the calculated value of the total working hours of the day as the value of the daily prescribed working hours DWH). Also, the day-specific statutory working hours SWH is set to 8 (hours), and each value is stored in the corresponding cell of the calendar template file.

ここで、算出される日所定労働時間は、総労働時間に基づいて算出されていることからも明らかなとおり実際に働いた所定労働時間である実所定労働時間のことであり、所属別項目リストデータ55e2(図6)にて入力設定した日予定所定労働時間とは異なる。労働基準法によると、一般労働時間制においては、日法定労働時間は8時間であり、日予定所定労働時間は日法定労働時間(すなわち、8時間)の範囲内で自由に設定が可能である。よって、S50502で総労働時間TWH≧8になっている場合に、S50504で日所定労働時間DWH及び日固有法定労働時間SWHがいずれも8時間として設定されることで、日固有法定労働時間いっぱいまでは所定労働時間として働き、これを超過する労働時間は法定外残業時間として遵法的かつ強制的に算出される機能が実現する。また、後述のごとく、日予定所定残業時間の設定値との比較により、法定内残業時間についても遵法的に算出される。すなわち、労働基準法に違反しない就業規則やこれに準拠した労働時間カレンダが完備されていない事業者について、労働時間計算(ひいてはそれを用いた賃金計算)を、あたかも適法な就業規則を整備しつつ自動的に行なうことが可能となるのである。 Here, the calculated daily scheduled working hours are the actual scheduled working hours, which are the scheduled working hours actually worked, as is clear from the fact that they are calculated based on the total working hours. It is different from the daily scheduled prescribed working hours input and set in the data 55e2 (Fig. 6). According to the Labor Standards Act, under the general working hours system, the statutory working hours per day is 8 hours, and the scheduled working hours per day can be freely set within the statutory working hours per day (i.e., 8 hours). . Therefore, when the total working hours TWH≧8 in S50502, both the daily prescribed working hours DWH and the day-specific legal working hours SWH are both set to 8 hours in S50504, so that the day-specific legal working hours are reached. work as prescribed working hours, and working hours exceeding this are legally and compulsorily calculated as non-statutory overtime hours. In addition, as will be described later, the statutory overtime hours are also calculated in compliance with the set value of the daily scheduled overtime hours. In other words, for businesses that do not have rules of employment that do not violate the Labor Standards Act or a calendar of working hours that conforms to this, the calculation of working hours (and wage calculations using such calculations) will be implemented as if the rules of employment were legal. This can be done automatically.

図24においては、S50501で変形労働時間制が選択されている場合はS50505に進み、選択されている変形単位種別が何であるかをさらに判別する。S50505で週単位又は月単位の変形労働時間制が選択されている場合はS50506に進み、TWH≧8となっているか否かを判別する。S50506でnoの場合はS50507に進み、日所定労働時間DWH=TWHとする(つまり、その日の総労働時間の算出値を日所定労働時間DWHの値として設定する)。また、日固有法定労働時間SWHは8(時間)とし、それぞれカレンダひな形ファイルの対応するセルに値を格納する。他方、S50506でyesの場合はS50508に進み、日所定労働時間DWHと日固有法定労働時間SWHをいずれもその日の総労働時間TWHと等しく設定し、それぞれカレンダひな形ファイルの対応するセルに値を格納する。変形労働時間制では、一定の制限の下で日固有法定労働時間を超えた所定労働時間設定が可能であり、上記のように設定を行なうことで当該日付については法定内あるいは法定外の残業時間が発生しないように計算を誘導することができる。 In FIG. 24, if the variable working hours system is selected in S50501, the process advances to S50505 to further discriminate what the selected variable unit type is. If the weekly or monthly variable working hours system is selected in S50505, the process advances to S50506 to determine whether or not TWH≧8. If no in S50506, proceed to S50507 and set the daily prescribed working hours DWH=TWH (that is, set the calculated value of the total working hours of the day as the value of the daily prescribed working hours DWH). Also, the day-specific statutory working hours SWH is set to 8 (hours), and each value is stored in the corresponding cell of the calendar template file. On the other hand, if YES in S50506, proceed to S50508 to set both the daily prescribed working hours DWH and the day-specific statutory working hours SWH to be equal to the total working hours TWH for that day, and fill the corresponding cells in the calendar template file. Store. In the variable working hours system, it is possible to set prescribed working hours that exceed the legal working hours specific to the day under certain restrictions, and by setting as above, legal overtime hours or non-legal overtime hours for that date Calculations can be induced so that does not occur.

一方、S50505で年単位の変形労働時間制が選択されている場合はS50509に進み、TWH≧8となっているか否かを判別する。S50509でnoの場合はS50510に進み、日所定労働時間DWH=TWHとする。また、日固有法定労働時間SWHは8(時間)とし、それぞれカレンダひな形ファイルの対応するセルに値を格納する。他方、S50509でyesの場合はS50511に進み、TWH≧10となっているか否かを判別する。これは労働基準法(及び施行規則)において、年単位変形労働時間制における日総労働時間の上限が10時間に制限されていることを反映したものである。S50511でnoの場合は、日所定労働時間DWHと日固有法定労働時間SWHをいずれもその日の総労働時間TWHと等しく設定し、それぞれカレンダひな形ファイルの対応するセルに値を格納する。一方、S50511でyesの場合は、日所定労働時間DWH=10、日固有法定労働時間SWH=10として、それぞれカレンダひな形ファイルの対応するセルに値を格納する。 On the other hand, if the yearly variable working hours system is selected in S50505, the process advances to S50509 to determine whether or not TWH≧8. If no in S50509, proceed to S50510 and set the daily prescribed working hours DWH=TWH. Also, the day-specific statutory working hours SWH is set to 8 (hours), and each value is stored in the corresponding cell of the calendar template file. On the other hand, if YES in S50509, the process advances to S50511 to determine whether or not TWH≧10. This reflects the fact that the Labor Standards Law (and its Enforcement Regulations) limits the total daily working hours to 10 hours under the annual variable working hours system. If no in S50511, both the daily prescribed working hours DWH and the day-specific statutory working hours SWH are set equal to the total working hours TWH for that day, and the respective values are stored in the corresponding cells of the calendar template file. On the other hand, if YES in S50511, set daily prescribed working hours DWH=10 and daily specific statutory working hours SWH=10, and store the values in the corresponding cells of the calendar template file.

次に、図25は週・月カレンダ作成処理(S6)の詳細を示すものである。S601では選択されている労働時間制の種別を判別する。S601で一般労働時間制が選択されている場合はS609に進み、週固有法定労働時間SWH’=40(時間)に設定するとともに、カレンダひな形ファイルの対応するセルに値を格納する。S601で変形労働時間制が選択されている場合はS602に進む。週単位の変形労働時間制が選択されている場合はS609に進み、週固有法定労働時間SWH’=40(時間)に設定するとともに、カレンダひな形ファイルの対応するセルに値を格納する。その余の場合はS603に進み、週固有法定労働時間の制限がない月単位の変形労働時間制が選択されている場合は、S609をスキップし、カレンダひな形ファイルにて週固有法定労働時間SWH’のセルを例えばブランクとする。 Next, FIG. 25 shows the details of the weekly/monthly calendar creation process (S6). In S601, the type of working hour system selected is discriminated. If the general working hours system is selected in S601, the process advances to S609 to set the week-specific statutory working hours SWH'=40 (hours) and store the value in the corresponding cell of the calendar template file. If the variable working hours system is selected in S601, the process proceeds to S602. If the weekly variable working hours system is selected, the process advances to S609 to set the weekly statutory working hours SWH'=40 (hours) and store the value in the corresponding cell of the calendar template file. In the other cases, proceed to S603. If the monthly variable working hours system with no restrictions on legal weekly working hours is selected, skip S609 and enter the legal weekly working hours SWH in the calendar template file. ' is blank, for example.

一方、S603で年単位の変形労働時間制が選択されている場合はS604に進み、週予定所定労働時間DWH’についてDWH’≧40となっているか否かを判別する。S604でnoの場合はS605に進み、週固有法定労働時間SWH’=40に設定し、カレンダひな形ファイルの対応するセルに値を格納する。一方、S604でyesの場合はS606に進み、DWH’≧52となっているか否かを判別する。S606でのnoの場合は週固有法定労働時間SWH’=DWH’とし(つまり、その週の週予定所定労働時間の設定値を週固有法定労働時間SWH’の値として設定する)、カレンダひな形ファイルの対応するセルに値を格納する。この場合、週予定所定労働時間DWH’は、年間各週の平均的な所定労働時間が40時間以下となるように、適宜調整された値が入力されていることを前提とする。一方、S606でyesの場合はSWH’=52(時間)とし、カレンダひな形ファイルの対応するセルに値を格納する。これは、年単位の変形労働時間制において週予定所定労働時間DWH’が52時間を超えるのは、労働基準法の規定に違反することに基づいており、事業者側の希望として週予定所定労働時間DWH’が仮に52時間以上に設定されても、52時間を超える労働時間は強制的に法定外残業時間として算出される仕組みになっている、ということである。以上で週カレンダ作成処理は完了である。なお、上記の処理の流れにおいて週固有法定労働時間決定部の機能が実現されていることは明らかである。 On the other hand, if the yearly variable working hours system is selected in S603, the process advances to S604 to determine whether or not DWH'≧40 for the weekly scheduled prescribed working hours DWH'. If no in S604, proceed to S605, set the week-specific legal working hours SWH'=40, and store the value in the corresponding cell of the calendar template file. On the other hand, if YES in S604, the process advances to S606 to determine whether or not DWH'≧52. In the case of no in S606, the weekly specific legal working hours SWH'=DWH' (that is, the set value of the weekly scheduled prescribed working hours of the week is set as the value of the weekly specific legal working hours SWH'), and the calendar template is created. Store the value in the corresponding cell of the file. In this case, it is assumed that the weekly scheduled working hours DWH' are appropriately adjusted values so that the average scheduled working hours for each week of the year is 40 hours or less. On the other hand, if yes in S606, SWH'=52 (hours) and the value is stored in the corresponding cell of the calendar template file. This is based on the violation of the provisions of the Labor Standards Act for the scheduled weekly working hours DWH' to exceed 52 hours in the annual variable working hours system, and the employer's request is Even if the time DWH' is set to 52 hours or more, working hours exceeding 52 hours are forcibly calculated as non-statutory overtime hours. This completes the weekly calendar creation process. In addition, it is clear that the function of the week-specific statutory working hours determining unit is realized in the above process flow.

S701以下は月カレンダ作成処理となる。S701では選択されている労働時間制の種別が判別される。月固有の設定が必要となるのは月単位の変形労働時間制が採用されている場合のみであり、この場合はS702に進み、月固有法定労働時間SWH”を、その月の日数÷7×40(時間)として算出し、カレンダひな形ファイルの対応するセルに値を格納する(月固有法定労働時間決定部の機能が実現している)。その余の労働時間制が採用されている場合は月固有法定労働時間の制限を特に設けず、処理を終える。 The steps from S701 onward are monthly calendar creation processing. In S701, the type of working hour system selected is discriminated. Month-specific settings are required only when the monthly variable working hours system is adopted. Calculate as 40 (hours) and store the value in the corresponding cell of the calendar template file (the function of the month-specific statutory working hour determination unit is realized). does not set a limit on monthly statutory working hours, and finishes processing.

続いて、上記のごとく作成されたカレンダデータに休暇申請内容を反映させる処理を実行する。図26は休暇申請反映処理(S8)の詳細を示す。S801では、労働時間計算集計データ55g(図15)の各日付のレコードに日カレンダの各日付のデータを引き当てる。以下、各日付についての処理となる。S802では、対象日付について休暇申請データが入力されているかを調べる。また、S803では休暇申請反映の対象日であるかを調べる。いずれにおいてもnoの場合、休暇申請反映処理はスキップされる。他方、いずれもyesの場合はS804に進み、当該日付に選択されている休暇種別を判別する。代替休日の場合は、振替等の処理は不要であり休暇申請反映処理はスキップされる。他方、有給休暇が選択されている場合はS805に、振替休日が選択されている場合はS806にそれぞれ進み、個別に処理がなされる。 Subsequently, a process of reflecting the contents of the vacation application in the calendar data created as described above is executed. FIG. 26 shows the details of the vacation application reflecting process (S8). In S801, the data of each date in the day calendar is assigned to the record of each date in the total working hours calculation data 55g (FIG. 15). The processing for each date is described below. In S802, it is checked whether vacation application data has been input for the target date. Also, in S803, it is checked whether the day is the day for which the vacation application is reflected. If the answer is no in either case, the vacation request reflection process is skipped. On the other hand, if both are yes, the process advances to S804 to discriminate the vacation type selected for the date. In the case of a substitute holiday, processing such as transfer is unnecessary, and leave application reflection processing is skipped. On the other hand, if the paid vacation is selected, the process proceeds to S805, and if the substitute holiday is selected, the process proceeds to S806, and individual processing is performed.

図27は有給休暇反映処理(S805)の詳細を示すフローチャートである。S80501では有給休暇の取得形態(休む長さ)が判別される。図11にてすでに説明したごとく、本実施形態では、休む長さについては「終日」「AM」(午前)及び「PM」(午後)のいずれかのみが選択可能となっている。図15には図示していないが、例えば労働時間計算集計データ55gに各労働者の有給取得日数PHNと、各日付の有給時間を記憶しておく。休む長さが終日であった場合はS80502に進み、有給取得日数PHNに1を加算する。また、S80503では、その日付の日予定所定労働時間を全て有給時間PHHに組み入れる。 FIG. 27 is a flow chart showing details of the paid vacation reflecting process (S805). In S80501, the form of taking paid leave (length of rest) is discriminated. As already explained with reference to FIG. 11, in this embodiment, only one of "all day," "AM" (morning), and "PM" (afternoon) can be selected for the length of rest. Although not shown in FIG. 15, for example, the number of paid days PHN for each worker and the paid hours for each date are stored in the working hours calculation summary data 55g. If the length of rest is all day, the process advances to S80502 to add 1 to the number of paid days taken PHN. In addition, in S80503, all the scheduled working hours for that day are incorporated into the paid hours PHH.

休む長さが「AM」(午前)であった場合はS80504に進み、有給取得日数PHNに0.5を加算する。S80505では、その日付の日予定所定労働時間のうちの午前設定時間AMH(図6:所属別項目リストデータ55e2を参照)を有給時間PHHに組み入れる。休む長さが「PM」(午後)であった場合はS80506に進み、有給取得日数PHNに0.5を加算する。また、S80507では、その日付の日予定所定労働時間のうちの午後設定時間PMH(図6:所属別項目リストデータ55e2を参照)を有給時間PHHに組み入れる。有給時間に対する賃金計算は、労働時間に対する賃金計算と別になされるため、S80508では、その日の日予定所定労働時間から有給時間PHHを減算する。S80509では日予定所定労働時間のその日の残時間が負値になっていないかを確認し、なっているようであればS80509で当該日付の日予定所定労働時間をゼロに設定する。 If the length of rest is "AM" (morning), the process advances to S80504 to add 0.5 to the number of paid days taken PHN. In S80505, the morning set time AMH (see FIG. 6: departmental item list data 55e2) of the day's scheduled prescribed working hours on that date is incorporated into the paid hours PHH. If the rest length is "PM" (afternoon), the process advances to S80506 to add 0.5 to the number of paid days taken PHN. In S80507, the afternoon setting time PMH (see FIG. 6: departmental item list data 55e2) of the day's scheduled prescribed working hours on that date is incorporated into the paid hours PHH. Since wage calculation for paid hours is performed separately from wage calculation for working hours, in S80508, the paid hours PHH are subtracted from the scheduled predetermined working hours of the day. In S80509, it is checked whether the remaining hours of the day's scheduled working hours are negative, and if so, the scheduled working hours of the day are set to zero in S80509.

例えば休む長さが「AM」のとき、「PM」の時間帯は労働者が出勤し、出勤時間及び退勤時間の打刻がなされる。これに基づき計算される総労働時間に対し、上記減算後の日予定所定労働時間が適用され、時間外労働が発生した場合は時間外時間が計算される。他方、休んだ時間は有給時間PHHとして計算されることとなる。 For example, when the length of rest is "AM", the worker comes to work in the "PM" time zone, and the time to come to work and the time to leave work are stamped. The daily scheduled scheduled working hours after the subtraction are applied to the total working hours calculated based on this, and if overtime work occurs, the overtime hours are calculated. On the other hand, rest time will be calculated as paid hours PHH.

図28は振替休日反映処理(S806)の詳細を示すものであり、S80601では振替対象期間の指定を確認する。本実施形態では、振替期間は1日単位のみとしており、その余の振替対象期間が選択された場合はS80604に進み、モニタ56への表示等によるアラート処理となる。一方、対象となる日付の全体が振替対象期間として指定されている場合はS80602に進み、提出カレンダデータが入力されているか否かを調べる。提出されている場合はS80603に進み、カレンダひな形ファイル(図14参照)に転送された提出カレンダデータ上にて日付属性、日所定労働時間DWH及び日固有法定労働時間SWHの振替処理を行なう。他方、提出カレンダデータが存在しない場合はS80605に進み、カレンダひな形ファイルを用いて作成されたカレンダデータ上での振替をマニュアル入力処理にて実行させるための誘導が行われる。 FIG. 28 shows the details of the transfer holiday reflection process (S806), and in S80601, the designation of the transfer target period is confirmed. In this embodiment, the transfer period is set to only one day unit, and if the rest of the transfer target period is selected, the process advances to S80604 to perform alert processing by displaying on the monitor 56 or the like. On the other hand, if the entire target date is specified as the transfer target period, the flow advances to S80602 to check whether submission calendar data has been input. If it has been submitted, proceed to S80603 to perform transfer processing of date attributes, daily prescribed working hours DWH, and day-specific statutory working hours SWH on the submitted calendar data transferred to the calendar template file (see FIG. 14). On the other hand, if the submission calendar data does not exist, the process advances to S80605 to guide the user to manually input the transfer on the calendar data created using the calendar template file.

図29は日総労働時間振分(S9)の詳細を示すフローチャートである。S91では提出カレンダデータがあるか否かを判別する。提出カレンダデータがない場合はS92に進み、出退勤打刻データを使用した処理となる。他方、提出カレンダデータがある場合はS93に進み、提出カレンダデータを使用した処理となる。いずれも、各労働者について各日付について実行される。 FIG. 29 is a flow chart showing the details of the total daily working hours distribution (S9). In S91, it is determined whether or not there is submission calendar data. If there is no calendar data to be submitted, the process proceeds to S92, and processing is performed using the attendance/leaving data. On the other hand, if there is submission calendar data, the process proceeds to S93, and the processing is performed using the submission calendar data. Both are run for each worker on each date.

図30は出退勤打刻データを使用する場合(つまり、提出カレンダデータがなく、出退勤打刻データからカレンダを作成する場合に対応)の処理(S92)の詳細を示すものである。労働基準法に従い、法定休日出勤にのみ割増賃金の対象となる休日出勤時間が算出されるよう、アルゴリズムが配慮されている。まず、S9201では所属別項目リストデータ55e2を参照し、法定休日種別の選択状態を判別する。法定休日として曜日固定(所属別項目リストデータ55e2(図6)にて、基本法定休日として選択されている曜日が法定休日となる)又は4週4日が選択されている場合はS9202に進み、処理中の日付属性が法定休日か否かを判別する(以上、法定休日判別部の機能が実現されている)。法定休日である場合はS9203に進み、労働時間計算集計データ55gにおいて、その日付の総労働時間TWHを休日出勤時間HWHにセットし、他種別の労働時間は全てゼロにセットする。S9202で日付属性が法定休日でなかった場合はS9204以下の処理に進む。該処理では、休日出勤時間の算出対象にならない所定出勤日又は所定休日に対する労働時間計算がなされる。 FIG. 30 shows the details of the process (S92) when using the attendance/leaving data (that is, when there is no submitted calendar data and a calendar is created from the attendance/withstanding data). In accordance with the Labor Standards Act, consideration has been given to the algorithm so that holiday working hours that are subject to premium wages are calculated only for working on legal holidays. First, in S9201, the affiliation item list data 55e2 is referenced to determine the selection state of the legal holiday type. If the legal holiday is fixed on the day of the week (the day of the week selected as the basic legal holiday in the affiliation item list data 55e2 (Fig. 6) is the legal holiday) or 4 days a week is selected, proceed to S9202; Determine whether the date attribute being processed is a legal holiday (the function of the legal holiday discriminating unit is realized above). If it is a legal holiday, the process advances to S9203 to set the total working hours TWH for that date to the holiday working hours HWH and all other types of working hours to zero in the working hour calculation summary data 55g. If the date attribute is not a legal holiday in S9202, the process proceeds to S9204 and subsequent steps. In this process, the working hours are calculated for the predetermined working days or predetermined holidays that are not subject to the calculation of the holiday working hours.

まずS9204では、総労働時間TWHと日予定所定労働時間PWDとを比較し、TWH≧PWDとなっているか否かを判定する。S9204でnoの場合、つまり当該日付の総労働時間TWHが日予定所定労働時間PWDよりも小さい場合はS9205に進み、総労働時間TWHを(実)所定労働時間DWHとしてセットし、さらに、日不足労働時間QWHをQWH=PWD-TWHとして算出し、労働時間計算集計データ55gにセットする。一方、S9204にてyesの場合、つまり当該日付の総労働時間TWHが日予定所定労働時間PWDよりも大きい場合はS9206に進み、日予定所定労働時間PWDを(実)所定労働時間DWHとしてセットし、さらに、日不足労働時間QWHをゼロとして算出し、労働時間計算集計データ55gにセットする。S9207では総労働時間TWHと日固有法定労働時間SWHとを比較し、TWH≧SWHとなっているか否かを判定する。S9207にてnoの場合、つまり当該日付の総労働時間TWHが日固有法定労働時間SWHよりも小さい場合はS9208に進み、法定内残業時間SOHをSOH=TWH-PWDにて算出し、法定外残業時間NSOをゼロとして算出し、それぞれ労働時間計算集計データ55gにセットする。S9207にてyesの場合、つまり当該日付の総労働時間TWHが日固有法定労働時間SWHよりも大きい場合はS9209に進み、法定内残業時間SOHをSOH=SWH-PWDにて算出する一方、法定外残業時間NSOをNSO=TWH-SWHとして算出し、それぞれ労働時間計算集計データ55gにセットする。 First, in S9204, the total working hours TWH and the scheduled daily working hours PWD are compared to determine whether or not TWH≧PWD. If the result in S9204 is no, that is, if the total working hours TWH of the date is smaller than the scheduled daily working hours PWD, the process advances to S9205 to set the total working hours TWH as the (actual) prescribed working hours DWH, The working hours QWH are calculated as QWH=PWD-TWH and set in the working hours calculation summary data 55g. On the other hand, if YES in S9204, that is, if the total working hours TWH for the date is greater than the daily scheduled working hours PWD, the process advances to S9206 to set the daily scheduled working hours PWD as the (actual) scheduled working hours DWH. Furthermore, the day shortage working hours QWH is calculated as zero and set in the working hour calculation summary data 55g. In S9207, the total working hours TWH and the day-specific statutory working hours SWH are compared to determine whether or not TWH≧SWH. If no in S9207, that is, if the total working hours TWH on the date is smaller than the day-specific legal working hours SWH, proceed to S9208, calculate the legal overtime hours SOH by SOH = TWH - PWD, and perform non-legal overtime work. The hour NSO is calculated as zero and set in the working hours calculation summary data 55g respectively. If yes in S9207, that is, if the total working hours TWH on the date is greater than the day-specific legal working hours SWH, the process advances to S9209 to calculate legal overtime hours SOH by SOH = SWH - PWD, while non-legal The overtime hours NSO are calculated as NSO=TWH-SWH, and each is set in the working hour calculation summary data 55g.

ここで、所定休日の場合、日予定所定労働時間PWDがゼロに設定されているから、S9204では総労働時間TWHの値によらずS9206側に進む処理となる。この日に労働者が出勤しなければTWHはゼロであり、S9206で(実)所定労働時間DWHもゼロとなり、S9207では総労働時間TWH(出勤していないので0時間)は日固有法定労働時間SWH(休日なので0時間)と等しく、S9209に進む。よって、法定内残業時間SOH(=TWH-PWD)も法定外残業時間NSO(=TWH-SWH)もゼロとなり、処理としての不整合は生じない。一方、この日に労働者が出勤した場合、S9206で(実)所定労働時間DWHは同様にゼロであり、S9207では総労働時間TWH(出勤した時間)は日固有法定労働時間SWH(休日なので0時間)より大きく、S9209に進む。法定内残業時間SOH(=SWH-PWD)は、日固有法定労働時間SWHも日予定所定労働時間PWDもいずれもゼロなので、法定内残業時間SOH(=SWH-PWD)はゼロとなる。一方、法定外残業時間NSO(=TWH-SWH)については、日固有法定労働時間SWHがゼロだから、総労働時間TWH(出勤した時間)と等しくなる。つまり、所定休日における出勤は全て法定外残業時間NSOとして算出され、労働基準法通りの計算となることがわかる。 Here, in the case of a predetermined holiday, the daily scheduled predetermined working hours PWD are set to zero, so in S9204 the process proceeds to the S9206 side regardless of the value of the total working hours TWH. If the worker does not come to work on this day, TWH is zero. In S9206, the (actual) prescribed working hours DWH is also zero. It is equal to SWH (0 hours because it is a holiday), and the process proceeds to S9209. Therefore, both legal overtime hours SOH (=TWH-PWD) and non-legal overtime hours NSO (=TWH-SWH) are zero, and there is no inconsistency in processing. On the other hand, if the worker came to work on this day, the (actual) prescribed working hours DWH is also zero in S9206, and the total working hours TWH (time spent at work) is changed to the day-specific statutory working hours SWH (because it is a holiday, it is 0 in S9207). time) and proceeds to S9209. As for the legal overtime hours SOH (=SWH-PWD), the legal overtime hours SOH (=SWH-PWD) is zero because both the day-specific legal working hours SWH and the daily scheduled prescribed working hours PWD are zero. On the other hand, the legal non-statutory overtime hours NSO (=TWH-SWH) is equal to the total working hours TWH (hours spent at work) because the day-specific statutory working hours SWH is zero. In other words, it can be seen that all attendances on prescribed holidays are calculated as non-statutory overtime hours NSO, and are calculated in accordance with the Labor Standards Act.

なお、法定休日種別として4週4日が選択されている場合は、どの日付を法定休日として設定するかを別途入力できるようにしておくこともできる。他方、こうした設定が行われず、法定休日となる日付が特定できない場合は、例えば次のようにすることができる。すなわち、各日付を所定の4週ごとの期間に区切り、その区切られた期間において、出退勤打刻データ55e8にて休日と特定される日付が5日以上存在する場合は、そのうちの所定の4日(例えば最初の4日)を法定休日と判別し、残りを所定休日と判別する処理を行なう。また、休日と特定される日付が4日以下の場合は、それらの日付の全てを法定休日と判別する。また、期間中の法定休日の合計が4日となるよう、例えば図2の入力部57を用いて、出勤日と判別された日付のうち指定されたものについて、その日付属性を法定休日に変更修正できるように構成しておくとよい。 Note that if 4 days/4 weeks is selected as the type of legal holiday, it is also possible to separately input which date is to be set as the legal holiday. On the other hand, if such setting is not performed and the date of the legal holiday cannot be specified, for example, the following can be done. That is, each date is divided into predetermined four-week periods, and if there are five or more days specified as holidays in the divided periods in the attendance and leaving time stamp data 55e8, the predetermined four days (For example, the first four days) are determined as legal holidays, and the remaining days are determined as predetermined holidays. Also, if the dates specified as holidays are four days or less, all of those dates are determined to be legal holidays. Also, in order to make the total number of statutory holidays during the period 4 days, for example, using the input unit 57 in FIG. It should be configured so that it can be modified.

一方、法定休日が1週1日となる形態は、交代勤務などの場合に採用される場合であり、1週に1日は必ず法定休日をとるが、曜日は不定となる。しかし、多くあるケースとして、事業者側が労働者に1週1日の取り決めを口頭で通達するだけで、実際は業務量が多く慢性的な人手不足に陥っている事業所では、法定休日設定の管理がなおざりとなり、なし崩しに法定休日なしで労働運用がなされていることもある。 On the other hand, the form in which there is one legal holiday per week is adopted in the case of shift work, etc., and one legal holiday is always taken per week, but the days of the week are not fixed. However, as there are many cases where the business side just verbally informs the workers of the arrangement of one day a week, in reality, the business office where the workload is large and is suffering from chronic labor shortages, management of setting legal holidays is neglected, and labor is sometimes operated without legal holidays.

そこで、図30のS9201で法定休日種別として1週1日が選択されている場合は、本実施形態では次のような処理を採用している。すなわち、S9210に進み、作成カレンダデータ55fにおいて、同週内(つまり、処理中の日付が含まれる週番号の週内)の別の日に休日と判別されている日付があるか否かを調べる。休日があると判断された場合は、1週1日の法定休日設定が守られていると判断してS9204に進み、以下は上述と同様の処理となる。この時、処理中の日付が所定出勤日であれば、同じ週に存在する前記休日が1日のみの場合は、その日付は法定休日として設定できる。他方、2日以上休日が存在する場合は、1日のみを法定休日とし、他を所定休日として設定できる。いずれの場合も、処理中の日付についての労働時間計算は、その日付属性によらずS9204以下の流れで問題なく実行することができる。 Therefore, when one day a week is selected as the legal holiday type in S9201 of FIG. 30, the following processing is adopted in this embodiment. In other words, proceeding to S9210, it is checked whether or not there is a date determined as a holiday on another day within the same week (that is, within the week of the week number including the date being processed) in the created calendar data 55f. . If it is determined that there is a holiday, it is determined that the legal holiday setting of one day a week is being observed, the process proceeds to S9204, and the subsequent processing is the same as described above. At this time, if the date being processed is a predetermined working day, and if there is only one holiday in the same week, that date can be set as a legal holiday. On the other hand, if there are two or more days off, only one day can be set as a statutory holiday and the other days can be set as predetermined holidays. In either case, the working hours calculation for the date being processed can be executed without any problem in the flow from S9204 onwards regardless of the date attribute.

他方、S9210において、同週内の別の日に、休日と判別されている日付が存在しないと判断された場合はS9211に進む。この場合、処理中の日付が休日であれば、週内の残余の日は休日でないことを意味するから、処理中の日付は1週1日の法定休日であると判別できる。他方、所定出勤日であれば、その週内には休日が存在せず、法定休日が1週1日の設定に反する就業運用となっていることを意味する。そこで、S9211では、現在処理中の日付の曜日を確認する。当該曜日が所属別項目リストデータ55e2にて基本法定休日として選択されている曜日と一致していた場合は、当該日付の日付属性は法定休日であるからS9212に進み、S9203と同様に、その日付の総労働時間TWHを休日出勤時間HWHにセットし、他種別の労働時間は全てゼロにセットする。一方、S9211で上記以外の曜日であった場合は、当該日付の日付属性は所定出勤日であり、S9204に進んで以下同様の処理となる。 On the other hand, if it is determined in S9210 that there is no date determined to be a holiday on another day within the same week, the process advances to S9211. In this case, if the date being processed is a holiday, it means that the remaining days within the week are not holidays, so it can be determined that the date being processed is one legal holiday per week. On the other hand, if it is a prescribed working day, it means that there is no holiday in that week, and that the work operation is contrary to the setting of one legal holiday per week. Therefore, in S9211, the day of the week of the date currently being processed is confirmed. If the day of the week matches the day of the week selected as a basic legal holiday in the affiliation item list data 55e2, the date attribute of the date is a legal holiday. set the total working hours TWH for the holiday working hours HWH, and set all other types of working hours to zero. On the other hand, if it is a day of the week other than the above in S9211, the date attribute of the date is a predetermined working day, and the process advances to S9204 to perform the same processing thereafter.

図31は提出カレンダデータを使用する場合の処理(S93)の詳細を示すものである。S9301では所属別項目リストデータ55e2を参照し、法定休日種別の選択状態を判別し、4週4日が選択されている場合はS9202に進む。該S9302からS9309に至る処理は、図30のS9202からS9209に至る処理と同一であるので、詳細な説明は略する。 FIG. 31 shows the details of the processing (S93) when using submission calendar data. In S9301, the affiliation item list data 55e2 is referred to determine the selection state of the legal holiday type. Since the processing from S9302 to S9309 is the same as the processing from S9202 to S9209 in FIG. 30, detailed description thereof will be omitted.

S9301に戻り、S9301で法定休日種別の選択状態が曜日固定又は1週1日が選択されている場合はS9310に進み、提出されたカレンダデータにおいて、同週内(つまり、処理中の日付が含まれる週番号の週内)の別の日に休日と判別される日付があるか否かを調べる。S9310でyesの場合、つまり、処理中の日付が含まれる週内の別の日に休日があると判断された場合は、曜日固定又は1週1日の法定休日設定が守られていると判断してS9304に進み、以下は上述と同様の処理となる。他方、S9310でnoの場合、つまり、同週内の別の日に休日が存在しない場合はS9311に進み、提出カレンダデータにおいてその週内に、法定休日として日付属性が定められた日付があるか否かを確認する。S9311にて法定休日が存在しない場合は、提出カレンダデータが日固定又は1週1日の法定休日設定に反して作成されていると判断し、S9312に進み、提出カレンダデータに対しその週のどれかの日を法定休日に差し替える処理を行なうか、または該差し替え処理を促す表示等の出力を行なう。他方、S9311にて法定休日が存在する場合はS9302に進み、以下上記と同様の処理を行なう。
以上で、日総労働時間振分処理の説明を終わる。
Returning to S9301, if the legal holiday type selection status is fixed to the day of the week or one day a week is selected in S9301, the process proceeds to S9310, and if the submitted calendar data contains the same week (that is, the date being processed is included) check whether there is a date that is determined to be a holiday on another day (within the week of the specified week number). If yes in S9310, that is, if it is determined that there is a holiday on another day within the week that includes the date being processed, it is determined that the fixed day of the week or the legal holiday setting of one day per week is observed. Then, the process advances to S9304, and the following processes are the same as those described above. On the other hand, if no in S9310, that is, if there is no holiday on another day within the same week, proceed to S9311 to see if there is a date for which the date attribute is defined as a legal holiday in the submission calendar data within that week. confirm whether or not If there is no legal holiday in S9311, it is determined that the submission calendar data has been created contrary to the fixed day or one day per week legal holiday setting, and the flow advances to S9312 to determine which week for the submission calendar data. Either a process for replacing the day with a legal holiday is performed, or a display or the like prompting the replacement process is output. On the other hand, if there is a legal holiday in S9311, the process advances to S9302 to perform the same processing as above.
This is the end of the explanation of the daily total working hours apportioning process.

図32は、週労働時間積算・振分処理(S10)の詳細を示すものである。S1001では、労働時間計算集計データ55g(図15)において、週ごとに、日総労働時間TWH、日所定労働時間DWH、日法定内残業時間SOH、日法定外残業時間NSO、日不足労働時間QWH、日深夜勤務時間NWH、日休日出勤時間HWH及び有給日数PHNの合計値をそれぞれ算出する(週総労働時間算出部の機能が実現されている)。以下、各パラメータは週ごとの集計値となり、便宜的に符号に「’」を付与して区別する。 FIG. 32 shows the details of the weekly working hours integration/distribution process (S10). In S1001, in the working hours calculation total data 55g (Fig. 15), for each week, the daily total working hours TWH, the daily prescribed working hours DWH, the daily statutory overtime hours SOH, the daily non-statutory overtime hours NSO, and the daily insufficient working hours QWH , day and night working hours NWH, working hours on Sundays and holidays HWH, and paid days PHN (the function of the total weekly working hours calculating section is realized). In the following, each parameter is a total value for each week, and for the sake of convenience, it is distinguished by adding a "'" to the sign.

S1002では週不足労働時間QWH’についてQWH’>0であるか否かを判別する。S1002でyesの場合はS1003に進み、週不足労働時間QWH’と週法定内残業時間SOH’との相殺判断を行なう。具体的には、SOH’≦QWH’のときS1004に進み、週法定内残業時間SOHを0とする一方、週不足労働時間QWH’についてはSOH’との相殺により、その値をQWH’-SOH’により置き換える。他方、SOH’>QWH’のときS1005に進み、週不足労働時間QWH’を0とする一方、週法定内残業時間SOH’についてはQWH’との相殺により、その値をSOH’-QWH’により置き換える。なお、S1002でnoの場合はS1002~S1005をスキップする。 In S1002, it is determined whether or not QWH'>0 for the weekly short working hours QWH'. If YES in S1002, the process proceeds to S1003 to determine whether the weekly working hours shortfall QWH' and the weekly statutory overtime hours SOH' are offset. Specifically, when SOH'≤QWH', the process advances to S1004, where the legal weekly overtime hours SOH is set to 0, while the weekly working hours shortfall QWH' is offset with SOH', and the value is set to QWH'-SOH. '. On the other hand, when SOH'>QWH', the process proceeds to S1005, where the weekly statutory overtime hours QWH' are set to 0, while the weekly statutory overtime hours SOH' are offset with QWH', and the value is calculated by SOH'-QWH'. replace. Note that if S1002 is no, S1002 to S1005 are skipped.

次に、S1006では、採用されている労働時間制が月単位の変形労働時間制か否かを判別する。S1006でnoの場合はS1007に進み、週予定所定労働時間DWH’+週法定内残業時間SOH’の値を週固有法定労働時間SWH’と比較する。S1007でDWH’+SOH’≦SWH’の場合はS1008に進み、労働時間計算集計データ55g(図15)において、週予定所定労働時間DWH’の値として週総労働時間TWH’をセットし、週不足労働時間QWH’として週固有法定労働時間SWH’-週予定所定労働時間DWH’の値をセットする。 Next, in S1006, it is determined whether or not the employed working hours system is the monthly modified working hours system. If no in S1006, the process advances to S1007 to compare the value of weekly scheduled prescribed working hours DWH'+weekly statutory overtime hours SOH' with weekly peculiar legal working hours SWH'. If DWH'+SOH'≤SWH' in S1007, the process advances to S1008 to set the weekly total working hours TWH' as the value of the weekly scheduled prescribed working hours DWH' in the working hours calculation total data 55g (FIG. 15), and the weekly shortage is determined. The working hours QWH' is set to the value of (weekly specific statutory working hours SWH' - weekly scheduled prescribed working hours DWH').

S1007でDWH’+SOH’>SWH’の場合はS1009に進み、週予定所定労働時間DWH’の値を週固有法定労働時間SWH’と比較する。S1009においてDWH’≦SWH’の場合はS1010に進み、労働時間計算集計データ55g(図15)において、週法定内残業時間SOH’の値として週固有法定労働時間SWH’-週予定所定労働時間DWH’をセットする。また、週法定外残業時間NSO’の値として、週累積日法定外残業時間NSO(日法定外残業時間NSOの週合計値)に、週予定所定労働時間DWH’+週法定内残業時間SOH’-週固有法定労働時間SWH’の値を加算したものをセットする。 If DWH'+SOH'>SWH' in S1007, the process advances to S1009 to compare the value of the weekly scheduled prescribed working hours DWH' with the weekly specific statutory working hours SWH'. If DWH'≤SWH' in S1009, the process proceeds to S1010, and in the working hour calculation summary data 55g (FIG. 15), the value of the weekly legal overtime hours SOH' is the value of the weekly legal working hours SWH'-the weekly scheduled prescribed working hours DWH. ' is set. In addition, as the value of the weekly overtime hours NSO', the weekly cumulative daily overtime hours NSO * (weekly total value of the daily overtime hours NSO) is added to the scheduled weekly working hours DWH' + the weekly legal overtime hours SOH '-Weekly statutory working hours SWH' value is added.

また、S1009においてDWH’>SWH’の場合はS1011に進み、労働時間計算集計データ55g(図15)において、週法定内残業時間SOH’の値はゼロをセットする。また、週法定外残業時間NSO’の値として、週累積日法定外残業時間NSO(日法定外残業時間NSOの週合計値)に、週予定所定労働時間DWH’+週法定内残業時間SOH’-週固有法定労働時間SWH’の値を加算したものをセットする。なお、S1006においてyesの場合、つまり、採用されている労働時間制が月単位の変形労働時間制であった場合は、S1006~S1011をスキップする。 If DWH'>SWH' in S1009, the process advances to S1011 to set the value of the weekly legal overtime hours SOH' to zero in the working hours calculation summary data 55g (FIG. 15). In addition, as the value of the weekly overtime hours NSO', the weekly cumulative daily overtime hours NSO * (weekly total value of the daily overtime hours NSO) is added to the scheduled weekly working hours DWH' + the weekly legal overtime hours SOH '-Weekly statutory working hours SWH' value is added. It should be noted that if the determination in S1006 is yes, that is, if the employed working hours system is the monthly modified working hours system, S1006 to S1011 are skipped.

図33は、月労働時間積算・振分処理(S11)の詳細を示すものである。S1101では、労働時間計算集計データ55g(図15)において、月ごとに、週総労働時間TWH’、日所定労働時間DWH’、日法定内残業時間SOH’、日法定外残業時間NSO’、日不足労働時間QWH’、日深夜勤務時間NWH’、日休日出勤時間HWH’及び有給日数PHN’の合計値をそれぞれ算出する。以下、各パラメータは月ごとの集計値となり、便宜的に符号に「”」を付与して区別する。 FIG. 33 shows the details of the monthly working hours integration/distribution process (S11). In S1101, the total weekly working hours TWH', daily prescribed working hours DWH', daily statutory overtime hours SOH', daily non-statutory overtime hours NSO', day The total value of the insufficient working hours QWH', the day and night working hours NWH', the working hours on Sundays and holidays HWH', and the number of paid days PHN' is calculated. In the following, each parameter is a total value for each month, and is distinguished by adding "" to the sign for convenience.

S1102では月不足労働時間QWH”についてQWH”>0であるか否かを判別する。S1102でyesの場合はS1103に進み、月不足労働時間QWH”と月法定内残業時間SOHとの相殺判断を行なう。具体的には、SOH”≦QWH”のときS1104に進み、月法定内残業時間SOH”を0とする一方、月不足労働時間QWH”についてはSOH”との相殺により、その値をQWH”-SOH”により置き換える。他方、SOH”>QWH”のときS1105に進み、月不足労働時間QWH”を0とする一方、月法定内残業時間SOH”についてはQWH”との相殺により、その値をSOH”-QWH”により置き換える。なお、S1102でnoの場合はS1102~S1105をスキップする。 In S1102, it is determined whether or not QWH''>0 for the monthly insufficient working hours QWH''. If yes in S1102, proceed to S1103 to determine whether the monthly statutory overtime hours SOH are offset by the monthly insufficient working hours QWH''. While the time SOH" is set to 0, the monthly insufficient working hours QWH" are offset with SOH" and replaced with QWH"-SOH". On the other hand, when SOH">QWH", the process proceeds to S1105, and the monthly statutory overtime hours QWH" is set to 0, while the monthly statutory overtime hours SOH" is offset with QWH", and its value is set to SOH"-QWH". If S1102 is NO, S1102 to S1105 are skipped.

次に、S1106では、採用されている労働時間制が月単位の変形労働時間制か否かを判別する。S1106でyesの場合はS1107に進み、月予定所定労働時間DWH”+月法定内残業時間SOH”の値を月固有法定労働時間SWH”と比較する。S1107でDWH”+SOH”≦SWH”の場合はS1108に進み、労働時間計算集計データ55g(図15)において、月予定所定労働時間DWH”の値として月総労働時間TWH”をセットし、月不足労働時間QWH”として月固有法定労働時間SWH”-月予定所定労働時間DWH”の値をセットする。 Next, in S1106, it is determined whether or not the employed working hours system is the monthly modified working hours system. If yes in S1106, proceed to S1107 to compare the value of monthly scheduled prescribed working hours DWH"+monthly statutory overtime hours SOH" with monthly specific legal working hours SWH". If DWH"+SOH"≦SWH" in S1107 advances to S1108, in the working hours calculation summary data 55g (Fig. 15), sets monthly total working hours TWH" as the value of monthly scheduled prescribed working hours DWH", and sets monthly specific statutory working hours SWH" as monthly insufficient working hours QWH" Set the value of "-month scheduled predetermined working hours DWH".

S1107でDWH”+SOH”>SWH”の場合はS1109に進み、月予定所定労働時間DWH”の値を月固有法定労働時間SWH”と比較する。S1109においてDWH”≦SWH”の場合はS1110に進み、労働時間計算集計データ55g(図15)において、月法定内残業時間SOH”の値として月固有法定労働時間SWH”-月予定所定労働時間DWH”をセットする。また、月法定外残業時間NSO”の値として、月累積日法定外残業時間NSO**(日法定外残業時間NSOの月合計値)に、月予定所定労働時間DWH”+月法定内残業時間SOH”-月固有法定労働時間SWH”の値を加算したものをセットする。 If DWH"+SOH">SWH" in S1107, proceed to S1109, and compare the value of the monthly scheduled prescribed working hours DWH" with the monthly statutory working hours SWH". If DWH"≤SWH" in S1109, proceed to S1110. , in the working hours calculation summary data 55g (FIG. 15), set monthly statutory working hours SWH"-monthly scheduled prescribed working hours DWH" as the value of monthly statutory overtime hours SOH". In addition, as the value of the monthly legal overtime hours NSO, the monthly cumulative daily overtime hours NSO ** (monthly total value of the daily legal overtime hours NSO) is added to the monthly scheduled working hours DWH” + the monthly legal overtime hours SOH"-month-specific statutory working hours SWH" is added and set.

また、S1109においてDWH”>SWH”の場合はS1111に進み、労働時間計算集計データ55g(図15)において、月法定内残業時間SOH”の値はゼロをセットする。また、月法定外残業時間NSO”の値として、月累積日法定外残業時間NSO(日法定外残業時間NSOの月合計値)に、月予定所定労働時間DWH”+月法定内残業時間SOH”-月固有法定労働時間SWH”の値を加算したものをセットする。なお、S1106においてnoの場合、つまり、採用されている労働時間制が月単位の変形労働時間制以外のものであった場合は、S1106~S1111をスキップする。 If DWH">SWH" in S1109, the process advances to S1111 to set the value of monthly statutory overtime hours SOH" to zero in the working hours calculation summary data 55g (FIG. 15). As the value of NSO", the monthly accumulated daily non-statutory overtime hours NSO * (monthly total value of daily non-statutory overtime hours NSO) is added to the monthly scheduled prescribed working hours DWH" + monthly legal overtime hours SOH" - month-specific legal working hours SWH" value is added. If the answer is no in S1106, that is, if the employed working hours system is other than the monthly variable working hours system, S1106 to S1111 are set. skip.

そして、S1103では、月法定外残業時間NSO”の値が60時間を超えていないかを判別する。超えている場合はS1104に進み、60時間超過残業時間をNSO”-60にて算出し、労働時間計算集計データ55g(図15)にセットする。また、超えていない場合はS1104をスキップする。 Then, in S1103, it is determined whether or not the value of the monthly non-statutory overtime hours NSO'' exceeds 60 hours. It is set in the working hour calculation summary data 55g (Fig. 15). If not, S1104 is skipped.

労働時間計算集計データ55gの各項目の労働時間計算値は、一般的な給与計算ソフトウェアにおいても使用されるものであり、上記のごとく、主ソフトウェア55dにより労働基準法の規定に適合する形で算出・集計がなされる。該労働時間計算集計データ55gは、例えばCSVファイル生成モジュール55d4(図2)によりCSVファイルに変換され、インターネット6を経由して労務管理サーバ5に転送できる(この場合、例えばブロードバンドルータ60が集計済残業時間出力部の機能を担うと考えることができる)。労務管理サーバ5ではCSVファイルに変換された労働時間計算集計データ55gを受け取り、給与計算ソフトウェア5aにより、各項目(種別)の労働時間の計算値について、予め定められた時間当たりの賃金単価を乗じて合計され、さらに不足労働時間に基づく賃金控除などの処理を経て各労働者の給与計算がなされる。その計算結果は、労務管理サーバ5からインターネット6を経由して各ユーザ端末2にダウンロードされ、所定のフォーマットにて図2のモニタ56あるいはプリンタ58から出力が可能である。労働時間算出結果を用いた給与計算ソフトウェア5aでの計算処理の内容は周知であり、詳細な説明は略する。 The working hours calculation value of each item of the working hours calculation summary data 55g is also used in general salary calculation software, and as described above, the main software 55d calculates in a manner conforming to the provisions of the Labor Standards Act. - Aggregation is done. The working hours calculation aggregated data 55g can be converted into a CSV file, for example, by the CSV file generation module 55d4 (FIG. 2), and transferred to the labor management server 5 via the Internet 6 (in this case, for example, the broadband router 60 can It can be considered that it takes over the function of the overtime hours output unit). The labor management server 5 receives the total working hours calculation data 55g converted to the CSV file, and multiplies the calculated value of the working hours for each item (type) by a predetermined unit wage per hour using the payroll calculation software 5a. In addition, the wages of each worker are calculated after deduction of wages based on the working hours shortage. The calculation result is downloaded from the labor management server 5 to each user terminal 2 via the Internet 6, and can be output from the monitor 56 or the printer 58 in FIG. 2 in a predetermined format. The contents of the calculation processing by the payroll calculation software 5a using the working hours calculation result are well known, and detailed description thereof will be omitted.

また、主ソフトウェア55dとともに給与計算ソフトウェア5aをユーザ端末2にインストールしておけば、ユーザ端末2内にて本発明の給与計算システムの機能を完備させることが可能である。同様に、労務管理サーバ5に給与計算ソフトウェア5aとともに主ソフトウェア55dをインストールしておけば、本発明の給与計算システムの機能を労務管理サーバ5内にて完備させることが可能である。後者の場合は、各ユーザ端末2から労務管理サーバ5にログインする形で本発明の給与計算システムの機能を利用することができる。 Also, if the payroll calculation software 5a is installed in the user terminal 2 together with the main software 55d, it is possible to complete the functions of the payroll calculation system of the present invention within the user terminal 2. FIG. Similarly, if the main software 55d is installed in the labor management server 5 along with the payroll calculation software 5a, the functions of the payroll calculation system of the present invention can be completed within the labor management server 5. FIG. In the latter case, the functions of the payroll accounting system of the present invention can be used by logging into the labor management server 5 from each user terminal 2 .

1 給与計算システム
2 ユーザ端末(労働時間計算システム)
3 配信サーバ
5 労務管理サーバ
5a 給与計算ソフトウェア
50B バス
51 CPU
52 RAM
53 ROM
54 入出力部
55 大容量記憶装置
55a オペレーティングシステム(OS)ソフトウェア
55b 通信ソフトウェア
55c インターネットブラウザ
55d 主ソフトウェア
55d1 データ入力モジュール
55d2 カレンダ作成モジュール
55d3 労働時間計算モジュール
55d4 CSVファイル生成モジュール
55e 元データ
55e0 カルテデータ
55e1 共通項目リストデータ
55e2 所属別項目リストデータ
55e3 社員マスタデータ
55e4 提出カレンダデータ
55e5 休暇申請データ
55e6 早出・遅刻申請データ
55e7 宿直申請データ
55e8 出退勤打刻データ
55f 作成カレンダデータ
55g 労働時間計算集計データ
56 モニタ
57 入力部
58 プリンタ
59 USBメモリ装着部
59m USBメモリ
60 ブロードバンドルータ
1 Payroll calculation system 2 User terminal (working hours calculation system)
3 distribution server 5 labor management server 5a salary calculation software 50B bus 51 CPU
52 RAMs
53 ROMs
54 Input/output unit 55 Mass storage device 55a Operating system (OS) software 55b Communication software 55c Internet browser 55d Main software 55d1 Data input module 55d2 Calendar creation module 55d3 Working hours calculation module 55d4 CSV file generation module 55e Original data 55e0 Chart data 55e1 Common item list data 55e2 Affiliation item list data 55e3 Employee master data 55e4 Submission calendar data 55e5 Leave application data 55e6 Early arrival/late arrival application data 55e7 Night duty application data 55e8 Attendance/leaving stamp data 55f Created calendar data 55g Working hours calculation summary data 56 Monitor 57 Input unit 58 Printer 59 USB memory loading unit 59m USB memory 60 Broadband router

Claims (19)

各労働者の各日付の出退時刻を記録した出退時刻データを取得する出退時刻データ取得部と、
前記各労働者について設定されるべき労働時間制を、一般労働時間制及び変形労働時間制のいずれかに選択的に入力設定する労働時間制入力設定部と、
前記各労働者の所定出勤日に設定するべき日予定所定労働時間を入力する日予定所定労働時間入力部と、
前記出退時刻データに基づいて、前記各労働者の前記各日付の総労働時間を日総労働時間として計算する日総労働時間計算部と、
前記各労働者について前記各日付にかかる日付属性を、計算された前記日総労働時間が所定値未満となる日付については休日と判別し、前記日総労働時間が所定値を超える日付については所定出勤日と判別する日付属性判別部と、前記日付属性が所定出勤日と判別された日付については、前記日総労働時間を、入力された前記日予定所定労働時間及び前記労働時間制の種別に応じて用意された日固有法定労働時間の少なくともいずれかと比較するとともに、その比較結果に基づいて当該日付に割り振るべき日所定労働時間を決定する一方、前記日付属性が休日と判別された日付については前記日所定労働時間をゼロとして決定する日所定労働時間決定部とを備え、前記各労働者について、前記日付と、当該日付に対して判別された前記日付属性と、前記日所定労働時間とが互いに対応付けられた労働時間カレンダを作成する労働時間カレンダ作成部と、
作成された前記労働時間カレンダを記憶する労働時間カレンダ記憶部と、
前記各労働者の前記各日付の前記日所定労働時間を前記労働時間カレンダ上にて読み取り、前記各日付について前記日総労働時間と前記日予定所定労働時間と前記日固有法定労働時間とを比較することにより、前記各日付の日残業時間を、法定内残業時間と法定外残業時間とに区分して算出する残業時間算出部と、
前記各労働者の前記各日付の前記日残業時間を予め定められた集計対象期間について集計することにより集計済残業時間を算出する残業時間集計部と、
前記集計済残業時間を前記各労働者の特定情報と対応付けて記憶する集計済残業時間記憶部と、
前記集計済残業時間記憶部に記憶された前記集計済残業時間を出力する集計済残業時間出力部と、
を備えたことを特徴とする労働時間計算システム。
an arrival/departure time data acquisition unit that acquires arrival/departure time data recording the arrival/departure time of each worker on each date;
a working hours system input setting unit that selectively inputs and sets the working hours system to be set for each worker to either the general working hours system or the modified working hours system;
a daily scheduled working hours input unit for inputting the daily scheduled scheduled working hours to be set for each worker on the scheduled working day;
a total daily working hours calculation unit that calculates the total working hours of each of the workers on each of the dates as the total daily working hours based on the arrival and departure time data;
For each worker, the date attribute for each date is determined to be a holiday for the date when the calculated total daily working time is less than a predetermined value, and a predetermined value for the date when the total daily working time exceeds a predetermined value. A date attribute discriminating unit that discriminates a working day, and for a date whose date attribute is discriminated as a prescribed working day, the total working hours per day are determined according to the input scheduled prescribed working hours for the day and the type of working hour system. While comparing with at least one of the day-specific statutory working hours prepared accordingly, and determining the daily prescribed working hours to be allocated to the date based on the comparison result, for the date whose date attribute is determined to be a holiday a daily scheduled working hours determination unit that determines the daily scheduled working hours as zero, wherein for each of the workers, the date, the date attribute determined for the date, and the daily scheduled working hours are determined; a working hour calendar creation unit that creates a working hour calendar associated with each other;
a working hour calendar storage unit that stores the created working hour calendar;
Read the prescribed daily working hours of each worker on each of the dates on the working hours calendar, and compare the total working hours for the day, the scheduled prescribed working hours for the day, and the statutory working hours specific to the day for each of the dates. an overtime hours calculation unit that divides and calculates the daily overtime hours of each date into statutory overtime hours and non-statutory overtime hours;
an overtime hours totaling unit that calculates totaled overtime hours by totaling the daily overtime hours of each of the workers on each of the dates for a predetermined totaling target period;
an aggregated overtime hours storage unit that stores the aggregated overtime hours in association with the specific information of each worker;
an aggregated overtime hours output unit that outputs the aggregated overtime hours stored in the aggregated overtime hours storage unit;
A working hour calculation system comprising:
前記労働時間カレンダ作成部は、前記各労働者の前記各日付について、前記日総労働時間の値と前記労働時間制の設定種別に応じ、各日付固有の日法定労働時間である前記日固有法定労働時間を決定する日固有法定労働時間決定部を備え、前記日付、前記日付属性及び前記日所定労働時間と前記日固有法定労働時間とを対応付けて前記労働時間カレンダを作成するものであり、
前記残業時間算出部は、前記労働時間カレンダを参照することにより、前記各日付の法定外残業時間を、対応する前記日固有法定労働時間を用いて算出するものである請求項1記載の労働時間計算システム。
The working hour calendar creation unit calculates, for each date of each worker, according to the value of the total daily working hours and the setting type of the working hour system, the day-specific statutory working hours, which is the statutory working hours specific to each date. a day-specific statutory working hours determination unit that determines working hours, and creates the working hours calendar by associating the date, the date attribute, the daily prescribed working hours with the day-specific statutory working hours,
2. The working hours according to claim 1, wherein the overtime hours calculating unit calculates the non-statutory overtime hours on each of the dates by referring to the working hours calendar, using the corresponding day-specific legal working hours. calculation system.
前記労働時間カレンダ作成部は、前記日付と、当該日付に対して判別された前記日付属性と、前記日所定労働時間の計算結果とを互いに対応付けた日労働時間カレンダと、前記日労働時間カレンダを週に区切り、区切られた個々の週に週特定情報を付与した週労働時間カレンダとを前記労働時間カレンダとして作成するものであり、
各週について前記日総労働時間を集計することにより週総労働時間を算出する週総労働時間算出部が設けられ、
前記残業時間算出部は、前記各週について各日の法定外残業時間の合計である週累積日法定外残業時間を算出する一方、前記週総労働時間を予め定められた週固有法定労働時間と比較し、その比較結果において前記週固有法定労働時間を超過する週超過労働時間が生ずる場合に、該週超過労働時間を、前記週累積日法定外残業時間に加算することにより週総法定外残業時間を算出する週総法定外残業時間算出部を備える請求項2に記載の労働時間計算システム。
The working hour calendar creation unit creates a daily working hour calendar in which the date, the date attribute determined for the date, and the calculation result of the daily prescribed working hours are associated with each other, and the daily working hour calendar. is divided into weeks, and a weekly working hours calendar in which week specific information is added to each divided week is created as the working hours calendar,
A total weekly working hours calculation unit is provided for calculating the total weekly working hours by totaling the total daily working hours for each week,
The overtime hours calculation unit calculates the weekly cumulative daily overtime hours that are the sum of the non-stipulated overtime hours of each day for each week, and compares the total weekly working hours with a predetermined weekly specific statutory working hours. If, as a result of the comparison, there are weekly overtime hours that exceed the aforementioned weekly statutory working hours, the weekly overtime hours are added to the above-mentioned weekly accumulated daily overtime hours to obtain the total weekly overtime hours. 3. The working hour calculation system according to claim 2, further comprising a weekly total non-statutory overtime hours calculation unit that calculates the total weekly overtime hours.
前記労働時間カレンダ作成部は、前記各週について、前記労働時間制の設定種別に応じ、各週固有の週法定労働時間である週固有法定労働時間を決定する週固有法定労働時間決定部を備え、前記週特定情報と前記週固有法定労働時間とを対応付けて週労働時間カレンダを作成するものであり、
前記残業時間算出部は、前記週労働時間カレンダを参照することにより、前記週超過労働時間を、前記週総労働時間と前記週固有法定労働時間との差分として決定するものである請求項3記載の労働時間計算システム。
The working hour calendar creating unit comprises a weekly statutory working hours determining unit that determines the statutory working hours peculiar to each week according to the setting type of the working hour system for each week, A weekly working hours calendar is created by associating the weekly specific information with the statutory working hours peculiar to the week,
4. The overtime hours calculating unit determines the weekly overtime hours as a difference between the total weekly working hours and the peculiar weekly statutory working hours by referring to the weekly working hours calendar. working hours calculation system.
前記労働時間制として一般労働時間制が入力設定されている場合において、
前記日所定労働時間決定部は、前記日総労働時間が8時間未満の日付については前記日所定労働時間を前記日総労働時間と等しく設定する一方、前記日総労働時間が8時間を超える日付については前記日所定労働時間を8時間に設定するものであり、
前記日固有法定労働時間決定部は、前記各日付の前記日固有法定労働時間を一律に8時間として決定するものであり、
前記週固有法定労働時間決定部は、前記各週の前記週固有法定労働時間を一律に40時間として決定するものである請求項4記載の労働時間計算システム。
When the general working hours system is input and set as the working hours system,
The predetermined daily working hours determining unit sets the predetermined daily working hours to be equal to the total daily working hours for dates on which the total daily working hours are less than 8 hours, and sets the predetermined daily working hours to be equal to the total daily working hours for dates on which the total daily working hours exceed 8 hours. Regarding, the prescribed daily working hours are set to 8 hours,
The day-specific statutory working hours determination unit uniformly determines the day-specific statutory working hours for each date as 8 hours,
5. The working hours calculation system according to claim 4, wherein the weekly specific legal working hours determining unit uniformly determines the weekly specific legal working hours for each week as 40 hours.
前記労働時間制入力設定部は前記変形労働時間制として週単位の変形労働時間制が入力設定可能とされ、該週単位の変形労働時間制が入力設定されている場合において、
前記日所定労働時間決定部は、前記日総労働時間の値によらず前記各日付の前記日所定労働時間を前記日総労働時間と等しく設定するものであり、
前記週固有法定労働時間決定部は、前記各週の前記週固有法定労働時間を一律に40時間として決定する請求項4又は請求項5に記載の労働時間計算システム。
The working hours system input setting unit can input and set a weekly modified working hours system as the modified working hours system, and when the modified weekly working hours system is input and set,
The predetermined daily working hours determination unit sets the predetermined daily working hours on each of the dates to be equal to the total daily working hours regardless of the value of the total daily working hours,
6. The working hours calculation system according to claim 4, wherein the weekly specific legal working hours determining unit uniformly determines the weekly specific legal working hours for each week as 40 hours.
前記週単位の変形労働時間制が入力設定されている場合において、前記日固有法定労働時間決定部は、前記日総労働時間が8時間を超える日付については前記日固有法定労働時間を前記日総労働時間と等しい値に決定するものであり、前記日総労働時間が8時間未満の日付については前記日固有法定労働時間を8時間に決定するものである請求項6記載の労働時間計算システム。 In the case where the weekly variable working hours system is input and set, the day-specific statutory working hours determination unit determines the day-specific statutory working hours on dates where the total daily working hours exceed 8 hours. 7. The working hours calculation system according to claim 6, wherein the working hours are determined to be equal to the working hours, and on dates when the total working hours per day are less than 8 hours, the day-specific statutory working hours are determined to be 8 hours. 前記労働時間制入力設定部は前記変形労働時間制として月単位の変形労働時間制が入力設定可能とされ、
前記労働時間カレンダ作成部は、前記月単位の変形労働時間制が入力設定されている場合に、前記日労働時間カレンダを月に区切るとともに区切られた個々の月に対し、各月の日数に応じた各月固有の月法定労働時間である月固有法定労働時間を決定する月固有法定労働時間決定部を備え、
前記日所定労働時間決定部は、前記日総労働時間の値によらず前記各日付の前記日所定労働時間を前記日総労働時間と等しく設定するものであり、
前記週固有法定労働時間決定部は、前記各週に対する前記週固有法定労働時間の制限を設けないものとされ、
前記残業時間算出部は、前記各月についての総労働時間の合計である月総労働時間を算出するとともに、該月総労働時間を前記月固有法定労働時間と比較し、その比較結果において前記月固有法定労働時間を超過する月超過労働時間が生ずる場合に、該月超過労働時間を月総法定外残業時間として算出する月総法定外残業時間算出部を備える請求項4ないし請求項7のいずれか1項に記載の労働時間計算システム。
The working hours system input setting unit is capable of inputting and setting a monthly modified working hours system as the modified working hours system,
The working hour calendar creation unit divides the daily working hour calendar into months and, for each divided month, according to the number of days in each month, when the monthly variable working hour system is input and set. a month-specific statutory working hours determination unit that determines the monthly statutory working hours that are the statutory working hours unique to each month;
The predetermined daily working hours determination unit sets the predetermined daily working hours on each of the dates to be equal to the total daily working hours regardless of the value of the total daily working hours,
The weekly statutory working hours determination unit shall not set a limit on the statutory weekly working hours for each week,
The overtime calculation unit calculates the total monthly working hours, which is the sum of the total working hours for each month, and compares the total working hours for the month with the legal working hours specific to the month. Any one of claims 4 to 7, comprising a monthly total non-statutory overtime hours calculation unit that calculates the monthly total non-statutory overtime hours as the monthly total non-statutory overtime hours when monthly overtime working hours that exceed inherent legal working hours occur. or the working hour calculation system according to item 1.
前記日総労働時間が8時間を超える日付については前記日固有法定労働時間を前記日総労働時間と等しい値に決定するものであり、前記日総労働時間が8時間未満の日付については前記日固有法定労働時間を8時間に決定するものである請求項8記載の労働時間計算システム。 On dates where said total daily working hours exceed 8 hours, said day-specific statutory working hours shall be determined to be equal to said total daily working hours, and on dates where said total daily working hours are less than 8 hours, said day 9. The working hours calculation system according to claim 8, wherein the inherent legal working hours are determined to be eight hours. 前記労働時間制入力設定部は前記変形労働時間制として年単位の変形労働時間制が入力設定可能とされ、該年単位の変形労働時間制が入力設定されている場合に、
前記日所定労働時間決定部は、前記日総労働時間が10時間未満となる日付については前記日所定労働時間を前記日総労働時間と等しくなるように決定する一方、前記日総労働時間が10時間を超える日付については前記日所定労働時間を10時間として決定するものであり、
前記週固有法定労働時間決定部は、前記日所定労働時間の合計が52時間を超える週について前記週固有法定労働時間を52時間として決定するものである請求項4ないし請求項9のいずれか1項に記載の労働時間計算システム。
The working hour system input setting unit is capable of inputting and setting a yearly variable working hours system as the variable working hours system, and when the yearly variable working hours system is input and set,
The predetermined daily working hours determination unit determines the predetermined daily working hours to be equal to the total daily working hours on dates when the total daily working hours are less than 10 hours. For dates that exceed the hours, the prescribed daily working hours are determined as 10 hours,
10. A method according to any one of claims 4 to 9, wherein said weekly specific statutory working hours determination unit determines said weekly peculiar legal working hours to be 52 hours for a week in which the total of said daily prescribed working hours exceeds 52 hours. Working hours calculation system as described in paragraph.
前記日固有法定労働時間決定部は、前記日総労働時間が10時間を超える日付については前記日固有法定労働時間を10時間として決定するものであり、前記日総労働時間が8時間を超え10時間未満となる日付については前記日固有法定労働時間を前記日総労働時間と等しく決定するものであり、前記日総労働時間が8時間未満となる日付については前記日固有法定労働時間を8時間として決定するものであり、
前記週固有法定労働時間決定部は、前記日所定労働時間の合計が40時間を超え52時間未満の週については前記週固有法定労働時間を前記週総労働時間と等しく決定するものであり、前記日所定労働時間の合計が40時間未満の週については前記週固有法定労働時間を40時間に決定するものである請求項10記載の労働時間計算システム。
The day-specific statutory working hours determination unit determines the day-specific statutory working hours as 10 hours on dates when the total daily working hours exceed 10 hours, On dates when the total working hours are less than 8 hours, the statutory working hours peculiar to the day shall be equal to the total working hours per day, and on dates when the total working hours per day are less than 8 hours, the statutory working hours peculiar to the day shall be 8 hours. is determined as
The weekly specific statutory working hours determining unit determines the peculiar weekly statutory working hours to be equal to the total weekly working hours for a week in which the total prescribed daily working hours exceeds 40 hours and is less than 52 hours, 11. The working hours calculation system according to claim 10, wherein for a week in which the total prescribed daily working hours is less than 40 hours, the week-specific statutory working hours are determined to be 40 hours.
前記各労働者についての法定休日設定条件を入力する法定休日設定条件入力部が設けられ、
前記労働時間カレンダ作成部の前記日付属性判別部は、入力された前記法定休日設定条件と前記日付属性が休日と判別された日付の出現形態とに基づいて、休日と判別された日付が法定休日であるか否かを判別する法定休日判別部を備え、
前記残業時間集計部は、前記法定休日と判別された日付に対する前記日総労働時間を休日出勤時間として別途集計するものである請求項1ないし請求項11のいずれか1項に記載の労働時間計算システム。
a statutory holiday setting condition input unit for inputting the statutory holiday setting condition for each worker;
The date attribute determination unit of the working hour calendar generation unit determines whether the date determined as a holiday is a legal holiday based on the input legal holiday setting condition and the appearance form of the date determined as a holiday in the date attribute. Equipped with a legal holiday discrimination unit that discriminates whether or not
12. The working hours calculation according to any one of claims 1 to 11, wherein the overtime hours totaling unit separately totals the total daily working hours for the dates determined as the legal holidays as holiday working hours. system.
前記法定休日設定条件入力部は、法定休日体系を曜日固定、曜日不定1週1日及び曜日不定4週4日のいずれかに選択的に入力設定する法定休日体系入力設定部と、入力設定された前記法定休日体系が曜日固定であった場合に、固定設定されるべき法定休日曜日を入力設定する法定休日曜日入力設定部とを有するものであり、
前記法定休日判別部は、選択された前記法定休日体系が曜日固定であった場合には、選択された前記法定休日曜日と曜日の合致する休日を前記法定休日として判別し、選択された前記法定休日体系が曜日不定1週1日であった場合には各週の休日のうち1日までを前記法定休日として判別し、選択された前記法定休日体系が曜日不定4週4日であった場合には前記各週を4週単位にて区分するとともに、区分された各4週にそれぞれ現れる休日のうち4日までを前記法定休日として判別するものである請求項12記載の労働時間計算システム。
The statutory holiday setting condition input unit is a statutory holiday system input setting unit for selectively inputting and setting the statutory holiday system to either a fixed day of the week, an unspecified day of the week 1 day a week, or an unspecified day of the week 4 weeks 4 days. and a legal holiday Sunday input setting unit for inputting and setting a legal holiday Sunday to be fixed when the legal holiday system is fixed on the day of the week,
When the selected legal holiday system is a fixed day of the week, the legal holiday determination unit determines a holiday that matches the selected legal holiday Sunday as the legal holiday, and determines the selected legal holiday. If the holiday system is one day per week with unspecified days of the week, up to one of the holidays in each week is determined as the legal holiday, and if the selected legal holiday system is four days per week with no fixed days of the week 13. The working hours calculation system according to claim 12, wherein each week is divided into four weeks, and up to four of the holidays appearing in each of the divided four weeks are determined as the legal holidays.
前記各労働者について届出された有給休暇日付を入力する有給休暇日付入力部が設けられ、
前記労働時間カレンダ作成部の前記日付属性判別部は、入力された前記有給休暇日付の前記日付属性を有給休暇として判別するものであり、
前記残業時間集計部は、前記有給休暇と判別された日付に対する前記日総労働時間を有給休暇時間として別途集計するものである請求項1ないし請求項13のいずれか1項に記載の労働時間計算システム。
A paid vacation date input unit is provided for entering the paid vacation date notified for each worker,
The date attribute discriminating unit of the working hour calendar creation unit discriminates the date attribute of the input paid vacation date as paid vacation,
14. The working hours calculation according to any one of claims 1 to 13, wherein the overtime hours totaling unit separately totals the total daily working hours for the dates determined as the paid holidays as paid vacation hours. system.
前記有給休暇日付入力部は、前記有給休暇時間の取得形態として午前のみ、午後のみ及び午前午後通しのいずれかのみが選択入力可能とされてなる請求項14記載の労働時間計算システム。 15. The working hours calculation system according to claim 14, wherein the paid vacation date input section allows selective input of only one of morning only, afternoon only, and all morning and afternoon as the form of acquisition of the paid vacation time. 前記各労働者について届出された振替休日情報を入力する振替休日情報入力部が設けられ、
前記労働時間カレンダ作成部は、入力された前記振替休日情報の内容に基づいて、対象となる日付にかかる前記日付属性を所定出勤日と休日との間で振り替える日付属性振替部を有する請求項1ないし請求項15のいずれか1項に記載の労働時間計算システム。
a substitute holiday information input unit for inputting substitute holiday information notified for each worker;
2. The working hour calendar creation unit has a date attribute transfer unit that transfers the date attribute of a target date between a predetermined working day and a holiday based on the content of the input substitute holiday information. The working time calculation system according to any one of claims 1 to 15.
請求項1ないし請求項16のいずれか1項に記載の労働時間計算システムを含み、前記労働時間計算システムが出力する前記集計済残業時間の情報に、予め定められた時間当たりの残業についての賃金単価を乗じて残業代の計算を行なうことを含むことを特徴とする給与計算システム。 17. The working hour calculation system according to any one of claims 1 to 16, wherein the information on the aggregated overtime hours output by the working hour calculation system includes a wage for overtime work per predetermined hour A salary calculation system characterized by including calculating overtime pay by multiplying a unit price . コンピュータを、請求項1ないし請求項16のいずれか1項に記載の労働時間計算システムの各機能実現部として機能させることを特徴とするコンピュータプログラム。 17. A computer program that causes a computer to function as each function implementation part of the working time calculation system according to any one of claims 1 to 16. コンピュータを、請求項17記載の給与計算システムの各機能実現部として機能させることを特徴とするコンピュータプログラム。 A computer program that causes a computer to function as each function implementation unit of the payroll accounting system according to claim 17.
JP2020080787A 2020-04-30 2020-04-30 Working time calculation system, payroll system and computer program Active JP7249650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020080787A JP7249650B2 (en) 2020-04-30 2020-04-30 Working time calculation system, payroll system and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020080787A JP7249650B2 (en) 2020-04-30 2020-04-30 Working time calculation system, payroll system and computer program

Publications (2)

Publication Number Publication Date
JP2021174476A JP2021174476A (en) 2021-11-01
JP7249650B2 true JP7249650B2 (en) 2023-03-31

Family

ID=78279729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020080787A Active JP7249650B2 (en) 2020-04-30 2020-04-30 Working time calculation system, payroll system and computer program

Country Status (1)

Country Link
JP (1) JP7249650B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267285A (en) 2004-03-18 2005-09-29 Toshiba Plant Systems & Services Corp Overtime hours calculation system and calculation method
JP2013134629A (en) 2011-12-26 2013-07-08 Chusyokigyo Support Center Program and system for computing overtime wages

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267285A (en) 2004-03-18 2005-09-29 Toshiba Plant Systems & Services Corp Overtime hours calculation system and calculation method
JP2013134629A (en) 2011-12-26 2013-07-08 Chusyokigyo Support Center Program and system for computing overtime wages

Also Published As

Publication number Publication date
JP2021174476A (en) 2021-11-01

Similar Documents

Publication Publication Date Title
US11900472B2 (en) Method and apparatus for managing revisions and tracking of insurance policy elements
US8412546B2 (en) Method and apparatus for tracking repair facility performance for repairs relating to replacement rental vehicle transactions
US6356875B1 (en) Integrated production tracking and pay rate calculation system
JP5032699B1 (en) Overtime wage calculation program and overtime wage calculation system
US20020174006A1 (en) Cash flow forecasting
US20080208656A1 (en) Vehicle managing method, vehicle managing apparatus and vehicle managing program
JP2015225550A (en) Attendance shift system and shift assignment server
US11961148B2 (en) System and method for managing and editing accounting periods
JP2006331060A (en) Cost factor management system
US20020038265A1 (en) System and method for management of pooled fungible items
JP7297817B2 (en) man hour system
US8473389B2 (en) Methods and systems of purchase contract price adjustment calculation tools
JP4762357B1 (en) Diagnostic system and diagnostic program
JP7249650B2 (en) Working time calculation system, payroll system and computer program
EP1677233A1 (en) Technique for mass data handling in a preference processing context
CN117035716A (en) Method, device, equipment and medium for managing working hours of clinical research project
JP5150777B1 (en) Overtime wage simulation program and overtime wage simulation system
CA2294038A1 (en) Partially user-defined computer transportation system
JP6986428B2 (en) Working time calculator, working time calculation method and working time calculation program
JP4351085B2 (en) Expected salary inquiry method, prospective salary inquiry system and program
JP2003030289A (en) Driving control system for vehicle, constituent article thereof, computer program and recording medium
JP3100046B1 (en) Payroll fund forecasting system and method, management plan support system and method, and recording medium recording payroll fund forecasting program or business plan support program operating on computer
US20110029330A1 (en) Automated insurance appointment processing system
JP2000311210A (en) Bill issue system and computer readable storage medium recording program
JP7492399B2 (en) Grade management device, grade management method, and grade management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221201

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: 20230227

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230313

R150 Certificate of patent or registration of utility model

Ref document number: 7249650

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150