[go: up one dir, main page]

JP7580099B1 - Payment calculation system - Google Patents

Payment calculation system Download PDF

Info

Publication number
JP7580099B1
JP7580099B1 JP2024102176A JP2024102176A JP7580099B1 JP 7580099 B1 JP7580099 B1 JP 7580099B1 JP 2024102176 A JP2024102176 A JP 2024102176A JP 2024102176 A JP2024102176 A JP 2024102176A JP 7580099 B1 JP7580099 B1 JP 7580099B1
Authority
JP
Japan
Prior art keywords
information
employee
workplace
payment
route
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
JP2024102176A
Other languages
Japanese (ja)
Other versions
JP2025070948A (en
Inventor
恵理 土田
千恵子 横田
純平 近藤
ヌリ 金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BAIT AL- HIKMA, LTD.
Original Assignee
BAIT AL- HIKMA, LTD.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BAIT AL- HIKMA, LTD. filed Critical BAIT AL- HIKMA, LTD.
Priority to JP2024102176A priority Critical patent/JP7580099B1/en
Application granted granted Critical
Publication of JP7580099B1 publication Critical patent/JP7580099B1/en
Publication of JP2025070948A publication Critical patent/JP2025070948A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】最寄り駅情報を登録する手間を低減するのに好適な支給計算システムを提供する。【解決手段】インターネット199からなる支給計算システムにおいて、通勤交通費計算サーバ100は、社員情報マスタテーブルから社員自宅の住所を取得し、取得した社員自宅の住所に基づいて駅情報検索サーバから最寄り駅情報を取得し、社員情報マスタテーブルの対象となる社員情報に対し、取得した最寄り駅情報を設定するバッチ処理を、複数の社員について一括で行う。また、社員が自宅の最寄り駅と勤務先との間の移動で利用する通勤経路に関する経路情報を取得する。バッチサーバ150は、通勤交通費計算サーバ100で取得した経路情報及び運賃情報テーブルの運賃情報に基づいて、社員が通勤経路を利用した場合の支給金額を計算する。【選択図】図1[Problem] To provide a payment calculation system suitable for reducing the effort required to register nearest station information. [Solution] In a payment calculation system consisting of the Internet 199, a commuter travel expense calculation server 100 acquires the home addresses of employees from an employee information master table, acquires nearest station information from a station information search server based on the acquired home addresses of employees, and performs batch processing for multiple employees at once to set the acquired nearest station information for the employee information targeted by the employee information master table. It also acquires route information related to the commute route used by employees to travel between the nearest station to their home and their workplace. A batch server 150 calculates the payment amount when an employee uses a commuter route based on the route information acquired by the commuter travel expense calculation server 100 and the fare information in the fare information table. [Selected Figure] Figure 1

Description

本発明は、支給対象者の支給金額の計算を支援するシステムに係り、特に、最寄り駅情報を登録する手間を低減するのに好適な支給計算システムに関する。 The present invention relates to a system that assists in the calculation of payment amounts for payment recipients, and in particular to a payment calculation system that is suitable for reducing the effort required to register nearest station information.

従来、通勤交通費の新規発生、経路変更、打ち切り等による変更時に、通勤手当の計算及び給与への連携を行う技術として、例えば、特許文献1記載の技術が知られている。 Conventionally, the technology described in Patent Document 1, for example, is known as a technology for calculating commuting allowances and linking them to wages when changes occur due to new commuting expenses, route changes, terminations, etc.

特許文献1記載の技術は、通勤交通費の新規発生、経路変更、打ち切り等の申請があると給与システムと連携して給与の交通費支給額を計算する技術であって、会社の通勤手当の支給基準や計算方法に関する定義を作成し、通勤交通費の申請データが入力されると通勤手当定義に基づいて申請データを通勤手当データに変換し、給与の交通費支給額を精算する場合は通勤手当データを計算し直す更新処理を行う。 The technology described in Patent Document 1 works in conjunction with a payroll system to calculate the amount of commuting allowances in salary when a request for commuting allowances is made, a route is changed, or the allowance is terminated. It creates definitions regarding the company's commuting allowance payment standards and calculation methods, and when application data for commuting allowances is input, it converts the application data into commuting allowance data based on the commuting allowance definition, and performs an update process to recalculate the commuting allowance data when the amount of commuting allowances in salary is to be settled.

特許文献2記載の技術は、携帯電話機のGPS(Global Positioning System)から取得した位置情報を経路検索サーバに送信し、経路検索サーバは、受信した位置情報から経路データベースから最寄り駅を検索する(同文献〔0018〕)。 The technology described in Patent Document 2 transmits location information obtained from the mobile phone's GPS (Global Positioning System) to a route search server, which then searches a route database for the nearest station based on the received location information (Patent Document [0018]).

特開2016-192201号公報JP 2016-192201 A 特開2001-318932号公報JP 2001-318932 A

特許文献1記載の技術において、社員が自宅の最寄り駅と勤務先の最寄り駅との間の移動で利用する経路を登録する場合、例えば、特許文献2記載の技術を適用し、自宅の最寄り駅を経路検索サーバから取得することにより登録することが考えられる。 In the technology described in Patent Document 1, when an employee registers a route to be used when traveling between the nearest station to his/her home and the nearest station to his/her workplace, it is possible to apply the technology described in Patent Document 2, for example, and register the nearest station to his/her home by obtaining it from a route search server.

しかしながら、このような構成を採用した場合、手入力に比して社員1人1人の手間は少なくなるが、社員数が多い場合は全体の手間が大きくなるという問題があった。 However, when this type of configuration is adopted, although the amount of work required for each employee is reduced compared to manual input, there is a problem in that the overall amount of work increases when there are a large number of employees.

そこで、本発明は、このような従来の技術の有する未解決の課題に着目してなされたものであって、最寄り駅情報を登録する手間を低減するのに好適な支給計算システムを提供することを目的としている。 Therefore, the present invention was made with a focus on the unresolved issues of such conventional technology, and aims to provide a payment calculation system that is suitable for reducing the effort required to register nearest station information.

〔発明1〕 上記目的を達成するために、発明1の支給計算システムは、支給対象者の自宅の住所情報を含む対象者情報を記憶する対象者情報記憶手段の対象者情報に基づいて、当該対象者情報に対し前記支給対象者の自宅の最寄り駅情報を設定する駅情報設定手段と、前記支給対象者が自宅の最寄り駅と勤務先との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記支給対象者が前記経路を利用した場合の交通費の支給金額を計算する支給金額計算手段とを備え、前記駅情報設定手段は、前記支給対象者の自宅の住所情報を前記対象者情報記憶手段から取得し、取得した住所情報から最寄り駅情報を取得し、前記対象者情報記憶手段の当該対象者情報に対し、取得した最寄り駅情報を設定する処理を、複数の前記支給対象者について一括で行う。 [Invention 1] In order to achieve the above object, the payment calculation system of invention 1 includes a station information setting means for setting nearest station information of the home of the payment recipient for the target information based on the target information in a target information storage means that stores target information including the home address information of the payment recipient, and a payment amount calculation means for calculating the payment amount of transportation expenses when the payment recipient uses the route based on route information in a route information storage means that stores route information related to the route used by the payment recipient to travel between the nearest station to the home and the workplace, and fare information in a fare information storage means that stores fare information related to the fare for the route, and the station information setting means acquires the home address information of the payment recipient from the target information storage means, acquires nearest station information from the acquired address information, and performs the process of setting the acquired nearest station information for the target information in the target information storage means collectively for multiple payment recipients.

このような構成であれば、駅情報設定手段により、複数の支給対象者について一括で処理が行われる。この一括処理では、支給対象者の自宅の住所情報が対象者情報記憶手段から取得され、取得された住所情報から最寄り駅情報が取得され、対象者情報記憶手段のその対象者情報に対し、取得された最寄り駅情報が設定される。また、支給金額計算手段により、経路情報記憶手段の経路情報及び運賃情報記憶手段の運賃情報に基づいて、支給対象者が経路を利用した場合の交通費の支給金額が計算される。 In such a configuration, the station information setting means performs batch processing for multiple grant recipients. In this batch processing, home address information of the grant recipients is obtained from the grant recipient information storage means, nearest station information is obtained from the obtained address information, and the obtained nearest station information is set for that grant recipient information in the grant recipient information storage means. In addition, the payment amount calculation means calculates the payment amount of transportation expenses when the grant recipient uses the route, based on the route information in the route information storage means and the fare information in the fare information storage means.

ここで、本システムは、単一の装置、端末その他の機器として実現するようにしてもよいし、複数の装置、端末その他の機器を通信可能に接続したネットワークシステムとして実現するようにしてもよい。後者の場合、各構成要素は、それぞれ通信可能に接続されていれば、複数の機器等のうちいずれに属していてもよい。以下、発明3、4及び6の支給計算システムにおいて同じである。 The system may be realized as a single device, terminal, or other equipment, or as a network system in which multiple devices, terminals, or other equipment are communicatively connected. In the latter case, each component may belong to any one of the multiple devices, etc., as long as they are communicatively connected. The same applies below to the payment calculation systems of inventions 3, 4, and 6.

〔発明2〕 さらに、発明2の支給計算システムは、発明1の支給計算システムにおいて、前記支給対象者の自宅の住所情報を含む対象者情報を登録したファイルから前記対象者情報を取得する対象者情報取得手段と、前記対象者情報取得手段で取得した対象者情報を前記対象者情報記憶手段に登録する対象者情報登録手段とを備え、前記駅情報設定手段は、前記対象者情報取得手段で取得した対象者情報に含まれる前記住所情報から最寄り駅情報を取得し、前記対象者情報記憶手段の当該対象者情報に対し、取得した最寄り駅情報を設定する処理を、前記対象者情報登録手段による登録が完了した後に行う。 [Invention 2] Furthermore, the payment calculation system of invention 2 is the payment calculation system of invention 1, and further comprises a subject information acquisition means for acquiring subject information from a file in which subject information including home address information of the payment recipient is registered, and a subject information registration means for registering the subject information acquired by the subject information acquisition means in the subject information storage means, and the station information setting means acquires nearest station information from the address information included in the subject information acquired by the subject information acquisition means, and performs processing for setting the acquired nearest station information to the subject information in the subject information storage means after registration by the subject information registration means is completed.

このような構成であれば、駅情報設定手段により、対象者情報登録手段による登録が完了した後に処理が行われる。この処理では、対象者情報取得手段で取得された対象者情報に含まれる住所情報から最寄り駅情報が取得され、対象者情報記憶手段のその対象者情報に対し、取得された最寄り駅情報が設定される。 In this configuration, the station information setting means performs processing after the registration by the subject information registration means is completed. In this processing, the nearest station information is obtained from the address information included in the subject information obtained by the subject information obtaining means, and the obtained nearest station information is set for that subject information in the subject information storage means.

ここで、対象者情報取得手段で取得した対象者情報に含まれる住所情報としては、例えば、対象者情報取得手段で取得した対象者情報、又は、対象者情報取得手段で取得し対象者情報記憶手段に登録された対象者情報が含まれる。すなわち、駅情報設定手段は、対象者情報取得手段で取得した対象者情報を最寄り駅情報の取得に用いてもよいし、対象者情報記憶手段の対象者情報を最寄り駅情報の取得に用いてもよい。以下、発明3の支給計算システムにおいて同じである。 The address information included in the subject information acquired by the subject information acquisition means includes, for example, the subject information acquired by the subject information acquisition means, or the subject information acquired by the subject information acquisition means and registered in the subject information storage means. That is, the station information setting means may use the subject information acquired by the subject information acquisition means to acquire the nearest station information, or may use the subject information in the subject information storage means to acquire the nearest station information. The same applies below in the payment calculation system of invention 3.

〔発明3〕 さらに、発明3の支給計算システムは、支給対象者の自宅の住所情報を含む対象者情報を登録したファイルから前記対象者情報を取得する対象者情報取得手段と、前記対象者情報取得手段で取得した対象者情報を対象者情報記憶手段に登録する対象者情報登録手段と、前記対象者情報記憶手段の対象者情報に基づいて、当該対象者情報に対し前記支給対象者の自宅の最寄り駅情報を設定する駅情報設定手段と、前記支給対象者が自宅の最寄り駅と勤務先との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記支給対象者が前記経路を利用した場合の交通費の支給金額を計算する支給金額計算手段とを備え、前記駅情報設定手段は、前記対象者情報取得手段で取得した対象者情報に含まれる前記住所情報から最寄り駅情報を取得し、前記対象者情報記憶手段の当該対象者情報に対し、取得した最寄り駅情報を設定する処理を、前記対象者情報登録手段による登録が完了した後に行う。 [Invention 3] Furthermore, the payment calculation system of invention 3 includes a subject information acquisition means for acquiring subject information from a file in which subject information including home address information of the payment recipient is registered, a subject information registration means for registering the subject information acquired by the subject information acquisition means in a subject information storage means, a station information setting means for setting the nearest station information of the home of the payment recipient for the subject information based on the subject information of the subject information storage means, and a payment amount calculation means for calculating the payment amount of transportation expenses when the payment recipient uses the route based on route information in a route information storage means that stores route information related to the route used by the payment recipient to travel between the nearest station to the home and the workplace, and fare information in a fare information storage means that stores fare information related to the fare for the route, and the station information setting means acquires nearest station information from the address information included in the subject information acquired by the subject information acquisition means, and performs a process of setting the acquired nearest station information for the subject information in the subject information storage means after the registration by the subject information registration means is completed.

このような構成であれば、駅情報設定手段により、対象者情報登録手段による登録が完了した後に処理が行われる。この処理では、対象者情報取得手段で取得された対象者情報に含まれる住所情報から最寄り駅情報が取得され、対象者情報記憶手段のその対象者情報に対し、取得された最寄り駅情報が設定される。また、支給金額計算手段により、経路情報記憶手段の経路情報及び運賃情報記憶手段の運賃情報に基づいて、支給対象者が経路を利用した場合の交通費の支給金額が計算される。 In this configuration, the station information setting means performs processing after registration by the target person information registration means is completed. In this processing, the nearest station information is obtained from the address information included in the target person information obtained by the target person information obtaining means, and the obtained nearest station information is set for that target person information in the target person information storage means. In addition, the payment amount calculation means calculates the payment amount of transportation expenses when the target person uses the route, based on the route information in the route information storage means and the fare information in the fare information storage means.

〔発明4〕 さらに、発明4の支給計算システムは、支給対象者の勤務先の住所情報を含む勤務先情報を記憶する勤務先情報記憶手段の勤務先情報に基づいて、当該勤務先情報に対し前記支給対象者の勤務先の最寄り駅情報を設定する駅情報設定手段と、前記支給対象者が自宅と勤務先の最寄り駅との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記支給対象者が前記経路を利用した場合の交通費の支給金額を計算する支給金額計算手段とを備え、前記駅情報設定手段は、前記支給対象者の勤務先の住所情報を前記勤務先情報記憶手段から取得し、取得した住所情報から最寄り駅情報を取得し、前記勤務先情報記憶手段の当該勤務先情報に対し、取得した最寄り駅情報を設定する処理を、複数の前記勤務先について一括で行う。 [Invention 4] Furthermore, the payment calculation system of invention 4 includes a station information setting means for setting the nearest station information of the payee's workplace for the workplace information based on workplace information in a workplace information storage means that stores workplace information including address information of the payee's workplace, and a payment amount calculation means for calculating the payment amount of transportation expenses when the payee uses the route based on route information in a route information storage means that stores route information related to the route used by the payee to travel between the home and the nearest station of the workplace and fare information in a fare information storage means that stores fare information related to the fare for the route, and the station information setting means acquires address information of the payee's workplace from the workplace information storage means, acquires nearest station information from the acquired address information, and performs the process of setting the acquired nearest station information for the workplace information in the workplace information storage means, for a plurality of the workplaces, all at once.

このような構成であれば、駅情報設定手段により、複数の支給対象者について一括で処理が行われる。この一括処理では、支給対象者の勤務先の住所情報が勤務先情報記憶手段から取得され、取得された住所情報から最寄り駅情報が取得され、勤務先情報記憶手段のその勤務先情報に対し、取得された最寄り駅情報が設定される。また、支給金額計算手段により、経路情報記憶手段の経路情報及び運賃情報記憶手段の運賃情報に基づいて、支給対象者が経路を利用した場合の交通費の支給金額が計算される。 In this configuration, the station information setting means processes multiple grant recipients collectively. In this batch processing, address information of the grant recipient's workplace is obtained from the workplace information storage means, nearest station information is obtained from the obtained address information, and the obtained nearest station information is set for that workplace information in the workplace information storage means. In addition, the payment amount calculation means calculates the payment amount of transportation expenses when the grant recipient uses the route, based on the route information in the route information storage means and the fare information in the fare information storage means.

〔発明5〕 さらに、発明5の支給計算システムは、発明4の支給計算システムにおいて、前記支給対象者の勤務先の住所情報を含む勤務先情報を登録したファイルから前記勤務先情報を取得する勤務先情報取得手段と、前記勤務先情報取得手段で取得した勤務先情報を前記勤務先情報記憶手段に登録する勤務先情報登録手段とを備え、前記駅情報設定手段は、前記勤務先情報取得手段で取得した勤務先情報に含まれる前記住所情報から最寄り駅情報を取得し、前記勤務先情報記憶手段の当該勤務先情報に対し、取得した最寄り駅情報を設定する処理を、前記勤務先情報登録手段による登録が完了した後に行う。 [Invention 5] The payment calculation system of invention 5 further comprises, in the payment calculation system of invention 4, an employment information acquisition means for acquiring the employment information from a file in which employment information including address information of the employment of the payment recipient is registered, and an employment information registration means for registering the employment information acquired by the employment information acquisition means in the employment information storage means, and the station information setting means acquires nearest station information from the address information included in the employment information acquired by the employment information acquisition means, and performs a process of setting the acquired nearest station information to the employment information in the employment information storage means after the registration by the employment information registration means is completed.

このような構成であれば、駅情報設定手段により、勤務先情報登録手段による登録が完了した後に処理が行われる。この処理では、勤務先情報取得手段で取得された勤務先情報に含まれる住所情報から最寄り駅情報が取得され、勤務先情報記憶手段のその勤務先情報に対し、取得された最寄り駅情報が設定される。 In this configuration, the station information setting means performs processing after the work place information registration means has completed registration. In this processing, the nearest station information is obtained from the address information included in the work place information obtained by the work place information obtaining means, and the obtained nearest station information is set for that work place information in the work place information storage means.

ここで、勤務先情報取得手段で取得した勤務先情報に含まれる住所情報としては、例えば、勤務先情報取得手段で取得した勤務先情報、又は、勤務先情報取得手段で取得し勤務先情報記憶手段に登録された勤務先情報が含まれる。すなわち、駅情報設定手段は、勤務先情報取得手段で取得した勤務先情報を最寄り駅情報の取得に用いてもよいし、勤務先情報記憶手段の勤務先情報を最寄り駅情報の取得に用いてもよい。以下、発明6の支給計算システムにおいて同じである。 The address information included in the workplace information acquired by the workplace information acquisition means includes, for example, the workplace information acquired by the workplace information acquisition means, or the workplace information acquired by the workplace information acquisition means and registered in the workplace information storage means. In other words, the station information setting means may use the workplace information acquired by the workplace information acquisition means to acquire the nearest station information, or may use the workplace information in the workplace information storage means to acquire the nearest station information. The same applies below in the payment calculation system of invention 6.

〔発明6〕 さらに、発明6の支給計算システムは、支給対象者の勤務先の住所情報を含む勤務先情報を登録したファイルから前記勤務先情報を取得する勤務先情報取得手段と、前記勤務先情報取得手段で取得した勤務先情報を勤務先情報記憶手段に登録する勤務先情報登録手段と、前記勤務先情報記憶手段の勤務先情報に基づいて、当該勤務先情報に対し前記支給対象者の勤務先の最寄り駅情報を設定する駅情報設定手段と、前記支給対象者が自宅と勤務先の最寄り駅との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記支給対象者が前記経路を利用した場合の交通費の支給金額を計算する支給金額計算手段とを備え、前記駅情報設定手段は、前記勤務先情報取得手段で取得した勤務先情報に含まれる前記住所情報から最寄り駅情報を取得し、前記勤務先情報記憶手段の当該勤務先情報に対し、取得した最寄り駅情報を設定する処理を、前記勤務先情報登録手段による登録が完了した後に行う。 [Invention 6] The payment calculation system of invention 6 further comprises: a workplace information acquisition means for acquiring workplace information including address information of the workplace of the payee from a file in which the workplace information acquired by the workplace information acquisition means is registered; a workplace information registration means for registering the workplace information acquired by the workplace information acquisition means in a workplace information storage means; a station information setting means for setting the nearest station information of the workplace of the payee for the workplace information based on the workplace information in the workplace information storage means; and a payment amount calculation means for calculating the payment amount of the transportation expenses when the payee uses the route based on route information in a route information storage means for storing route information related to the route used by the payee to travel between the home and the nearest station of the workplace and fare information in a fare information storage means for storing fare information related to the route, and the station information setting means acquires nearest station information from the address information included in the workplace information acquired by the workplace information acquisition means, and performs a process of setting the acquired nearest station information for the workplace information in the workplace information storage means after the registration by the workplace information registration means is completed.

このような構成であれば、駅情報設定手段により、勤務先情報登録手段による登録が完了した後に処理が行われる。この処理では、勤務先情報取得手段で取得された勤務先情報に含まれる住所情報から最寄り駅情報が取得され、勤務先情報記憶手段のその勤務先情報に対し、取得された最寄り駅情報が設定される。また、支給金額計算手段により、経路情報記憶手段の経路情報及び運賃情報記憶手段の運賃情報に基づいて、支給対象者が経路を利用した場合の交通費の支給金額が計算される。 In this configuration, the station information setting means performs processing after the workplace information registration means has completed registration. In this processing, the nearest station information is obtained from the address information included in the workplace information obtained by the workplace information obtaining means, and the obtained nearest station information is set for that workplace information in the workplace information storage means. In addition, the payment amount calculation means calculates the payment amount of transportation expenses when the payment recipient uses the route, based on the route information in the route information storage means and the fare information in the fare information storage means.

以上説明したように、発明1の支給計算システムによれば、複数の支給対象者について最寄り駅の設定処理が一括で行われるので、従来に比して、支給対象者の自宅の最寄り駅情報を登録する手間を低減することができる。 As described above, according to the payment calculation system of Invention 1, the process of setting the nearest station for multiple payment recipients is performed in one go, which reduces the effort required to register the nearest station information for the recipients' homes compared to the conventional method.

さらに、発明2又は3の支給計算システムによれば、ファイルの対象者情報が対象者情報登録手段に登録される一方、最寄り駅情報についてはその登録完了後の処理により取得、設定されるので、対象者情報の早期利用を実現することができる。 Furthermore, according to the payment calculation system of inventions 2 or 3, the target person information in the file is registered in the target person information registration means, while the nearest station information is obtained and set by processing after the registration is completed, so that the target person information can be used quickly.

さらに、発明4の支給計算システムによれば、複数の支給対象者について最寄り駅の設定処理が一括で行われるので、従来に比して、支給対象者の勤務先の最寄り駅情報を登録する手間を低減することができる。 Furthermore, according to the payment calculation system of Invention 4, the process of setting the nearest station for multiple payment recipients is performed in one go, which reduces the effort required to register the nearest station information for the payment recipients' workplaces compared to the conventional method.

さらに、発明5又は6の支給計算システムによれば、ファイルの勤務先情報が勤務先情報登録手段に登録される一方、最寄り駅情報についてはその登録完了後の処理により取得、設定されるので、勤務先情報の早期利用を実現することができる。 Furthermore, according to the payment calculation system of inventions 5 and 6, the workplace information in the file is registered in the workplace information registration means, while the nearest station information is obtained and set by processing after the registration is completed, thereby realizing early use of the workplace information.

本実施の形態に係るネットワークシステムの構成を示すブロック図である。1 is a block diagram showing a configuration of a network system according to an embodiment of the present invention; 通勤交通費計算サーバ100のハードウェア構成を示す図である。FIG. 2 is a diagram illustrating a hardware configuration of the commute expense calculation server 100. 企業マスタテーブル400、勤務先マスタテーブル402、社員情報マスタテーブル404、社員別経路情報テーブル406及び社員別支給情報テーブル408のデータ構造を示す図である。4A and 4B are diagrams showing the data structures of a company master table 400, a workplace master table 402, an employee information master table 404, an employee-specific route information table 406, and an employee-specific payment information table 408. 社員別日割支給情報テーブル410、部署情報テーブル412、システム環境情報テーブル414、バッチジョブ定義情報テーブル416及びタスクスケジューラ情報テーブル418のデータ構造を示す図である。4A and 4B are diagrams showing the data structures of an employee daily rate pay information table 410, a department information table 412, a system environment information table 414, a batch job definition information table 416, and a task scheduler information table 418. 運賃情報テーブル420のデータ構造を示す図である。4 is a diagram showing the data structure of a fare information table 420. FIG. 社員情報登録処理を示すフローチャートである。13 is a flowchart showing an employee information registration process. 社員情報一覧画面500を示す図である。FIG. 5 shows an employee information list screen 500. 社員情報新規登録画面501を示す図である。FIG. 5 shows an employee information new registration screen 501. インポート画面502を示す図である。FIG. 5 shows an import screen 502. 最寄り駅情報取得処理を示すフローチャートである。13 is a flowchart showing a nearest station information acquisition process. バッチ処理を示すフローチャートである。1 is a flowchart showing batch processing. 通勤経路情報新規申請処理を示すフローチャートである。13 is a flowchart showing a new commute route information application process. 通勤経路申請画面510を示す図である。FIG. 5 shows a commute route application screen 510. 通勤経路申請画面520を示す図である。FIG. 5 shows a commute route application screen 520. 支給情報追加・修正処理を示すフローチャートである。13 is a flowchart showing a payment information addition/modification process. 経路一覧画面800を示す図である。FIG. 8 shows a route list screen 800. 支給情報一覧画面801を示す図である。FIG. 8 shows a payment information list screen 801. 給与連携基礎データ作成タスク登録処理を示すフローチャートである。13 is a flowchart showing a salary linkage basic data creation task registration process. 通勤交通費の支給金額に変動が生じる例を説明する図である。FIG. 13 is a diagram illustrating an example in which the amount of commuting expenses paid fluctuates. 給与連携バッチ処理プログラム実行処理を示すフローチャートである。13 is a flowchart showing the execution process of the payroll linkage batch processing program. バッチサーバ150におけるタスクスケジューラによるバッチ処理メインプログラムの実行処理の流れを示す図である。13 is a diagram showing a flow of execution processing of a batch processing main program by a task scheduler in the batch server 150. FIG. 運賃改定に係る支給情報及び日割支給情報を計算する場合を示すタイムチャートである。This is a time chart showing the calculation of payment information related to fare revisions and daily payment information.

以下、本発明の実施の形態を説明する。図1~図22は、本実施の形態を示す図である。 The following describes an embodiment of the present invention. Figures 1 to 22 show this embodiment.

本実施の形態において、「社員」とは、正社員、パート、その他の従業者をいう。
〔構成〕
まず、本実施の形態の構成を説明する。
In this embodiment, the term "employee" refers to a full-time employee, a part-time employee, or any other employee.
〔composition〕
First, the configuration of this embodiment will be described.

図1は、本実施の形態に係るネットワークシステムの構成を示すブロック図である。
インターネット199には、図1に示すように、通勤交通費の計算及び通勤交通費の支給金額の計算を支援するサービス(以下「交通費給与連携支援サービス」という。)を提供する通勤交通費計算サーバ100と、通勤交通費の支給金額を計算するための各種基礎データの更新処理を実行するバッチサーバ150と、通勤交通費計算サーバ100及びバッチサーバ150で利用される各種テーブル情報を管理するデータベースサーバ170と、交通費給与連携支援サービスを利用する企業の社員ごとに設置された社員端末200とが接続されている。
FIG. 1 is a block diagram showing a configuration of a network system according to the present embodiment.
As shown in FIG. 1, the Internet 199 is connected to a commuter travel expense calculation server 100 that provides a service that assists in the calculation of commuter travel expenses and the calculation of the amount of commuter travel expense payment (hereinafter referred to as the "transportation expense/salary linkage support service"), a batch server 150 that executes update processing of various basic data for calculating the amount of commuter travel expenses payment, a database server 170 that manages various table information used by the commuter travel expense calculation server 100 and the batch server 150, and employee terminals 200 installed for each employee of the company that uses the transportation expense/salary linkage support service.

インターネット199には、図示省略するが、位置情報を提供する地図検索サーバと、駅情報を提供する駅情報検索サーバとが接続されている。地図検索サーバは、住所の文字列を含むリクエストを受信すると、受信した住所の文字列からその住所の位置情報をデータベースから検索しリクエスト元に提供する。駅情報検索サーバは、位置情報を含むリクエストを受信すると、受信した位置情報から最寄り駅情報をデータベースから検索しリクエスト元に提供する。 Although not shown in the figure, a map search server that provides location information and a station information search server that provides station information are connected to the Internet 199. When the map search server receives a request including an address string, it searches a database for location information of the address from the received address string and provides this information to the requester. When the station information search server receives a request including location information, it searches a database for nearest station information from the received location information and provides this information to the requester.

〔通勤交通費計算サーバ100のハードウェア構成〕
次に、通勤交通費計算サーバ100の構成を説明する。
[Hardware Configuration of Commuting Expense Calculation Server 100]
Next, the configuration of the commute expense calculation server 100 will be described.

図2は、通勤交通費計算サーバ100のハードウェア構成を示す図である。
通勤交通費計算サーバ100は、図2に示すように、制御プログラムに基づいて演算及びシステム全体を制御するCPU(Central Processing Unit)30と、所定領域に予めCPU30の制御プログラム等を格納しているROM(Read Only Memory)32と、ROM32等から読み出したデータやCPU30の演算過程で必要な演算結果を格納するためのRAM(Random Access Memory)34と、外部装置に対してデータの入出力を媒介するI/F(InterFace)38とで構成されており、これらは、データを転送するための信号線であるバス39で相互に且つデータ授受可能に接続されている。
FIG. 2 is a diagram showing a hardware configuration of the commute expense calculation server 100. As shown in FIG.
As shown in FIG. 2, the commuter travel expense calculation server 100 is composed of a CPU (Central Processing Unit) 30 that controls calculations and the entire system based on a control program, a ROM (Read Only Memory) 32 in which the control program etc. of the CPU 30 is stored in advance in a specified area, a RAM (Random Access Memory) 34 for storing data read from the ROM 32 etc. and calculation results required in the calculation process of the CPU 30, and an I/F (InterFace) 38 that mediates the input and output of data to and from external devices, and these are connected to each other so that data can be sent and received by a bus 39, which is a signal line for transferring data.

I/F38には、外部装置として、ヒューマンインターフェースとしてデータの入力が可能なキーボードやマウス等からなる入力装置40と、データやテーブル等をファイルとして格納する記憶装置42と、画像信号に基づいて画面を表示する表示装置44と、インターネット199に接続するための信号線とが接続されている。 Connected to the I/F 38 are external devices such as an input device 40 consisting of a keyboard, mouse, etc. that can input data as a human interface, a storage device 42 that stores data, tables, etc. as files, a display device 44 that displays a screen based on an image signal, and a signal line for connecting to the Internet 199.

〔バッチサーバ150及びデータベースサーバ170のハードウェア構成〕
次に、バッチサーバ150及びデータベースサーバ170の構成を説明する。
[Hardware configuration of the batch server 150 and the database server 170]
Next, the configurations of the batch server 150 and the database server 170 will be described.

バッチサーバ150及びデータベースサーバ170は、通勤交通費計算サーバ100と同様のハードウェア構成を有する。 The batch server 150 and the database server 170 have the same hardware configuration as the commuter travel expense calculation server 100.

〔社員端末200のハードウェア構成〕
社員端末200は、通勤交通費計算サーバ100のような据え置き型を想定した端末、又は、スマートフォン、タブレットなどの携帯型の端末から構成されている。前者の場合、そのハードウェア構成は、通勤交通費計算サーバ100と同様となる。一方、後者の場合、そのハードウェア構成は、CPUと、アプリケーションソフトなどのプログラムやプログラムを実行するためのデータ等を格納しているROMと、ROM等から読み出したデータやCPUの演算過程で必要な演算結果を格納するためのRAMと、付属の各種装置に対してデータの入出力を媒介するI/Fとで構成されている。これらは、データを転送するための信号線で相互に且つデータ授受可能に接続されている。
[Hardware configuration of employee terminal 200]
The employee terminal 200 is composed of a terminal assumed to be a stationary type such as the commuter travel expense calculation server 100, or a mobile terminal such as a smartphone or tablet. In the former case, the hardware configuration is the same as that of the commuter travel expense calculation server 100. On the other hand, in the latter case, the hardware configuration is composed of a CPU, a ROM that stores programs such as application software and data for executing the programs, a RAM for storing data read from the ROM and the calculation results required in the CPU's calculation process, and an I/F that mediates the input and output of data to various attached devices. These are connected to each other and capable of transmitting and receiving data by signal lines for transferring data.

I/Fには、付属の各種装置として、データ入力が可能で且つ画像信号に基づいて画面を表示可能なタッチパネル式の表示入力装置、記憶装置、無線通信装置、ビデオカメラ等が接続されている。 The I/F is connected to various accessory devices, such as a touch panel display input device that allows data input and can display a screen based on an image signal, a storage device, a wireless communication device, a video camera, etc.

〔各種テーブルについて〕
次に、データベースサーバ170の記憶装置に記憶されている各種テーブルのデータ構造を説明する。
[About the various tables]
Next, the data structures of the various tables stored in the storage device of the database server 170 will be described.

図3(a)~(e)は、企業マスタテーブル400、勤務先マスタテーブル402、社員情報マスタテーブル404、社員別経路情報テーブル406及び社員別支給情報テーブル408のデータ構造を示す図である。 Figures 3(a) to (e) are diagrams showing the data structures of a company master table 400, a workplace master table 402, an employee information master table 404, an employee-specific route information table 406, and an employee-specific payment information table 408.

データベースサーバ170の記憶装置には、図3(a)~(e)に示すように、企業情報を登録する企業マスタテーブル400と、企業ごとの勤務先情報を登録する勤務先マスタテーブル402と、社員情報を登録する社員情報マスタテーブル404と、社員ごとの通勤経路の情報を登録する社員別経路情報テーブル406と、社員ごとの通勤交通費の支給情報を登録する社員別支給情報テーブル408とが記憶されている。 As shown in Figures 3(a) to (e), the storage device of the database server 170 stores a company master table 400 for registering company information, a workplace master table 402 for registering workplace information for each company, an employee information master table 404 for registering employee information, an employee route information table 406 for registering commuting route information for each employee, and an employee payment information table 408 for registering commuting transportation allowance payment information for each employee.

企業マスタテーブル400には、図3(a)に示すように、企業ID及び適用開始日の組合せごとに1つのレコードが登録されている。各レコードには、企業ID、企業名、申請制御区分、社員グループ区分情報、適用開始日、適用終了日、最終更新日、最終更新者、その他の情報からなる主要情報が登録されている。 As shown in FIG. 3(a), the company master table 400 stores one record for each combination of company ID and effective date. Each record stores main information including company ID, company name, application control category, employee group category information, effective date, effective date end date, last update date, last updater, and other information.

ここで、企業IDは、企業を識別するための情報であり、例えば、企業ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、申請制御区分は、社員からの申請受付可否を設定する情報であり、社員グループ区分情報は、支給社員グループ、その他の社員グループの職系、事務所、所属等の区分を示す情報である。 The company ID is information for identifying a company, and is composed of, for example, a unique number for each company (for example, numbers only or a combination of letters and numbers). The application control category is information that determines whether applications from employees can be accepted, and the employee group category information is information that indicates the category of paid employee group, other employee group, job type, office, affiliation, etc.

勤務先マスタテーブル402は、図3(b)に示すように、企業ID、勤務先ID及び適用開始日の組合せごとに1つのレコードが登録されている。各レコードには、企業ID、勤務先ID、勤務先名、勤務先住所、カレンダID、始業時刻、終業時刻、燃料単価種別ID、地図情報、適用開始日、適用終了日、最終更新日、最終更新者、その他の情報からなる主要情報が登録されている。 As shown in FIG. 3(b), the workplace master table 402 has one record registered for each combination of company ID, workplace ID, and application start date. Each record contains main information including company ID, workplace ID, workplace name, workplace address, calendar ID, start time, end time, fuel unit price type ID, map information, application start date, application end date, last update date, last updater, and other information.

ここで、勤務先IDは、勤務先を識別するための情報であり、例えば、勤務先ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、カレンダIDは、企業ごとに設定された勤務先の営業日と休日とが記されたカレンダを識別するための情報であり、例えば、カレンダの種類ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、燃料単価種別IDは、企業ごとに設定された燃料の単価種別を識別するための情報であり、例えば、単価種別ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。なお、燃料単価種別としては、ガソリン(レギュラー)、ガソリン(ハイオク)、ディーゼル(軽油)などの燃料ごとの単価種別と、EV(電気自動車)、PHV(プラグインハイブリッド電気自動車)、FCV(燃料電池自動車)などのエコ自動車の種類ごとの単価種別がある。また、地図情報は、勤務先の位置情報及び最寄り駅情報を含む。 Here, the workplace ID is information for identifying the workplace, and is composed of, for example, a unique number for each workplace (for example, numbers only, a combination of letters and numbers). The calendar ID is information for identifying a calendar that lists the business days and holidays of the workplace set for each company, and is composed of, for example, a unique number for each type of calendar (for example, numbers only, a combination of letters and numbers). The fuel unit price type ID is information for identifying the unit price type of fuel set for each company, and is composed of, for example, a unique number for each unit price type (for example, numbers only, a combination of letters and numbers). The fuel unit price types include unit price types for each fuel, such as gasoline (regular), gasoline (high octane), and diesel (diesel), and unit price types for each type of eco-friendly vehicle, such as EV (electric vehicle), PHV (plug-in hybrid electric vehicle), and FCV (fuel cell vehicle). The map information includes location information of the workplace and information on the nearest station.

社員情報マスタテーブル404には、図3(c)に示すように、企業ID、社員ID及び適用開始日の組合せごとに1つのレコードが登録されている。各レコードには、企業ID、社員ID、社員名、社員名(カナ)、社員自宅の郵便番号、社員自宅の住所、電話番号、メールアドレス、勤務先ID、勤務先名、所属部署ID、所属部署名、社員区分、支給ルールID、パスワード、権限レベル、地図情報、適用開始日、適用終了日、最終更新日、最終更新者、その他の情報を含む主要情報が登録されている。 As shown in FIG. 3(c), the employee information master table 404 has one record registered for each combination of company ID, employee ID, and application start date. Each record contains main information including company ID, employee ID, employee name, employee name (kana), employee home postal code, employee home address, telephone number, email address, employer ID, employer name, department ID, department name, employee category, payment rule ID, password, authority level, map information, application start date, application end date, last update date, last updater, and other information.

ここで、所属部署IDは、社員の所属する部署を識別するための情報であり、例えば、所属部署ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。社員区分は、正社員、パートなどを区分する情報であり、権限レベルは、人事権限、上位者権限及び社員権限のうちのいずれかを示す情報である。人事権限は、本システムの通勤費業務に関するすべての機能を利用することができる権限であり、上位者権限は、通勤経路の申請及び申請内容の承認作業のみをすることができる権限であり、社員権限は、通勤経路の申請のみをすることができる権限である。また、地図情報は、社員自宅の位置情報及び最寄り駅情報を含む。 Here, the department ID is information for identifying the department to which the employee belongs, and is composed of, for example, a unique number for each department (for example, numbers only, or a combination of letters and numbers). The employee classification is information for classifying employees as full-time employees, part-time employees, etc., and the authority level is information indicating one of personnel authority, superior authority, and employee authority. Personnel authority is the authority to use all functions related to commuting expenses operations in this system, superior authority is the authority to only apply for commuting routes and approve the contents of the application, and employee authority is the authority to only apply for commuting routes. In addition, the map information includes the location information of the employee's home and information on the nearest station.

1人の社員は複数の勤務先に属することがある。例えば、月の上旬は勤務先Aに、月の下旬は勤務先Bに通勤するといった場合である。このため、社員情報マスタテーブル404には、1人の社員につき1又は複数の勤務先ID及び勤務先名を登録することができる。 One employee may belong to multiple workplaces. For example, an employee may commute to workplace A in the beginning of the month and to workplace B in the latter half of the month. For this reason, one or more workplace IDs and workplace names can be registered for each employee in the employee information master table 404.

社員別経路情報テーブル406には、図3(d)に示すように、企業ID、社員ID及び経路IDの組合せごとに1つのレコードが登録されている。各レコードには、企業ID、社員ID、乗物ID、経路方向種別、社員自宅の最寄り駅、勤務先ID、勤務先名、勤務先の最寄り駅、経路ID、通勤経路、経路利用期間、1ヵ月金額、3ヵ月金額、6ヵ月金額、12ヵ月金額、片道金額、片道距離、片道時間、乗換回数、経路基準日、適用開始日、適用終了日、最終更新日、最終更新者、その他の情報を含む主要情報が登録されている。 As shown in FIG. 3(d), the employee-specific route information table 406 has one record registered for each combination of company ID, employee ID, and route ID. Each record contains main information including company ID, employee ID, vehicle ID, route direction type, nearest station to employee's home, workplace ID, workplace name, nearest station to workplace, route ID, commuting route, route usage period, 1-month amount, 3-month amount, 6-month amount, 12-month amount, one-way amount, one-way distance, one-way time, number of transfers, route reference date, application start date, application end date, last update date, last updater, and other information.

ここで、経路方向種別は、通勤手段の利用方向を示す情報であり往路、復路又は往復の情報となる。また、経路IDは、通勤経路を識別するための情報であり、例えば、通勤経路ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、通勤経路は、自宅から勤務先までの経路であり、例えば、通勤手段が鉄道であれば、「自宅→徒歩→最寄り駅(自宅)→途中駅→最寄り駅(勤務先)→徒歩→勤務先」となり、例えば、通勤手段が自動車であれば、「自宅→自動車→勤務先」となる。また、1ヵ月金額、3ヵ月金額、6ヵ月金額及び12ヵ月金額は、設定した通勤手段及び経路方向種別の1、3、6及び12ヵ月の通勤交通費の金額であり、経路基準日は、通勤経路が有効となる基準日である。 Here, the route direction type is information indicating the direction of the commuting means, and can be outbound, inbound, or round trip. The route ID is information for identifying the commuting route, and can be, for example, a unique number for each commuting route (for example, numbers only, or a combination of letters and numbers). The commuting route is the route from home to the workplace, and for example, if the commuting means is a train, it is "home → walk → nearest station (home) → intermediate station → nearest station (workplace) → walk → workplace", and if the commuting means is a car, it is "home → car → workplace". The one-month amount, three-month amount, six-month amount, and 12-month amount are the amounts of commuting transportation expenses for the set commuting means and route direction type for 1, 3, 6, and 12 months, and the route reference date is the reference date on which the commuting route becomes valid.

通勤経路の目的地又は到着地が勤務先の場合、社員別経路情報テーブル406には、目的地又は到着地となる勤務先に関する勤務先ID及び勤務先名をその通勤経路と対応づけて登録する。また、上記のとおり1人の社員が複数の勤務先に属することがあることから、社員別経路情報テーブル406には、1人の社員につき1又は複数の経路情報を登録することができる。複数の勤務先に関する経路情報を登録する場合、社員別経路情報テーブル406には、1人の社員につき複数の勤務先に関する勤務先ID及び勤務先名が登録される。 When the destination or arrival point of a commuting route is the workplace, the employee-specific route information table 406 registers the workplace ID and workplace name of the workplace that is the destination or arrival point in association with the commuting route. Also, since one employee may belong to multiple workplaces as described above, one or multiple route information can be registered for one employee in the employee-specific route information table 406. When registering route information for multiple workplaces, the employee-specific route information table 406 registers the workplace IDs and workplace names for multiple workplaces for one employee.

社員別支給情報テーブル408は、図3(e)に示すように、企業ID、社員ID、経路ID及び支給IDの組合せごとに1つのレコードが登録されている。各レコードには、企業ID、社員ID、経路ID、支給ID、開始日、終了日、支給日、支払方法、支給対象期間、支給対象月数、支給/控除額、自己負担額、種別、期間、備考、解約日、支払詳細情報、定期月数、定期枚数、支給金額、支給金額合計、自己負担額合計、その他の情報を含む主要情報が登録されている。 As shown in FIG. 3(e), the employee-specific payment information table 408 has one record registered for each combination of company ID, employee ID, route ID, and payment ID. Each record contains main information including company ID, employee ID, route ID, payment ID, start date, end date, payment date, payment method, payment period, payment months, payment/deduction amount, self-payment amount, type, period, remarks, cancellation date, payment details, regular months, regular number, payment amount, total payment amount, total self-payment amount, and other information.

ここで、支給IDは、支給情報を識別するための情報であり、例えば、支給情報ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、支払方法は、例えば、給与に組み込み、銀行口座への振り込み、現物(現金)支給などの通勤交通費の支払方法を示す情報であり、支給対象月数及び定期月数は、1ヵ月、3ヵ月、6ヵ月及び12ヵ月のいずれかとなる。また、支払詳細情報は、継続支給の対象であるか否か、支給サイクル固定の対象であるか否か、運賃改定処理対象であるか否かを示す情報である。 Here, the payment ID is information for identifying the payment information, and is composed of, for example, a unique number for each payment information (for example, numbers only, or a combination of letters and numbers). The payment method is information indicating the payment method for commuting expenses, such as incorporation into salary, transfer to a bank account, or payment in kind (cash), and the number of months for which payment is made and the number of regular months are either 1 month, 3 months, 6 months, or 12 months. The payment details are information indicating whether or not the payment is subject to continuous payment, whether or not the payment cycle is fixed, and whether or not the fare revision process is applicable.

図4(a)~(e)は、社員別日割支給情報テーブル410、部署情報テーブル412、システム環境情報テーブル414、バッチジョブ定義情報テーブル416及びタスクスケジューラ情報テーブル418のデータ構造を示す図である。 Figures 4(a) to (e) are diagrams showing the data structures of the employee daily pay information table 410, the department information table 412, the system environment information table 414, the batch job definition information table 416, and the task scheduler information table 418.

データベースサーバ170の記憶装置には、図4(a)~(e)に示すように、社員ごとの日割通勤交通費の支給情報を登録する社員別日割支給情報テーブル410と、所属部署ごとの承認者及び代理申請者の情報を登録する部署情報テーブル412とが記憶されている。加えて、バッチサーバ150のIPアドレス等のシステム環境情報を登録するシステム環境情報テーブル414と、バッチ処理プログラムの物理ファイル名の情報等を含むバッチジョブの定義情報を登録するバッチジョブ定義情報テーブル416と、タスクスケジューラに登録したタスクを実行するための情報を登録するタスクスケジューラ情報テーブル418とが記憶されている。 As shown in Figures 4(a) to (e), the storage device of the database server 170 stores an employee-specific daily payment information table 410 that registers daily commuter allowance payment information for each employee, and a department information table 412 that registers information on approvers and proxy applicants for each department. In addition, a system environment information table 414 that registers system environment information such as the IP address of the batch server 150, a batch job definition information table 416 that registers batch job definition information including information such as the physical file name of the batch processing program, and a task scheduler information table 418 that registers information for executing tasks registered in the task scheduler are stored.

社員別日割支給情報テーブル410は、図4(a)に示すように、企業ID、社員ID、経路ID及び日割IDの組合せごとに1つのレコードが登録されている。各レコードには、企業ID、社員ID、経路ID、日割ID、開始日、終了日、支給日、支払方法、日割支給対象期間、支給対象日数、利用方向種別(片道/往復)、支払詳細情報、支給金額、支給金額合計、その他の情報を含む主要情報が登録されている。 As shown in FIG. 4(a), the employee-specific daily payment information table 410 has one record registered for each combination of company ID, employee ID, route ID, and daily rate ID. Each record contains main information including company ID, employee ID, route ID, daily rate ID, start date, end date, payment date, payment method, period for daily rate payment, number of days for payment, type of direction of use (one-way/round trip), payment details, payment amount, total payment amount, and other information.

ここで、日割IDは、日割情報を識別するための情報であり、例えば、日割情報ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、日割支給対象期間は、通勤交通費を日割で計算する対象期間を示す情報であり、支給対象日数は、支給対象期間のうち通勤交通費を日割りで支払う日数の情報であり、利用方向種別(片道/往復)は、支給対象期間に利用した経路方向種別を示す情報である。また、支払詳細情報は、運賃改定処理対象であるか否かを示す情報である。 The per diem ID is information for identifying the per diem information, and is composed of, for example, a unique number for each per diem information (for example, numbers only or a combination of letters and numbers). The per diem payment period is information indicating the period for which commuting expenses are calculated on a per diem basis, the number of payment days is information on the number of days during the payment period for which commuting expenses are paid on a per diem basis, and the direction type (one-way/round trip) is information indicating the type of route direction used during the payment period. The payment details are information indicating whether or not the fare is subject to fare revision processing.

部署情報テーブル412は、図4(b)に示すように、企業ごと及び所属部署ごとに1つのレコードが登録されている。各レコードには、企業ID、所属部署ID、承認者ID、代理申請者ID、適用開始日、適用終了日、最終更新日、最終更新者、その他の情報を含む主要情報が登録されている。 As shown in FIG. 4(b), the department information table 412 has one record for each company and department. Each record contains main information including the company ID, department ID, approver ID, proxy applicant ID, start date of application, end date of application, last update date, last updater, and other information.

ここで、承認者IDは、所属部署IDに対応する所属部署に所属する社員の通勤経路の申請について承認を行う権限を有する上司権限を有する社員の社員IDであり、代理申請者IDは、同じ所属部署に所属する他の社員について通勤経路の申請を代理で行うことができる権限を有する社員の社員IDである。 The approver ID here is the employee ID of an employee with supervisor authority who has the authority to approve commuting route applications for employees who belong to the department corresponding to the department ID, and the proxy applicant ID is the employee ID of an employee with authority to submit commuting route applications on behalf of other employees who belong to the same department.

システム環境情報テーブル414は、図4(c)に示すように、バッチサーバIPアドレス、バッチサーバユーザID、パスワード、サービスURL、パケット名、実費用パケット名、その他の情報を含む主要情報が登録されている。 As shown in FIG. 4(c), the system environment information table 414 stores main information including the batch server IP address, batch server user ID, password, service URL, packet name, actual cost packet name, and other information.

ここで、バッチサーバユーザIDは、バッチサーバ150にアクセスするユーザを識別するための情報であり、例えば、ユーザごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、パケット名は、給与連携基礎データの作成で使用するパケット名であり、実費用パケット名は、実費処理で使用するパケット名である。 The batch server user ID is information for identifying a user who accesses the batch server 150, and is composed of, for example, a unique number for each user (for example, numbers only, or a combination of letters and numbers). The packet name is the packet name used to create the payroll linkage basic data, and the actual cost packet name is the packet name used to process actual costs.

バッチジョブ定義情報テーブル416は、図4(d)に示すように、テナント番号、バッチ処理ID、バッチ名称、バッチパス、バッチ物理ファイル名、その他の情報を含む主要情報が登録されている。 As shown in FIG. 4(d), the batch job definition information table 416 registers main information including the tenant number, batch process ID, batch name, batch path, batch physical file name, and other information.

ここで、テナント番号は、給与連携基礎データの作成処理等のバッチ処理を実行するテナントの番号である。また、バッチ処理IDは、バッチ処理の種類を識別するための情報であり、例えば、バッチ処理の種類ごとに固有の番号(例えば数字のみ、文字や数字の組み合わせ)などから構成される。また、バッチパスは、バッチ処理プログラムを保存している物理パス(バッチサーバ150側)であり、バッチ処理物理ファイル名は、バッチ処理プログラムの物理ファイル名である。 Here, the tenant number is the number of the tenant executing batch processing such as the creation process of payroll linkage basic data. The batch processing ID is information for identifying the type of batch processing, and is composed of, for example, a unique number for each type of batch processing (for example, numbers only, or a combination of letters and numbers). The batch path is the physical path (on the batch server 150 side) where the batch processing program is stored, and the batch processing physical file name is the physical file name of the batch processing program.

タスクスケジューラ情報テーブル418は、図4(e)に示すように、テナント番号、バッチ処理ID及びタスクIDの組合せごとに1つのレコードが登録されている。各レコードには、テナント番号、バッチ処理ID、バッチ処理パス、パラメータ情報、タスクID、ステータス、実行フラグ、その他の情報を含む主要情報が登録されている。 As shown in FIG. 4(e), the task scheduler information table 418 has one record registered for each combination of tenant number, batch processing ID, and task ID. Each record contains main information including the tenant number, batch processing ID, batch processing path, parameter information, task ID, status, execution flag, and other information.

ここで、バッチ処理パスは、バッチ処理を統括するバッチ処理メインプログラムの物理ファイル名(フルパス)を示す情報であり、パラメータ情報は、バッチ処理で読み込むパラメータ情報である。例えば、給与連携基礎データの作成を行うバッチ処理(以下「給与連携バッチ処理」という。)であれば、通勤交通費の支給金額に変動が生じた支給情報を識別するための情報であり、企業ID、社員ID、支給ID(日割支給情報の場合は日割IDも)等を含む情報となる。 Here, the batch processing path is information indicating the physical file name (full path) of the batch processing main program that oversees the batch processing, and the parameter information is parameter information read by the batch processing. For example, in the case of a batch processing that creates basic payroll linkage data (hereinafter referred to as "payroll linkage batch processing"), the information is for identifying payment information in which there has been a change in the amount of commuting expenses paid, and includes the company ID, employee ID, payment ID (and the pro rata ID in the case of pro rata payment information), etc.

図5は、運賃情報テーブル420のデータ構造を示す図である。
データベースサーバ170の記憶装置には、図5に示すように、電車やバス等の交通機関の運賃に関する運賃情報を登録する運賃情報テーブル420が記憶されている。
FIG. 5 is a diagram showing the data structure of the fare information table 420. As shown in FIG.
As shown in FIG. 5, the storage device of the database server 170 stores a fare information table 420 in which fare information relating to fares for transportation such as trains and buses is registered.

運賃情報テーブル420は、図5に示すように、運賃IDごとに1つのレコードが登録されている。各レコードには、運賃ID、区間情報(例えば、出発駅及び到着駅それぞれの駅番号)、運賃種別(例えば、1ヵ月運賃、3ヵ月運賃、6ヵ月運賃、12ヵ月運賃、片道運賃)、運賃、運賃の改定日、最終更新日、最終更新者、その他の情報を含む主要情報が登録されている。運賃改定があった場合、同一の区間について改定日が異なるレコードが登録される。この場合、古い方の改定日のレコードに係る運賃が改定前の運賃、新しい方の改定日のレコードに係る運賃が改定後の運賃として特定することができる。 As shown in FIG. 5, the fare information table 420 has one record registered for each fare ID. Each record stores main information including the fare ID, section information (e.g., the station numbers of the departure and arrival stations), fare type (e.g., one-month fare, three-month fare, six-month fare, 12-month fare, one-way fare), fare, fare revision date, last update date, last updater, and other information. When a fare revision occurs, records with different revision dates are registered for the same section. In this case, the fare associated with the record with the older revision date can be identified as the fare before revision, and the fare associated with the record with the newer revision date can be identified as the fare after revision.

社員の通勤交通費は、社員別経路情報テーブル406の経路情報及び運賃情報テーブル420の運賃情報に基づいて通勤経路に係る運賃を積算することにより計算することができる。また、通勤交通費を日割りで支給する場合は、社員別経路情報テーブル406の経路情報、社員別日割支給情報テーブル410の日割支給情報及び運賃情報テーブル420の運賃情報に基づいて通勤経路に係る運賃を積算することにより計算することができる。通勤交通費の計算方法は、公知の技術(例えば特開2003-90733号公報)を用いて行うことができる。 The commuting expenses of an employee can be calculated by accumulating the fare for the commuting route based on the route information in the employee route information table 406 and the fare information in the fare information table 420. In addition, if commuting expenses are paid on a daily basis, they can be calculated by accumulating the fare for the commuting route based on the route information in the employee route information table 406, the daily payment information in the employee daily payment information table 410, and the fare information in the fare information table 420. The commuting expenses can be calculated using known technology (for example, JP 2003-90733 A).

なお、図示省略するが、データベースサーバ170の記憶装置には、テーブル400~418以外にも、通勤交通費を計算するための各種定義データ等が登録されたテーブル、通勤交通費を給与と連携するための各種基礎データが登録されたテーブルなどが記憶されている。基礎データテーブルとしては、具体的に、給与基礎データテーブル、課税基礎データテーブル、社会保険基礎データテーブル及び雇用保険基礎データテーブル等がある。 In addition to tables 400 to 418, the storage device of database server 170 also stores tables in which various definition data for calculating commuting expenses and tables in which various basic data for linking commuting expenses with salary are registered, although these are not shown in the figure. Specific examples of basic data tables include a salary basic data table, a taxation basic data table, a social insurance basic data table, and an employment insurance basic data table.

ここで、給与基礎データは、通勤手当の支給金額のデータであり、課税基礎データは、通勤手当の支給金額に対する課税額又は非課税額のデータであり、社会保険基礎データは、通勤手当の支給金額に対する社会保険の保険金額のデータであり、雇用保険基礎データは、通勤手当の支給金額に対する雇用保険の保険金額のデータである。 Here, the basic salary data is data on the amount of the commuting allowance paid, the basic tax data is data on the taxable or non-taxable amount for the commuting allowance paid, the basic social insurance data is data on the amount of social insurance insurance for the commuting allowance paid, and the basic employment insurance data is data on the amount of employment insurance insurance for the commuting allowance paid.

〔動作〕
次に、本実施の形態の動作を説明する。
〔社員情報登録処理〕
初めに、人事権限を有する社員(以下「人事社員」という。)が社員情報を登録する場合の通勤交通費計算サーバ100の動作を説明する。
[Operation]
Next, the operation of this embodiment will be described.
[Employee information registration process]
First, the operation of commute expense calculation server 100 when an employee having personnel authority (hereinafter referred to as a "personnel employee") registers employee information will be described.

図6は、社員情報登録処理を示すフローチャートである。
CPU30は、MPU(Micro-Processing Unit)等からなり、ROM32の所定領域に格納されている所定のプログラムを起動させ、そのプログラムに従って、図6のフローチャートに示す社員情報登録処理を実行する。
FIG. 6 is a flowchart showing the employee information registration process.
The CPU 30 is made up of an MPU (Micro-Processing Unit) or the like, and starts up a predetermined program stored in a predetermined area of the ROM 32, and executes an employee information registration process shown in the flowchart of FIG. 6 in accordance with the program.

社員情報登録処理は、CPU30において実行されると、図6に示すように、まず、ステップS100に移行して、社員端末200からの社員情報の新規登録要求を受信したか否かを判定し、新規登録要求を受信したと判定した場合(YES)は、ステップS102に移行する。 When the employee information registration process is executed by the CPU 30, as shown in FIG. 6, the process first proceeds to step S100 to determine whether a new employee information registration request has been received from the employee terminal 200, and if it is determined that a new registration request has been received (YES), the process proceeds to step S102.

図7は、社員情報一覧画面500を示す図である。
ここで、交通費給与連携支援サービスの提供ページに人事権限を有するアカウントでログインすると、人事社員の社員端末200の表示装置には、トップページが表示される。トップページには、図示省略するが、「申請」「社員情報」「一括処理」「業務マスタ」などのメインメニューボタンが表示されている。なお、これらメインメニューボタンは常に画面上部に表示されており、トップページ以外のページからでも選択することができる。そして、人事社員が、社員端末200を介して「社員情報」のメニューボタンを選択(マウスによる押下又は指によるタッチ等を)することで、表示装置には、図7に示す社員情報一覧画面500が表示される。引き続き、社員情報一覧画面500にて、右下にある登録ボタン50を選択することで、社員情報の新規登録要求が通勤交通費計算サーバ100に送信される。
FIG. 7 is a diagram showing the employee information list screen 500.
Here, when the personnel employee logs in to the transportation fee/salary linkage support service provision page with an account having personnel authority, the top page is displayed on the display device of the employee terminal 200 of the personnel employee. Although not shown in the figure, the top page displays main menu buttons such as "Application", "Employee Information", "Batch Processing", and "Business Master". These main menu buttons are always displayed at the top of the screen and can be selected from pages other than the top page. Then, when the personnel employee selects the "Employee Information" menu button via the employee terminal 200 (by pressing with a mouse or touching with a finger, etc.), the employee information list screen 500 shown in FIG. 7 is displayed on the display device. Next, by selecting the registration button 50 at the bottom right of the employee information list screen 500, a new registration request for employee information is sent to the commute transportation expense calculation server 100.

ステップS102では、社員情報入力処理を実行する。
図8は、社員情報新規登録画面501を示す図である。
In step S102, an employee information input process is executed.
FIG. 8 is a diagram showing the employee information new registration screen 501.

ここで、社員情報入力処理が実行されると、まず、人事社員の社員端末200に対して、社員情報の入力画面情報を送信する。これにより、人事社員の社員端末200の表示装置には、図8に示す社員情報新規登録画面501が表示される。人事社員は、この画面において、社員情報マスタテーブル404に登録する情報を入力する。 When the employee information input process is executed, first, employee information input screen information is sent to the employee terminal 200 of the human resources employee. As a result, the new employee information registration screen 501 shown in FIG. 8 is displayed on the display device of the employee terminal 200 of the human resources employee. On this screen, the human resources employee inputs the information to be registered in the employee information master table 404.

社員情報新規登録画面501では、図8に示すドロップメニュー52にて、登録対象の社員の所属部署を選択することができる。また、右下にある地図ボタン53を押下することで、社員自宅の最寄り駅を自動で最寄り駅一覧に入力し、最寄り駅登録ボタン54を押下することで、任意の最寄り駅の入力をすることができる。また、登録ボタン55を押下することで入力した最寄り駅を確定することができる。 On the new employee information registration screen 501, the user can select the department to which the employee to be registered belongs using the drop menu 52 shown in FIG. 8. In addition, by pressing the map button 53 at the bottom right, the nearest station to the employee's home is automatically entered into a list of nearest stations, and by pressing the nearest station registration button 54, the user can enter any nearest station. In addition, by pressing the registration button 55, the nearest station entered can be confirmed.

次いで、ステップS104に移行して、社員端末200からの登録申請を受信したか否かを判定し、登録申請を受信したと判定した場合(YES)は、ステップS106に移行する。 Then, the process proceeds to step S104 to determine whether a registration request has been received from the employee terminal 200, and if it is determined that a registration request has been received (YES), the process proceeds to step S106.

ここで、登録する社員情報の入力が完了し、社員端末200にて、図8に示す社員情報新規登録画面501の右下の登録ボタン55が選択されることで、登録申請が通勤交通費計算サーバ100に送信される。 At this point, input of the employee information to be registered is completed, and the registration button 55 at the bottom right of the new employee information registration screen 501 shown in FIG. 8 is selected on the employee terminal 200, whereby a registration application is sent to the commuter travel expense calculation server 100.

ステップS106では、入力された社員情報の内容を確認し、必須の記入欄への記入漏れがないと判定した場合に、入力された社員情報を社員情報マスタテーブル404に登録する。ステップS106の処理が終了すると、一連の処理を終了して元の処理に復帰する。 In step S106, the contents of the entered employee information are checked, and if it is determined that no mandatory fields have been omitted, the entered employee information is registered in the employee information master table 404. When the processing in step S106 ends, the series of processes ends and the original process is resumed.

一方、ステップS104で、登録申請を受信しないと判定した場合(NO)は、ステップS108に移行して、社員端末200からのキャンセル要求を受信したか否かを判定し、キャンセル要求を受信したと判定した場合(YES)は、一連の処理を終了して元の処理に復帰する。 On the other hand, if it is determined in step S104 that a registration request has not been received (NO), the process proceeds to step S108 to determine whether a cancellation request has been received from the employee terminal 200, and if it is determined that a cancellation request has been received (YES), the process ends and returns to the original process.

ここで、社員情報の入力途中で、社員端末200にて、図8に示す社員情報新規登録画面501の右下の戻るボタン56が選択されることで、入力をキャンセルするか否かのポップアップ画面(図示略)が表示され、そこでOKボタンを選択することで登録処理のキャンセル要求が通勤交通費計算サーバ100に送信される。 When the back button 56 at the bottom right of the new employee information registration screen 501 shown in FIG. 8 is selected on the employee terminal 200 during the entry of employee information, a pop-up screen (not shown) is displayed asking whether to cancel the entry or not, and when the OK button is selected on the pop-up screen, a request to cancel the registration process is sent to the commute travel expense calculation server 100.

一方、ステップS108で、キャンセル要求を受信しないと判定した場合(NO)は、ステップS104に移行する。 On the other hand, if it is determined in step S108 that a cancellation request has not been received (NO), the process proceeds to step S104.

一方、ステップS100で、新規登録要求を受信しないと判定した場合(NO)は、一連の処理を終了して元の処理に復帰する。 On the other hand, if it is determined in step S100 that a new registration request has not been received (NO), the process ends and returns to the original process.

〔インポート処理〕
次に、社員情報をインポートする場合の通勤交通費計算サーバ100の動作を説明する。
[Import process]
Next, the operation of commute expense calculation server 100 when importing employee information will be described.

図9は、インポート画面502を示す図である。
インポート処理は、CSV(Comma Separated Values)ファイル等から社員情報を読み込み、読み込んだ社員情報を社員情報マスタテーブル404に登録する処理である。インポート処理の機能は、例えば、人事社員が利用することができる。
FIG. 9 is a diagram showing the import screen 502. As shown in FIG.
The import process is a process of reading employee information from a CSV (Comma Separated Values) file or the like, and registering the read employee information in the employee information master table 404. The import process function can be used, for example, by a human resources staff member.

CSVファイルには、例えば、社員情報マスタテーブル404の社員情報のうち地図情報以外の情報を少なくとも登録する。人事社員は、対象テーブル名として「社員情報」を選択し、取込ファイルとしてCSVファイルを選択する。そして、その他の情報を入力し、「実行」のボタン59をクリックすると、選択したCSVファイルから社員情報が読み込まれ、読み込まれた社員情報が社員情報マスタテーブル404に登録される。CSVファイルに地図情報が登録されていない場合、地図情報は、図10の最寄り駅情報取得処理により取得される。 For example, at least the employee information in the employee information master table 404 other than the map information is registered in the CSV file. The human resources staff member selects "Employee Information" as the target table name and selects the CSV file as the import file. Then, by entering other information and clicking the "Execute" button 59, the employee information is read from the selected CSV file and the read employee information is registered in the employee information master table 404. If no map information is registered in the CSV file, the map information is obtained by the nearest station information acquisition process in FIG. 10.

インポート処理においてCSVファイルの各レコードごとに最寄り駅を取得、設定する構成にあっては、駅情報検索サーバの処理時間等により社員情報のインポートが完了するまで相当な時間を要することが想定される。そこで、本実施の形態のように、地図情報以外の社員情報はCSVファイルから読み込み社員情報マスタテーブル404に即時に登録する一方、位置情報及び最寄り駅情報についてはその後のバッチ処理により順次取得、設定することにより社員情報の早期利用を実現することができる。 In a configuration in which the nearest station is obtained and set for each record in the CSV file during the import process, it is expected that it will take a considerable amount of time to complete the import of employee information due to factors such as the processing time of the station information search server. Therefore, as in this embodiment, employee information other than map information is read from the CSV file and immediately registered in the employee information master table 404, while location information and nearest station information are obtained and set sequentially by subsequent batch processing, thereby enabling early use of employee information.

〔最寄り駅情報取得処理〕
次に、社員自宅の位置情報及び社員自宅の最寄り駅情報を取得する場合の通勤交通費計算サーバ100の動作を説明する。
[Nearest station information acquisition process]
Next, the operation of the commute travel expense calculation server 100 when acquiring the location information of the employee's home and the information of the nearest station to the employee's home will be described.

社員自宅の最寄り駅は、社員情報を登録するときに入力するが、社員数が多い場合は手間が大きくなる。特に、人事社員が他の一般社員について最寄り駅の登録を行う業務の場合、人事社員の手間が大きくなる。そこで、本実施の形態では、人事社員は、社員情報を登録するときに社員自宅の住所を入力するだけにしておき、バッチ処理により、対象となる全社員について、社員自宅の住所から位置情報等をまとめて取得し、取得した位置情報等を社員情報マスタテーブル404に登録する。 The nearest train station to an employee's home is entered when registering employee information, but this can be a lot of work when there are a large number of employees. This is particularly the case when the HR employee is tasked with registering the nearest train stations for other general employees, resulting in a lot of work for the HR employee. Therefore, in this embodiment, the HR employee only needs to enter the employee's home address when registering employee information, and a batch process is used to obtain location information, etc. from the employee home addresses for all target employees, and the obtained location information, etc. is registered in the employee information master table 404.

図10は、最寄り駅情報取得処理を示すフローチャートである。
最寄り駅情報取得処理は、CPU30において実行されると、図10に示すように、まず、ステップS200に移行する。
FIG. 10 is a flowchart showing the nearest station information acquisition process.
When the nearest station information acquisition process is executed by the CPU 30, as shown in FIG. 10, the process first proceeds to step S200.

ステップS200では、社員情報マスタテーブル404において、処理対象となる社員の社員情報が新規登録又は変更されたか否かを判定し、社員情報が新規登録又は変更されたと判定した場合(YES)は、ステップS202に移行する。なお、CSVファイルから社員情報がインポートされた後に最寄り駅情報取得処理が実行された場合、ステップS200では、インポートされた社員情報が新規登録されたと判定する。 In step S200, it is determined whether the employee information of the employee being processed has been newly registered or changed in the employee information master table 404, and if it is determined that the employee information has been newly registered or changed (YES), the process proceeds to step S202. Note that if the nearest station information acquisition process is executed after the employee information has been imported from the CSV file, it is determined in step S200 that the imported employee information has been newly registered.

ステップS202では、処理対象となる社員の社員ID及び社員自宅の住所(文字列)を社員情報マスタテーブル404から取得し、ステップS204に移行して、取得した社員ID及び社員自宅の住所をバッチリストに登録する。地図情報が登録されている社員については、ステップS202、S204の処理をスキップしてもよい。 In step S202, the employee ID and employee home address (character string) of the employee to be processed are obtained from the employee information master table 404, and the process proceeds to step S204, where the obtained employee ID and employee home address are registered in the batch list. For employees whose map information is registered, the processes in steps S202 and S204 may be skipped.

次いで、ステップS206に移行して、すべての社員についてステップS200~S204の処理が完了したか否かを判定し、すべての社員について処理が完了したと判定した場合(YES)は、ステップS208に移行して、バッチ処理を実行し、一連の処理を終了する。 Then, the process proceeds to step S206 to determine whether or not the processing of steps S200 to S204 has been completed for all employees. If it is determined that the processing has been completed for all employees (YES), the process proceeds to step S208 to execute batch processing and terminate the series of processes.

一方、ステップS206で、すべての社員についてステップS200~S204の処理が完了していないと判定した場合(NO)は、処理対象を次の社員に変更し、ステップS200に移行する。 On the other hand, if it is determined in step S206 that the processing of steps S200 to S204 has not been completed for all employees (NO), the processing target is changed to the next employee and the process proceeds to step S200.

一方、ステップS200で、社員情報が新規登録又は変更されていないと判定した場合(NO)は、ステップS206に移行する。 On the other hand, if it is determined in step S200 that employee information has not been newly registered or changed (NO), the process proceeds to step S206.

〔バッチ処理〕
次に、ステップS208のバッチ処理を説明する。
図11は、バッチ処理を示すフローチャートである。
[Batch processing]
Next, the batch processing in step S208 will be described.
FIG. 11 is a flowchart showing the batch processing.

バッチ処理は、ステップS208で実行されると、図11に示すように、まず、ステップS250に移行する。 When batch processing is executed in step S208, it first proceeds to step S250, as shown in FIG. 11.

ステップS250では、社員ID及び社員自宅の住所をバッチリストから取得し、ステップS252に移行する。 In step S250, the employee ID and the employee's home address are obtained from the batch list, and the process proceeds to step S252.

ステップS252では、ステップS250で取得した社員自宅の住所の文字列を含むリクエストを地図検索サーバに送信することにより社員自宅の位置情報を地図検索サーバから取得し、ステップS254に移行する。 In step S252, the location information of the employee's home is obtained from the map search server by sending a request including the character string of the employee's home address obtained in step S250 to the map search server, and the process proceeds to step S254.

ステップS254では、ステップS252で取得した位置情報を含むリクエストを駅情報検索サーバに送信することにより社員自宅の最寄り駅情報を駅情報検索サーバから取得し、ステップS256に移行する。 In step S254, a request including the location information obtained in step S252 is sent to the station information search server to obtain information about the nearest station to the employee's home from the station information search server, and the process proceeds to step S256.

ステップS256では、ステップS252、S254で取得した位置情報及び最寄り駅情報を、ステップS250で取得した社員IDに対応する社員情報として社員情報マスタテーブル404に登録し、ステップS258に移行する。 In step S256, the location information and nearest station information acquired in steps S252 and S254 are registered in the employee information master table 404 as employee information corresponding to the employee ID acquired in step S250, and the process proceeds to step S258.

ステップS258では、バッチリストのすべてのレコードについてステップS250~S256の処理が完了したか否かを判定し、すべてのレコードについて処理が完了したと判定した場合(YES)は、一連の処理を終了して元の処理に復帰する。 In step S258, it is determined whether the processing of steps S250 to S256 has been completed for all records in the batch list, and if it is determined that processing has been completed for all records (YES), the series of processes ends and the process returns to the original process.

一方、ステップS258で、すべてのレコードについて処理が完了していないと判定した場合(NO)は、処理対象を次のレコードに変更し、ステップS250に移行する。 On the other hand, if it is determined in step S258 that processing has not been completed for all records (NO), the process changes to the next record and proceeds to step S250.

〔通勤経路情報新規申請処理〕
次に、社員が通勤経路情報を新規に申請する場合の通勤交通費計算サーバ100の動作を説明する。なお、テーブル400~418へのアクセスは、実際は、通勤交通費計算サーバ100がデータベースサーバ170と通信することにより行うが、説明の平易化のため、通勤交通費計算サーバ100がテーブル400~418にアクセスするとして以下説明する。
[New commute route information application process]
Next, we will explain the operation of commute travel expense calculation server 100 when an employee newly applies for commute route information. Note that, in reality, access to tables 400 to 418 is performed by commute travel expense calculation server 100 communicating with database server 170, but for the sake of simplicity, the following explanation will be given assuming that commute travel expense calculation server 100 accesses tables 400 to 418.

図12は、通勤経路情報新規申請処理を示すフローチャートである。
通勤経路情報新規申請処理は、CPU30において実行されると、図12に示すように、まず、ステップS300に移行して、社員端末200からの新規申請要求を受信したか否かを判定し、新規申請要求を受信したと判定した場合(YES)は、ステップS302に移行する。
FIG. 12 is a flowchart showing the process for applying for new commute route information.
When the new commute route information application process is executed by the CPU 30, as shown in FIG. 12, first, the process proceeds to step S300 to determine whether or not a new application request has been received from the employee terminal 200, and if it is determined that a new application request has been received (YES), the process proceeds to step S302.

ここで、通勤経路情報の新規申請は、例えば、新入社員が初めて通勤経路情報を登録する場合、引っ越しをして通勤経路が変わった場合、又は勤務先が追加若しくは変更になった場合などに行われる。 A new application for commuting route information is made, for example, when a new employee registers commuting route information for the first time, when an employee moves and their commuting route changes, or when a workplace is added or changed.

ステップS102では、申請情報入力処理を実行する。申請情報入力処理では、入力画面を介して、通勤手段(乗物ID)、申請理由、社員自宅の最寄り駅、勤務先の最寄り駅、経路方向種別等の通勤経路情報を入力することができる。 In step S102, the application information input process is executed. In the application information input process, the employee can input commuting route information, such as the commuting means (vehicle ID), reason for application, nearest station to the employee's home, nearest station to the workplace, and route direction type, via the input screen.

図13は、通勤経路申請画面510を示す図である。
申請情報入力処理では、まず、図13に示すように通勤経路申請画面510が表示される。申請者(社員)は、通勤経路申請画面510において、適用開始日、通勤手段、交通会社、申請理由、社員自宅の住所、企業名、勤務先及び経路方向種別などを入力する。
FIG. 13 is a diagram showing commute route application screen 510.
In the application information input process, first, a commute route application screen 510 is displayed as shown in Fig. 13. On the commute route application screen 510, the applicant (employee) inputs the application start date, commuting means, transportation company, reason for application, employee home address, company name, place of work, and route direction type, etc.

社員自宅の住所については、申請者の社員IDに対応する社員自宅の住所を社員情報マスタテーブル404から取得し表示する。 For the employee home address, the employee home address corresponding to the applicant's employee ID is retrieved from the employee information master table 404 and displayed.

勤務先については、申請者の社員IDに対応する勤務先を社員情報マスタテーブル404から取得し、ドロップダウンリスト52に表示する。1人の社員につき複数の勤務先が登録されている場合、ドロップダウンリスト52には複数の勤務先が表示される。申請者は、それら勤務先のうちいずれかを選択する。 For the place of employment, the place of employment corresponding to the applicant's employee ID is obtained from the employee information master table 404 and displayed in the drop-down list 52. If multiple places of employment are registered for one employee, multiple places of employment are displayed in the drop-down list 52. The applicant selects one of these places of employment.

経路方向種別は、「往路」「復路」「往復」の3つのうちから1つを選択することができる。すなわち、往路しか利用しない場合、復路しか利用しない場合、往路と復路とで通勤経路が異なる場合、往復とも利用する場合などに、往路、復路及び往復で個別に通勤経路を設定することができる。 You can select one of three route direction types: "Outbound," "Return," and "Round trip." In other words, you can set separate commuting routes for the outbound, return, and round trip if you are only using the outbound route, only the return route, if the commuting routes are different for the outbound and return trips, or if you are using both the outbound and return trips.

図14は、通勤経路申請画面520を示す図である。
申請者は、その他の通勤経路情報を入力し、「次へ」のボタン53をクリックすると、図14に示すように通勤経路申請画面520が表示される。申請者は、通勤経路申請画面520において、社員自宅の最寄り駅、経由駅、勤務先の最寄り駅などを入力する。
FIG. 14 is a diagram showing commute route application screen 520.
The applicant enters other commuting route information and clicks the "Next" button 53, whereupon a commuting route application screen 520 is displayed, as shown in Fig. 14. In the commuting route application screen 520, the applicant enters the nearest station to the employee's home, any intermediate stations, the nearest station to the workplace, etc.

社員自宅の最寄り駅については、申請者の社員IDに対応する社員自宅の最寄り駅を社員情報マスタテーブル404から取得し、テキストボックス54に表示する。社員自宅の最寄り駅が複数登録されている場合、テキストボックス54には複数の最寄り駅が表示される。なお、社員自宅の最寄り駅は、「検索」のボタン55をクリックし手動で入力することもできる。 For the nearest station to the employee's home, the nearest station to the employee's home that corresponds to the applicant's employee ID is obtained from the employee information master table 404 and displayed in the text box 54. If multiple nearest stations to the employee's home are registered, multiple nearest stations are displayed in the text box 54. The nearest station to the employee's home can also be manually entered by clicking the "Search" button 55.

勤務先の最寄り駅については、通勤経路申請画面510で選択された勤務先について、申請者の社員IDに対応する勤務先の最寄り駅を社員情報マスタテーブル404から取得し、テキストボックス56に表示する。勤務先の最寄り駅が複数登録されている場合、テキストボックス56には複数の最寄り駅が表示される。なお、勤務先の最寄り駅は、「検索」のボタン57をクリックし手動で入力することもできる。 For the nearest station to the workplace, the nearest station to the workplace selected on the commute route application screen 510 that corresponds to the applicant's employee ID is retrieved from the employee information master table 404 and displayed in the text box 56. If multiple nearest stations to the workplace are registered, multiple nearest stations are displayed in the text box 56. Note that the nearest station to the workplace can also be manually entered by clicking the "Search" button 57.

申請者は、その他の通勤経路情報を入力し、「次へ」のボタン58をクリックすると、社員自宅の最寄り駅と勤務先の最寄り駅との間の通勤経路の候補が表示される。社員自宅の最寄り駅又は勤務先の最寄り駅が複数存在する場合は、それら最寄り駅のすべての組み合わせについて、社員自宅の最寄り駅と勤務先の最寄り駅との間の通勤経路の候補が表示される。申請者は、表示された通勤経路の候補からいずれかを選択し、選択した通勤経路を通勤経路として申請することができる。 After entering other commute route information, the applicant clicks the "Next" button 58, and candidate commute routes between the nearest station to the employee's home and the nearest station to the workplace are displayed. If there are multiple nearest stations to the employee's home or workplace, candidate commute routes between the nearest station to the employee's home and the nearest station to the workplace are displayed for all combinations of those nearest stations. The applicant can select one of the candidate commute routes displayed and apply for the selected commute route as their commute route.

次いで、ステップS304に移行して、社員端末200からの登録申請を受信したか否かを判定し、登録申請を受信したと判定した場合(YES)は、ステップS306に移行する。 Then, the process proceeds to step S304 to determine whether a registration request has been received from the employee terminal 200, and if it is determined that a registration request has been received (YES), the process proceeds to step S306.

ステップS306では、申請者の所属部署の情報(所属部署ID)を社員情報マスタテーブル404から取得するとともに、取得した所属部署IDに対応する承認先情報(承認権限を有する社員の社員ID)を部署情報テーブル412から取得する。 In step S306, information on the applicant's department (department ID) is obtained from the employee information master table 404, and approval recipient information (employee ID of an employee with approval authority) corresponding to the obtained department ID is obtained from the department information table 412.

ここで、所属部署IDは、ワークフロー専用の識別情報であり、異なる複数の実組織間で所属社員が同一の所属部署IDを有するように設定することが可能である。例えば、実組織である総務部に所属する社員A~Dと、実組織である営業部に所属する社員F~Iに対して、同一の所属部署IDである「B1」を設定することができる。なお、実組織については、社員情報マスタテーブル404の社員グループIDにて登録される。 The department ID is identification information specific to the workflow, and can be set so that employees across multiple different real organizations have the same department ID. For example, the same department ID "B1" can be set for employees A to D who belong to the general affairs department, which is a real organization, and employees F to I who belong to the sales department, which is also a real organization. Note that real organizations are registered using the employee group ID in the employee information master table 404.

また、例えば、社員A及びFは上司権限を有する社員であるとして、ワークフローにおける承認権限が与えられているとする。また、社員Eは一般社員であり、代理申請権限が与えられているとする。ここで、承認権限は、ワークフローにおいて同じ所属部署(例えばB1)に所属する所属社員の申請内容を承認する権限であり、代理申請権限は、人事部以外の社員が他の所属社員の申請を代理で行う権限である。すなわち、承認権限を有する社員A及びFは、同じ所属部署B1の社員B~E及びG~Iの申請に対して承認を行うことができる。また、代理申請権限を有する社員Eは、同じ所属部署B1の社員A~D及びF~Iの申請処理を代理で行うことができる。 For example, suppose that employees A and F are employees with supervisor authority and have been given approval authority in the workflow. Also, suppose that employee E is a general employee and has been given proxy application authority. Here, approval authority is the authority to approve the application contents of employees who belong to the same department (e.g. B1) in the workflow, and proxy application authority is the authority for employees other than the human resources department to make applications on behalf of other employees. In other words, employees A and F who have approval authority can approve applications made by employees B to E and G to I in the same department B1. Also, employee E who has proxy application authority can process applications on behalf of employees A to D and F to I in the same department B1.

これにより、実組織が異なっていても、部署情報テーブル412で定義された同一の所属部署IDで管理されている場合、実組織を跨いだ承認処理及び代理申請処理を行うことができる。すなわち、アメーバ状の承認ルートを構築することができる。 As a result, even if the real organizations are different, approval processing and proxy application processing can be performed across real organizations as long as they are managed with the same department ID defined in the department information table 412. In other words, an amoeba-like approval route can be constructed.

次いで、ステップS308に移行して、取得した承認先情報に基づいて承認ルートを構築する。その後、構築した承認ルートに基づいてルート先の各承認者宛てに申請情報の承認要求を送信する。 Next, the process proceeds to step S308, where an approval route is constructed based on the obtained approval destination information. After that, an approval request for the application information is sent to each approver at the route destination based on the constructed approval route.

例えば、所属部署B1に所属する一般社員(A及びF以外)が通勤経路の申請を行った場合の承認先は、社員A及びFの双方となり、承認後の点検先は、例えば、所属部署B1を担当している人事社員J~Lの3人となる。なお、人事社員は、どの部署に対しても点検を行う権限を有している。 For example, if a general employee (other than A and F) in department B1 applies for a commuter route, approval will be provided by both employees A and F, and after approval, the route will be inspected by three personnel staff members J through L in charge of department B1. Note that personnel staff members have the authority to inspect any department.

すなわち、承認ルートは、まず「社員A及びF」となり、社員Aが先に承認後は「社員A→人事社員J~L」となる。一方、社員Fが先に承認後は、「社員F→人事社員J~L」となる。すなわち、承認は社員A及びFのいずれか一方が行えばよく双方共の承認は必要ない。また、承認後の点検は、所属部署B1を担当している人事社員J~Lの3人となり、点検についても人事社員J~Lのうちのいずれか一人が行えばよい。 In other words, the approval route will be "employees A and F" first, and after employee A approves first, it will be "employee A → personnel employees J-L". On the other hand, after employee F approves first, it will be "employee F → personnel employees J-L". In other words, approval only needs to be done by either employee A or F, and approval by both is not required. In addition, inspection after approval will be carried out by the three personnel employees J-L in charge of department B1, and inspection can also be carried out by any one of personnel employees J-L.

このようにして、承認及び点検が行われ申請が許可されることで申請情報が、社員別経路情報テーブル406、社員別支給情報テーブル408及び社員別日割支給情報テーブル410に登録される。すなわち、新たな通勤経路が登録されることによって、社員別支給情報テーブル408又は社員別日割支給情報テーブル410に記憶された支給情報又は日割支給情報に通勤交通費の支給金額が変わる変動が生じる。 In this way, approval and inspection are carried out, and the application is approved, and the application information is registered in the employee-specific route information table 406, the employee-specific payment information table 408, and the employee-specific daily payment information table 410. In other words, when a new commuting route is registered, a change occurs in the payment information or daily payment information stored in the employee-specific payment information table 408 or the employee-specific daily payment information table 410, causing a change in the amount of commuting expenses paid.

ステップS308の処理が終了すると、一連の処理を終了して元の処理に復帰する。
一方、ステップS304で、登録申請を受信しないと判定した場合(NO)は、ステップS310に移行して、社員端末200からのキャンセル要求を受信したか否かを判定し、キャンセル要求を受信したと判定した場合(YES)は、一連の処理を終了して元の処理に復帰する。
When the process of step S308 is completed, the series of processes ends and the process returns to the original process.
On the other hand, if it is determined in step S304 that a registration application has not been received (NO), the process proceeds to step S310 to determine whether or not a cancellation request has been received from the employee terminal 200, and if it is determined that a cancellation request has been received (YES), the process ends and returns to the original process.

一方、ステップS310で、キャンセル要求を受信しないと判定した場合(NO)は、ステップS304に移行する。 On the other hand, if it is determined in step S310 that a cancellation request has not been received (NO), the process proceeds to step S304.

一方、ステップS300で、新規申請要求を受信しないと判定した場合(NO)は、新規申請要求を受信するまでステップS300で待機する。 On the other hand, if it is determined in step S300 that a new application request has not been received (NO), the system waits in step S300 until a new application request is received.

〔支給情報追加・修正処理〕
次に、人事社員が、社員別支給情報テーブル408及び社員別日割支給情報テーブル410に登録された支給情報の追加及び修正を行う場合の動作を説明する。
[Payment information addition/modification processing]
Next, the operation when a personnel staff member adds or modifies the payment information registered in the employee-specific payment information table 408 and the employee-specific daily prorated payment information table 410 will be described.

通勤費給与連携サービスの提供ページに人事権限を有するアカウントでログインすると、人事社員の社員端末200の表示装置には、サービスのトップページが表示される。このトップページには、図示省略するが、「申請」「社員情報」「業務マスタ」などのメインメニューボタンが表示されている。なお、図示省略するが、これらメインメニューボタンは常に画面上部に表示されており、トップページ以外のページからでも選択することができる。そして、人事社員が、社員端末200を介して「社員情報」のメニューボタンを選択(マウスによる押下又は指によるタッチ等を)することで、表示装置には、図7に示す社員情報一覧画面500が表示される。ここで、人事社員は、通勤交通費の支給金額の計算に係る業務を行う権限を有している。 When a HR employee logs in to the commuter expense/salary linkage service provider page with an account that has HR authority, the service's homepage is displayed on the display device of the HR employee's employee terminal 200. Although not shown in the figure, this homepage displays main menu buttons such as "Application," "Employee Information," and "Business Master." Although not shown in the figure, these main menu buttons are always displayed at the top of the screen and can be selected from pages other than the homepage. When the HR employee selects the "Employee Information" menu button via the employee terminal 200 (by pressing the mouse or touching with a finger, etc.), the employee information list screen 500 shown in FIG. 7 is displayed on the display device. Here, the HR employee has the authority to perform tasks related to the calculation of commuter expense payment amounts.

支給情報追加・修正処理は、社員情報一覧画面500において追加又は修正対象の社員を選択し、経路一覧ボタン51を選択したあとに表示される経路一覧画面800において実行される処理である。経路一覧画面800には、選択社員が利用する通勤経路であって承認を受けた1又は複数の通勤経路が表示される。選択社員が複数の勤務先に属する場合、経路一覧画面800には、複数の勤務先のそれぞれについて自宅から勤務先までの通勤経路又は勤務先から自宅までの通勤経路が表示される。 The payment information addition/modification process is a process executed on the route list screen 800 that is displayed after selecting an employee to be added or modified on the employee information list screen 500 and selecting the route list button 51. The route list screen 800 displays one or more approved commuting routes used by the selected employee. If the selected employee belongs to multiple workplaces, the route list screen 800 displays the commuting route from home to the workplace or the commuting route from the workplace to home for each of the multiple workplaces.

図15は、支給情報追加・修正処理を示すフローチャートである。図16は、経路一覧画面800を示す図である。図17は、支給情報一覧画面801を示す図である。 Figure 15 is a flowchart showing the payment information addition/modification process. Figure 16 is a diagram showing the route list screen 800. Figure 17 is a diagram showing the payment information list screen 801.

支給情報追加・修正処理は、CPU30において実行されると、図15に示すように、まず、ステップS400に移行する。 When the payment information addition/modification process is executed by the CPU 30, the process first proceeds to step S400, as shown in FIG. 15.

ステップS400では、社員端末200からの情報に基づいて、経路一覧画面800に表示された選択社員の通勤経路一覧から選択された通勤経路について経路の修正ボタン80が選択されたか否かを判定する。そして、経路の修正ボタン80が選択されたと判定した場合(YES)は、支給情報一覧画面801の画面情報を社員端末200に送信する。すなわち、図16に示す経路一覧画面800にて経路の修正ボタン80が選択された場合は、社員端末200の表示装置に、図17に示す支給情報一覧画面801が表示される。 In step S400, based on information from the employee terminal 200, it is determined whether the Modify Route button 80 has been selected for a commuting route selected from the list of commuting routes for the selected employee displayed on the route list screen 800. If it is determined that the Modify Route button 80 has been selected (YES), the screen information of the payment information list screen 801 is sent to the employee terminal 200. In other words, when the Modify Route button 80 is selected on the route list screen 800 shown in FIG. 16, the payment information list screen 801 shown in FIG. 17 is displayed on the display device of the employee terminal 200.

次いで、ステップS402に移行して、社員端末200からの情報に基づいて、支給情報一覧画面801にて、追加ボタン82が選択されたか否かを判定する。そして、追加ボタン82が選択されたと判定した場合(YES)は、支給情報設定画面の画面情報を社員端末200に送信する。すなわち、図17に示す支給情報一覧画面801にて、日割支給情報が選択された状態で修正ボタン83が選択された場合は、社員端末200の表示画面に、日割支給情報設定画面(図示略)が表示される。なお、図示省略するが、定期の支給情報が選択された状態で修正ボタン83が選択された場合は、日割支給情報設定画面とは異なる定期の支給情報について追加設定できる画面が表示され、何も選択していない状態で追加ボタン82が選択された場合は、定期と日割の両方の支給情報を追加設定できる画面が表示される。 Next, the process proceeds to step S402, where it is determined based on information from the employee terminal 200 whether the Add button 82 has been selected on the payment information list screen 801. If it is determined that the Add button 82 has been selected (YES), the screen information of the payment information setting screen is sent to the employee terminal 200. That is, if the Modify button 83 is selected with pro rata payment information selected on the payment information list screen 801 shown in FIG. 17, a pro rata payment information setting screen (not shown) is displayed on the display screen of the employee terminal 200. Note that, although not shown, if the Modify button 83 is selected with regular payment information selected, a screen that allows additional settings of regular payment information different from the pro rata payment information setting screen is displayed, and if the Add button 82 is selected with nothing selected, a screen that allows additional settings of both regular and pro rata payment information is displayed.

次いで、ステップS404に移行して、支給情報追加処理を実行する。支給情報追加処理として、日割支給情報設定画面において、人事社員が入力した情報に基づいて、支給情報を追加する場合の処理を説明する。 Then, the process proceeds to step S404 to execute the payment information addition process. As the payment information addition process, the process of adding payment information based on the information entered by the human resources employee on the pro rata payment information setting screen will be described.

人事社員は、社員端末200を介して、日割支給情報設定画面にて必要な情報を入力する。具体的に、日割支給対象期間、支給対象日数、利用方向種別(片道/往復)を入力する。日割支給情報は、例えば、入社日が中途半端な日で、月の途中から出勤するような場合に、その月の出勤日だけ通勤交通費を日割で支給するような場合に設定される情報である。又は、例えば感染症の蔓延などによって在宅勤務を行う必要があり、週に2日だけ出勤するといった場合に出勤日だけ通勤交通費を日割で支給するような場合に設定される情報である。従って、日割対象の期間を日割支給対象期間として設定する。 The personnel staff enters the necessary information on the pro rata payment information setting screen via the employee terminal 200. Specifically, the staff enters the period for which the pro rata payment is applicable, the number of days for which the payment is applicable, and the type of direction of use (one way/round trip). The pro rata payment information is set, for example, when the joining date is an odd day and the employee starts working partway through the month, and commuting expenses are paid on a pro rata basis only for the days the employee works in that month. Or, for example, when the employee needs to work from home due to the spread of an infectious disease, and the employee works only two days a week, and commuting expenses are paid on a pro rata basis only for the days the employee works. Therefore, the period for which the pro rata payment is applicable is set as the period for which the pro rata payment is applicable.

ここで、利用方向種別は、往路と復路で同じ通勤経路を利用したのであれば往復を選択し、往路と復路とで異なる通勤経路を利用した又は片道のみ利用したのであれば片道を選択する。これにより、支給対象期間の各日付に対して共通して往復又は片道が設定される。また、同じ通勤経路で片道だけ利用した日と、往復で利用した日とが混在する場合は片道又は往復のいずれかを選択後に日付ごとに個別に利用方向種別を設定することができる。 Here, for the direction of travel type, select round trip if the same commuter route was used on the outbound and return journeys, and select one-way if different commuter routes were used on the outbound and return journeys or if only one-way travel was used. This allows round trip or one-way travel to be set commonly for each date in the payment period. Also, if there are days when the same commuter route was used only one way and days when it was used both ways, the direction of travel type can be set individually for each date after selecting either one-way or round trip.

また、日割支給情報の入力後に、日割支給情報設定画面に表示されたOKボタン(図示略)が選択されることで日割支給情報の入力が完了したと判定し、図17に示す支給情報一覧画面801に戻る。そして、支給情報一覧画面801には、新たに入力された日割支給情報が一覧に追加され、右下の確定ボタンが選択されることで、新たな日割支給情報が、社員別日割支給情報テーブル410に追加される。すなわち、日割支給情報の新規追加によって通勤交通費の支給金額に変動が生じる。 After inputting the pro rata payment information, by selecting the OK button (not shown) displayed on the pro rata payment information setting screen, it is determined that input of the pro rata payment information is complete, and the screen returns to the payment information list screen 801 shown in FIG. 17. The newly input pro rata payment information is added to the list on the payment information list screen 801, and by selecting the Confirm button at the bottom right, the new pro rata payment information is added to the employee pro rata payment information table 410. In other words, the addition of new pro rata payment information causes a change in the payment amount for commuting expenses.

ステップS404の処理が終了すると、一連の処理を終了して元の処理に復帰する。
一方、ステップS402で、追加ボタン82が選択されないと判定した場合(NO)は、ステップS406に移行して、社員端末200からの情報に基づいて、支給情報一覧画面801にて、選択支給情報について修正ボタン83が選択されたか否かを判定する。そして、修正ボタン83が選択されたと判定した場合(YES)は、支給情報設定画面の画面情報を社員端末200に送信する。すなわち、図17に示す支給情報一覧画面801にて、既に登録されている日割支給情報が選択された状態で修正ボタン83が選択された場合は、社員端末200の表示画面に、日割支給情報設定画面が既に情報が入力された状態で表示される。
When the process of step S404 ends, the series of processes ends and the process returns to the original process.
On the other hand, if it is determined in step S402 that the Add button 82 has not been selected (NO), the process proceeds to step S406, where it is determined, based on information from the employee terminal 200, whether or not the Modify button 83 has been selected for the selected payment information on the payment information list screen 801. If it is determined that the Modify button 83 has been selected (YES), screen information for the payment information setting screen is transmitted to the employee terminal 200. That is, if the Modify button 83 is selected with pro rata payment information that has already been registered selected on the payment information list screen 801 shown in FIG. 17, the pro rata payment information setting screen is displayed on the display screen of the employee terminal 200 with information already entered.

次いで、ステップS408に移行して、支給情報修正処理を実行する。支給情報修正処理は、日割支給情報設定画面にて既に入力された情報を修正する処理であり、支給情報追加処理と比較して、新たに情報を入力するか既に入力された情報を変更(修正)するかの違いのみで同様の処理となるので説明を省略する。また、日割支給情報が修正されることによって社員別日割支給情報テーブル410に記憶された日割支給情報に通勤交通費の支給金額が変わる変動が生じる。ステップS408の処理が終了すると、一連の処理を終了して元の処理に復帰する。 Next, the process proceeds to step S408, where the payment information correction process is executed. The payment information correction process is a process for correcting information already entered on the pro rata payment information setting screen, and is the same process as the payment information addition process, except that new information is entered or already entered information is changed (corrected), so a description of this process is omitted. Furthermore, correction of the pro rata payment information causes a change in the pro rata payment amount for commuting expenses in the pro rata payment information stored in the employee-specific pro rata payment information table 410. When the process of step S408 is completed, the series of processes is terminated and the original process is resumed.

一方、ステップS406で、修正ボタン83が選択されないと判定した場合(NO)は、ステップS410に移行して、追加ボタン82及び修正ボタン83を除く他のボタンが選択されたか否かを判定する。そして、他のボタンが選択されたと判定した場合(YES)は、他のボタンに対応する画面の画面情報を社員端末200に送信し、ステップS412に移行する。 On the other hand, if it is determined in step S406 that the Modify button 83 has not been selected (NO), the process proceeds to step S410, where it is determined whether any other button other than the Add button 82 and the Modify button 83 has been selected. If it is determined that any other button has been selected (YES), the screen information of the screen corresponding to the other button is sent to the employee terminal 200, and the process proceeds to step S412.

ステップS412では、選択された他のボタンに対応する処理を実行する。他のボタンとしては、図17に示すように、解約ボタン、削除ボタン、確定ボタン及びキャンセルボタンがある。解約ボタンが選択された場合は定期の解約処理が実行され、削除ボタンが選択された場合は選択支給情報の削除処理が実行され、キャンセルボタンが選択された場合は、通勤経路の修正がキャンセルされて経路一覧画面800に戻る処理が実行される。ステップS412の処理が終了すると、一連の処理を終了して元の処理に復帰する。 In step S412, the process corresponding to the other button that was selected is executed. The other buttons include a Cancel button, a Delete button, a Confirm button, and a Cancel button, as shown in FIG. 17. When the Cancel button is selected, the process of canceling the commuter pass is executed, when the Delete button is selected, the process of deleting the selected payment information is executed, and when the Cancel button is selected, the process of canceling the commuter route correction and returning to the route list screen 800 is executed. When the process in step S412 is completed, the series of processes is terminated and the original process is resumed.

一方、ステップS410で、他のボタンが選択されないと判定した場合(NO)は、ステップS402に移行する。 On the other hand, if it is determined in step S410 that no other button has been selected (NO), the process proceeds to step S402.

一方、ステップS400で、経路の修正ボタン80が選択されないと判定した場合(NO)は、経路の修正ボタン80が選択されるまでステップS400で待機する。 On the other hand, if it is determined in step S400 that the route modification button 80 has not been selected (NO), the process waits in step S400 until the route modification button 80 is selected.

〔支給情報追加・修正処理〕
上記支給情報追加・修正処理と同様の機能は、一般社員も利用することができる。一般社員は、自己の支給情報について追加を行うことができる。ただし、一般社員が行った支給情報の追加については、承認先の承認を得てその内容が確定される点で異なる。
[Payment information addition/modification processing]
Regular employees can also use the same functions as the payment information addition/modification process described above. Regular employees can add to their own payment information. However, the difference is that the content of the payment information added by regular employees is finalized after approval from the approving party.

〔給与連携基礎データ作成タスク登録処理〕
次に、通勤交通費の支給金額に変動が生じたことを契機に、バッチサーバ150に対して給与連携基礎データ作成タスクの登録を行う場合の通勤交通費計算サーバ100の動作を説明する。
[Payroll link basic data creation task registration process]
Next, the operation of the commute expense calculation server 100 in the case where a salary linked basic data creation task is registered in the batch server 150 in response to a change in the amount of commute expense payment will be described.

図18は、給与連携基礎データ作成タスク登録処理を示すフローチャートである。
給与連携基礎データ作成タスク登録処理は、CPU30において実行されると、図18に示すように、まず、ステップS500に移行する。
FIG. 18 is a flowchart showing the salary-linked basic data creation task registration process.
When the payroll linked basic data creation task registration process is executed by the CPU 30, as shown in FIG. 18, first, the process proceeds to step S500.

ステップS500では、社員別支給情報テーブル408又は社員別日割支給情報テーブル410の支給情報の変動が生じたか否かを判定する。そして、支給情報の変動が生じたと判定した場合(YES)は、ステップS502に移行する。 In step S500, it is determined whether a change has occurred in the payment information in the employee-specific payment information table 408 or the employee-specific daily payment information table 410. If it is determined that a change has occurred in the payment information (YES), the process proceeds to step S502.

図19は、通勤交通費の支給金額に変動が生じる例を説明する図である。
図19に示すように、社員による通勤経路の新規申請があってこの申請について上司の承認及び人事部の承認(許可)が得られた場合に、新規に申請された通勤経路に応じた支給情報が生成されて、それが社員別支給情報テーブル408に登録される。同様に、人事社員によって代理で通勤経路の新規申請があった場合も、申請された通勤経路に応じた支給情報が生成されて、それが社員別支給情報テーブル408に登録される。このような場合に、支給情報に支給金額が変わる変動があったか否かを判定する。
FIG. 19 is a diagram for explaining an example in which the amount of commuting expenses paid fluctuates.
As shown in Fig. 19, when an employee applies for a new commute route and the application is approved (permitted) by the superior and the human resources department, payment information according to the newly applied commute route is generated and registered in the employee-specific payment information table 408. Similarly, when a human resources employee applies for a new commute route on behalf of an employee, payment information according to the applied commute route is generated and registered in the employee-specific payment information table 408. In such cases, it is determined whether there has been a change in the payment information that would change the payment amount.

また、人事社員の月次処理によって、例えば、通勤交通費を日割りで支給する計算が行われた場合に社員別日割支給情報テーブル410の登録内容に支給金額が変わる変動が生じるため、この変動を支給金額の変動と判定する。 In addition, when monthly processing by personnel staff involves calculations such as the payment of commuting expenses on a pro rata basis, fluctuations occur in the registered details of the employee-specific pro rata payment information table 410 that change the payment amount, and these fluctuations are determined to be changes in the payment amount.

また、運賃改定によって、既に支給されている支給額との間に差額が生じる場合にもその差額の支給によって社員別支給情報テーブル408又は社員別日割支給情報テーブル410の支給情報に支給金額が変わる変動が生じるため、この変動を支給金額の変動と判定する。また、日割支給額の登録、運賃改定による差額の調整処理が完了後に、給与データの給与連携システムへの出力処理が行われ、その後、先取りで次回の給与連携基礎データを作成する処理が行われる。このとき日割支給や運賃改定等によって先取りで作成した給与連携基礎データに変動が生じる場合は、この場合も社員別支給情報テーブル408又は社員別日割支給情報テーブル410の支給情報に支給金額が変わる変動が生じるため、支給金額の変動が生じていると判定する。支給金額の変動は、例えば、運賃情報テーブル420において、前回の通勤交通費支給月の給与支給計算処理の完了以後の改定日が設定されたか否かで判定する。 In addition, even if a difference occurs between the amount already paid due to a fare revision, the payment of the difference causes a change in the payment amount in the employee-specific payment information table 408 or employee-specific daily payment information table 410, and this change is determined to be a change in the payment amount. In addition, after the registration of the daily payment amount and the adjustment process of the difference due to the fare revision are completed, the salary data is output to the salary linkage system, and then the process of creating the next salary linkage basic data in advance is performed. At this time, if a change occurs in the salary linkage basic data created in advance due to daily payment or fare revision, etc., a change in the payment amount occurs in the payment information in the employee-specific payment information table 408 or employee-specific daily payment information table 410, and this is also determined to be a change in the payment amount. The change in the payment amount is determined, for example, by whether or not a revision date has been set in the fare information table 420 after the completion of the salary payment calculation process for the previous commuting expenses payment month.

ステップS502では、支給金額が変動した支給情報に係るパラメータ情報をチェックする。チェックするパラメータ情報としては、給与連携バッチ処理を実行するテナントのテナント番号、企業ID、給与連携バッチ処理プログラムのID(以下「給与連携バッチ処理ID」という。)、ステップS500で支給金額が変わる変動があったと判定した支給情報の支給IDを含む。 In step S502, parameter information related to the payment information in which the payment amount has changed is checked. The parameter information to be checked includes the tenant number of the tenant executing the payroll linkage batch process, the company ID, the ID of the payroll linkage batch process program (hereinafter referred to as the "payroll linkage batch process ID"), and the payment ID of the payment information in which it was determined in step S500 that a change has occurred that has changed the payment amount.

運賃改定処理対象として設定されている支給情報のうち運賃改定の対象となった支給情報(以下「運賃改定に係る支給情報」という。)の支給IDについては、例えば、次のとおりである。社員別経路情報テーブル406及び運賃情報テーブル420に基づいて、運賃改定の対象となった区間情報から該当の経路情報を特定し、特定した経路情報を用いて通勤交通費を計算した支給情報の支給IDを社員別支給情報テーブル408から取得する。取得した支給IDを含むパラメータ情報は、ステップS522においてタスクスケジューラ情報テーブル418に登録される。 The payment ID of the payment information that has been subject to the fare revision among the payment information set as the target for fare revision processing (hereinafter referred to as "payment information related to the fare revision") is, for example, as follows: Based on the employee-specific route information table 406 and the fare information table 420, the relevant route information is identified from the section information that has been subject to the fare revision, and the payment ID of the payment information for which commuting expenses have been calculated using the identified route information is obtained from the employee-specific payment information table 408. Parameter information including the obtained payment ID is registered in the task scheduler information table 418 in step S522.

運賃改定処理対象として設定されている日割支給情報のうち運賃改定の対象となった日割支給情報(以下「運賃改定に係る日割支給情報」という。)の支給IDについては、例えば、次のとおりである。社員別経路情報テーブル406及び運賃情報テーブル420に基づいて、運賃改定の対象となった区間情報から該当の経路情報を特定し、特定した経路情報を用いて通勤交通費を計算した日割支給情報の支給ID及び日割IDを社員別日割支給情報テーブル410から取得する。取得した支給IDを含むパラメータ情報は、ステップS522においてタスクスケジューラ情報テーブル418に登録される。 The payment ID of the daily pro rata payment information that has been subject to fare revision among the daily pro rata payment information set as the target for fare revision processing (hereinafter referred to as "daily pro rata payment information related to fare revision") is, for example, as follows: Based on the employee-specific route information table 406 and the fare information table 420, the relevant route information is identified from the section information that has been subject to fare revision, and the payment ID and daily pro rata ID of the daily pro rata payment information for which commuting expenses have been calculated using the identified route information are obtained from the employee-specific daily pro rata payment information table 410. Parameter information including the obtained payment ID is registered in the task scheduler information table 418 in step S522.

次いで、ステップS504に移行して、記憶装置42に記憶されたバッチジョブ定義情報テーブル416から、バッチ処理メインプログラムの物理ファイル名(フルパス)を取得する。ここで、バッチ処理メインプログラムは、給与連携バッチ処理等の各種バッチ処理を統括制御するプログラムであり、バッチ処理メインプログラムの実行時に設定するパラメータの内容によって実行されるバッチ処理が制御される。 Then, the process proceeds to step S504, where the physical file name (full path) of the batch processing main program is obtained from the batch job definition information table 416 stored in the storage device 42. Here, the batch processing main program is a program that provides overall control over various batch processes such as payroll linkage batch processing, and the batch processing that is executed is controlled by the contents of the parameters that are set when the batch processing main program is executed.

次いで、ステップS506に移行して、記憶装置42に記憶されたシステムの環境情報テーブル414から、バッチサーバ150のIPアドレス、ログインユーザID及びパスワードを取得し、ステップS508に移行する。 Next, the process proceeds to step S506, where the IP address, login user ID, and password of the batch server 150 are obtained from the system environment information table 414 stored in the storage device 42, and the process proceeds to step S508.

ステップS508では、ステップS506で取得した情報に基づいて、バッチサーバ150にログインし、セッションを確立する。その後、ステップS510に移行する。 In step S508, the process logs in to the batch server 150 and establishes a session based on the information acquired in step S506. Then, the process proceeds to step S510.

ステップS510では、タスクスケジューラによるタスクの実行条件を作成する。タスクの実行条件は、バッチサーバ150との間の通信ラグを考慮した所定時間(以下「開始遅延時間」という。)後にタスクを実行するといった実行条件を作成する。開始遅延時間は、通勤交通費計算サーバサーバ100及びバッチサーバ150のシステム時刻が一致している場合、例えば、通勤交通費計算サーバ100のシステム時刻の2分後に設定する。システム時刻が所定時間ずれている場合は、システム時刻がずれている所定時間もさらに考慮する。すなわち、通信ラグを考慮してタスクスケジュールの登録から開始遅延時間後にタスクを実行するようにスケジュールを組む。 In step S510, the task execution conditions are created by the task scheduler. The task execution conditions are such that the task is executed after a predetermined time (hereinafter referred to as the "start delay time") that takes into account the communication lag with the batch server 150. If the system times of the commuter travel expense calculation server 100 and the batch server 150 are the same, the start delay time is set to, for example, two minutes after the system time of the commuter travel expense calculation server 100. If the system times differ by a predetermined time, the predetermined time by which the system times differ is also taken into account. In other words, the task is scheduled to be executed after the start delay time from the registration of the task schedule, taking into account the communication lag.

また、通勤交通費計算サーバ100及びバッチサーバ150は、これらのオペレーティングシステム(OS)にタスクスケジューラが搭載されている。 In addition, the commuter travel expense calculation server 100 and the batch server 150 have a task scheduler installed in their operating systems (OS).

タスクスケジューラは、コンピュータプログラムの実行制御システムの一つで、利用者が指定したスケジュールや条件に基づいてプログラムの起動や終了を行い、実行状態や実行結果を記録して報告するものである。これにより、OS上での特定のコマンドや実行ファイルの起動や終了などをスケジュールに基づいて自動実行することができる。 A task scheduler is one of the execution control systems for computer programs, which starts and ends programs based on schedules and conditions specified by the user, and records and reports the execution status and results. This makes it possible to automatically start and end specific commands and executable files on the OS based on a schedule.

次いで、ステップS512に移行して、タスクのアクションを作成する。タスクのアクションは、実行プログラムと、実行パラメータ(実行プログラムに与える引数)とによって構成される。具体的に、実行プログラムは、バッチ処理メインプログラムとなり、実行パラメータは、テナント番号、給与連携バッチ処理ID及びタスクIDとなる。ここで、タスクIDは、タスクスケジューラに登録するタスクを識別するための情報である。 Next, proceed to step S512 to create a task action. A task action consists of an execution program and execution parameters (arguments given to the execution program). Specifically, the execution program is a batch processing main program, and the execution parameters are the tenant number, payroll integration batch processing ID, and task ID. Here, the task ID is information for identifying the task to be registered in the task scheduler.

次いで、ステップS514に移行して、タスク完了後のアクションに対する削除設定を作成する。ここで、支給金額に変動が生じた場合の給与連携基礎データの作成処理は、変動が生じたときにすぐに行われる処理であり、定期的に繰り返し行われる処理ではないためタスク完了後にアクションを削除する設定を作成する。具体的に、タスクが再度実行するようにスケジュールされていない場合に削除されるまでの時間を設定する。 Next, proceed to step S514 to create a deletion setting for the action after the task is completed. Here, the process of creating basic salary linkage data when there is a change in the payment amount is a process that is performed immediately when a change occurs, and is not a process that is repeated periodically, so a setting is created to delete the action after the task is completed. Specifically, the time until the task is deleted if it is not scheduled to be executed again is set.

次いで、ステップS516に移行して、タスクスケジューラのインスタンスを作成する。すなわち、タスクスケジューラで実行するバッチ処理メインプログラム(給与連携バッチ処理)のインスタンスを作成する。すなわち、バッチ処理メインプログラム、実行パラメータなどを、バッチサーバ150のメインメモリ上に展開して処理・実行できる状態にする。 Then, proceed to step S516 to create an instance of the task scheduler. That is, create an instance of the batch processing main program (payroll linkage batch processing) to be executed by the task scheduler. That is, the batch processing main program, execution parameters, etc. are expanded on the main memory of the batch server 150 so that they can be processed and executed.

ここで、給与連携バッチ処理は、通勤交通費の支給金額が変動したと判定後に、他の給与計算システムに通勤交通費の支給金額及び他の支給金額に係るデータを出力する前に実行する必要がある。そのため、給与連携バッチ処理は、支給金額に変動が生じたと判定後に速やかに実行されることが望ましい。 The payroll linkage batch process must be executed after it is determined that the commuter travel expense payment amount has changed, and before data related to the commuter travel expense payment amount and other payment amounts is output to other payroll calculation systems. Therefore, it is desirable to execute the payroll linkage batch process promptly after it is determined that a change has occurred in the payment amount.

また、タスクスケジューラでは、インスタンス単位で処理が実行され、複数のインスタンスを並列して実行することができる。 In addition, the task scheduler executes processes on an instance-by-instance basis, allowing multiple instances to run in parallel.

次いで、ステップS518に移行して、ステップS510~S516で作成した各種情報をタスクスケジューラに登録する。すなわち、テナント番号、企業ID、給与連携バッチ処理ID、タスクスケジュール(年月日時分)、実行ユーザ等の情報が登録される。 Next, the process proceeds to step S518, where the various information created in steps S510 to S516 is registered in the task scheduler. That is, information such as the tenant number, company ID, payroll integration batch processing ID, task schedule (year, month, day, hour, minute), and executing user is registered.

次いで、ステップS520に移行して、バッチサーバ150とのセッションを破棄し、ステップS522に移行する。 Then, proceed to step S520, discard the session with the batch server 150, and proceed to step S522.

ステップS522では、タスクスケジューラに登録したタスクの実行に必要な情報であるタスクスケジューラ情報をタスクスケジューラ情報テーブル418に登録する。具体的に、テナント番号、バッチ処理ID、バッチ処理パス、パラメータ情報、タスクID、ステータス、実行フラグ、その他の情報をタスクスケジューラ情報テーブル418に登録する。ステップS522の処理が終了すると、一連の処理を終了して元の処理に復帰する。 In step S522, task scheduler information, which is information necessary for executing the task registered in the task scheduler, is registered in the task scheduler information table 418. Specifically, the tenant number, batch process ID, batch process path, parameter information, task ID, status, execution flag, and other information are registered in the task scheduler information table 418. When the processing in step S522 ends, the series of processes ends and the process returns to the original process.

なお、ステップS508~S520の処理は、例えば、OSに搭載されたコマンドラインインターフェース(例えば、OSがWindowsの場合に「Windows PowerShell(登録商標)」)を用いて自動で行われる処理となる。 The processing in steps S508 to S520 is performed automatically, for example, using a command line interface installed in the OS (for example, "Windows PowerShell (registered trademark)" if the OS is Windows).

一方、ステップS500で、支給情報の変動が生じていないと判定した場合(NO)は、支給情報の変動が生じるまでステップS500で待機する。 On the other hand, if it is determined in step S500 that no change has occurred in the payment information (NO), the process waits in step S500 until a change occurs in the payment information.

〔給与連携バッチ処理プログラム実行処理〕
給与連携バッチ処理プログラム実行処理は、バッチサーバ150において、タスクスケジューラによって実行される処理となる。
[Payroll link batch processing program execution process]
The payroll linkage batch processing program execution process is a process executed by the task scheduler in the batch server 150.

図20は、給与連携バッチ処理プログラム実行処理を示すフローチャートである。図21は、バッチサーバ150におけるタスクスケジューラによるバッチ処理メインプログラムの実行処理の流れを示す図である。 Figure 20 is a flowchart showing the payroll linkage batch processing program execution process. Figure 21 is a diagram showing the flow of the batch processing main program execution process by the task scheduler in the batch server 150.

バッチサーバ150のCPUは、ROMの所定領域に格納されている所定のプログラムを起動させ、そのプログラムに従って、図20のフローチャートに示す給与連携バッチ処理プログラム実行処理を実行する。 The CPU of the batch server 150 starts a specific program stored in a specific area of the ROM, and executes the payroll linkage batch processing program execution process shown in the flowchart of Figure 20 in accordance with the program.

給与連携バッチ処理プログラム実行処理は、CPUにおいて実行されると、図20に示すように、まず、ステップS600に移行する。 When the payroll linkage batch processing program execution process is executed by the CPU, it first proceeds to step S600, as shown in Figure 20.

ステップS600では、登録されたタスクの実行時刻になったか否かを判定し、実行時刻になったと判定した場合(YES)は、ステップS602に移行する。 In step S600, it is determined whether the execution time for the registered task has arrived, and if it is determined that the execution time has arrived (YES), the process proceeds to step S602.

ここでは、図21に示すように、登録してから開始遅延時間後にバッチ処理メインプログラムが実行するようにタスクスケジュールがタスクスケジューラに登録されているため、登録から開始遅延時間後に実行時刻となる。 In this case, as shown in FIG. 21, the task schedule is registered in the task scheduler so that the batch processing main program is executed after the start delay time from registration, so the execution time is after the start delay time from registration.

ステップS602では、タスクスケジューラに登録された実行パラメータをチェックする。ここで、実行パラメータは、テナント番号、給与連携バッチ処理ID及びタスクIDとなる。 In step S602, the execution parameters registered in the task scheduler are checked. Here, the execution parameters are the tenant number, the payroll integration batch processing ID, and the task ID.

次いで、ステップS604に移行して、ステップS602でチェックした実行パラメータに対応するタスクの実行に必要なパラメータ情報をタスクスケジューラ情報テーブル418から取得する。具体的に、図21に示すように、パラメータ情報として、実行するタスクのテナント番号、バッチ処理ID及びタスクIDに対応するパラメータ情報を取得する。 Next, the process proceeds to step S604, where parameter information required to execute the task corresponding to the execution parameters checked in step S602 is obtained from the task scheduler information table 418. Specifically, as shown in FIG. 21, parameter information corresponding to the tenant number, batch processing ID, and task ID of the task to be executed is obtained as parameter information.

次いで、ステップS606に移行して、タスクスケジューラに登録された各種情報及びステップS604で取得したパラメータ情報に基づいてバッチ処理メインプログラムが実行され、給与連携バッチ処理プログラムが実行される。バッチ処理メインプログラムは、給与連携バッチ処理IDに対応する給与連携バッチ処理プログラム(モジュール)を、例えばバッチサーバ150の記憶装置に記憶されたバッチ処理業務モジュールライブラリ(図示略)から読み出す。そして、読み出した給与連携バッチ処理プログラムを実行する。 Next, the process proceeds to step S606, where the batch processing main program is executed based on the various information registered in the task scheduler and the parameter information acquired in step S604, and the payroll linkage batch processing program is executed. The batch processing main program reads out the payroll linkage batch processing program (module) corresponding to the payroll linkage batch processing ID, for example, from a batch processing business module library (not shown) stored in the storage device of the batch server 150. The read-out payroll linkage batch processing program is then executed.

給与連携バッチ処理プログラムが実行されると、図21に示すように、ステップS604で取得したパラメータ情報に対応する支給情報の変動内容を元に、給与連携基礎データ(給与基礎データ、課税基礎データ、社会保険基礎データ及び雇用保険基礎データ)の各計算値を再計算し、各種基礎データテーブルに登録されている各種基礎データの計算値を再計算後のデータに更新する。 When the payroll linkage batch processing program is executed, as shown in FIG. 21, the calculated values of the payroll linkage basic data (salary basic data, taxation basic data, social insurance basic data, and employment insurance basic data) are recalculated based on the changes in the payment information corresponding to the parameter information acquired in step S604, and the calculated values of the various basic data registered in the various basic data tables are updated to the recalculated data.

ここで、通勤交通費の支給金額を計算する給与支給計算処理には、社員に支給する支給金額のうち通勤交通費の支給金額及び通勤交通費に応じて変動する支給金額を計算する第1計算処理がある。また、給与支給計算処理には、他の支給金額(例えば残業代等)を計算する第2計算処理がある。さらに、第1計算処理及び第2計算処理の処理結果に基づいて支給金額を計算する第3計算処理がある。なお、第2計算処理及び第3計算処理は、例えば、他の給与計算システムにて行われる処理となる。給与連携バッチ処理では、第1計算処理が実行される。 The salary payment calculation process that calculates the amount of commuting expenses includes a first calculation process that calculates the amount of commuting expenses and the amount of payment that varies depending on the commuting expenses out of the amount of payment paid to the employee. The salary payment calculation process also includes a second calculation process that calculates other payment amounts (e.g. overtime pay, etc.). Furthermore, there is a third calculation process that calculates the payment amount based on the results of the first and second calculation processes. Note that the second and third calculation processes are, for example, processes performed in another salary calculation system. In the salary linkage batch process, the first calculation process is executed.

給与連携バッチ処理は、当月に支給すべき通勤交通費の支給金額について一括で計算するのではなく、支給情報の単位で時系列に分散して実行される。例えば、通勤経路の新規申請や変更申請があった場合は、その申請に係る支給金額をそのタイミングで計算し、運賃改定があった場合は、運賃改定に係る支給金額をそのタイミングで計算する。 The payroll link batch process does not calculate the amount of commuting expenses to be paid in the current month all at once, but instead distributes it over time for each payment information unit. For example, when a new application for a commuting route or an application for a change is made, the payment amount related to that application is calculated at that time, and when a fare revision is made, the payment amount related to the fare revision is calculated at that time.

また、給与連携バッチ処理では、所定期間ごとに(通勤交通費の支給月ごと(例えば、1ヵ月ごと、3ヵ月ごと等))に通勤交通費の支給金額が計算される。そのため、給与連携バッチ処理プログラムの実行は、前回の通勤交通費支給月の給与支給計算処理の完了後から、次回の通勤交通費支給月の給与支給計算処理の実行タイミングの前までの期間内に行われる。ここで、「給与支給計算処理の実行タイミング」とは、給与支給計算処理のうち第2計算処理及び第3計算処理が例えば月次の一括処理であり、第2計算処理及び第3計算処理が実行されるタイミングをいう。また、通勤交通費支給月の給与支給計算処理では、第1計算処理、第2計算処理及び第3計算処理のうち未計算の計算処理が行われる。 In addition, in the salary linkage batch process, the commuter transportation expense payment amount is calculated for each specified period (for each month in which the commuter transportation expense is paid (for example, every month, every three months, etc.)). Therefore, the salary linkage batch processing program is executed within the period from the completion of the salary payment calculation process for the previous commuter transportation expense payment month to the execution timing of the salary payment calculation process for the next commuter transportation expense payment month. Here, the "execution timing of the salary payment calculation process" refers to the timing when the second calculation process and the third calculation process are executed, in which the second calculation process and the third calculation process are, for example, monthly batch processes. In addition, in the salary payment calculation process for the commuter transportation expense payment month, the uncalculated calculation process of the first calculation process, the second calculation process, and the third calculation process is executed.

図22は、運賃改定に係る支給情報及び日割支給情報を計算する場合を示すタイムチャートである。 Figure 22 is a time chart showing the calculation of payment information and daily payment information related to fare revisions.

図22の例では、前回の給与支給計算処理の完了後に運賃改定があり、この運賃改定により社員A及び社員Cの通勤交通費の支給金額に変動が生じた場合、社員Aの支給情報及び社員Cの支給情報に係る給与連携バッチ処理が実行される。その後再び運賃改定があり、この運賃改定により社員B及び社員Dの通勤交通費の支給金額に変動が生じた場合、社員Bの支給情報及び社員Dの支給情報に係る給与連携バッチ処理が実行される。その後、次回の給与支給計算処理の実行タイミングになると、第2計算処理及び第3計算処理が実行される。このように、運賃改定があった場合その都度、全社員の支給情報が再計算されるのではなく、該当の社員の支給情報が再計算される。 In the example of Figure 22, if a fare revision occurs after the previous salary payment calculation process is completed, and this fare revision causes a change in the commuter travel allowance payment amounts for employees A and C, a salary linkage batch process is executed for the payment information for employee A and the payment information for employee C. If a fare revision occurs again after that, and this fare revision causes a change in the commuter travel allowance payment amounts for employees B and D, a salary linkage batch process is executed for the payment information for employee B and the payment information for employee D. Then, when it is time to execute the next salary payment calculation process, the second calculation process and the third calculation process are executed. In this way, when a fare revision occurs, the payment information for the relevant employee is recalculated, rather than the payment information for all employees being recalculated each time.

次いで、ステップS608に移行して、タスク完了後のタスクスケジューラ情報をタスクスケジューラ情報テーブル418から削除し、一連の処理を終了して元の処理に復帰する。 Next, the process proceeds to step S608, where the task scheduler information after the task is completed is deleted from the task scheduler information table 418, the process ends, and the process returns to the original process.

一方、ステップS600で、タスクの実行時刻になっていないと判定した場合(NO)は、実行時刻になるまでステップS600で待機する。 On the other hand, if it is determined in step S600 that the time to execute the task has not yet arrived (NO), the process waits in step S600 until the execution time arrives.

〔実施の形態の効果〕
次に、本実施の形態の効果を説明する。
本実施の形態では、社員情報マスタテーブル404から社員自宅の住所を取得し、取得した社員自宅の住所に基づいて駅情報検索サーバから最寄り駅情報を取得し、社員情報マスタテーブル404のその社員情報に対し、取得した最寄り駅情報を設定するバッチ処理(図11)を、複数の社員について一括で行う。
[Effects of the embodiment]
Next, the effects of this embodiment will be described.
In this embodiment, the home addresses of employees are obtained from the employee information master table 404, nearest station information is obtained from the station information search server based on the obtained home addresses of the employees, and the obtained nearest station information is set to the employee information in the employee information master table 404. This batch processing (FIG. 11) is performed for multiple employees at once.

これにより、複数の社員について最寄り駅の設定処理が一括で行われるので、従来に比して、社員の自宅の最寄り駅情報を登録する手間を低減することができる。 This allows the process of setting the nearest stations for multiple employees to be performed all at once, reducing the effort required to register the nearest station information to employees' homes compared to previous versions.

さらに、本実施の形態では、社員自宅の住所を含む社員情報を少なくとも登録したCSVファイル等から社員情報を取得し、取得した社員情報を社員情報マスタテーブル404に登録する一方、CSVファイル等の社員情報に含まれる社員自宅の住所に基づいて駅情報検索サーバから最寄り駅情報を取得し、社員情報マスタテーブル404のその社員情報に対し、取得した最寄り駅情報を設定するバッチ処理(図11)を、CSVファイル等の社員情報(地図情報以外の情報)の社員情報マスタテーブル404の登録完了後に行う。 Furthermore, in this embodiment, employee information is obtained from a CSV file or the like in which at least employee information including the employee's home address is registered, and the obtained employee information is registered in the employee information master table 404. At the same time, nearest station information is obtained from a station information search server based on the employee's home address contained in the employee information in the CSV file or the like, and a batch process (FIG. 11) is performed after the registration of employee information (information other than map information) in the employee information master table 404 has been completed, in which the obtained nearest station information is set for the employee information in the employee information master table 404.

これにより、CSVファイル等の社員情報が社員情報マスタテーブル404に登録される一方、位置情報及び最寄り駅情報についてはその登録完了後のバッチ処理により取得、設定されるので、社員情報の早期利用を実現することができる。 As a result, employee information such as a CSV file is registered in the employee information master table 404, while location information and nearest station information are obtained and set by batch processing after registration is complete, enabling employee information to be used quickly.

さらに、本実施の形態では、一の社員が属する複数の勤務先のそれぞれについてその社員が自宅とその勤務先との間の移動で利用する通勤経路に関する経路情報、及び、一の社員が複数の通勤経路を利用した実績に関する日割支給情報を取得し、取得した経路情報及び日割支給情報、並びに運賃情報テーブル420の運賃情報に基づいて、一の社員が複数の通勤経路を利用した場合の支給金額を計算する。 Furthermore, in this embodiment, route information regarding the commuting route used by an employee to travel between his/her home and each of multiple workplaces to which the employee belongs, and daily payment information regarding the employee's actual use of multiple commuting routes are obtained, and the payment amount for an employee using multiple commuting routes is calculated based on the obtained route information and daily payment information, as well as the fare information in the fare information table 420.

これにより、複数の勤務先に属する社員に対し、通勤経路の利用に応じて交通費の日割り支給を行う場合の支給金額を計算することができる。 This makes it possible to calculate the amount of transportation expenses to be paid on a pro-rata basis to employees who work at multiple workplaces, depending on the commuting route they use.

さらに、本実施の形態では、社員別経路情報テーブル406の経路情報及び運賃情報テーブル420の運賃情報に基づいて、運賃改定の対象となった支給情報を特定し、特定した支給情報に係る支給金額を計算するため給与連携バッチ処理を実行する。 Furthermore, in this embodiment, based on the route information in the employee route information table 406 and the fare information in the fare information table 420, the payment information that is subject to fare revision is identified, and a payroll linkage batch process is executed to calculate the payment amount related to the identified payment information.

これにより、運賃改定があった場合に給与連携バッチ処理が時系列で分散して実行されるので、給与支給計算処理の負荷を低減することができる。すなわち、運賃改定があった場合に、運賃改定に係る支給金額を再計算することができるので、全社員の分を一括で計算するよりも給与支給計算処理に係る負荷を低減することができる。 This allows the salary link batch processing to be executed in a time-series distributed manner when there is a fare revision, reducing the load on the salary payment calculation processing. In other words, when there is a fare revision, the payment amount related to the fare revision can be recalculated, reducing the load on the salary payment calculation processing compared to calculating the amount for all employees at once.

さらに、本実施の形態では、通勤交通費の支給金額に変動が生じる支給情報の変更があったと判定されたときに、通勤交通費の支給金額を計算又は再計算するため給与連携バッチ処理を実行する。 Furthermore, in this embodiment, when it is determined that there has been a change in payment information that causes a change in the amount of commuter expenses paid, a payroll linkage batch process is executed to calculate or recalculate the amount of commuter expenses paid.

これにより、通勤交通費の支給金額が変動した場合に給与連携バッチ処理が時系列で分散して実行されるので、給与支給計算処理の負荷を低減することができる。すなわち、通勤交通費の支給金額が変動した場合に、変動に係る社員の通勤交通費の支給金額又は通勤交通費に応じて変動する支給金額を再計算することができるので、全社員の分を一括で計算するよりも給与支給計算処理に係る負荷を低減することができる。 This allows the salary link batch processing to be executed in a time-series distributed manner when the amount of commuter travel expenses changes, reducing the load on the salary payment calculation processing. In other words, when the amount of commuter travel expenses changes, the commuter travel expenses of the employee related to the change or the payment amount that changes depending on the commuter travel expenses can be recalculated, reducing the load on the salary payment calculation processing compared to calculating the amount for all employees at once.

さらに、本実施の形態では、通信ラグを考慮してタスクスケジュールの登録から開始遅延時間後にタスクを実行するようにスケジュールを組み、登録から所定時間を空けて給与連携バッチ処理プログラムを実行する。 Furthermore, in this embodiment, the task is scheduled to be executed after a start delay time from the registration of the task schedule, taking into account communication lags, and the payroll linkage batch processing program is executed after a predetermined time has elapsed since registration.

これにより、通信ラグが生じた場合にバッチサーバ150で給与連携バッチ処理が実行できない可能性を低減することができる。 This reduces the possibility that payroll linkage batch processing cannot be executed by the batch server 150 if a communication lag occurs.

さらに、本実施の形態では、社員又は代理申請者(人事社員含む)が通勤経路情報の申請又は代理申請を行って、この申請が上司社員及び人事社員に承認され、対象社員の支給情報が初めて社員別支給情報テーブル408に登録された場合に、通勤交通費の支給金額に変動が生じたと判定する。加えて、通勤経路情報の申請が承認されて社員別支給情報テーブル408に登録された支給情報が変更された場合に、通勤交通費の支給金額に変動が生じたと判定する。 Furthermore, in this embodiment, when an employee or proxy applicant (including a human resources employee) applies for or applies for a proxy for commuting route information, the application is approved by the superior employee and the human resources employee, and the payment information for the target employee is registered in the employee-specific payment information table 408 for the first time, it is determined that a change has occurred in the commuter transportation allowance payment amount. In addition, when an application for commuting route information is approved and the payment information registered in the employee-specific payment information table 408 is changed, it is determined that a change has occurred in the commuter transportation allowance payment amount.

さらに、日割支給情報が社員別日割支給情報テーブル410に新規に登録された場合に、通勤交通費の支給金額に変動が生じたと判定するようにした。なおさらに、人事社員の月次処理によって、社員別日割支給情報テーブル410に登録された既存の日割支給情報に変更があった場合に、通勤交通費の支給金額に変動が生じたと判定する。 In addition, if new pro rata payment information is registered in the employee-specific pro rata payment information table 410, it is determined that a change has occurred in the amount of commuting expenses paid. Furthermore, if a change has occurred in the existing pro rata payment information registered in the employee-specific pro rata payment information table 410 through monthly processing by a personnel employee, it is determined that a change has occurred in the amount of commuting expenses paid.

さらに、運賃改定により、改定後の料金に対応する支給金額と既に支給した支給金額との間に差額が生じた場合に、差額を支給するために社員別日割支給情報テーブル410に新規に日割支給情報が登録されるか又は既に登録された既存の日割支給情報が変更される。この場合も、通勤交通費の支給金額に変動が生じたと判定する。 Furthermore, if a fare revision results in a difference between the payment amount corresponding to the revised fare and the payment amount already paid, new pro rata payment information is registered in the employee-specific pro rata payment information table 410 to pay the difference, or existing pro rata payment information that has already been registered is changed. In this case, too, it is determined that a change has occurred in the payment amount for commuting expenses.

また、通勤交通費の支給金額に変動が生じた給与連携基礎データの連携後(給与連携システムへと出力後)に、先取りして作成された次回の給与連携基礎データにも変更が生じるため、この場合も支給金額に変動が生じたと判定する。 In addition, after the salary linkage basic data is linked (output to the salary linkage system) when a change occurs in the amount of commuting expenses paid, the next salary linkage basic data created in advance will also change, so in this case too, it will be determined that a change has occurred in the amount paid.

これにより、通勤経路の申請以外に、日割支給、運賃改定等の他の理由で通勤交通費の支給金額に変動が生じた場合も分散処理が可能であり、給与支給計算処理の負荷をより低減することができる。また、社員別支給情報テーブル408又は社員別日割支給情報テーブル410への支給情報又は日割支給情報の登録をもって通勤交通費の支給金額に変動が生じたと判定するようにしたので、支給金額の変動の有無をより確実に判定することができる。 This allows distributed processing when changes occur in the amount of commuting expenses paid for reasons other than commuting route applications, such as daily pro rata payments or fare revisions, and further reduces the load on salary payment calculation processing. In addition, because it is determined that a change has occurred in the amount of commuting expenses paid based on the registration of payment information or daily pro rata payment information in employee-specific payment information table 408 or employee-specific daily pro rata payment information table 410, it is possible to more reliably determine whether or not the amount of payment has changed.

〔対応関係〕
本実施の形態において、ステップS200~S208は、発明1乃至3の駅情報設定手段に対応し、データベースサーバ170の記憶装置は、発明1乃至3の対象者情報記憶手段、発明1若しくは3の経路情報記憶手段、又は発明1若しくは3の運賃情報記憶手段に対応している。
[Correspondence]
In this embodiment, steps S200 to S208 correspond to the station information setting means of Inventions 1 to 3, and the memory device of the database server 170 corresponds to the target person information storage means of Inventions 1 to 3, the route information storage means of Invention 1 or 3, or the fare information storage means of Invention 1 or 3.

〔変形例〕
なお、上記実施の形態において、社員情報登録処理では、最寄り駅情報を登録したが、これに限らず、最寄り駅情報の登録を任意とする構成、又は、社員情報登録処理では最寄り駅情報を登録せず、図10の最寄り駅情報取得処理により最寄り駅情報を登録する構成を採用することができる。
[Modifications]
In the above embodiment, the nearest station information is registered in the employee information registration process, but this is not limited to this. It is also possible to adopt a configuration in which the registration of the nearest station information is optional, or a configuration in which the nearest station information is not registered in the employee information registration process, but is registered by the nearest station information acquisition process of Figure 10.

また、上記実施の形態及びその変形例においては、図10の最寄り駅情報取得処理の実行タイミングその他実行条件について説明しなかったが、例えば、ユーザが最寄り駅情報取得処理の実行を指示したタイミングで実行する構成、又は、バッチ処理をスケジュールしその実行タイミングで実行する構成を採用することができる。 Furthermore, in the above embodiment and its modified example, the execution timing and other execution conditions of the nearest station information acquisition process in FIG. 10 were not explained, but, for example, a configuration can be adopted in which the process is executed when the user instructs execution of the nearest station information acquisition process, or a configuration in which batch processing is scheduled and executed at that execution timing.

また、上記実施の形態及びその変形例においては、図11のバッチ処理の実行タイミングその他実行条件について説明しなかったが、例えば、ユーザがバッチ処理の実行を指示したタイミングで実行する構成、又は、バッチ処理をスケジュールしその実行タイミングで実行する構成を採用することができる。バッチ処理は、図10の最寄り駅情報取得処理と連続で実行してもよいし、図10の最寄り駅情報取得処理とは異なるタイミングで実行してもよい。 In addition, in the above embodiment and its modified examples, the execution timing and other execution conditions of the batch processing in FIG. 11 were not described, but for example, a configuration in which the batch processing is executed when the user instructs the execution of the batch processing, or a configuration in which the batch processing is scheduled and executed at the execution timing can be adopted. The batch processing may be executed consecutively with the nearest station information acquisition processing in FIG. 10, or may be executed at a different timing from the nearest station information acquisition processing in FIG. 10.

また、上記実施の形態及びその変形例において、図11のバッチ処理は、通勤交通費計算サーバ100で実行したが、これに限らず、給与支給計算処理と同様にバッチサーバ150で実行する構成を採用することができる。 In addition, in the above embodiment and its modified example, the batch processing in FIG. 11 is executed by the commuter travel expense calculation server 100, but this is not limited to the above, and a configuration in which it is executed by the batch server 150, similar to the salary payment calculation process, can be adopted.

また、上記実施の形態及びその変形例においては、社員自宅の住所を含む社員情報を少なくとも登録したCSVファイル等から社員情報を取得、設定したが、これに限らず、勤務先の住所を含む勤務先情報を少なくとも登録したCSVファイル等から勤務先情報を取得する構成を採用することができる。勤務先の住所を含む勤務先情報を少なくとも登録したCSVファイル等から勤務先情報を取得し、取得した勤務先情報を勤務先マスタテーブル402に登録する。そして、CSVファイル等の勤務先情報に含まれる勤務先の住所に基づいて駅情報検索サーバから最寄り駅情報を取得し、勤務先マスタテーブル402のその勤務先情報に対し、取得した最寄り駅情報を設定するバッチ処理を、CSVファイル等の勤務先情報(地図情報以外の情報)の勤務先マスタテーブル402の登録完了後に行う。 In the above embodiment and its modified example, employee information is acquired and set from a CSV file or the like in which at least employee information including the employee's home address is registered, but this is not limiting, and a configuration in which workplace information is acquired from a CSV file or the like in which at least workplace information including the workplace address is registered can be adopted. Workplace information is acquired from a CSV file or the like in which at least workplace information including the workplace address is registered, and the acquired workplace information is registered in the workplace master table 402. Then, nearest station information is acquired from a station information search server based on the workplace address included in the workplace information in the CSV file or the like, and a batch process is performed after the registration of workplace information (information other than map information) in the CSV file or the like in the workplace master table 402 is completed.

また、上記実施の形態及びその変形例においては、社員自宅の最寄り駅情報を取得する処理を複数の社員について一括で行ったが、これに限らず、社員自宅の最寄り駅情報を取得する処理を複数の社員について順次行う構成を採用することができる。 In addition, in the above embodiment and its modified example, the process of obtaining the nearest station information to the employee's home is performed for multiple employees at once, but this is not limited to the above, and a configuration can be adopted in which the process of obtaining the nearest station information to the employee's home is performed sequentially for multiple employees.

また、上記実施の形態及びその変形例において、最寄り駅情報取得処理は、最寄り情報の取得に、CSVファイル等の社員自宅の住所を用いるのか、CSVファイル等から取得し社員情報マスタテーブル404に登録した社員自宅の住所を用いるのかを説明しなかったが、どちらの情報を用いることもできる。 In addition, in the above embodiment and its modified example, the nearest station information acquisition process did not explain whether to acquire the nearest station information using the employee's home address in a CSV file or the like, or using the employee's home address acquired from a CSV file or the like and registered in the employee information master table 404, but either information can be used.

また、上記実施の形態及びその変形例においては、位置情報及び最寄り駅情報を社員情報マスタテーブル404に登録したが、これに限らず、位置情報は登録しなくてもよい。 In addition, in the above embodiment and its modified examples, location information and nearest station information are registered in the employee information master table 404, but this is not limiting, and location information does not need to be registered.

また、上記実施の形態及びその変形例において、図10及び図11の処理は、勤務先その他の移動先の最寄り駅を取得する場合について適用してもよい。勤務先の最寄り駅の場合、例えば、勤務先マスタテーブル402から勤務先の住所を取得し、取得した勤務先の住所に基づいて駅情報検索サーバから最寄り駅情報を取得し、勤務先マスタテーブル402の勤務先情報に対し、取得した最寄り駅情報を設定するバッチ処理(図11)を、複数の勤務先について一括で行う構成を採用することができる。その他の移動先の最寄り駅の場合、例えば、移動先の住所を含む移動先情報を移動先情報テーブルに登録しておき、移動先情報テーブルから移動先の住所を取得し、取得した移動先の住所に基づいて駅情報検索サーバから最寄り駅情報を取得し、移動先情報テーブルの移動先情報に対し、取得した最寄り駅情報を設定するバッチ処理(図11)を、複数の移動先について一括で行う構成を採用することができる。なお、社員自宅の最寄り駅の設定に関する上記変形例は、勤務先の最寄り駅の設定に関する構成に適用することができる。 In the above embodiment and its modified example, the processes of FIG. 10 and FIG. 11 may be applied to the case of acquiring the nearest station to the workplace or other destinations. In the case of the nearest station to the workplace, for example, a configuration can be adopted in which the address of the workplace is acquired from the workplace master table 402, nearest station information is acquired from the station information search server based on the acquired workplace address, and batch processing (FIG. 11) is performed for multiple workplaces in a batch to set the acquired nearest station information to the workplace information in the workplace master table 402. In the case of the nearest station to other destinations, for example, a configuration can be adopted in which destination information including the destination address is registered in the destination information table, the destination address is acquired from the destination information table, nearest station information is acquired from the station information search server based on the acquired destination address, and batch processing (FIG. 11) is performed for multiple destinations in a batch to set the acquired nearest station information to the destination information in the destination information table. Note that the above modified example regarding the setting of the nearest station to the employee's home can be applied to the configuration regarding the setting of the nearest station to the workplace.

また、上記実施の形態及びその変形例においては、一の社員が複数の通勤経路を利用した実績に関する情報として社員別日割支給情報テーブル410の日割支給情報(日割支給対象期間、支給対象日数等)に基づいて交通費の支給金額を計算したが、これに限らず、社員別支給情報テーブル408の支給情報(支給対象期間、支給対象月数等)に基づいて交通費の支給金額を計算することもできる。 In addition, in the above embodiment and its modified examples, the transportation allowance amount was calculated based on the daily payment information (period eligible for daily payment, number of days eligible for payment, etc.) in the employee daily payment information table 410 as information regarding an employee's actual use of multiple commuting routes, but it is not limited to this, and the transportation allowance amount can also be calculated based on the payment information (period eligible for payment, number of months eligible for payment, etc.) in the employee daily payment information table 408.

また、上記実施の形態及びその変形例において、ステップS102の申請情報入力処理では、申請者(社員)が属する複数の勤務先からいずれかを選択したが、これに限らず、その社員が属する企業について設定された複数の勤務先からいずれかを選択する構成を採用することもできる。この場合、その社員が属さない勤務先が候補として含まれることがある。 In addition, in the above embodiment and its modified examples, in the application information input process in step S102, one of multiple workplaces to which the applicant (employee) belongs is selected, but this is not limited to the above, and a configuration in which one of multiple workplaces set for the company to which the employee belongs can be selected can also be adopted. In this case, workplaces to which the employee does not belong may be included as candidates.

また、上記実施の形態及びその変形例において、発明1、3、4及び6の支給金額計算手段は、社員が行った支給情報の追加について承認先の承認が得られた場合の交通費の支給金額を計算する処理に対応するものとして説明したが、これに限らず、バッチサーバ150において交通費の支給金額を計算する処理にも対応する。 In addition, in the above embodiment and its modified examples, the payment amount calculation means of inventions 1, 3, 4, and 6 has been described as corresponding to the process of calculating the payment amount of transportation expenses when the addition of payment information made by an employee is approved by the approval party, but is not limited to this and can also correspond to the process of calculating the payment amount of transportation expenses in the batch server 150.

また、上記実施の形態及びその変形例においては、運賃改定の対象となった支給情報を特定するのに運賃情報テーブル420の運賃情報を用いたが、これに限らず、例えば、運賃改定があった区間に関する区間情報、運賃改定があった通勤経路に関する経路情報、その他運賃改定に関する改定情報を採用することができる。すなわち、運賃改定があったことが把握できる情報であればよく、必ずしも改定前後の運賃や改定日の情報を必須とするものではない。 In addition, in the above embodiment and its modified examples, the fare information in the fare information table 420 is used to identify the payment information that is the subject of the fare revision, but this is not limited to the above. For example, section information regarding the section in which the fare revision occurred, route information regarding the commuter route in which the fare revision occurred, and other revision information regarding the fare revision can be used. In other words, any information that can determine that a fare revision has occurred is sufficient, and information on the fares before and after the revision or the revision date is not necessarily required.

また、上記実施の形態及びその変形例においては、運賃改定があった場合に運賃改定に係る支給金額を再計算したが、これに限らず、当月に支給すべき通勤交通費であって運賃改定に係る通勤交通費の支給金額を運賃改定のタイミングで計算する構成を採用することができる。この場合、社員別経路情報テーブル406の経路情報及び運賃情報テーブル420の運賃情報に基づいて、運賃改定の対象となる支給を特定し、特定した支給に係る支給金額を計算するため給与連携バッチ処理を実行する。運賃改定の対象となる支給は、例えば、運賃改定に係る通勤経路を特定すること、又は、運賃改定に係る通勤経路を利用する社員を特定することにより特定することができる。 In the above embodiment and its modified example, the payment amount related to the fare revision is recalculated when the fare revision occurs, but this is not limited to the above. A configuration can be adopted in which the payment amount of the commuting expenses to be paid in the current month and related to the fare revision is calculated at the time of the fare revision. In this case, based on the route information in the employee route information table 406 and the fare information in the fare information table 420, the payment that is subject to the fare revision is identified, and a salary linkage batch process is executed to calculate the payment amount related to the identified payment. The payment that is subject to the fare revision can be identified, for example, by identifying the commuting route related to the fare revision, or by identifying the employees who use the commuting route related to the fare revision.

また、上記実施の形態及びその変形例においては、社員別支給情報テーブル408又は社員別日割支給情報テーブル410に支給情報又は日割支給情報が新規に登録され、又はその支給情報若しくは日割支給情報が変更された場合に通勤交通費の支給金額に変動が生じたと判定したが、この構成に限らない。例えば、通勤経路が申請され、その申請が承認された場合に、支給金額に変動が生じたと判定する構成とするなど他の構成としてもよい。 In addition, in the above embodiment and its modified examples, it is determined that a change has occurred in the amount of commuting expenses paid when new payment information or daily rate payment information is registered in the employee-specific payment information table 408 or the employee-specific daily rate payment information table 410, or when the payment information or daily rate payment information is changed, but this is not the only possible configuration. For example, other configurations may be used, such as a configuration in which it is determined that a change has occurred in the amount of payment when a commuting route is applied for and the application is approved.

また、上記実施の形態及びその変形例においては、ネットワークシステムとして実現したが、これに限らず、単一の装置又はアプリケーションとして実現することもできる。 In addition, in the above embodiment and its variations, the system is realized as a network system, but the system is not limited to this and can also be realized as a single device or application.

また、上記実施の形態及びその変形例においては、給与連携バッチ処理をバッチサーバ150でタスクスケジューラにより実行する構成としたが、これに限らず、例えば、通勤交通費計算サーバ100のみで給与支給計算処理を実行する構成、バッチサーバ150以外のさらに他のサーバ等と連携して給与支給計算処理を実行する構成を採用することができる。 In addition, in the above embodiment and its modified examples, the payroll linkage batch processing is configured to be executed by the batch server 150 using a task scheduler, but this is not limited to the above, and it is also possible to adopt a configuration in which the payroll payment calculation processing is executed only by the commute travel expense calculation server 100, or a configuration in which the payroll payment calculation processing is executed in cooperation with other servers other than the batch server 150.

また、上記実施の形態及びその変形例においては、インターネット199からなるネットワークシステムに適用した場合について説明したが、これに限らず、例えば、インターネット199と同一方式により通信を行ういわゆるイントラネットに適用してもよい。もちろん、インターネット199と同一方式により通信を行うネットワークに限らず、任意の通信方式のネットワークに適用することができる。 In addition, in the above embodiment and its modified examples, the case where the invention is applied to a network system consisting of the Internet 199 has been described, but the invention is not limited to this, and may be applied, for example, to a so-called intranet that communicates in the same manner as the Internet 199. Of course, the invention can be applied to a network of any communication method, not limited to a network that communicates in the same manner as the Internet 199.

また、上記実施の形態及びその変形例において、図12、図15、図18及び図20のフローチャートに示す処理を実行するにあたってはいずれも、ROMに予め格納されているプログラムを実行する場合について説明したが、これに限らず、これらの手順を示したプログラムが記憶された記憶媒体から、そのプログラムをRAMに読み込んで実行するようにしてもよい。 In addition, in the above embodiment and its modified examples, the processes shown in the flowcharts of Figures 12, 15, 18, and 20 are executed by executing a program that is pre-stored in ROM. However, this is not limited to the above, and the program showing these procedures may be loaded into RAM from a storage medium on which the program is stored and executed.

また、上記実施の形態及びその変形例においては、社員の通勤交通費を計算する場合等について本発明を適用したが、これに限らず、本発明の主旨を逸脱しない範囲で他の場合にも適用可能である。例えば、出張旅費その他の交通費を計算する場合、社員以外の者に支給する交通費を計算する場合、通勤経路以外の経路の利用に関する交通費を計算する場合にも本発明を適用することができる。 In addition, in the above embodiment and its modified examples, the present invention is applied to cases such as calculating commuting expenses for employees, but it is not limited to this and can be applied to other cases without departing from the spirit of the present invention. For example, the present invention can be applied when calculating travel expenses for business trips and other travel expenses, when calculating travel expenses paid to persons other than employees, and when calculating travel expenses for using routes other than the commuting route.

100…通勤交通費計算サーバ、 150…バッチサーバ、 170…データベースサーバ、 200…社員端末、 30…CPU、 32…ROM、 34…RAM、 38…I/F、 39…バス、 40…入力装置、 42…記憶装置、 44…表示装置、 199…インターネット、 400…企業マスタテーブル、 402…勤務先マスタテーブル、 404…社員情報マスタテーブル、 406…社員別経路情報テーブル、 408…社員別支給情報テーブル、 410…社員別日割支給情報テーブル、 412…部署情報テーブル、 414…システム環境情報テーブル、 416…バッチジョブ定義情報テーブル、 418…タスクスケジューラ情報テーブル、 420…運賃情報テーブル 100... Commuting travel expense calculation server, 150... Batch server, 170... Database server, 200... Employee terminal, 30... CPU, 32... ROM, 34... RAM, 38... I/F, 39... Bus, 40... Input device, 42... Storage device, 44... Display device, 199... Internet, 400... Company master table, 402... Workplace master table, 404... Employee information master table, 406... Employee route information table, 408... Employee payment information table, 410... Employee daily rate payment information table, 412... Department information table, 414... System environment information table, 416... Batch job definition information table, 418... Task scheduler information table, 420... Fare information table

Claims (6)

複数の社員について当該社員の自宅の住所情報を含む社員情報を登録したファイルから前記社員情報を取得する社員情報取得手段と、
前記社員情報取得手段で取得した社員情報を社員情報記憶手段に登録する社員情報登録手段と、
前記社員情報記憶手段において前記社員情報が登録又は変更された場合に当該社員情報に含まれる前記住所情報をバッチリストに登録するバッチリスト登録手段と、
前記バッチリストのすべての前記住所情報について、前記バッチリストに含まれる前記住所情報から最寄り駅情報を取得し、前記社員情報記憶手段の対応する社員情報に対し、取得した最寄り駅情報を設定する取得設定処理を行う駅情報設定手段と、
前記社員が自宅の最寄り駅と勤務先との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記社員が前記経路を利用した場合の通勤交通費の支給金額を計算する支給金額計算手段とを備え、
前記社員情報記憶手段の社員情報は、前記取得設定処理の実行とは独立に前記社員情報登録手段による登録後即時に利用可能となることを特徴とする支給計算システム。
an employee information acquiring means for acquiring employee information from a file in which employee information including home address information of a plurality of employees is registered;
an employee information registration means for registering the employee information acquired by the employee information acquisition means into an employee information storage means;
a batch list registration means for registering the address information included in the employee information in a batch list when the employee information is registered or changed in the employee information storage means;
a station information setting means for performing an acquisition and setting process of acquiring nearest station information from the address information included in the batch list for all the address information in the batch list, and setting the acquired nearest station information to the corresponding employee information in the employee information storage means;
a payment amount calculation means for calculating a payment amount of commuting expenses when the employee uses the route, based on route information stored in a route information storage means for storing route information related to the route used by the employee to travel between the nearest station to his/her home and his/her workplace, and fare information stored in a fare information storage means for storing fare information related to the route,
A payment calculation system characterized in that the employee information in said employee information storage means is available for use immediately after registration by said employee information registration means, independently of execution of said acquisition and setting process.
社員の自宅の住所情報を含む社員情報を個別に取得する第1社員情報取得手段と、
複数の社員について当該社員の自宅の住所情報を含む社員情報を登録したファイルから前記社員情報を取得する第2社員情報取得手段と、
前記第1社員情報取得手段又は前記第2社員情報取得手段で取得した社員情報を社員情報記憶手段に登録する社員情報登録手段と、
前記社員情報記憶手段において前記社員情報が登録又は変更された場合に当該社員情報に含まれる前記住所情報をバッチリストに登録するバッチリスト登録手段と、
前記バッチリストのすべての前記住所情報について、前記バッチリストに含まれる前記住所情報から最寄り駅情報を取得し、前記社員情報記憶手段の対応する社員情報に対し、取得した最寄り駅情報を設定する取得設定処理を行う駅情報設定手段と、
前記社員が自宅の最寄り駅と勤務先との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記社員が前記経路を利用した場合の通勤交通費の支給金額を計算する支給金額計算手段とを備え、
前記社員情報記憶手段の社員情報は、前記取得設定処理の実行とは独立に前記社員情報登録手段による登録後即時に利用可能となることを特徴とする支給計算システム。
a first employee information acquisition means for acquiring employee information including home address information of each employee;
a second employee information acquiring means for acquiring employee information from a file in which employee information including home address information of a plurality of employees is registered;
an employee information registration means for registering the employee information acquired by the first employee information acquisition means or the second employee information acquisition means into an employee information storage means;
a batch list registration means for registering the address information included in the employee information in a batch list when the employee information is registered or changed in the employee information storage means;
a station information setting means for performing an acquisition and setting process of acquiring nearest station information from the address information included in the batch list for all the address information in the batch list, and setting the acquired nearest station information to the corresponding employee information in the employee information storage means;
a payment amount calculation means for calculating a payment amount of commuting expenses when the employee uses the route, based on route information stored in a route information storage means for storing route information related to the route used by the employee to travel between the nearest station to his/her home and his/her workplace, and fare information stored in a fare information storage means for storing fare information related to the route,
A payment calculation system characterized in that the employee information in said employee information storage means is available for use immediately after registration by said employee information registration means, independently of execution of said acquisition and setting process.
請求項1及び2のいずれか1項において、
前記バッチリスト登録手段は、前記登録又は変更された社員情報に前記最寄り駅情報が含まれている場合は、当該社員情報に含まれる前記住所情報について前記バッチリストへの登録を行わないことを特徴とする支給計算システム。
In any one of claims 1 and 2,
A payment calculation system characterized in that, when the registered or changed employee information includes the nearest station information, the batch list registration means does not register the address information included in the employee information in the batch list.
複数の社員について当該社員の勤務先の住所情報を含む勤務先情報を登録したファイルから前記勤務先情報を取得する勤務先情報取得手段と、
前記勤務先情報取得手段で取得した勤務先情報を勤務先情報記憶手段に登録する勤務先情報登録手段と、
前記勤務先情報記憶手段において前記勤務先情報が登録又は変更された場合に当該勤務先情報に含まれる前記住所情報をバッチリストに登録するバッチリスト登録手段と、
前記バッチリストのすべての前記住所情報について、前記バッチリストに含まれる前記住所情報から最寄り駅情報を取得し、前記勤務先情報記憶手段の対応する勤務先情報に対し、取得した最寄り駅情報を設定する取得設定処理を行う駅情報設定手段と、
前記社員が自宅と勤務先の最寄り駅との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記社員が前記経路を利用した場合の通勤交通費の支給金額を計算する支給金額計算手段とを備え、
前記勤務先情報記憶手段の勤務先情報は、前記取得設定処理の実行とは独立に前記勤務先情報登録手段による登録後即時に利用可能となることを特徴とする支給計算システム。
a workplace information acquiring means for acquiring workplace information for a plurality of employees from a file in which workplace information including address information of the workplaces of the employees is registered;
a workplace information registration means for registering the workplace information acquired by the workplace information acquisition means in a workplace information storage means;
a batch list registration means for registering the address information included in the workplace information in a batch list when the workplace information is registered or changed in the workplace information storage means;
a station information setting means for performing an acquisition and setting process of acquiring nearest station information from the address information included in the batch list for all the address information in the batch list, and setting the acquired nearest station information to the corresponding workplace information in the workplace information storage means;
a payment amount calculation means for calculating a payment amount of commuting expenses when the employee uses the route, based on route information stored in a route information storage means for storing route information related to the route used by the employee to travel between his/her home and the nearest station to his/her workplace, and fare information stored in a fare information storage means for storing fare information related to the route,
A payment calculation system characterized in that the workplace information in said workplace information storage means is available immediately after registration by said workplace information registration means, independently of execution of said acquisition and setting process.
社員の勤務先の住所情報を含む勤務先情報を個別に取得する第1勤務先情報取得手段と、
複数の社員について当該社員の勤務先の住所情報を含む勤務先情報を登録したファイルから前記勤務先情報を取得する第2勤務先情報取得手段と、
前記第1勤務先情報取得手段又は前記第2勤務先情報取得手段で取得した勤務先情報を勤務先情報記憶手段に登録する勤務先情報登録手段と、
前記勤務先情報記憶手段において前記勤務先情報が登録又は変更された場合に当該勤務先情報に含まれる前記住所情報をバッチリストに登録するバッチリスト登録手段と、
前記バッチリストのすべての前記住所情報について、前記バッチリストに含まれる前記住所情報から最寄り駅情報を取得し、前記勤務先情報記憶手段の対応する勤務先情報に対し、取得した最寄り駅情報を設定する取得設定処理を行う駅情報設定手段と、
前記社員が自宅と勤務先の最寄り駅との間の移動で利用する経路に関する経路情報を記憶する経路情報記憶手段の経路情報、及び、前記経路に係る運賃に関する運賃情報を記憶する運賃情報記憶手段の運賃情報に基づいて、前記社員が前記経路を利用した場合の通勤交通費の支給金額を計算する支給金額計算手段とを備え、
前記勤務先情報記憶手段の勤務先情報は、前記取得設定処理の実行とは独立に前記勤務先情報登録手段による登録後即時に利用可能となることを特徴とする支給計算システム。
A first workplace information acquisition means for individually acquiring workplace information including address information of the workplace of each employee;
A second workplace information acquisition means for acquiring workplace information for a plurality of employees from a file in which workplace information including address information of the workplaces of the employees is registered;
a workplace information registration means for registering the workplace information acquired by the first workplace information acquisition means or the second workplace information acquisition means into a workplace information storage means;
a batch list registration means for registering the address information included in the workplace information in a batch list when the workplace information is registered or changed in the workplace information storage means;
a station information setting means for performing an acquisition and setting process of acquiring nearest station information from the address information included in the batch list for all the address information in the batch list, and setting the acquired nearest station information to the corresponding workplace information in the workplace information storage means;
a payment amount calculation means for calculating a payment amount of commuting expenses when the employee uses the route, based on route information stored in a route information storage means for storing route information related to the route used by the employee to travel between his/her home and the nearest station to his/her workplace, and fare information stored in a fare information storage means for storing fare information related to the route,
A payment calculation system characterized in that the workplace information in said workplace information storage means is available immediately after registration by said workplace information registration means, independently of execution of said acquisition and setting process.
請求項4及び5のいずれか1項において、
前記バッチリスト登録手段は、前記登録又は変更された勤務先情報に前記最寄り駅情報が含まれている場合は、当該勤務先情報に含まれる前記住所情報について前記バッチリストへの登録を行わないことを特徴とする支給計算システム。
In any one of claims 4 and 5,
A payment calculation system characterized in that the batch list registration means does not register the address information contained in the registered or changed workplace information in the batch list if the nearest station information is included in the registered or changed workplace information.
JP2024102176A 2023-10-20 2024-06-25 Payment calculation system Active JP7580099B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2024102176A JP7580099B1 (en) 2023-10-20 2024-06-25 Payment calculation system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2023181238 2023-10-20
JP2024102176A JP7580099B1 (en) 2023-10-20 2024-06-25 Payment calculation system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2023181238 Division 2023-10-20 2023-10-20

Publications (2)

Publication Number Publication Date
JP7580099B1 true JP7580099B1 (en) 2024-11-11
JP2025070948A JP2025070948A (en) 2025-05-02

Family

ID=93429901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024102176A Active JP7580099B1 (en) 2023-10-20 2024-06-25 Payment calculation system

Country Status (1)

Country Link
JP (1) JP7580099B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004118539A (en) 2002-09-26 2004-04-15 Hitachi Information Systems Ltd Route display system and program
JP2006099674A (en) 2004-09-30 2006-04-13 Nikko Business Systems Co Ltd Commuting route calculation system and calculation method
JP2007172120A (en) 2005-12-20 2007-07-05 Exgen Networks Co Ltd Application processing system
JP2016206939A (en) 2015-04-22 2016-12-08 株式会社ナビタイムジャパン Information processing system, information processing device, information processing method, information processing program, terminal device, data, recording medium, and data generation method
JP7272534B1 (en) 2022-04-25 2023-05-12 株式会社バイトルヒクマ Payment calculation system
JP7291920B1 (en) 2022-03-31 2023-06-16 株式会社バイトルヒクマ Transportation expense calculation system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004118539A (en) 2002-09-26 2004-04-15 Hitachi Information Systems Ltd Route display system and program
JP2006099674A (en) 2004-09-30 2006-04-13 Nikko Business Systems Co Ltd Commuting route calculation system and calculation method
JP2007172120A (en) 2005-12-20 2007-07-05 Exgen Networks Co Ltd Application processing system
JP2016206939A (en) 2015-04-22 2016-12-08 株式会社ナビタイムジャパン Information processing system, information processing device, information processing method, information processing program, terminal device, data, recording medium, and data generation method
JP7291920B1 (en) 2022-03-31 2023-06-16 株式会社バイトルヒクマ Transportation expense calculation system
JP7272534B1 (en) 2022-04-25 2023-05-12 株式会社バイトルヒクマ Payment calculation system

Also Published As

Publication number Publication date
JP2025070948A (en) 2025-05-02

Similar Documents

Publication Publication Date Title
KR102528645B1 (en) System for providing job matching service and method thereof
KR102105700B1 (en) System for providing research and development project management service integrating with erp and groupware
CN120852071A (en) Systems and methods for automated collection of commercial debts
WO2023210435A1 (en) Payment calculation system
JP6649235B2 (en) Business support system, business support device, and program
KR20250011973A (en) Methods, computers and programs for matching job opportunities between job seekers and employers
JP7580099B1 (en) Payment calculation system
JP7566264B2 (en) Payment calculation system
JP7530618B1 (en) Payment calculation system
JP7645519B1 (en) Payment calculation system
JP7291920B1 (en) Transportation expense calculation system
JP7300132B1 (en) Payment calculation system
JP7378078B1 (en) Payment calculation system
JP6845477B2 (en) Information processing equipment and computer programs
JP4351085B2 (en) Expected salary inquiry method, prospective salary inquiry system and program
JP7663189B1 (en) Commuting route determination system
JP7705196B1 (en) Commuting route simulation system
JP2006235849A (en) Home care service processing support system
JP4595723B2 (en) Security control system
WO2023190835A1 (en) Transportation expense calculation system
JP2002288400A (en) Talent dispatch system
WO2020045047A1 (en) Travel assistance device, travel assistance method, program and storage medium
WO2024014108A1 (en) Payment calculation system
JP7300136B1 (en) Transportation expense calculation system
JP2025125286A (en) Information processing method, program, and information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240625

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20240625

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241021

R150 Certificate of patent or registration of utility model

Ref document number: 7580099

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150