Payment calculation system
The payment calculation system addresses high load issues in salary processing by breaking down commuting expense recalculations into stages and executing them in a distributed, scheduled manner, effectively reducing processing burdens and communication-related risks.
Patent Information
- Application Number
- JP2023065080
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-04-12
AI Technical Summary
Conventional salary payment calculation systems face a high load due to the simultaneous processing of commuting allowance recalculations, particularly when changes occur in commuting transportation expenses or routes.
A payment calculation system that breaks down the calculation process into multiple stages, including a first calculation process for identifying payments subject to fare revisions based on route and fare information, and executes these calculations in a distributed manner, with scheduling to account for communication lag.
This approach reduces the load on salary payment calculation processing by recalculating affected payments in a chronological and distributed manner, minimizing the burden on the system and reducing the risk of processing failures due to communication delays.
Smart Images

Figure 2024151607000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a system for assisting in the calculation of payment amounts for payment recipients, and in particular to a payment calculation system suitable for reducing the load of salary payment calculation processing. [Background technology]
[0002] Conventionally, as a technology for calculating commuting allowances and linking them to wages when changes occur due to new commuting expenses, route changes, terminations, etc., the technology described in Patent Document 1, for example, is known.
[0003] The technology described in Patent Document 1 is a technology that works in conjunction with a payroll system to calculate the amount of commuting expenses to be included in salary when an application for commuting expenses is made, a route change, or termination is made, and it creates definitions regarding the company's commuting allowance payment standards and calculation methods.When application data for commuting expenses is input, the application data is converted into commuting allowance data based on the commuting allowance definition, and when the amount of commuting expenses to be included in salary is settled, an update process is performed to recalculate the commuting allowance data. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2016-192201 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the technology described in Patent Document 1, the salary linking process is performed collectively, which poses a problem of a large load on the salary payment calculation process.
[0006] Therefore, the present invention has been made with a focus on the unresolved problems inherent in such conventional technology, and aims to provide a payment calculation system that is suitable for reducing the load of salary payment calculation processing. [Means for solving the problem]
[0007] [Invention 1] In order to achieve the above object, the payment calculation system of Invention 1 is a payment calculation system that executes or sets the execution of a part or all of the first calculation process prior to the execution timing of the payment calculation process, the payment calculation process being composed of a first calculation process for calculating the payment amount of transportation expenses or a payment amount that varies depending on the transportation expenses out of the payment amount to the payment recipient, and generating payment information, a second calculation process for calculating other payment amounts out of the payment amount to the payment recipient, and a third calculation process for calculating the payment amount based on the processing results of the first and second calculation processes, and the payment calculation process is a payment calculation system that executes those of the first to third calculation processes that have not been calculated, and is equipped with a payment information identification means that identifies the payment information that has been subject to a fare revision based on route information in a route information storage means that stores route information on a route used by the payment recipient and revision information in a revision information storage means that stores revision information on fares related to the route, and a first calculation process execution means that executes or sets the execution of the first calculation process in order to calculate the payment amount related to the payment information identified by the payment information identification means.
[0008] With this configuration, the payment information that is subject to the fare revision is identified based on the route information and the revision information, and a first calculation process is executed or set to be executed to calculate the payment amount related to the identified payment information.
[0009] Here, the setting of execution means, for example, when the first calculation process is executed in another system, setting information required for execution and execution time, etc., in the other system. The same applies below to the payment calculation system of the second invention.
[0010] In addition, this system may be realized as a single device, terminal, or other equipment, or may be realized as a network system in which multiple devices, terminals, and other equipment are connected to enable communication. In the latter case, each component may belong to any of the multiple devices, etc., as long as they are connected to enable communication. The same applies to the payment calculation system of Invention 2 below.
[0011] [Invention 2] Furthermore, the payment calculation system of Invention 2 is a payment calculation system which executes or sets the execution of part or all of the first calculation process prior to the execution timing of the payment calculation process, and which comprises a first calculation process which calculates the payment amount for transportation expenses or a payment amount that varies depending on the transportation expenses out of the payment amount to the payment recipient, a second calculation process which calculates other payment amounts out of the payment amount to the payment recipient, and a third calculation process which calculates the payment amount based on the results of the first and second calculation processes, and which executes or sets the execution of the first calculation process prior to the execution timing of the payment calculation process, and which executes those of the first to third calculation processes which have not been calculated, and which comprises payment specification means which specifies payments that are subject to fare revision based on route information in a route information storage means which stores route information on a route used by the payment recipient and revision information in a revision information storage means which stores revision information on fares related to the route, and a first calculation process execution means which executes or sets the execution of the first calculation process in order to calculate the payment amount for the payment specified by the payment specification means.
[0012] With this configuration, the payment that is subject to the fare revision is identified based on the route information and the revision information, and a first calculation process is executed or set to be executed to calculate the payment amount related to the identified payment.
[0013] [Invention 3] Furthermore, the payment calculation system of Invention 3 is a payment calculation system of any one of Inventions 1 and 2, which is communicatively connected to a calculation processing server, and the first calculation processing execution means comprises a schedule setting unit which sets a schedule for causing the calculation processing server to execute a program that executes the first calculation processing, and a setting information transmission unit which transmits setting information of the schedule set by the schedule setting unit to the calculation processing server, and the calculation processing server comprises a program execution unit which, when receiving the setting information transmitted by the setting information transmission unit, executes the program according to a schedule corresponding to the setting information based on the execution information of an execution information storage means which stores execution information necessary for executing the program including identification information for identifying a processing target, which corresponds to the setting information, and the schedule setting unit sets the execution time of the program as the schedule, leaving a predetermined time after the transmission of the setting information taking into account a communication lag with the calculation processing server.
[0014] With this configuration, the schedule setting unit sets the execution time of the program as a schedule, leaving a predetermined time gap taking into account communication lag, and the setting information sending unit sends the setting information of the set schedule to the calculation processing server.
[0015] When the calculation processing server receives the setting information, the program is executed according to a schedule corresponding to the setting information, based on the execution information in the execution information storage means that corresponds to the setting information. Effect of the Invention
[0016] As described above, according to the payment calculation system of Invention 1 or 2, when a fare revision occurs, the first calculation process is executed in a chronologically distributed manner, thereby reducing the load of the payment calculation process compared to the conventional system.
[0017] Furthermore, according to the payment calculation system of Invention 3, it is possible to reduce the possibility that the calculation processing server will be unable to execute the first calculation process when a communication lag occurs. [Brief description of the drawings]
[0018] [Figure 1] 1 is a block diagram showing a configuration of a network system according to an embodiment of the present invention; [Diagram 2] FIG. 2 is a diagram showing a hardware configuration of a commute expense calculation server 100. [Diagram 3] 4 shows 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. [Figure 4] 4A and 4B show data structures of an employee daily pro rata 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. [Diagram 5] 4 is a diagram showing the data structure of a fare information table 420. FIG. [Figure 6] 13 is a flowchart showing a new commute route information application process. [Figure 7] 13 is a flowchart showing a payment information addition / modification process. [Figure 8] FIG. 5 shows an employee information list screen 500. [Figure 9] FIG. 8 shows a route list screen 800. [Figure 10] FIG. 8 shows a payment information list screen 801. [Figure 11] 13 is a flowchart showing a salary linkage basic data creation task registration process. [Figure 12] FIG. 13 is a diagram illustrating an example in which the amount of commuting expenses paid fluctuates. [Figure 13] 13 is a flowchart showing the execution process of the payroll linkage batch processing program. [Figure 14] FIG. 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. [Figure 15] This is a time chart showing the calculation of payment information related to fare revisions and daily payment information. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] An embodiment of the present invention will now be described with reference to Figures 1 to 15.
[0020] 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.
[0021] 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 expense calculation server 100 that provides a service that assists in the calculation of commuter expense calculation and the calculation of the amount of commuter expense payment (hereinafter referred to as the "commuter expense / salary linkage support service"), a batch server 150 that executes update processing of various basic data for calculating the amount of commuter expense payment, a database server 170 that manages various table information used by the commuter expense calculation server 100 and the batch server 150, and employee terminals 200 installed for each employee of the company that uses the commuter expense / salary linkage support service.
[0022] [Hardware configuration of commuter travel expense calculation server 100] Next, the configuration of the commute expense calculation server 100 will be described.
[0023] FIG. 2 is a diagram showing a hardware configuration of the commute expense calculation server 100. As shown in FIG. As shown in Figure 2, the commuter expense calculation server 100 is composed of a CPU (Central Processing Unit) 30 which controls calculations and the entire system based on a control program, a ROM (Read Only Memory) 32 which has the control program etc. of the CPU 30 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 which mediates the input and output of data to and from external devices, and these are connected to each other and capable of sending and receiving data by a bus 39, which is a signal line for transferring data.
[0024] The I / F 38 is connected to 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.
[0025] [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.
[0026] The batch server 150 and the database server 170 have the same hardware configuration as the commute expense calculation server 100 .
[0027] [Hardware configuration of employee terminal 200] The employee terminal 200 is composed of a terminal assumed to be a stationary type like 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 sending and receiving data by signal lines for transferring data.
[0028] To the I / F, various accessory devices are connected, 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, and the like.
[0029] [About the various tables] Next, various tables stored in the storage device of the database server 170 will be described.
[0030] 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.
[0031] 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 information on the workplace of each company, an employee information master table 404 for registering employee information, an employee-specific route information table 406 for registering information on the commuting route for each employee, and an employee-specific payment information table 408 for registering commuting expense payment information for each employee.
[0032] As shown in Fig. 3(a), one record is registered for each combination of company ID and application start date in the company master table 400. Each record contains main information including company ID, company name, application control category, employee group category information, application start date, application end date, last update date, last updater, and other information.
[0033] Here, 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), etc. Also, the application control category is information that sets whether applications from employees can be accepted, and the employee group category information is information that indicates categories such as job type, office, and affiliation between paid employee groups and other employee groups.
[0034] 3(b), one record is registered for each combination of company ID, workplace ID, and application start date in the workplace master table 402. Each record contains main information including company ID, workplace ID, workplace name, commuter 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.
[0035] 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 in which the business days and holidays of the workplace set for each company are written, 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 a fuel unit price type 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 is information on the nearest station to the workplace.
[0036] 3(c), one record is registered for each combination of company ID, employee ID, and application start date in employee information master table 404. Each record contains main information including company ID, employee ID, employee name, employee name (kana), employee postal code (home), employee address (home), phone 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.
[0037] Here, the department ID is information for identifying the department to which an 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 expense operations in this system, superior authority is the authority to only apply for commuting routes and approve the contents of the applications, and employee authority is the authority to only apply for commuting routes. Furthermore, the map information is information on the nearest station to the employee's home.
[0038] 3(d), one record is registered for each combination of company ID, employee ID, and route ID in the employee-specific route information table 406. Each record contains main information including company ID, employee ID, vehicle ID, route direction type, nearest station to employee, route ID, 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.
[0039] Here, the route direction type is information indicating the direction of the commuting means, and is information on outward, return, or round trip. The route ID is information for identifying the commuting route, and is composed of, for example, a unique number for each commuting route (for example, only numbers, or a combination of letters and numbers). The 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 for example, if the commuting means is a car, it is "home → car → workplace". The 1-month amount, 3-month amount, 6-month amount, and 12-month amount are the amounts of commuting transportation expenses for the 1st, 3rd, 6th, and 12th months for the set commuting means and route direction type, and the route reference date is the reference date on which the commuting route becomes valid.
[0040] 3(e), one record is registered for each combination of company ID, employee ID, route ID, and payment ID in the employee-specific payment information table 408. 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, number of regular months, number of regular sheets, payment amount, total payment amount, total self-payment amount, and other information.
[0041] 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 continuous, whether or not the payment cycle is fixed, and whether or not the fare revision process is applicable.
[0042] 4(a) to (e) are diagrams showing the data structures of an employee daily pro rata 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.
[0043] 4(a)-(e), the storage device of the database server 170 stores an employee-by-employee daily pro rata payment information table 410 for registering daily pro rata commuter travel expense payment information for each employee, and a department information table 412 for registering information on approvers and proxy applicants for each department. In addition, a system environment information table 414 for registering system environment information such as the IP address of the batch server 150, a batch job definition information table 416 for registering batch job definition information including information on the physical file name of the batch processing program, and a task scheduler information table 418 for registering information for executing tasks registered in the task scheduler are stored.
[0044] 4(a), in the employee-specific daily payment information table 410, one record is registered for each combination of company ID, employee ID, route ID, payment ID, and daily rate ID. Each record contains main information including employee ID, company ID, route 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), number of days, payment amount, total payment amount, and other information.
[0045] Here, 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.
[0046] 4(b), one record is registered for each department and each company in the department information table 412. Each record contains main information including the department ID, company ID, approver ID, proxy applicant ID, application start date, application end date, last update date, last updater, and other information.
[0047] Here, the approver ID is the employee ID of an employee with supervisor authority who is authorized to approve applications for commuting routes 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.
[0048] As shown in FIG. 4(c), the system environment information table 414 registers main information including the batch server IP address, batch server user ID, batch server user ID password, packet name, actual cost packet name, and other information.
[0049] Here, 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). Also, the packet name is a packet name used in creating the payroll linkage basic data, and the actual cost packet name is a packet name used in processing actual costs.
[0050] As shown in FIG. 4D, the batch job definition information table 416 registers main information including a tenant number, a batch process ID, a batch name, a batch path, a batch physical file name, and other information.
[0051] Here, the tenant number is the number of the tenant executing batch processing such as the creation processing of payroll linked 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 saved, and the batch processing physical file name is the physical file name of the batch processing program.
[0052] 4(e), one record is registered for each combination of a tenant number, a batch processing ID, and a task ID in the task scheduler information table 418. Each record registers main information including the tenant number, the batch processing ID, the batch processing path, parameter information, the task ID, the status, the execution flag, and other information.
[0053] Here, the batch processing path is information indicating the physical file name (full path) of the batch processing main program that controls 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 payment for commuting expenses, and includes the company ID, employee ID, payment ID (and the prorated ID in the case of prorated payment information), etc.
[0054] 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 for registering fare information related to fares for transportation such as trains and buses.
[0055] As shown in FIG. 5, the fare information table 420 has one record registered for each fare ID. Each record has main information registered, including the fare ID, section information (e.g., the station numbers of the departure station and the arrival station), 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 related to the record with the older revision date can be specified as the fare before revision, and the fare related to the record with the newer revision date can be specified as the fare after revision. In addition, the employee's commuting expenses can be calculated by accumulating the fares related to the route based on the route information in the employee-specific route information table 406 and the fare information in the fare information table 420. The commuting expenses can be calculated using a known technique (e.g., JP 2003-90733 A).
[0056] Although not shown, the storage device of database server 170 stores, in addition to tables 400 to 418, 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. 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.
[0057] Here, the basic salary data is data on the amount of 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 social insurance insurance amount for the commuting allowance paid, and the basic employment insurance data is data on the employment insurance insurance amount for the commuting allowance paid.
[0058] [Operation] Next, the operation of this embodiment will be described. [New commute route information application process] Next, the operation of commute expense calculation server 100 when an employee newly applies for commute route information will be described. Note that, in reality, access to tables 400-418 is performed by commute expense calculation server 100 communicating with database server 170, but for the sake of simplicity, the following description will be given assuming that commute expense calculation server 100 accesses tables 400-418.
[0059] FIG. 6 is a flowchart showing the process for applying for new commute route information. The CPU 30 starts a predetermined program stored in a predetermined area of the ROM 32, and executes the new commute route information application process shown in the flowchart of FIG. 6 in accordance with the program.
[0060] When the new commute route information application process is executed by CPU 30, as shown in FIG. 6, first, the process proceeds to step S100.
[0061] In step S100, it is determined whether or not a new application request has been received from an employee terminal. If it is determined that a new application request has been received (YES), the process proceeds to step S102. If it is determined that a new application request has not been received (NO), the process repeats the determination process until a new application request is received.
[0062] Here, a new application for commuting route information is made, for example, when a new employee registers commuting route information for the first time, or when an employee moves and their commuting route changes.
[0063] If the process proceeds to step S102, an application information input process is executed, and the process proceeds to step S104.
[0064] In the application information input process, commute route information such as commuting means (vehicle ID), reason for application, home address, and route direction type can be input via the input screen. Route direction type can be selected from one of three options: "Outbound", "Return", and "Round trip". In other words, if only the outbound trip is used, only the return trip is used, or the commuting route is different for the outbound and return trips, commute route information can be set separately for the outbound and return trips.
[0065] In step S104, it is determined whether or not a registration application has been received from the employee terminal 200. If it is determined that a registration application has been received (YES), the process proceeds to step S106. If it is determined that a registration application has not been received (NO), the process proceeds to step S110.
[0066] If the process proceeds to step S106, information about 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, and the process proceeds to step S108.
[0067] Here, the department ID is identification information dedicated to the workflow, and it is possible to set employees across multiple different real organizations to 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 the real organizations are registered using the employee group ID in the employee information master table 404.
[0068] Also, for example, employees A and F are considered to be employees with supervisor authority and are given approval authority in the workflow. Also, employee E is considered to be a general employee and is 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.
[0069] This allows approval processing and proxy application processing across different real organizations, even if the real organizations are different, as long as they are managed with the same department ID defined in the department information table 412. In other words, it is possible to build an amoeba-like approval route.
[0070] In step S108, an approval route is constructed based on the obtained approval destination information, and then an approval request for the application information is sent to each approver at the route destination based on the constructed approval route, the series of processes is terminated, and the process returns to the original process.
[0071] For example, when a general employee (other than A and F) belonging to department B1 applies for a commuter route, approval is required from both employees A and F, and after approval, the route is inspected by three people, for example, human resources employees J through L, who are in charge of department B1. Note that human resources employees have the authority to inspect any department.
[0072] In other words, the approval route will first be "employees A and F," and after employee A approves first, it will be "employee A → HR employees J~L." On the other hand, after employee F approves first, it will be "employee F → HR 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 HR employees J~L in charge of department B1, and inspection only needs to be carried out by any one of HR employees J~L.
[0073] In this way, approval and inspection are carried out, and the application is permitted, and the application information is registered in employee-specific route information table 406, employee-specific payment information table 408, and 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 employee-specific payment information table 408 or employee-specific daily payment information table 410, causing a change in the amount of commuting expenses paid.
[0074] On the other hand, if in step S104 no registration application is received and the process proceeds to step S110, it is determined whether or not a cancellation request has been received from employee terminal 200. If it is determined that a cancellation request has been received (YES), the process ends and the process returns to the original process; if it is determined that no registration request has been received (NO), the process proceeds to step S104.
[0075] [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.
[0076] Fig. 7 is a flow chart showing the payment information addition / modification process. Fig. 8 is a diagram showing the employee information list screen 500. Fig. 9 is a diagram showing the route list screen 800. Fig. 10 is a diagram showing the payment information list screen 801.
[0077] Here, when an employee with personnel authority logs in to the commuter expense / salary linking service provision page with an account having personnel authority (hereinafter referred to as the "personnel employee"), the top page of the service is displayed on the display device of the employee terminal 200 of the employee with personnel authority (hereinafter referred to as the "personnel employee"). Although not shown in the figure, this top page 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 top page. Then, when an employee with personnel authority 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. 8 is displayed on the display device. Here, the personnel employee has the authority to perform tasks related to the calculation of the amount of commuter expense payment.
[0078] 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 then selecting the route list button 51.
[0079] The CPU 30 starts a predetermined program stored in a predetermined area of the ROM 32, and executes the payment information addition / modification process shown in the flow chart of FIG. 7 in accordance with the program.
[0080] When the payment information addition / modification process is executed by CPU 30, as shown in FIG. 7, first, the process proceeds to step S200.
[0081] In step S200, it is determined whether or not the route modification 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, based on information from the employee terminal 200. If it is determined that a route has been selected (YES), the screen information of the payment information list screen 801 is sent to the employee terminal 200 and the process proceeds to step S202; if it is determined that a route has not been selected (NO), the determination process is repeated until a route is selected.
[0082] That is, when the route modification button 80 is selected on the route list screen 800 shown in FIG. 9, a payment information list screen 801 shown in FIG.
[0083] Returning to Fig. 7, when the process proceeds to step S202, it is determined whether or not the Add button 82 has been selected on the payment information list screen 801, based on information from the employee terminal 200. If it is determined that the button has been selected (YES), the screen information of the payment information setting screen is sent to the employee terminal 200 and the process proceeds to step S204, and if it is determined that the button has not been selected (NO), the process proceeds to step S206.
[0084] That is, when the Modify button 83 is selected with pro rata payment information selected on the payment information list screen 801 shown in Fig. 10, 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, when the Modify button 83 is selected with regular payment information selected, a screen is displayed that allows additional setting of regular payment information different from the pro rata payment information setting screen, and when the Add button 82 is selected with nothing selected, a screen is displayed that allows additional setting of both regular and pro rata payment information.
[0085] Returning to FIG. 7, when the process proceeds to step S204, the payment information addition process is executed, the series of processes is terminated, and the process returns to the original process.
[0086] Here, as the payment information addition process, a process for adding payment information based on information input by a human resources employee on the pro rata payment information setting screen will be described.
[0087] The personnel staff inputs the necessary information on the pro rata payment information setting screen via the staff terminal 200. Specifically, the pro rata payment period, the number of days for payment, and the type of direction of use (one way / round trip) are input. 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. Alternatively, 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, the 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.
[0088] Here, the type of direction of travel is selected as "round trip" if the same commute route was used on the outbound and return journeys, and selected as "one way" if different commute routes were used on the outbound and return journeys or if only one way was used. This allows round trip or one way to be set commonly for each date in the payment period. Also, if there are days when the same commute route was used only one way and days when it was used both ways, the type of direction of travel can be set individually for each date after selecting either one way or round trip.
[0089] Furthermore, after inputting the pro rata payment information, by selecting an 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. 10. Then, 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 of commuting expenses.
[0090] On the other hand, if the Add button 81 is not selected in step S202 and the process proceeds to step S206, it is determined whether or not the Modify button 83 for the selected payment information is selected on the payment information list screen 801, based on information from the employee terminal 200. If it is determined that it has been selected (YES), the screen information of the payment information setting screen is sent to the employee terminal 200 and the process proceeds to step S208, and if it is determined that it has not been selected (NO), the process proceeds to step S210.
[0091] In other words, when already registered pro rata payment information is selected on the payment information list screen 801 shown in Figure 10 and the Modify button 83 is selected, the pro rata payment information setting screen is displayed on the display screen of the employee terminal 200 with the information already entered.
[0092] When the process proceeds to step S208, the payment information correction process is executed, the series of processes is terminated, and the process returns to the original process.
[0093] Here, 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 thereof will be omitted. Also, by correcting the pro rata payment information, a change occurs in the pro rata payment information stored in the employee per diem payment information table 410, in which the payment amount of commuting expenses changes.
[0094] Furthermore, in step S206, if the Modify button 83 is not selected and the process proceeds to step S210, it is determined whether or not 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), screen information of the screen corresponding to the other button is transmitted to the employee terminal 200 and the process proceeds to step S212, and if it is determined that no other button has been selected (NO), the process proceeds to step S202.
[0095] When the flow advances to step S212, the process corresponding to the selected button is executed, the series of processes is terminated, and the process returns to the original process.
[0096] Other buttons include a cancel button, a delete button, a confirm button, and a cancel button, as shown in Fig. 10. 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 route modification and returning to the route list screen 800 is executed.
[0097] [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 when a change occurs in the amount of commute expense payment will be described.
[0098] FIG. 11 is a flowchart showing the payroll-linked basic data creation task registration process. The CPU 30 starts a predetermined program stored in a predetermined area of the ROM 32, and executes the payroll-linked basic data creation task registration process shown in the flowchart of FIG. 11 in accordance with the program.
[0099] When the payroll linked basic data creation task registration process is executed by the CPU 30, as shown in FIG. 11, first, the process proceeds to step S300.
[0100] In step S300, it is determined whether or not a change has occurred in the payment information in the employee-specific payment information table 408 or the employee-specific daily prorated payment information table 410. If it is determined that a change has occurred (YES), the process proceeds to step S302, and if it is determined that a change has not occurred (NO), the determination process is repeated until a change occurs.
[0101] FIG. 12 is a diagram for explaining an example in which the amount of commuting expenses paid fluctuates. As shown in Fig. 12, 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 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 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.
[0102] In addition, when monthly processing by personnel staff involves, for example, calculations to pay commuting expenses on a pro rata basis, fluctuations occur in the registered information in employee pro rata payment information table 410 that change the payment amount, and these fluctuations are determined to be fluctuations in the payment amount.
[0103] In addition, even if a difference occurs between the amount of payment already paid due to a fare revision, a change occurs in the payment information in the employee-specific payment information table 408 or the employee-specific daily pro rata payment information table 410 due to the payment of the difference, and this change is determined as a change in the payment amount. In addition, after the registration of the daily pro rata 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 pro rata payment or fare revision, a change occurs in the payment information in the employee-specific payment information table 408 or the employee-specific daily pro rata payment information table 410, and therefore it is determined that a change in the payment amount has occurred. A 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.
[0104] If the process proceeds to step S302, the parameter information relating to the payment information in which the payment amount has changed is checked, and the process proceeds to step S304.
[0105] The parameter information to be checked here includes the tenant number of the tenant executing the payroll integration batch processing, the company ID, the ID of the payroll integration batch processing program (hereinafter referred to as the "payroll integration batch processing ID"), and the payment ID of the payment information determined in step S300 to have had a change that changes the payment amount.
[0106] The payment ID of the payment information that has been subject to a 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 S322.
[0107] The payment ID of the pro rata payment information that has been subject to a fare revision among the pro rata payment information set as the target for fare revision processing (hereinafter referred to as "pro rata 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 and pro rata ID of the pro rata payment information for which commuting expenses have been calculated using the identified route information are obtained from the employee-specific pro rata payment information table 410. Parameter information including the obtained payment ID is registered in the task scheduler information table 418 in step S322.
[0108] In step S304, 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, and the process proceeds to step S306.
[0109] Here, the batch processing main program is a program that controls various batch processes such as payroll-linked batch processing, and the batch processes that are executed are controlled by the contents of parameters that are set when the batch processing main program is executed.
[0110] In step S306, 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 S308.
[0111] In step S308, based on the information acquired in step S306, the process logs in to the batch server 150 and establishes a session, after which the process proceeds to step S310.
[0112] In step S310, a task execution condition is created by the task scheduler, and the process proceeds to step S312.
[0113] Here, the task execution condition is created 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. The start delay time is set, for example, to two minutes after the system time of the commute travel expense calculation server 100 when the system times of the commute travel expense calculation server 100 and the batch server 150 are the same. When 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.
[0114] In addition, the commute expense calculation server 100 and the batch server 150 have a task scheduler installed in their operating systems (OS).
[0115] 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.
[0116] In step S312, a task action is created, and the process proceeds to step S314.
[0117] Here, a task action is composed of an execution program and execution parameters (arguments given to the execution program).
[0118] Specifically, the execution program is a batch processing main program, and the execution parameters are a tenant number, a payroll linkage batch processing ID, and a task ID. Here, the task ID is information for identifying a task to be registered in the task scheduler.
[0119] In step S314, a deletion setting is created for the action after the task is completed, and the process proceeds to step S316. Here, the process of creating basic payroll 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.
[0120] In step S316, an instance of the task scheduler is created, and the process proceeds to step S318.
[0121] That is, an instance of the batch processing main program (payroll linked batch processing) to be executed by the task scheduler is created. 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.
[0122] Here, the payroll linkage batch process needs to be executed after it is determined that the commuter transportation allowance payment amount has changed, and before data related to the commuter transportation allowance payment amount and other payment amounts is output to another payroll calculation system. 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.
[0123] Furthermore, in the task scheduler, processing is executed on an instance basis, and a plurality of instances can be executed in parallel.
[0124] In step S318, the various information created in steps S310 to S316 is registered in a task scheduler, and the process proceeds to step S320.
[0125] That is, information such as the tenant number, company ID, payroll linkage batch processing ID, task schedule (year, month, day, hour, minute), and executing user is registered.
[0126] In step S320, the session with the batch server 150 is discarded, and the process proceeds to step S322.
[0127] In step S322, task scheduler information, which is information required to execute the task registered in the task scheduler, is registered in the task scheduler information table 418, the series of processes is terminated, and the process returns to the previous process. 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.
[0128] The processes in steps S308 to S320 are automatically performed using, for example, a command line interface installed in the OS (for example, "Windows PowerShell (registered trademark)" when the OS is Windows).
[0129] [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.
[0130] Fig. 13 is a flowchart showing the payroll linkage batch processing program execution process Fig. 14 is a diagram showing the flow of the batch processing main program execution process by the task scheduler in the batch server 150.
[0131] The CPU of the batch server 150 starts a predetermined program stored in a predetermined area of the ROM, and executes the payroll linkage batch processing program execution process shown in the flowchart of Figure 13 in accordance with the program.
[0132] When the payroll linkage batch processing program execution process is executed in the CPU, it first proceeds to step S400 as shown in FIG.
[0133] In step S400, it is determined whether the execution time for the registered task has arrived. If it is determined that the execution time has arrived (YES), the process proceeds to step S402. If it is determined that the execution time has not arrived (NO), the determination process is repeated until the execution time arrives.
[0134] In this case, as shown in FIG. 14, 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.
[0135] If the process proceeds to step S402, the execution parameters registered in the task scheduler are checked, and the process proceeds to step S404. Here, the execution parameters are the tenant number, the payroll linkage batch process ID, and the task ID.
[0136] In step S404, parameter information required for executing the task corresponding to the execution parameter checked in step S402 is obtained from the task scheduler information table 418, and the process proceeds to step S406.
[0137] Specifically, as shown in FIG. 14, parameter information corresponding to the tenant number, batch process ID, and task ID of the task to be executed is acquired as parameter information.
[0138] In step S406, the batch processing main program is executed based on the various information registered in the task scheduler and the parameter information acquired in step S404, and the payroll linkage batch processing program is executed. Then, the process proceeds to step S408.
[0139] That is, the batch processing main program reads out a 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 a storage device of the batch server 150. Then, the read out payroll linkage batch processing program is executed.
[0140] When the payroll linkage batch processing program is executed, as shown in FIG. 14, 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 S404, and the calculated values of the various basic data registered in the various basic data tables are updated to the recalculated data.
[0141] Here, the salary payment calculation process for calculating the amount of commuting expenses includes a first calculation process for calculating 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 for calculating other payment amounts (e.g. overtime pay, etc.). Furthermore, there is a third calculation process for calculating the payment amount based on the results of the first and second calculation processes. Note that the second and third calculation processes are processes performed, for example, in another salary calculation system. In the salary linkage batch process, the first calculation process is executed.
[0142] 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 the calculations over time for each payment information unit. For example, when a new or changed commuting route is applied, the payment amount for that application is calculated at that time, and when a fare revision is made, the payment amount for the fare revision is calculated at that time.
[0143] Furthermore, in the salary linkage batch processing, the amount of commuter transportation expenses is calculated for each predetermined period (for each month in which commuter transportation expenses are 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 expenses payment month to the execution timing of the salary payment calculation process for the next commuter transportation expenses payment month. Here, "execution timing of the salary payment calculation process" refers to the timing when the second calculation process and the third calculation process are executed, when the second calculation process and the third calculation process are, for example, monthly batch processes. Furthermore, in the salary payment calculation process for the commuter transportation expenses payment month, the uncalculated calculation processes of the first calculation process, second calculation process, and third calculation process are executed.
[0144] FIG. 15 is a time chart showing a case where payment information related to a fare revision and daily pro rata payment information are calculated.
[0145] In the example of FIG. 15, if a fare revision occurs after the completion of the previous salary payment calculation process, and this fare revision causes a change in the amount of commuting expenses paid to employees A and C, a salary linkage batch process related to the payment information of employee A and the payment information of employee C is executed. If a fare revision occurs again after that, and this fare revision causes a change in the amount of commuting expenses paid to employees B and D, a salary linkage batch process related to the payment information of employee B and the payment information of employee D is executed. After that, 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 of the relevant employee is recalculated, rather than the payment information of all employees being recalculated each time.
[0146] In step S408, the task scheduler information after the task completion is deleted from the task scheduler information table 418, the series of processes is terminated, and the process returns to the previous process.
[0147] [Effects of the embodiment] Next, the effects of this embodiment will be described. In this embodiment, based on the route information in the employee-specific 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.
[0148] 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 payees at once.
[0149] Furthermore, in this embodiment, when it is determined that a change has been made to the payment information that will result in a change in the amount of commuting expenses paid, a payroll linkage batch process is executed to calculate or recalculate the amount of commuting expenses paid.
[0150] This allows the salary link batch processing to be executed in a time-series distributed manner when the amount of commuting expenses changes, thereby reducing the load on the salary payment calculation processing. In other words, when the amount of commuting expenses changes, the commuter expense payment amount of the payee related to the change or the payment amount that changes according to the commuter expense can be recalculated, thereby reducing the load on the salary payment calculation processing compared to calculating the amount for all payees at once.
[0151] Furthermore, in this embodiment, taking into account communication lags, the task is scheduled to be executed after a start delay time from the registration of the task schedule, and the payroll linkage batch processing program is executed a predetermined time after registration.
[0152] This reduces the possibility that the batch server 150 will be unable to execute payroll linkage batch processing if a communication lag occurs.
[0153] Furthermore, in this embodiment, it is determined that a change has occurred in the amount of commuting expenses paid when an employee or a proxy applicant (including a human resources employee) applies for commuting route information or applies for a proxy, the application is approved by the superior employee and the human resources employee, and the payment information of the target employee is registered for the first time in the employee-specific payment information table 408. In addition, it is determined that a change has occurred in the amount of commuting expenses paid when the application for commuting route information is approved and the payment information registered in the employee-specific payment information table 408 is changed.
[0154] Furthermore, when new pro rata payment information is registered in the employee pro rata payment information table 410, it is determined that a change has occurred in the amount of commuting expenses paid. Furthermore, when the existing pro rata payment information registered in the employee pro rata payment information table 410 is changed due to the monthly processing of the personnel staff, it is determined that a change has occurred in the amount of commuting expenses paid.
[0155] Furthermore, if a fare revision causes 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 the existing pro rata payment information already registered is changed. In this case, too, it is determined that a change has occurred in the payment amount of commuting expenses.
[0156] 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.
[0157] This allows distributed processing even when changes occur in the amount of commuting expenses paid for reasons other than commuting route applications, such as daily rate payments and fare revisions, and further reduces the load on salary payment calculation processing. Also, since it is determined that a change has occurred in the amount of commuting expenses paid based on the registration of payment information or daily rate payment information in employee-specific payment information table 408 or employee-specific daily rate payment information table 410, it is possible to more reliably determine whether the amount of payment has changed.
[0158] [Correspondence] In this embodiment, the batch server 150 corresponds to the calculation processing server of invention 3, the route information table 406 corresponds to the route information storage means of invention 1, the task scheduler information table 418 corresponds to the execution information storage means of invention 3, and the fare information table 420 corresponds to the revision information storage means of invention 1. Also, step S302 corresponds to the payment information identification means of invention 1, steps S304 to S318 correspond to the first calculation processing execution means of invention 1 or 3, step S310 corresponds to the schedule setting unit of invention 3, and step S312 corresponds to the setting information transmission unit of invention 3.
[0159] In addition, in this embodiment, the payroll linkage batch processing corresponds to the first calculation processing of invention 1 or 3, and the start delay time corresponds to the specified time of invention 3.
[0160] [Modifications] In the above embodiment, 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 limiting, and for example, section information on the section where the fare revision occurred, route information on the route where the fare revision occurred, and other revision information on the fare revision can be used. In other words, any information that can grasp 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.
[0161] 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 timing 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 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 subject to the fare revision can be identified, for example, by identifying the route related to the fare revision or by identifying the employee who uses the route related to the fare revision.
[0162] In the above embodiment and its modified example, it is determined that a change has occurred in the payment amount of commuting expenses when payment information or daily prorated payment information is newly registered or changed in the employee-specific payment information table 408 or employee-specific daily prorated payment information table 410, but this is not the only possible configuration. For example, it may be configured to determine that a change has occurred in the payment amount when a commuting route is applied for and the application is approved.
[0163] Furthermore, in the above embodiment and its modified examples, the system is realized as a network system, but the present invention is not limited to this and can also be realized as a single device or application.
[0164] 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. For example, it is 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.
[0165] In addition, in the above embodiment and its modified example, the case where the present invention is applied to a network system consisting of the Internet 199 has been described, but the present invention is not limited to this, and may be applied, for example, to a so-called intranet that performs communication in the same manner as the Internet 199. Of course, the present invention is not limited to a network that performs communication in the same manner as the Internet 199, and may be applied to a network of any communication method.
[0166] In addition, in the above embodiment and its variations, when executing the processes shown in the flowcharts of Figures 6, 7, 11 and 13, the case has been described where a program pre-stored in ROM is executed, but this is not limited to the above, and the program showing these procedures may be read into RAM from a storage medium on which the program is stored and executed.
[0167] In the above embodiment and its modified example, the present invention is applied to the case of calculating commuting expenses of employees, but it is not limited to this and can be applied to other cases without departing from the scope of the present invention. For example, the present invention can be applied to the case of calculating travel expenses for business trips and other travel expenses, and the case of calculating travel expenses paid to persons other than employees. [Explanation of symbols]
[0168] 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
1. A payment calculation system comprising a first calculation process for calculating a transportation expense payment amount or a payment amount that varies depending on the transportation expense among the payment amount to a payment recipient and generating payment information, a second calculation process for calculating other payment amounts among the payment amount to the payment recipient, and a third calculation process for calculating a payment amount based on the results of the first and second calculation processes, wherein a part or all of the first calculation process is executed or set to be executed prior to the execution timing of the payment calculation process, and the payment calculation process executes those of the first to third calculation processes that have not been calculated, A payment information identification means for identifying the payment information that has been subject to a fare revision based on route information in a route information storage means that stores route information related to the route used by the payment recipient, and revision information in a revision information storage means that stores revision information related to fare revisions related to the route; A payment calculation system comprising a first calculation process execution means for executing or setting the execution of the first calculation process to calculate a payment amount relating to the payment information identified by the payment information identification means.
2. A payment calculation system comprising a first calculation process for calculating a travel expense payment amount or a payment amount that varies depending on the travel expense out of the payment amount to the payment recipient, a second calculation process for calculating other payment amounts out of the payment amount to the payment recipient, and a third calculation process for calculating a payment amount based on the results of the first and second calculation processes, wherein a part or all of the first calculation process is executed or set to be executed prior to the execution timing of the payment calculation process, and the payment calculation process executes those of the first to third calculation processes that have not been calculated, A payment specification means for specifying a payment subject to a fare revision based on route information in a route information storage means for storing route information on a route used by the payment recipient and revision information in a revision information storage means for storing revision information on a fare revision related to the route; A payment calculation system comprising a first calculation process execution means for executing or setting the execution of the first calculation process to calculate a payment amount relating to the payment identified by the payment identification means.
3. In any one of claims 1 and 2, Communicatively connected to a computation server; the first calculation processing execution means includes a schedule setting unit which sets a schedule for causing the calculation processing server to execute a program which executes the first calculation processing, and a setting information transmission unit which transmits setting information of the schedule set by the schedule setting unit to the calculation processing server; the computation processing server comprises a program execution unit which, when receiving the setting information transmitted by the setting information transmission unit, executes the program according to a schedule corresponding to the setting information, based on execution information corresponding to the setting information among execution information stored in an execution information storage means which stores execution information necessary for executing the program, including identification information for identifying a processing target; A payment calculation system characterized in that the schedule setting unit sets the execution time of the program as the schedule, leaving a predetermined time after the transmission of the setting information taking into account communication lag with the calculation processing server.
Citation Information
Patent Citations
Commutation traveling expenses change adjustment device, commutation traveling expenses change adjustment method, and commutation traveling expenses change adjustment program
JP2016192201A
Information processor and program
JP2019133637A
Program, information processing device and method
JP2022179191A
