CN112819602A - Piece wage calculation method and device, terminal equipment and readable storage medium thereof - Google Patents
Piece wage calculation method and device, terminal equipment and readable storage medium thereof Download PDFInfo
- Publication number
- CN112819602A CN112819602A CN202110282438.3A CN202110282438A CN112819602A CN 112819602 A CN112819602 A CN 112819602A CN 202110282438 A CN202110282438 A CN 202110282438A CN 112819602 A CN112819602 A CN 112819602A
- Authority
- CN
- China
- Prior art keywords
- calculation
- piece
- payroll
- wage
- data
- 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.)
- Pending
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 178
- 238000000034 method Methods 0.000 claims abstract description 69
- 230000008569 process Effects 0.000 claims abstract description 50
- 230000014509 gene expression Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 239000000969 carrier Substances 0.000 claims 1
- 230000007547 defect Effects 0.000 abstract description 7
- 238000011161 development Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 238000013461 design Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/125—Finance or payroll
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06313—Resource planning in a project environment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- Technology Law (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biodiversity & Conservation Biology (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a piece wage calculation method, a piece wage calculation device, terminal equipment and a readable storage medium thereof, wherein a configuration mode is used for finishing various information required by calculating piece wage, so that the defects of long period, more defects, high cost and the like caused by a customized hard coding mode are overcome, the piece wage informatization cost is reduced, and the piece wage informatization efficiency is improved; the user can control the whole process of the piece-counting payroll calculation by configuring various information, thereby overcoming the defect that the common piece-counting payroll system user is mostly limited to input data and the piece-counting payroll calculation mode needs to be customized by the original development unit if adjustment is needed, and improving the user experience.
Description
Technical Field
The invention relates to the field of piece wage calculation, in particular to a piece wage calculation method, a piece wage calculation device, terminal equipment and a readable storage medium of the terminal equipment.
Background
At present, almost all the information calculation methods for piece counting wages require a user to directly input required service data in a piece counting wage system, and the data cannot be extracted from the service system structurally. If the piece wage calculation mode of the user is changed, customized development is required according to different enterprise calculation methods, errors are easy to occur, and the realization efficiency is low. The concrete expression is as follows:
1. some methods simply make the corresponding piece wage price according to the production procedure, and then use the production data to search, position and calculate. This approach is completely in the customization domain and logical conflicts arise when dealing with piece-specific payroll prices for different time periods: for example, if the piece wage price is adjusted for a month, the adjusted price will be used when recalculating the previous piece wage, and will not match the current piece wage. It is also difficult to deal with the difference in performance prices of different employees in the same process. The method of procedure-wise calculation cannot be used in the service industry.
2. Some piece wage calculation methods use rules to avoid hard coding in some cases, but the rule structure is tightly bound with the business system and the data structure of the user, such as an operation method, an operation place, an operation type and the like, so that different business data cannot be flexibly handled, and wage items (such as attendance prizes) related to monthly data of employees cannot be calculated. In addition, the conventional consideration of calculation methods or unit price adjustment in different periods and years is lacked, so that historical data and payroll rules lack a tracing mechanism in design.
In summary, the existing piece wage calculation methods cannot perform more complicated calculation, such as calculation according to monthly employee error rate, attendance rate, and the like, cannot expand new calculation modes, can only be limited to specific stages of specific enterprises, and need to be customized according to piece wage regulations of the specific enterprises, adjust design, adjust program codes and test, so that customization efficiency is low and defects are easy to occur.
Disclosure of Invention
Aiming at the problems, the invention provides a piece wage calculation method, a piece wage calculation device, a terminal device and a readable storage medium thereof, which are used for solving the problems that the existing piece wage calculation department usually needs to spend a large amount of time for preparing data, uses a plurality of Sheet pages of an electronic form, and has the functions of formula judgment, calculation and check, so that the workload is large, the efficiency is low and the error lamp is easy to make.
The invention is realized by the following technical scheme:
a piece wage calculation method comprises the following steps:
s1, creating a table, and numbering the table;
s2, defining a payroll code, a name and a table position, wherein the table position corresponds to the table number;
s3, defining the name of the service object used for calculating the payroll item, the attribute definition under the service object and the reading technical method of the data packet;
s4, defining a calculation point, a calculation step and a calculation process; the one "calculation process" refers to one or more "calculation steps", the one "calculation step" may refer to a plurality of "calculation points" using the same business object, and one business object is matched with conditions in one "calculation point";
s5, defining the department payroll period, defining the period, the department, the piece payroll group, the target type, all the employees of the department and the monthly data of the employees;
s6, acquiring information of the department payroll period for calculating the piece payroll;
s7, according to the employee payroll group and the calculation target group in the period of the department;
s8, calculating the corresponding calculation process configuration of each group matching;
s9, matching is carried out according to the following information: period range, department, piece wage group, target type;
wherein, the step S7 specifically includes the following substeps:
s701, creating employee piece counting salary data;
s702, according to the calculation step quoted by the calculation process, circularly processing and calculating a payroll item;
and S703, after the circulation is completed, obtaining the sum of all the piece-counting payroll items of the employee in the calculation period and the detail of the piece-counting payroll items.
Further, the business object comprises a general business object and employee monthly data, and the general business object is an uncertain business activity carrier; the employee monthly data is statistical data for each period used to calculate the piece payroll.
Further, the attribute definition includes: define the field code, name, type, edit form that each business object can provide.
Further, when the edit form is a drop-down, a drop-down data source, a value field, and a display field name are provided.
Further, when the attribute is used to define the computation point, it can be used as a condition, wherein the numeric attribute can be used as a component element of the unit price and quantity expression of the payroll.
Further, the step S702 specifically includes the following sub-steps:
s7021, calling a driving program according to the service object specified in the calculation step, and loading service data;
s7022, loading the calculation points according to the calculation points quoted in the calculation step, and converting the calculation points into a rule language;
s7023, matching rules for each service data, after the rules are matched, using a 'calculation point' corresponding to the rule to calculate quantity and unit price respectively through an expression, and multiplying the quantity by the unit price to obtain money; combining the matched data with the money amount not being 0 into a calculation credential; determining the calculated piece payroll item based on the piece payroll item determined at the time the calculating step was referenced by the "calculating process".
S7024, accumulating the money amount of the calculation evidence obtained in the calculation step to obtain the money amount of the piece-counting payroll item.
S7025, according to the piece wage item determined in the relation of the calculating step, the calculating process refers to the storage position determined in the piece wage item definition, and the accumulated money is stored in the corresponding table position.
A piece wage calculation device comprising:
the piece-counting wage item setting module is used for setting a piece-counting wage item and a storage position;
the business object definition module is used for defining employee monthly data and general business objects, calculating the business objects required by the salary of the piece and all attributes under the items, calculating the general business objects and reading the required technical method;
the calculation process configuration is used for configuring the component planning payroll group, the calculation points, the calculation steps and the calculation process, and defining the reference relationship among the calculation processes, the calculation steps and the calculation points;
a payroll period configuration module, which is used for configuring the payroll period of a company and the payroll period of each department, defining post and monthly data of each employee corresponding to the department in the payroll period of each department, and setting the attribute of the monthly data of the employee according to the attribute in the service object definition;
the calculation coordinator module is used for calculating employee piece-counting wages and wage detail projects based on all the configuration information and according to general service data defined in the service object definition module and according to the employee monthly data and the acquired data in the driving program, and executing a calculation process, a calculation step and the configuration of a calculation point;
and the piece wage inquiry module is used for inquiring piece wages in different forms.
Further, the system also comprises a component wage confirmation component for confirming the calculated component wage;
a terminal device comprising a memory storing a computer program and a processor implementing the steps of a piece wage calculation method when executing the computer program.
A computer-readable storage medium, storing a computer program which, when executed by a processor, implements the steps of a piece wage calculation method.
The invention has the beneficial effects that:
(1) the invention uses the configuration mode to complete the calculation of various information required by piece-counting wages, improves the defects of long period, more defects, high cost and the like brought by the customized hard coding mode, reduces the informatization cost of the piece-counting wages and improves the informatization efficiency of the piece-counting wages;
(2) according to the invention, the user can control the whole process of piece wage calculation by configuring various information, so that the defect that the common piece wage system user is limited to input data and the piece wage calculation mode needs to be customized by an original development unit if adjustment is needed is overcome, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a piece wage calculation according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a relationship between a payroll table and a calculation process according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a relationship among a piece wage table, a calculation process, a calculation step, and a calculation point according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a computation point according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
As shown in fig. 1, the present embodiment provides a method for calculating piece wages, including the following steps:
1. reserving a plurality of blank spaces (for example, 50 spaces) for each period (for example, each month) of each employee, wherein the numbers are from 1 to 50, and the blank spaces are used for storing the amount of each payroll in the period; for example, in an enterprise, a work piece wage table of 11 months in 2020 for Zhang III and Li IV in a fleet of dangerous drivers is shown in FIG. 2.
Basic wages, receipt awards, attendance records, tonnage awards, kilometer number subsidies, dispatching discipline awards, security awards and the like are reserved in a blank format in advance.
2. Defining a payroll item including a payroll code, a name, a corresponding (blank) location; for example, in fig. 1, the position of the basic payroll is 1, and the position of the age payroll is 2. Each enterprise may define the project of the design wage and its location on its own.
3. Defining a business object, wherein the name of a business data type (called a business object) used for calculating the payroll item, the attribute definition under the business object and the reading technical method of the data packet are included; in the attribute definition, field codes, names, types and editing forms which can be provided by each service object are defined; if the editing form is a pull-down type, a pull-down type data source, a value field and a display field name are provided; these attributes are used as conditions when defining the computation points, and the numerical type attributes can be used as the constituent elements of the unit price and quantity expressions of the payroll.
The business objects are classified into 2 classes. Class is employee monthly data in which several blank locations are reserved, which may be defined by the user, for storing some statistics for calculating piece payroll items during each period, such as attendance, monthly error rates, monthly average losses, etc., which each enterprise may define on its own. 1 for each employee during each period. The second class is a general business object, an example of which includes a transportation schedule, which is continuously created and updated in the daily operation process of an enterprise, and is a carrier of business activities of the enterprise, and the types and the number of entries of the general business object are completely uncertain.
3. Defining a calculation process comprising: calculating points, calculating steps and calculating processes;
piece wages for a certain period of time (e.g., 1-30 days 11/2020) for a certain employee are all generated by a "calculation process", with each payroll item being calculated by a "calculation step" in the "calculation process". For example, in fig. 1, the piece wage project of zhang is calculated by the company "calculation process of piece wage of 2020 jeopardy drivers". If the company adjusts 2021 year's payroll approach or payroll projects, etc., a new calculation process needs to be made instead of modifying the original calculation process.
The relation between the piece wage table and the calculation process is shown in FIG. 3:
"computational process" describes the complete computational process of all payroll items of a certain class of employees categorized from a piece-by-piece payroll perspective. It has attributes such as code, name, effective date range, department, payroll group, target type (e.g., monthly payroll, annual bonus, etc.); the already defined "calculation steps" referred to by the calculation process are also defined in the "calculation process". Each "calculation step" calculates a payroll item.
The relation among the piece-counting payroll, the calculation process, the calculation step and the calculation point is shown in figure 4;
a calculation step that determines the "business objects" needed to calculate a piece of component payroll, the effective date range, and which "calculation points" are referenced. The 'calculation coordinator' uses the 'calculation step', can call a driver to load service data according to a specified service object, and performs matching and calculation on each service data in the plurality of service data by using a 'calculation point', so as to obtain the unit price and the quantity of piece wages which can be calculated by each service data, and the unit price and the quantity are multiplied to obtain the amount of money, thereby obtaining the total amount of the specific piece wage items.
If desired, a "calculation process" refers to one or more "calculation steps" so that one or more particular piece payroll items (e.g., kilometer subsidies) can be calculated accordingly and the source of the amount of each piece payroll item can be traced back.
And the computing point specifies a certain type of service object, and computes a unit price expression and a quantity expression used by the piece wage when the certain type of service object meets specified conditions. For example, the kilometer number of dangerous goods drivers is subsidized, the transportation scheduling list is used, the unit price is 0.3 when the unloading place is in the range of north and south Zhejiang, and the quantity is 0.9 of the { confirmed kilometer number } of the transportation scheduling list. Other attributes also include code, name, effective date range, etc. The matching conditions can be defined by the user, the conditions are flexible, and the comparison attributes are derived from the defined business objects. The conditional format may be ultimately converted by the compute coordinator into a computer-recognizable logical expression, the conditional format including: the ordinal left-bracket left attribute comparison operator right versus right attribute value right-bracket connector, the user may define several conditions, connected using "and", "or". As shown in fig. 5.
A "compute point" can be referenced by a "compute step," and a "compute step" can reference several "compute points" that use the same business object. Each service data can only match one calculation point so as to obtain the amount, unit price and money of the piece wage contributed by the service data, and if a certain service object meets the conditions of a plurality of calculation points, the calculation point is determined to be used according to the searching sequence determined when the calculation points are referred by the calculation steps.
4. Defining a department payroll period comprising a period, a department, a piece-counting payroll group, a target type, all employees of the department and monthly data of the employees;
5. acquiring information of a department payroll period for calculating the payroll of a piece;
6. grouping according to employee payroll groups and calculation targets (component payroll, monthly prize, quarterly prize, annual prize and the like) under the period of the department;
7. a calculation is performed for each packet matching the corresponding calculation process configuration. Matching is performed according to the following information: period scope, department, piece payroll, target type.
In step 7, a plurality of employees using the matched calculation process under the term of the payroll period are circularly calculated:
1) creating an employee piece-counting payroll data;
2) according to the 'calculation step' quoted by 'calculation process', a payroll item (such as tonnage prize) is calculated by cyclic processing.
a) Calling a driver according to the service object specified in the calculation step, and loading service data;
b) loading the calculation points according to the calculation points quoted in the calculation step, and converting the calculation points into a rule language;
c) and respectively matching rules for each service data, after the rules are matched, respectively calculating the quantity and the unit price by using an expression by using a 'calculation point' corresponding to the rule, and multiplying the quantity by the unit price to obtain the money. And combining the matched data with the sum not being 0 into a calculation credential. The piece pay items have been determined when the "calculation process" refers to the calculation step, so that it can be determined which piece pay item was calculated;
d) accumulating the amount of the calculation evidence obtained in the calculation step to obtain a piece-counting payroll amount;
e) and according to the calculation process, referring to the piece wage item (such as mileage allowance) determined in the relation of the calculation step, searching the storage position determined in the definition of the piece wage item, and storing the accumulated amount into the corresponding grid.
After the cycle is completed, the amount of all the piece wage items of the employee during the calculation period and the detail of the piece wage items can be obtained.
Example 2
As shown in fig. 6, on the basis of embodiment 1, this embodiment proposes a device for calculating piece wage, which includes:
1. the piece-counting wage item setting module is used for setting a piece-counting wage item and a storage position;
2. the business object definition module is used for defining monthly data of staff and general business objects, calculating the business objects required by the salary of the piece and all attributes under the item, and matching the general business objects and the technical method required by reading with the driving program;
3. the calculation process configuration is used for configuring the component planning payroll group, the calculation points, the calculation steps and the calculation process, and defining the reference relationship among the calculation processes, the calculation steps and the calculation points;
4. a payroll period configuration module, which is used for configuring the payroll period of a company and the payroll period of each department, and defining post and monthly data of each employee corresponding to the department in the payroll period of each department, wherein the attribute of the monthly data of the employee is set according to the monthly data of the employee in the business object definition;
5. the calculation coordinator module is used for acquiring data from the monthly data and the driving program of the staff according to all the configuration information and the general service data defined in the service object definition module, and executing the configuration of a calculation process, a calculation step and a calculation point to calculate the staff piece-counting wage and wage detail project;
6. a piece wage confirmation component for confirming the calculated piece wage;
7. and the component wage inquiry module is used for inquiring component wages in different forms, such as inquiry of fleet component wages, employee component wages, calculation certificates and the like.
The driver module is not a module of the present invention, and may be provided by a business system (e.g., a transportation management system, a warehouse management system, a plant management system, etc.). The driver is a very small module, only needs to realize a specific method, can be connected with an external service system and read the service data required by the piece wage, and embodies the flexibility and openness of the invention in the aspect of acquiring the service data in calculating the piece wage.
Example 3
Referring to fig. 7, based on embodiment 1, this embodiment proposes a terminal device for payroll calculation, where the terminal device 200 includes at least one memory 210, at least one processor 220, and a bus 230 connecting different platform systems.
The memory 210 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)211 and/or cache memory 212, and may further include Read Only Memory (ROM) 213.
The memory 210 further stores a computer program, and the computer program can be executed by the processor 220, so that the processor 220 executes any one of the piece wage calculation methods in the embodiments of the present application, and the specific implementation manner thereof is consistent with the implementation manner and the achieved technical effect described in the embodiments of the method, and some details are not repeated. Memory 210 may also include a program/utility 214 having a set (at least one) of program modules 215, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Accordingly, processor 220 may execute the computer programs described above, as well as may execute programs/utilities 214.
Example 4
On the basis of embodiment 1, this embodiment proposes a computer-readable storage medium for piece wage calculation, which stores instructions that, when executed by a processor, implement any one of the above-mentioned piece wage calculation methods. The specific implementation manner is consistent with the implementation manner and the achieved technical effect described in the embodiment of the method, and some contents are not described again.
Fig. 8 shows a program product 300 provided by the present embodiment for implementing the method, which may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product 300 of the present invention is not so limited, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Program product 300 may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The key points of the invention are as follows:
(1) a piece wage calculation process that references one or more defined calculation steps, each calculation step calculating a wage item and storing; one computation step refers to one or more defined computation points, and a business object is matched with conditions in the computation points, and only one computation point can be matched with one business object at most.
(2) Based on the business object definition information, external business data required for calculating the salary of the piece can be read from the external driver as input information for calculating the salary of the piece.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (10)
1. A piece wage calculation method is characterized by comprising the following steps:
s1, creating a table, and numbering the table;
s2, defining a payroll code, a name and a table position, wherein the table position corresponds to the table number;
s3, defining the name of the service object used for calculating the payroll item, the attribute definition under the service object and the reading technical method of the data packet;
s4, defining a calculation point, a calculation step and a calculation process; the one "calculation process" refers to one or more "calculation steps", the one "calculation step" may refer to a plurality of "calculation points" using the same business object, and one business object is matched with conditions in one "calculation point";
s5, defining a department payroll period, defining a period, a department, a piece payroll group, a target type, all employees of the department and monthly data of the employees;
s6, acquiring information of the department payroll period for calculating the piece payroll;
s7, according to the employee payroll group and the calculation target group in the period of the department;
s8, calculating the corresponding calculation process configuration of each group matching;
s9, matching according to the period range, the department, the piece-counting payroll group and the target type;
wherein, the step S7 specifically includes the following substeps:
s701, creating employee piece counting salary data;
s702, according to the calculation step quoted by the calculation process, circularly processing and calculating a payroll item;
and S703, after the circulation is completed, obtaining the sum of all the piece-counting payroll items of the employee in the calculation period and the detail of the piece-counting payroll items.
2. A piece wage calculation method according to claim 1, wherein the business objects include general business objects and employee monthly data, the general business objects being uncertain business activity carriers; the employee monthly data is statistical data for each period used to calculate the piece payroll.
3. A piece payroll method according to claim 1, wherein said attribute definition comprises: define the field code, name, type, edit form that each business object can provide.
A piece wage calculation method according to claim 3, wherein when the edit form is pull-down, a data source, a value field and a display field name are provided in a pull-down manner.
4. A piece wage calculation method according to claim 3, characterised in that attributes are used as conditions when used to define calculation points, where numerical attributes may be used as elements of a unit price, quantity expression for a wage term.
5. A piece wage calculation method according to claim 1, wherein the step S702 further comprises the following substeps:
s7021, calling a driving program according to the service object specified in the calculation step, and loading service data;
s7022, loading the calculation points according to the calculation points quoted in the calculation step, and converting the calculation points into a rule language;
s7023, matching rules for each service data, after the rules are matched, using a 'calculation point' corresponding to the rule to calculate quantity and unit price respectively through an expression, and multiplying the quantity by the unit price to obtain money; combining the matched data with the money amount not being 0 into a calculation credential; determining the calculated piece payroll item based on the piece payroll item determined at the time the calculating step was referenced by the "calculating process".
And 6, S7024, accumulating the amount of the calculation evidence obtained in the calculation step to obtain the amount of the piece wage item.
And 7, S7025, referring to the piece wage item determined in the relation of the calculation step according to the calculation process, searching the storage position determined in the piece wage item definition, and storing the accumulated amount in the corresponding table position.
8. A piece wage calculation device, comprising:
the piece-counting wage item setting module is used for setting a piece-counting wage item and a storage position;
the business object definition module is used for defining employee monthly data and general business objects, calculating the business objects required by the salary of the piece and all attributes under the items, calculating the general business objects and reading the required technical method;
the calculation process configuration is used for configuring the component planning payroll group, the calculation points, the calculation steps and the calculation process, and defining the reference relationship among the calculation processes, the calculation steps and the calculation points;
a payroll period configuration module, which is used for configuring the payroll period of a company and the payroll period of each department, defining post and monthly data of each employee corresponding to the department in the payroll period of each department, and setting the attribute of the monthly data of the employee according to the attribute in the service object definition;
the calculation coordinator module is used for calculating employee piece-counting wages and wage detail projects based on all the configuration information and according to general service data defined in the service object definition module and according to the employee monthly data and the acquired data in the driving program, and executing a calculation process, a calculation step and the configuration of a calculation point;
and the piece wage inquiry module is used for inquiring piece wages in different forms.
9. A piece wage calculation device according to claim 5, further comprising a piece wage confirmation component for confirming the calculated piece wage;
a terminal device, characterized in that the terminal device comprises a memory and a processor, the memory storing a computer program, the processor realizing the steps of the method according to any of claims 1-6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110282438.3A CN112819602A (en) | 2021-03-16 | 2021-03-16 | Piece wage calculation method and device, terminal equipment and readable storage medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110282438.3A CN112819602A (en) | 2021-03-16 | 2021-03-16 | Piece wage calculation method and device, terminal equipment and readable storage medium thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112819602A true CN112819602A (en) | 2021-05-18 |
Family
ID=75863341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110282438.3A Pending CN112819602A (en) | 2021-03-16 | 2021-03-16 | Piece wage calculation method and device, terminal equipment and readable storage medium thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112819602A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113763142A (en) * | 2021-07-14 | 2021-12-07 | 望海康信(北京)科技股份公司 | Payroll data calculation method, system, corresponding computer device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510276A (en) * | 2009-02-20 | 2009-08-19 | 浪潮集团山东通用软件有限公司 | Payroll computation method adapting multi-valuta and multi-time-interval |
CN105719123A (en) * | 2016-01-15 | 2016-06-29 | 成都金万泰科技有限公司 | Performance management method and system within enterprise |
CN107180337A (en) * | 2017-05-17 | 2017-09-19 | 广州市迅越软件有限公司 | A kind of method for calculating printing enterprise's wage by reckoning by the piece |
CN108428104A (en) * | 2018-01-03 | 2018-08-21 | 平安科技(深圳)有限公司 | Wages computational methods, application server and computer readable storage medium |
JP2019168980A (en) * | 2018-03-23 | 2019-10-03 | 株式会社オービック | Progress rate calculation device, progress rate calculation method and progress rate calculation program |
CN111626705A (en) * | 2020-05-26 | 2020-09-04 | 施特伟科技(上海)有限公司 | Salary calculation management method and system |
-
2021
- 2021-03-16 CN CN202110282438.3A patent/CN112819602A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510276A (en) * | 2009-02-20 | 2009-08-19 | 浪潮集团山东通用软件有限公司 | Payroll computation method adapting multi-valuta and multi-time-interval |
CN105719123A (en) * | 2016-01-15 | 2016-06-29 | 成都金万泰科技有限公司 | Performance management method and system within enterprise |
CN107180337A (en) * | 2017-05-17 | 2017-09-19 | 广州市迅越软件有限公司 | A kind of method for calculating printing enterprise's wage by reckoning by the piece |
CN108428104A (en) * | 2018-01-03 | 2018-08-21 | 平安科技(深圳)有限公司 | Wages computational methods, application server and computer readable storage medium |
JP2019168980A (en) * | 2018-03-23 | 2019-10-03 | 株式会社オービック | Progress rate calculation device, progress rate calculation method and progress rate calculation program |
CN111626705A (en) * | 2020-05-26 | 2020-09-04 | 施特伟科技(上海)有限公司 | Salary calculation management method and system |
Non-Patent Citations (1)
Title |
---|
蔡健;易斌;: "制药企业生产计件工资管理系统的设计与实现", 湖南工业大学学报, no. 02, 15 March 2013 (2013-03-15), pages 83 - 87 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113763142A (en) * | 2021-07-14 | 2021-12-07 | 望海康信(北京)科技股份公司 | Payroll data calculation method, system, corresponding computer device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7711680B2 (en) | Common common object | |
CN100437587C (en) | Service processing method and device based on data base | |
CN102117306B (en) | Method and system for monitoring ETL (extract-transform-load) data processing process | |
US20050055669A1 (en) | Specification to ABAP code converter | |
US20080208661A1 (en) | Method and system of using anrtifacts to identify elements of a component business model | |
CN107958028A (en) | Method, apparatus, storage medium and the terminal of data acquisition | |
CN108241529B (en) | Salary calculation method, application server and computer readable storage medium | |
CN106952072A (en) | A kind of method and system of data processing | |
US20120036089A1 (en) | System and Method for Dynamic, Real-Time Data Management and Processing to Facilitate Business Decisions | |
US20130091342A1 (en) | Tracing software execution of a business process | |
CN109299074B (en) | Data verification method and system based on templated database view | |
Iacob et al. | Towards a reference architecture for fuel-based carbon management systems in the logistics industry | |
WO2005064491A1 (en) | Detection and correction of data quality problems | |
CN111861000A (en) | Daily income prediction method, system, equipment and storage medium based on historical data | |
CN115860508A (en) | Nuclear power storage engineering quantity measuring method and device, computer equipment and medium | |
CN112819602A (en) | Piece wage calculation method and device, terminal equipment and readable storage medium thereof | |
US20040181418A1 (en) | Parameterized and reusable implementations of business logic patterns | |
CN111861004B (en) | Automatic commission prediction method, system, device and storage medium for daily income output | |
US20230418563A1 (en) | Dynamic application builder for multidimensional database environments | |
US20140149186A1 (en) | Method and system of using artifacts to identify elements of a component business model | |
CN113190795A (en) | Method, device, medium and equipment for counting actual management population data | |
Yu et al. | Design and implementation of warehouse management system based on web technology | |
CN108932612B (en) | Data processing method and device applied to enterprise annuity and electronic equipment | |
CN114037304A (en) | Data collection method, equipment and medium for cost data | |
CN112651816A (en) | Tax declaration method and device combining RPA and AI and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |