A financial write-off method, device and medium for an ERP system
By acquiring and filtering financial data in the ERP system and performing multi-dimensional clustering and write-off rule matching, the problems of cumbersome data acquisition and inaccurate clustering in the financial write-off process are solved, and the efficiency and accuracy of financial write-offs are improved. , adapted to the needs of large-asset enterprises.
Patent Information
- Application Number
- CN202410841569.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-27
AI Technical Summary
The existing ERP system has problems such as tedious data acquisition, low efficiency and error-prone in the financial write-off process. In particular, the cluster analysis method is difficult to determine the number of cluster centers, resulting in inaccurate classification results and irreversible problems in large-asset enterprises. financial impact.
By obtaining internal and external business transaction data based on preset financial interfaces in the ERP system, filtering and extracting key financial data, performing multi-dimensional clustering, determining the range of cluster numbers, screening clustering centers, and matching based on preset write-off rules. , generate financial statements, and conduct a secondary review to revise the results.
It improves the efficiency and accuracy of financial write-offs, reduces labor waste, ensures reasonable granularity and accuracy of clustering results, reduces error rates, and adapts to the diverse financial write-off needs of enterprises.
Smart Images

Figure CN118379152B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of financial data processing, and in particular to a financial write-off method, device and medium of an ERP system. Background Art
[0002] Enterprise Resource Planning (ERP) is an integrated management software used to coordinate various departments and business processes within an enterprise to achieve effective planning and management of resources. Financial management is integrated into the ERP system to manage corporate finances. Corporate finance is the movement of funds in the process of corporate reproduction, reflecting the economic relationship between the enterprise and all parties. However, due to the large number of existing financial data files and the increasing amount of external financial data with the development of the economy, the traditional method is to regularly obtain financial data from multiple sources based on the ERP system, and then classify and integrate the complex financial data based on current needs based on the financial personnel, and carry out targeted write-off processing based on the classification results. However, this process of manually obtaining data and classifying and integrating is relatively cumbersome, wastes manpower, is inefficient and prone to errors. Therefore, how to quickly and accurately achieve financial write-offs is a key link in the operation process of an enterprise.
[0003] In order to speed up the process of financial write-off, data mining is generally performed on financial data based on cluster analysis. Among them, the most classic is the k-means algorithm. However, this method makes it difficult to determine the number of cluster centers, which in turn affects the difficulty of classification in converging to the global optimum, that is, the classification results are inaccurate, resulting in low usability of the classification results. In addition, since the wrong cluster center will cause the algorithm to iterate continuously to find the optimal solution, in extreme cases, the algorithm will not converge or will produce completely wrong clustering results, which will lead to more errors in the financial write-off process. In addition, since the amount of assets on the books of some companies is large, a more rigorous financial write-off method is needed to reduce the irreversible financial impact on the company. Summary of the invention
[0004] In order to solve the above technical problems, one or more embodiments of this specification provide a financial write-off method, device and medium for an ERP system.
[0005] One or more embodiments of this specification adopt the following technical solutions:
[0006] One or more embodiments of this specification provide a financial write-off method for an ERP system, the method comprising:
[0007] Acquire internal business transaction data and external business transaction data based on the financial interface of the preset ERP system, and filter the internal business external data and the external business transaction data based on the business scenario corresponding to the current financial write-off to obtain valid transaction data corresponding to the business scenario;
[0008] Extracting the financial key data of the valid transaction data, and determining the data dimension information corresponding to the financial key data based on the table data format of the financial key data; wherein the data dimension information includes: data dimension name and data dimension quantity;
[0009] Performing multiple one-dimensional clustering on the financial key data of multiple dimensions based on the number of data dimensions to construct a cluster center set corresponding to the financial key data of each dimension;
[0010] Based on the number of clusters corresponding to the cluster center set of the financial key data of each dimension, determine the cluster number range of the financial key data, and screen the cluster centers after Cartesian combination of the cluster center set based on the cluster number range to obtain the financial key data cluster group corresponding to the financial key data as the financial write-off cluster group;
[0011] Matching the financial write-off cluster group with a preset write-off rule to determine a write-off result, and generating a corresponding financial statement based on the write-off result, so as to upload the financial statement and the financial write-off cluster group to a corresponding audit node;
[0012] A secondary audit is performed on the financial write-off cluster group based on the audit node to revise the financial statement based on the audit result.
[0013] Optionally, in one or more embodiments of the present specification, filtering the internal business external data and the external business transaction data based on the business scenario corresponding to the current financial write-off to obtain valid transaction data corresponding to the business scenario specifically includes:
[0014] Based on the interaction time corresponding to each of the internal business transaction data and the external business transaction data, the internal business transaction data and the external business transaction data are sorted respectively to obtain the internal business transaction data to be processed and the external business transaction data to be processed;
[0015] Determine the write-off type of the current financial write-off based on the business scenario corresponding to the current financial write-off, and obtain historical write-off process data corresponding to the write-off type based on the write-off records of the preset ERP system;
[0016] Determine the internal business scope and external business scope covered by the write-off type based on the historical write-off process and the current organizational structure of the enterprise;
[0017] Based on the internal business scope and the external business scope and the cancellation marks corresponding to each of the internal business transaction data to be processed and the external business transaction data to be processed, the internal business transaction data to be processed and the external business transaction data to be processed are filtered to obtain valid transaction data corresponding to the business scenario.
[0018] Optionally, in one or more embodiments of the present specification, extracting the financial key data of the valid transaction data specifically includes:
[0019] Determine the data carrier of the valid transaction data, so as to determine the text transaction data corresponding to the valid transaction data based on the data conversion format corresponding to the data carrier; wherein the data carrier includes: electronic contract, electronic invoice, electronic order, mail record;
[0020] Based on the financial target retrieval model of natural language semantics in the business scenario, data extraction is performed on the text transaction data to obtain initial financial key data; wherein the financial key data at least includes key-value pair information of a numerical value and one or more title names corresponding to the numerical value;
[0021] Aggregating the information based on the key-value pairs corresponding to the initial financial key data to obtain an initial financial key data report;
[0022] Determine a null value in the financial key report, and determine a specified formula corresponding to the null value based on a title name corresponding to the null value and a preset formula corresponding to the business scenario;
[0023] If it is determined that the constituent parameters of the specified formula correspond to the data in the table of the financial key report, generating first newly added data of the initial financial key data table;
[0024] If it is determined that the constituent parameters of the preset formula contain cross-table data, data request information for generating the cross-table data is sent to the database of the preset ERP system to call the cross-table data to generate second newly added data of the initial financial key data table;
[0025] The initial financial key data table is integrated with the first newly added data and the second newly added data to obtain a financial key data table and the data in the financial key data table is used as the financial key data of the effective transaction data.
[0026] Optionally, in one or more embodiments of the present specification, determining the data dimension information corresponding to the financial key data based on the table data format of the financial key data specifically includes:
[0027] Determining the table data format of the financial key data based on the financial key data table corresponding to the financial key data;
[0028] Determine each column of financial key data and each row of financial key data in the financial key data table based on the table position coordinates corresponding to each data in the table data format;
[0029] Based on each column of financial key data and each row of financial key data, data dimension information corresponding to the financial key data is determined.
[0030] Optionally, in one or more embodiments of the present specification, based on the number of clusters corresponding to the cluster center set of the financial key data of each dimension, determining the cluster number range of the financial key data, and filtering the cluster centers after Cartesian combination of the cluster center set based on the cluster number range, obtaining the financial key data cluster group corresponding to the financial key data as the financial write-off cluster group, specifically includes:
[0031] Obtaining the number of clusters corresponding to the cluster center set of the financial key data of each dimension, and taking the minimum value of the number of clusters corresponding to the cluster center set of the financial key data of each dimension as the cluster number range of the financial key data;
[0032] Cartesian combination is performed on the cluster center set to obtain multidimensional cluster centers corresponding to the financial key data of each dimension;
[0033] Substituting the multidimensional cluster centers into the financial key data of the corresponding dimensions respectively, so as to filter the multidimensional cluster centers where the financial key data does not exist, and obtain the cluster centers corresponding to the cluster quantity range;
[0034] The financial key data clustering groups corresponding to each cluster center are used as financial write-off clustering groups.
[0035] Optionally, in one or more embodiments of the present specification, before matching the financial write-off cluster group with a preset write-off rule to determine a write-off result, and generating a corresponding financial statement and financial write-off cluster group based on the write-off result and uploading them to a corresponding review node, the method further includes:
[0036] Obtain the business demand target corresponding to the current business scenario to obtain the write-off rule type corresponding to the business demand target; wherein the write-off rule type includes: amount write-off, time write-off, transaction party write-off, and account age write-off;
[0037] Acquire historical write-off data corresponding to the write-off rule type, and determine the associated node financial write-off data associated with the write-off rule type based on the historical write-off data; wherein the associated nodes for the same type of write-off rules include: business associated nodes, transaction party associated nodes;
[0038] Determine the dynamic conditions and static conditions of the write-off rules corresponding to the write-off type based on the historical write-off data and the associated node financial write-off data;
[0039] Converting the static condition of the write-off rule into a first rule expression, and converting the dynamic condition of the rule into a second rule expression; wherein the second rule expression contains adjustable parameters;
[0040] Determine whether the business requirement target corresponding to the current business scenario is updated. If so, update the second rule expression based on the update parameters of the business requirement target to obtain an updated second rule expression, so as to determine multiple verification rules corresponding to the current business scenario based on the first rule expression and the updated second rule expression.
[0041] Optionally, in one or more embodiments of the present specification, matching the financial write-off cluster group with a preset write-off rule to determine a write-off result, and generating a corresponding financial statement based on the write-off result, so as to upload the financial statement and the financial write-off cluster group to a corresponding audit node, specifically includes:
[0042] The financial write-off cluster group is matched with a preset write-off rule to determine one or more write-off rules corresponding to the financial write-off cluster group, and the financial write-off cluster group is automatically written off based on the priority of the write-off rule to obtain a write-off result corresponding to the financial write-off cluster group;
[0043] Fill the write-off results into the preset report template to generate the corresponding financial report;
[0044] Determine a task list of audit nodes corresponding to the current ERP system, and determine the audit burden of each audit node based on the task list;
[0045] Based on the audit burden, multiple audit nodes to be sent are obtained by screening, and the audit requests corresponding to the financial statements and the financial write-off cluster groups are sent to the audit nodes to be sent, so as to upload the financial statements and the financial write-off cluster groups to the corresponding audit nodes based on the responses of the audit nodes to be sent.
[0046] Optionally, in one or more embodiments of the present specification, performing a secondary audit on the financial write-off cluster group based on the audit node to modify the financial statement based on the audit result specifically includes:
[0047] Performing a secondary audit on the financial write-off cluster group based on the audit node to determine whether the financial write-off cluster group contains misclassified financial key data;
[0048] If there is misclassified financial key data, the audit result is determined to be unsuccessful, and the misclassified financial key data is eliminated, the financial write-off cluster group is updated, and the updated financial write-off cluster group is matched with the preset write-off rule to determine the updated write-off result, and the corresponding financial statement is generated based on the updated write-off result;
[0049] If there is no misclassified financial key data, the audit result is determined to be passed.
[0050] One or more embodiments of this specification provide a financial write-off device for an ERP system, the device comprising:
[0051] at least one processor; and,
[0052] a memory communicatively connected to the at least one processor; wherein,
[0053] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute any of the above-mentioned methods.
[0054] One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute any of the above-described methods.
[0055] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0056] Based on the financial interface of the preset ERP system, the internal business transaction data and the number of external business transactions for financial data are obtained, which avoids the tedious process of traditional manual input, reduces manpower waste and improves efficiency. In addition, targeted data acquisition based on different needs for internal and external transaction data in business scenarios can meet the diversified financial write-off needs of enterprises. After obtaining multi-dimensional financial key data, the high-dimensional financial key data is reduced in dimension through a one-dimensional clustering process to simplify the subsequent data processing process. By determining the number of clusters based on the number of clusters of the cluster center set, it can ensure that the clustering results have a reasonable granularity of too coarse or too fine, and at the same time, it can also reflect the actual distribution of the data, and then determine a cluster number limit applicable to all dimensions. And by accurately determining the range of the number of clusters and screening out the relevant cluster centers, the accuracy of the results is ensured. By memorizing the calculated cluster centers and financial key data cluster groups, and then performing clustering processing, the problem of difficulty in quickly converging to the global optimum and easy clustering inaccuracy caused by the uncertainty of the number of cluster centers in the existing clustering method is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0058] Figure 1 A flowchart of a financial write-off method of an ERP system provided in an embodiment of this specification;
[0059] Figure 2 A schematic diagram of cluster scatter points with K equal to 4 and 5 provided in the embodiments of this specification;
[0060] Figure 3 A schematic diagram of the structure of a financial write-off device of an ERP system provided in an embodiment of this specification;
[0061] Figure 4 A schematic diagram of the structure of a non-volatile storage medium provided in an embodiment of this specification. DETAILED DESCRIPTION
[0062] The embodiments of this specification provide a financial write-off method, device and medium for an ERP system.
[0063] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0064] like Figure 1 As shown, the embodiment of this specification provides a flowchart of a financial write-off method of an ERP system. Figure 1 It can be seen that one or more embodiments of this specification provide a financial write-off method for an ERP system, the method comprising:
[0065] S101: Acquire internal business transaction data and external business transaction data based on the financial interface of the preset ERP system, and filter the internal business external data and the external business transaction data based on the business scenario corresponding to the current financial write-off to obtain valid transaction data corresponding to the business scenario.
[0066] In order to avoid the problem that the financial data in the financial data file needs to be manually input, which is cumbersome, wastes manpower, is inefficient and prone to errors, this manual obtains internal business transaction data and external business transaction data for financial data based on the financial interface of the preset ERP system, thereby reducing the errors caused by manual input. In addition, in order to improve data accuracy, internal business transaction data and external business transaction data are automatically filtered based on the business scenario corresponding to the current financial write-off, so as to obtain valid transaction data corresponding to the business scenario. By performing flexible data filtering according to different business scenarios, the diversified financial write-off needs of enterprises can be met. Whether it is internal related transactions, supplier payments or customer collections, corresponding valid data can be obtained according to specific requirements. And by obtaining internal business transaction data and external business transaction data separately, targeted data acquisition can be performed based on the different needs of business scenarios for internal and external transaction data, reducing the mutual influence between internal and external factors, and improving the accuracy and reliability of data.
[0067] Specifically, in one or more embodiments of the present specification, filtering the internal business external data and the external business transaction data based on the business scenario corresponding to the current financial write-off to obtain the valid transaction data corresponding to the business scenario specifically includes the following process:
[0068] First, based on the interaction time corresponding to each internal business transaction data and external business transaction data, the internal business transaction data and the external business transaction data are sorted respectively, so as to obtain the internal business transaction data to be processed and the external business transaction data to be processed. By sorting according to the interaction time, it is possible to ensure that the latest transaction data related to a specific write-off type and business scenario is obtained, which helps to avoid using outdated data for write-off and improves the accuracy and reliability of the data. Then, based on the business scenario corresponding to the current financial write-off, the write-off type of the current financial write-off is determined, and the historical write-off process data corresponding to the write-off type is obtained according to the write-off record of the preset ERP system. Based on the historical write-off process and the organizational structure of the current enterprise, the internal business scope and external business scope covered by the write-off type are determined. By determining based on the historical write-off process and the current enterprise organizational structure, it is possible to adapt to changes within the enterprise, such as adjustments to the organizational structure or changes in business processes. This flexibility helps to ensure that subsequent data filtering is consistent with the actual business situation. Then, based on the internal business scope and the external business scope and the write-off marks corresponding to each internal business transaction data and external business transaction data to be processed, the internal business transaction data and external business transaction data to be processed are filtered to obtain valid transaction data corresponding to the business scenario.
[0069] S102: Extract the financial key data of the valid transaction data, and determine the data dimension information corresponding to the financial key data based on the table data format of the financial key data; wherein the data dimension information includes: data dimension name and data dimension quantity.
[0070] After obtaining valid transaction data based on the above step S101, in order to focus on the data that has an impact on financial write-offs, the complexity and redundancy of the data are reduced in the embodiments of this specification. The financial key data in the valid transaction data, that is, the data related to financial write-offs, is extracted in the embodiments of this specification. Then, the data dimension information corresponding to the financial key data is determined according to the tabular data format of the financial key data, wherein the data dimension information that needs to be explained includes: the name of the data dimension and the number of data dimensions. By clarifying the data dimension information, it is helpful to integrate and compare the financial key data from different sources or data sets, and provide a basis for further data analysis, so that data aggregation, classification, comparison and statistical analysis can be performed based on these dimensions in the future.
[0071] Specifically, in one or more embodiments of the present specification, extracting financial key data of valid transaction data specifically includes the following process:
[0072] First, determine the data carrier of the valid transaction data, and then determine the text transaction data corresponding to the valid transaction data based on the data conversion format corresponding to the data carrier. It should be noted that the data carriers include: electronic contracts, electronic invoices, electronic orders, email records, etc. By extracting text external data from different data carriers, it can be ensured that relevant financial information from various sources is covered, thereby providing more comprehensive financial key data. Then, the financial target retrieval model of natural language semantics in the business scenario is used to extract data from the text transaction data, and obtaining the initial financial key data can reduce errors and misunderstandings during manual extraction. It should be noted that the financial key data at least contains key-value pair information of a numerical value and one or more title names corresponding to the numerical value, and the financial target retrieval model is a model that can understand financial semantics and extract data after training based on sample data, and it will not be repeated here.
[0073] After obtaining the initial financial key data, the information is summarized based on the key value pair corresponding to the initial financial key data to obtain the initial financial key data report. Then the null value in the financial key report is determined, and the specified formula corresponding to the null value is determined based on the title name corresponding to the null value and the preset formula corresponding to the business scenario. If it is determined that the constituent parameters of the specified formula correspond to the data in the table of the financial key report, the first new data of the initial financial key data table is generated. If it is determined that the constituent parameters of the preset formula exist cross-table data, the data request information of the cross-table data is generated and sent to the database of the preset ERP system to call the cross-table data to generate the second new data of the initial financial key data table. By determining the null value and its corresponding specified formula, customized processing can be performed according to different business scenarios and report requirements. Even if there are null values, the report requirements can be met by formula calculation or cross-table data call, which improves the adaptability and flexibility of the data.
[0074] The initial financial key data table is integrated with the first newly added data and the second newly added data to obtain a financial key data table and the data in the financial key data table is used as the financial key data of the effective transaction data. The initial financial key data table is integrated with the newly added data to ensure the integrity and consistency of the financial key data. This can avoid the dispersion and inconsistency of data and provide a reliable data basis for subsequent financial analysis and decision-making. In addition, by using preset formulas and calling data across tables, related data can be automatically calculated and associated, reducing manual calculations and data transfers in the data processing process. This helps to improve the accuracy and consistency of data.
[0075] Without the help of complex prior knowledge, humans can quickly and accurately classify one-dimensional or two-dimensional data. Figure 2 Taking the two-dimensional data shown as an example, it can be clearly seen Figure 2 There are 4 cluster centers on the left side, so K is equal to 4, and Figure 2 There are 5 cluster centers on the right side of the figure, so K is equal to 5. The thinking process based on the human brain is to reduce two dimensions to one dimension. First, it can be divided into several groups from the X axis, and then it can be divided into several groups from the Y axis, and finally the result is obtained by combining them. Therefore, further, when multidimensional data is divided into one-dimensional data for processing by means of the analysis process of the human brain, in one or more embodiments of this specification, the data dimension information corresponding to the financial key data is determined based on the tabular data format of the financial key data, which specifically includes the following process:
[0076] First, based on the financial key data table corresponding to the financial key data, determine the table data format of the financial key data. Then, based on the table position coordinates corresponding to each data in the table data format, determine the financial key data in each column and each row in the financial key data table. Then, based on the financial key data in each column and each row, determine the data dimension information corresponding to the financial key data. For example, when the data is D={d1,d2,d3,…,dn}, the financial key data di={di1,di2,di3,…,dim}, i.e., the m dimensions of the financial key data di, can be determined by analyzing based on rows and columns.
[0077] S103: performing multiple one-dimensional clustering on the financial key data of multiple dimensions based on the number of data dimensions, so as to construct a cluster center set corresponding to the financial key data of each dimension.
[0078] After obtaining the financial key data of multiple dimensions based on the above step S101, multiple one-dimensional clustering is performed based on the number of data dimensions to construct a set of cluster centers corresponding to the financial key data of each dimension. That is, in the example of step S102, when the data is D={d1, d2, d3, ..., dn}, the n data are clustered m times in one dimension respectively, so as to obtain the cluster center of the dimension. The final result is m one-dimensional centroids, that is, the set of cluster centers k={k1, k2, ..., km} corresponding to the financial key data of each dimension, ki={ki1, ki2, ..., kij} represents j is the number of cluster centers of the i dimension. Through this one-dimensional clustering process, the high-dimensional financial key data is reduced in dimensionality, thereby simplifying the subsequent data processing process, which is conducive to more accurate and efficient analysis of financial data.
[0079] S104: Based on the number of clusters corresponding to the cluster center set of the financial key data of each dimension, determine the cluster number range of the financial key data, and screen the cluster centers after Cartesian combination of the cluster center set based on the cluster number range to obtain the financial key data cluster group corresponding to the financial key data as the financial write-off cluster group.
[0080] After constructing the cluster center set corresponding to the financial key data of each dimension according to the above steps, in order to solve the problem that it is difficult to determine the number of cluster centers in the existing clustering method, which will affect the difficulty of classification to converge to the global optimum, that is, the classification result is inaccurate, resulting in low usability of the classification result. In the embodiment of this specification, the number of clusters corresponding to the cluster center set of the financial key data of each dimension is determined. And the cluster center after the Cartesian combination of the cluster center set is screened according to the cluster number range, so as to obtain the financial key data cluster group corresponding to the financial key data as the financial write-off cluster group. By determining the cluster number range based on the number of clusters of the cluster center set, it can be ensured that the clustering result has a reasonable granularity of too coarse or too fine, and it can also reflect the actual distribution of the data, and then determine a cluster number limit applicable to all dimensions, and then screen based on the cluster center of the financial key data to obtain the financial key data cluster group corresponding to the financial key data, which is helpful to compare similarities based on the financial key data cluster group, thereby improving the efficiency of financial write-off and reducing the possibility of errors.
[0081] Specifically, in one or more embodiments of the present specification, based on the number of clusters corresponding to the class center set of the financial key data of each dimension, the range of the number of clusters of the financial key data is determined, and based on the range of the number of clusters, the cluster centers after the Cartesian combination of the cluster center set is screened to obtain the financial key data cluster group corresponding to the financial key data as the financial write-off cluster group, which specifically includes the following processes:
[0082] First, obtain the number of clusters corresponding to the cluster center set of the financial key data of each dimension, and take the minimum value of the number of clusters corresponding to the cluster center set of the financial key data of each dimension as the cluster number range of the financial key data. For example, in a certain application scenario, the minimum value of K is the maximum value of the centroid under all dimensions, max(ki), that is, there is a difference only in this dimension, and other dimensions are similar; the maximum value of K is ki1×ki2×,…×kij, that is, each dimension is self-contained and has obvious differences. Then, the cluster center set is Cartesian combined to obtain the multidimensional cluster center corresponding to the financial key data of each dimension. Among them, it should be noted that Cartesian combination means taking one element from multiple sets at a time, combining them into a new element in a certain order, and then listing all possible combinations. For example, suppose there are three sets: A={a,b,c}, B={1,2}, C={x,y}, then their Cartesian product is:
[0083] A×B×C={(a,1,x),(a,1,y),(a,2,x),(a,2,y),(b,1,x),(b,1,y),(b,2,x),(b,2,y),(c,1,x),(c,1,y),(c,2,x),(c,2,y)}. Continuing with the above example, we get the m-dimensional cluster center, and the initial number is X=ki1×ki2×,……×kij. Then, we substitute the multidimensional cluster centers into the financial key data of the corresponding dimensions, so as to filter out the multidimensional cluster centers where the financial key data does not exist, and obtain the cluster centers corresponding to the cluster number range. Then, the financial key data cluster groups corresponding to each cluster center are used as the financial write-off cluster groups. By accurately determining the cluster number range and screening out the relevant cluster centers, the accuracy of the results is ensured. Through the automated process and computational efficiency, time and resources are saved. By selecting the appropriate cluster number range according to the actual situation, it can adapt to different data and needs. By memorizing the calculated cluster centers and financial key data cluster groups and then performing clustering processing, the problem of the existing clustering method being difficult to quickly converge to the global optimum due to the uncertainty of the K value is solved. In extreme cases, due to incorrect K value, the algorithm will not converge or will produce completely wrong clustering results, thereby improving the accuracy of clustering.
[0084] S105: Match the financial write-off cluster group with a preset write-off rule to determine a write-off result, and generate a corresponding financial statement based on the write-off result, so as to upload the financial statement and the financial write-off cluster group to a corresponding review node.
[0085] In order to avoid the high error rate and low efficiency caused by manual write-offs, the embodiments of this specification automatically match the financial write-off cluster group with the preset write-off rules, so that more accurate write-off results can be provided through rule matching and system calculation. The preset write-off rules ensure the standardization and consistency of the write-off process, avoiding differences caused by inconsistent human judgment. Then, the corresponding financial statements are generated according to the write-off results, and in order to achieve secondary audits to reduce the error rate, the embodiments of this specification upload the financial statements and the financial write-off cluster group to the corresponding audit nodes, which is convenient for auditors to review and approve, and improves the accuracy and efficiency of the audit.
[0086] Specifically, in order to achieve automatic write-off and reduce the error problem in the manual operation process, in one or more embodiments of this specification, before matching the financial write-off cluster group with the preset write-off rule to determine the write-off result, and generating the corresponding financial statement and the financial write-off cluster group based on the write-off result and uploading them to the corresponding audit node, the method also includes the following process:
[0087] First, the business demand target corresponding to the current business scenario is obtained, so as to obtain the write-off rule type corresponding to the business demand target. It should be noted that the write-off rule types include: amount write-off, time write-off, transaction party write-off, and account age write-off. Then, the historical write-off data corresponding to the write-off rule type is obtained, so as to determine the associated node financial write-off data associated with the write-off rule type according to the historical write-off data. Among them, the associated nodes are the same type of write-off rules including: business associated nodes and transaction party associated nodes. Then, the dynamic conditions of the write-off rules and the static conditions of the write-off rules corresponding to the write-off type are determined according to the historical write-off data and the associated node financial write-off data. Through the analysis of the associated nodes, the consistency of the same type of write-off rules in different business scenarios is ensured. By analyzing the historical write-off data and the associated node financial write-off data, more accurate dynamic conditions and static conditions of the write-off rules are determined, which fully considers the problem of partial write-off rule changes caused by historical business demand changes, and improves the accuracy of the write-off rules. The obtained static conditions of the write-off rules are converted into the first rule expression, and the dynamic conditions of the rules are converted into the second rule expression. It can be understood that the second rule expression contains adjustable parameters. In this process, the dynamic conditions of the rules are converted into a second rule expression containing adjustable parameters, which facilitates adjustment according to the update of business demand objectives. Determine whether the business demand objectives corresponding to the current business scenario are updated. If so, update the second rule expression according to the update parameters of the business demand objectives to obtain an updated second rule expression, thereby determining multiple write-off rules corresponding to the current business scenario based on the first rule expression and the updated second rule expression. That is, through this process, it is possible to respond to the update of business demand objectives in a timely manner and ensure that the write-off rules can match the actual business situation. Based on the write-off rules composed of the above-mentioned accurate first rule expression and the highly adaptable second rule expression, the corresponding financial statements are generated to avoid financial risks and errors caused by inappropriate write-off rules.
[0088] Further, in one or more embodiments of the present specification, the financial write-off cluster group is matched with the preset write-off rule to determine the write-off result, and a corresponding financial statement is generated based on the write-off result, so that the financial statement and the financial write-off cluster group are uploaded to the corresponding review node, which specifically includes the following process:
[0089] First, the financial write-off cluster group is matched with the preset write-off rules, so as to determine one or more write-off rules corresponding to the financial write-off cluster group, and then the financial write-off cluster group is automatically written off according to the priority of the write-off rules to obtain the write-off result corresponding to the financial write-off cluster group. In this process, automatic write-off is performed based on the preset write-off rules, which reduces the possibility of human error and improves the accuracy of the write-off result. Then, the write-off result is filled into the preset report template to generate the corresponding financial report. By filling the write-off result into the preset report target, the corresponding financial report is generated, making the result more intuitive and clear. The task list of the audit node corresponding to the current ERP system is determined, so as to determine the audit burden of each audit node according to the task list. According to the audit burden, multiple audit nodes to be sent are obtained by screening, and the audit request corresponding to the financial report and the financial write-off cluster group is sent to the audit node to be sent, so as to upload the financial report and the financial write-off cluster group to the corresponding audit node according to the response of the audit node to be sent. In this process, by determining the audit node and the task list, and screening based on the audit burden, the audit task can be reasonably allocated and the audit efficiency can be improved.
[0090] S106: Perform a secondary audit on the financial write-off cluster group based on the audit node, so as to revise the financial statement based on the audit result.
[0091] By performing a secondary audit on the financial write-off cluster group based on the audit node, errors or inaccuracies in the classification caused by similar company names can be found, thereby improving the accuracy of the financial statement data. Then, the financial statements are corrected according to the audit results to reduce the misleading decision-making caused by erroneous data and reduce the financial risks faced by the enterprise. Specifically, in one or more embodiments of the present specification, a secondary audit is performed on the financial write-off cluster group based on the audit node to correct the financial statement based on the audit results, which specifically includes the following process:
[0092] First, a secondary audit is conducted on the financial write-off cluster group based on the audit node to determine whether there is any financial key data with incorrect classification in the financial write-off cluster group. If there is any financial key data with incorrect classification, the audit result is determined to be failed, and the financial key data with incorrect classification is eliminated at this time, the financial write-off cluster group is updated, and the updated financial write-off cluster group is matched with the preset write-off rules to determine the updated write-off result, and the corresponding financial statements are corrected and generated based on the updated write-off result. On the contrary, if there is no financial key data with incorrect classification, the audit result is determined to be passed. Through the secondary audit, the financial key data with incorrect classification in the financial write-off cluster group can be discovered and corrected, and the data in the financial statements can be guaranteed to be consistent with the preset write-off rules, thereby improving the reliability and accuracy of the financial data and reducing manual intervention and human errors.
[0093] like Figure 3 As shown, the present specification provides a schematic diagram of the structure of a financial write-off device of an ERP system. Figure 3 It can be seen that in one or more embodiments of this specification, a financial write-off device of an ERP system includes:
[0094] at least one processor; and,
[0095] a memory communicatively connected to the at least one processor; wherein,
[0096] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute any of the above methods
[0097] like Figure 4 As shown, the embodiment of this specification provides a schematic diagram of the internal structure of a non-volatile storage medium. Figure 4 It can be seen that in one or more embodiments of the present specification, a non-volatile storage medium stores computer executable instructions 401, and the computer executable instructions 401 can: execute any of the above-mentioned methods.
[0098] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0099] The above specific embodiments of this specification are described. Other embodiments are also within the scope. In some cases, the actions or steps recorded in the specification can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0100] The above is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification should be included in the scope of this specification.
Claims
1. A financial write-off method for an ERP system, characterized in that: The method comprises: Acquire internal business transaction data and external business transaction data based on the financial interface of the preset ERP system, and filter the internal business external data and the external business transaction data based on the business scenario corresponding to the current financial write-off to obtain valid transaction data corresponding to the business scenario; Extracting the financial key data of the valid transaction data, and determining the data dimension information corresponding to the financial key data based on the table data format of the financial key data; wherein the data dimension information includes: data dimension name and data dimension quantity; Performing multiple one-dimensional clustering on the financial key data of multiple dimensions based on the number of data dimensions to construct a cluster center set corresponding to the financial key data of each dimension; Based on the number of clusters corresponding to the cluster center set of the financial key data of each dimension, determine the cluster number range of the financial key data, and screen the cluster centers after Cartesian combination of the cluster center set based on the cluster number range to obtain the financial key data cluster group corresponding to the financial key data as the financial write-off cluster group; Matching the financial write-off cluster group with a preset write-off rule to determine a write-off result, and generating a corresponding financial statement based on the write-off result, so as to upload the financial statement and the financial write-off cluster group to a corresponding audit node; A secondary audit is performed on the financial write-off cluster group based on the audit node to revise the financial statement based on the audit result.
2. The financial write-off method of an ERP system according to claim 1, characterized in that: The filtering of the internal business external data and the external business transaction data based on the business scenario corresponding to the current financial write-off to obtain the valid transaction data corresponding to the business scenario specifically includes: Based on the interaction time corresponding to each of the internal business transaction data and the external business transaction data, the internal business transaction data and the external business transaction data are sorted respectively to obtain the internal business transaction data to be processed and the external business transaction data to be processed; Determine the write-off type of the current financial write-off based on the business scenario corresponding to the current financial write-off, and obtain historical write-off process data corresponding to the write-off type based on the write-off records of the preset ERP system; Determine the internal business scope and external business scope covered by the write-off type based on the historical write-off process and the current organizational structure of the enterprise; Based on the internal business scope and the external business scope and the cancellation marks corresponding to each of the internal business transaction data to be processed and the external business transaction data to be processed, the internal business transaction data to be processed and the external business transaction data to be processed are filtered to obtain valid transaction data corresponding to the business scenario.
3. The financial write-off method of an ERP system according to claim 1, characterized in that: Extract the key financial data of the valid transaction data, including: Determine the data carrier of the valid transaction data, so as to determine the text transaction data corresponding to the valid transaction data based on the data conversion format corresponding to the data carrier; wherein the data carrier includes: electronic contract, electronic invoice, electronic order, mail record; Based on the financial target retrieval model of natural language semantics in the business scenario, data extraction is performed on the text transaction data to obtain initial financial key data; wherein the financial key data at least includes key-value pair information of a numerical value and one or more title names corresponding to the numerical value; Aggregating the information based on the key-value pairs corresponding to the initial financial key data to obtain an initial financial key data report; Determine a null value in the financial key report, and determine a specified formula corresponding to the null value based on a title name corresponding to the null value and a preset formula corresponding to the business scenario; If it is determined that the constituent parameters of the specified formula correspond to the data in the table of the financial key report, generating first newly added data of the initial financial key data table; If it is determined that the constituent parameters of the preset formula contain cross-table data, data request information for generating the cross-table data is sent to the database of the preset ERP system to call the cross-table data to generate second newly added data of the initial financial key data table; The initial financial key data table is integrated with the first newly added data and the second newly added data to obtain a financial key data table and the data in the financial key data table is used as the financial key data of the effective transaction data.
4. The financial write-off method of an ERP system according to claim 3, characterized in that: Determining data dimension information corresponding to the financial key data based on the table data format of the financial key data specifically includes: Determining the table data format of the financial key data based on the financial key data table corresponding to the financial key data; Determine each column of financial key data and each row of financial key data in the financial key data table based on the table position coordinates corresponding to each data in the table data format; Based on each column of financial key data and each row of financial key data, data dimension information corresponding to the financial key data is determined.
5. The financial write-off method of an ERP system according to claim 1, characterized in that: The number of clusters corresponding to the cluster center set of the financial key data of each dimension is determined, the range of the number of clusters of the financial key data is determined, and the cluster centers after Cartesian combination of the cluster center set is screened based on the range of the number of clusters to obtain the financial key data cluster group corresponding to the financial key data as the financial write-off cluster group, specifically including: Obtaining the number of clusters corresponding to the cluster center set of the financial key data of each dimension, and taking the minimum value of the number of clusters corresponding to the cluster center set of the financial key data of each dimension as the cluster number range of the financial key data; Cartesian combination is performed on the cluster center set to obtain multidimensional cluster centers corresponding to the financial key data of each dimension; Substituting the multidimensional cluster centers into the financial key data of the corresponding dimensions respectively, so as to filter the multidimensional cluster centers where the financial key data does not exist, and obtain the cluster centers corresponding to the cluster quantity range; The financial key data clustering groups corresponding to each cluster center are used as financial write-off clustering groups.
6. The financial write-off method of an ERP system according to claim 2, characterized in that: Before matching the financial write-off cluster group with a preset write-off rule to determine a write-off result, and generating a corresponding financial statement and a financial write-off cluster group based on the write-off result and uploading them to a corresponding review node, the method further includes: Obtain the business demand target corresponding to the current business scenario to obtain the write-off rule type corresponding to the business demand target; wherein the write-off rule type includes: amount write-off, time write-off, transaction party write-off, and account age write-off; Acquire historical write-off data corresponding to the write-off rule type, and determine the associated node financial write-off data associated with the write-off rule type based on the historical write-off data; wherein the associated nodes for the same type of write-off rules include: business associated nodes, transaction party associated nodes; Determine the dynamic conditions and static conditions of the write-off rules corresponding to the write-off type based on the historical write-off data and the associated node financial write-off data; Converting the static condition of the write-off rule into a first rule expression, and converting the dynamic condition of the rule into a second rule expression; wherein the second rule expression contains adjustable parameters; Determine whether the business requirement target corresponding to the current business scenario is updated. If so, update the second rule expression based on the update parameters of the business requirement target to obtain an updated second rule expression, so as to determine multiple verification rules corresponding to the current business scenario based on the first rule expression and the updated second rule expression.
7. The financial write-off method of an ERP system according to claim 1, characterized in that: Matching the financial write-off cluster group with a preset write-off rule to determine a write-off result, and generating a corresponding financial statement based on the write-off result, so as to upload the financial statement and the financial write-off cluster group to a corresponding audit node, specifically including: The financial write-off cluster group is matched with a preset write-off rule to determine one or more write-off rules corresponding to the financial write-off cluster group, and the financial write-off cluster group is automatically written off based on the priority of the write-off rule to obtain a write-off result corresponding to the financial write-off cluster group; Fill the write-off results into the preset report template to generate the corresponding financial report; Determine a task list of audit nodes corresponding to the current ERP system, and determine the audit burden of each audit node based on the task list; Based on the audit burden, multiple audit nodes to be sent are obtained by screening, and the audit requests corresponding to the financial statements and the financial write-off cluster groups are sent to the audit nodes to be sent, so as to upload the financial statements and the financial write-off cluster groups to the corresponding audit nodes based on the responses of the audit nodes to be sent.
8. The financial write-off method of an ERP system according to claim 1, characterized in that: A secondary audit is performed on the financial write-off cluster group based on the audit node to modify the financial statement based on the audit result, specifically including: Performing a secondary audit on the financial write-off cluster group based on the audit node to determine whether the financial write-off cluster group contains misclassified financial key data; If there is misclassified financial key data, the audit result is determined to be unsuccessful, and the misclassified financial key data is eliminated, the financial write-off cluster group is updated, and the updated financial write-off cluster group is matched with the preset write-off rule to determine the updated write-off result, and the corresponding financial statement is generated based on the updated write-off result; If there is no misclassified financial key data, the audit result is determined to be passed.
9. A financial write-off device for an ERP system, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: execute any of the methods described in claims 1-8.
10. A non-volatile storage medium storing computer executable instructions, characterized in that: The computer executable instructions can: execute the method described in any one of claims 1 to 8.
