Material demand calculation method, system and equipment and storage medium
Record the information of base materials and substitute materials through the substitution relationship group, automatically calculate the available inventory and supply plan, solve the complexity and ease of use problems of the traditional MRP calculation method, realize automated material demand and supply plan management, and improve Improve production efficiency and inventory management accuracy.
Patent Information
- Application Number
- CN202410851109.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-27
AI Technical Summary
The MRP calculation method of traditional ERP requires manual setting of substitute materials and substitution strategies, and the planned orders need to be manually split after the calculation is completed. It is very difficult to use and cannot automatically consider the available inventory and substitution ratio of substitute materials, resulting in multiple output material requirements and It is difficult to calculate the supply quantity.
By obtaining the substitution relationship group, record the information of base materials and substitute materials, including substitution priority and conversion coefficient, automatically calculate whether the available inventory meets the demand, generate purchase plan orders, and automatically output supplies from different suppliers based on substitution priority and proportion. quantity.
It realizes automatic calculation of material requirements and supply plans, improves production efficiency and accuracy of inventory management, avoids multi-output material requirements, and simplifies supply chain management.
Smart Images

Figure CN118552135A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of materials, and in particular to a material requirement calculation method, system, device and storage medium. Background Art
[0002] Considering the supplier cultivation strategy of the enterprise, in order to disperse the supply risk, promote external competition of suppliers, reduce costs, etc., in the actual production and procurement links, measures are often taken to have multiple suppliers compete for the supply of one material. In order to distinguish the differences in materials in terms of material, specifications, drawing design, price, etc., different material numbers are set for materials from different sources. Although the material numbers are different, these materials can be used interchangeably in the actual production and feeding link. For example, when processing bar materials in the workshop, 2m bar materials can be used instead of 1.8m bar materials. This requires MRP to consider the available inventory of these alternative materials when calculating material requirements to avoid over-production of material requirements, and to automatically output the supply quantity of different suppliers according to the set substitution ratio. The MRP calculation method of traditional ERP requires setting alternative materials and substitution strategies one by one in the BOM list, and after the calculation is completed, it is necessary to manually split the planned order, which is very difficult to use. Summary of the invention
[0003] In view of this, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a material requirement calculation method, comprising the following steps: Acquire a substitution relationship group, wherein the substitution relationship group records information of a plurality of materials that can be substituted for each other, the information including a base material name, a substitute material name, and a substitution priority; Get the BOM list to be calculated and determine the demand calculation order of each material according to the hierarchy; Calculate the demand of each material in turn according to the demand calculation order, obtain the inventory data of the reference material and the substitute material in the substitution relationship group corresponding to the material to be calculated and use them as the available inventory; Calculating in order according to the substitution priority whether the available inventory meets the demand of the material to be calculated currently; In response to the available inventory not satisfying the demand of the material to be calculated, a purchase plan order is generated based on the demand, the available inventory and the substitution relationship group.
[0004] In some embodiments, obtaining a BOM list to be calculated and determining a demand calculation order for each material according to the hierarchy further includes: In response to multiple materials corresponding to the same substitution relationship group, determining the deepest level corresponding to the multiple materials in the BOM list; The demand calculation order of the plurality of materials is determined according to the deepest level.
[0005] In some embodiments, it also includes: Prioritize the multiple materials according to their delivery time; An order of calculating available inventory of the plurality of materials is determined according to the priorities.
[0006] In some embodiments, it also includes: Conversion factors are set for the base material and the substitute material in the substitution relationship group.
[0007] In some embodiments, in response to the available inventory not meeting the demand for the material to be calculated, generating a purchase plan order based on the demand, the available inventory and the substitution relationship group further includes: Determine whether conversion factors are specified for both the base material and the substitute material in the substitution relationship group; In response to the fact that neither the base material nor the substitute material has a conversion factor specified, only a purchase plan order for the base material is generated; In response to the base material not specifying a conversion factor, only a planned purchase order for the substitute material is generated.
[0008] In some embodiments, it also includes: In response to conversion factors being specified for both the base material and the substitute material, a purchase ratio of the base material and the substitute material is determined according to the conversion factors of the base material and the substitute material, and a purchase plan order is generated according to the purchase ratio.
[0009] In some embodiments, it also includes: In response to the available inventory satisfying the demand for the material to be currently calculated, no purchase plan order is generated.
[0010] Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a material requirement calculation system, including: A first acquisition module is configured to acquire an alternative relationship group, wherein the alternative relationship group records information of a plurality of materials that can replace each other, and the information includes a base material name, an alternative material name, and an alternative priority; The second acquisition module is configured to obtain the BOM list to be calculated and determine the demand calculation order of each material according to the hierarchy; A first calculation module is configured to calculate the demand of each material in turn according to the demand calculation order, obtain the inventory data of the reference material and the substitute material in the substitution relationship group corresponding to the material to be calculated and use it as the available inventory; A second calculation module is configured to calculate in sequence according to the substitution priority whether the available inventory meets the demand of the current material to be calculated; The order module is configured to generate a purchase plan order based on demand, available inventory and a substitution relationship group in response to the available inventory not satisfying the demand of the current material to be calculated.
[0011] Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer device, including: at least one processor; and A memory, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the processor executes the steps of any one of the material requirement calculation methods described above.
[0012] Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the material requirement calculation methods described above are performed.
[0013] The present invention has one of the following beneficial technical effects: the solution proposed in the present invention records the baseline material and the substitute material through the substitution relationship group, and specifies the substitution priority and substitution ratio, so as to match the demand and supply of the main material and the substitute material according to the substitution relationship group. If there is a demand gap, the purchase plan order will be automatically calculated. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0015] Figure 1 A schematic diagram of a flow chart of a material requirement calculation method provided by an embodiment of the present invention; Figure 2 A schematic diagram of a substitution relationship group provided for an embodiment of the present invention; Figure 3 A schematic diagram of a material hierarchy structure provided for an embodiment of the present invention; Figure 4 A schematic diagram of the structure of a material requirement calculation system provided by an embodiment of the present invention; Figure 5 A schematic diagram of the structure of a computer device provided by an embodiment of the present invention; Figure 6 A schematic diagram of the structure of a computer-readable storage medium provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0016] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0017] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.
[0018] In the embodiment of the present invention, MRP, i.e., Material Requirement Planning, is a production and inventory management method of a push system. It is based on information such as product demand plan, product structure, inventory status, etc., and outputs the demand and demand time of each material through overall calculation. The implementation of MRP is intended to help enterprises better predict and plan material requirements, thereby optimizing inventory levels and supply chain management, and improving production efficiency and customer satisfaction. The input of MRP is generally MPS, i.e., Master Production Schedule, which specifies the quantity and time of various products to be produced within a certain planned time period. MPS is a plan based on independent demand, and the so-called independent demand refers to demand that is not affected by other material demands or production plans. This demand usually comes from external factors such as customer orders, sales forecasts, and market trends. Corresponding to independent demand is related demand, which is derived from independent demand and is generated based on the structural composition relationship between materials or the consumption relationship in the production process. For example, the demand for semi-finished products, parts, and raw materials is usually determined by the production plan of the final product, so these demands are related demands.
[0019] According to one aspect of the present invention, an embodiment of the present invention provides a material demand calculation method, such as Figure 1 As shown, it may include the steps of: S1, obtaining a substitution relationship group, wherein the substitution relationship group records information of a plurality of materials that can be substituted for each other, the information including a base material name, a substitute material name, and a substitution priority; S2, obtain the BOM (Bill of Materials) to be calculated and determine the calculation order of each material according to the hierarchy; S3, calculating the demand of each material in turn according to the demand calculation order, obtaining the inventory data of the reference material and the substitute material in the substitution relationship group corresponding to the material to be calculated and using them as the available inventory; S4, calculating in order according to the replacement priority whether the available inventory meets the demand of the material to be calculated currently; S5, in response to the available inventory not satisfying the demand for the material to be calculated, generating a purchase plan order based on the demand, the available inventory and the substitution relationship group.
[0020] The solution proposed in the present invention records the baseline material and the substitute material through the substitution relationship group, and specifies the substitution priority and substitution ratio, so as to match the demand and supply of the main material and the substitute material according to the substitution relationship group. If there is a demand gap, the purchase plan order will be automatically calculated.
[0021] In some embodiments, it also includes: Conversion factors are set for the base material and the substitute material in the substitution relationship group.
[0022] Specifically, the base material name, substitute material name, substitute priority, base coefficient, and conversion coefficient can be defined in a substitution relationship group, where the base coefficient and conversion coefficient are used to define the delivery ratio of the base material and the substitute material, and the sum of the ratio coefficients is 100%. For example, Figure 2 As shown in the figure, part A is the base material, and parts A-01 and A-02 are replacement materials. The replacement priorities are 1, 2, and 3, respectively, that is, the stock of part A is used first, the stock of part A-01 is used second, and the stock of part A-02 is used last. Since the base coefficient of parts A, A-01, and A-02 is 1 and the conversion coefficient is 3, when delivering, they are delivered in the ratio of 1 / 3 part A, 1 / 3 part A-01, and 1 / 3 part A-02.
[0023] In some embodiments, obtaining a BOM list to be calculated and determining a demand calculation order for each material according to the hierarchy further includes: In response to multiple materials corresponding to the same substitution relationship group, determining the deepest level corresponding to the multiple materials in the BOM list; The demand calculation order of the plurality of materials is determined according to the deepest level.
[0024] In some embodiments, it also includes: Prioritize the multiple materials according to their delivery time; An order of calculating available inventory of the plurality of materials is determined according to the priorities.
[0025] Specifically, since the same material in a bill of materials may exist in different structures and be at different levels in different structures, and it is possible that the delivery time required for the lower level is earlier than the delivery time of the higher level, for example, material 1 is at level 2 in structure 1 and at level 3 in structure 2, but the delivery time required for material 1 in structure 2 is earlier than the delivery time of material 1 in structure 1, when calculating demand, the calculation order needs to be determined according to the deepest level. In addition, due to the setting of the substitution relationship group, it is necessary to consider the deepest level of the base material and the substitute material at the same time, and then determine the calculation order of the available inventory in the group according to the required delivery time.
[0026] For example, Figure 3 As shown in the figure, assuming that A, D and E are in the same substitution relationship group, when calculating the demand, the low-level code (demand calculation order) corresponding to X and Y is 1, and B and C are X , C Y The corresponding low-level code is 2, A, D X , D Y , E corresponds to the low-level code 3, F X 、F Y The corresponding lower layer code is 4. And the demand of the lower layer depends on the demand of the upper layer, so the demand of X and Y is calculated first, and then B and C are calculated. X , C Y The demand, then calculate A, D X , D Y , E's demand, and finally calculate F X 、F Y Then, for the same material in different structures, the order of calculating available inventory needs to be determined based on the delivery time. If the delivery time of material C in structure X is earlier than that in structure Y, then C is calculated first. X Inventory, in calculating C Y Similarly, A, D, and E are in the same substitution relationship group, and their inventories can be converted to each other, but they belong to different structures. Therefore, it is necessary to determine the inventory of A and D based on the delivery time. X , D Y , the order of calculation of available inventory of E.
[0027] In some embodiments, in response to the available inventory not meeting the demand for the material to be calculated, generating a purchase plan order based on the demand, the available inventory and the substitution relationship group further includes: Determine whether conversion factors are specified for both the base material and the substitute material in the substitution relationship group; In response to the fact that neither the base material nor the substitute material has a conversion factor specified, only a purchase plan order for the base material is generated; In response to the base material not specifying a conversion factor, only a planned purchase order for the substitute material is generated.
[0028] In some embodiments, it also includes: In response to conversion factors being specified for both the base material and the substitute material, a purchase ratio of the base material and the substitute material is determined according to the conversion factors of the base material and the substitute material, and a purchase plan order is generated according to the purchase ratio.
[0029] In some embodiments, it also includes: In response to the available inventory satisfying the demand for the material to be currently calculated, no purchase plan order is generated.
[0030] Specifically, when the material to be calculated currently belongs to the scope of the substitution relationship group, the inventory data of all baseline materials and substitute materials in the substitution relationship group are used as available inventory, and the available inventory is matched and occupied in sequence according to the substitution priority. When the available inventory meets the demand, no new purchase plan order is generated.
[0031] If the available inventory does not meet the demand, the conversion coefficients of the base material and the substitute material are determined. If the conversion coefficient is not specified, only the purchase demand of the base material is generated. If the conversion coefficient is not specified for the base material, the purchase demand of the substitute material is generated. If the conversion coefficient is specified for both, the ratio of the base material and the substitute material is determined according to the conversion coefficient and the base coefficient, and the purchase plan orders for the base material + substitute material are automatically calculated and split into multiple orders.
[0032] The solution proposed in the present invention records the baseline material and the substitute material through the substitution relationship group, and specifies the substitution priority and substitution ratio, so as to match the demand and supply of the main material and the substitute material according to the substitution relationship group. If there is a demand gap, the purchase plan order will be automatically calculated.
[0033] Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a material requirement calculation system 400, such as Figure 4 As shown, including: A first acquisition module 401 is configured to acquire an alternative relationship group, wherein the alternative relationship group records information of a plurality of materials that can be substituted for each other, the information including a base material name, an alternative material name, and an alternative priority; The second acquisition module 402 is configured to acquire the BOM list to be calculated and determine the demand calculation order of each material according to the hierarchy; The first calculation module 403 calculates the demand of each material in turn according to the demand calculation order, obtains the inventory data of the reference material and the substitute material in the substitution relationship group corresponding to the material to be calculated and uses them as the available inventory; A second calculation module 404 is configured to calculate in order according to the substitution priority whether the available inventory meets the demand of the current material to be calculated; The order module 405 is configured to generate a purchase plan order based on the demand, the available inventory and the substitution relationship group in response to the available inventory not satisfying the demand of the current material to be calculated.
[0034] In some embodiments, the second acquisition module 402 is further configured to: In response to multiple materials corresponding to the same substitution relationship group, determining the deepest level corresponding to the multiple materials in the BOM list; The demand calculation order of the plurality of materials is determined according to the deepest level.
[0035] In some embodiments, the second acquisition module 402 is further configured to: Prioritize the multiple materials according to their delivery time; An order of calculating available inventory of the plurality of materials is determined according to the priorities.
[0036] In some embodiments, a setting module is further included, configured to: Conversion factors are set for the base material and the substitute material in the substitution relationship group.
[0037] In some embodiments, the order module 405 is further configured to: Determine whether conversion factors are specified for both the base material and the substitute material in the substitution relationship group; In response to the fact that neither the base material nor the substitute material has a conversion factor specified, only a purchase plan order for the base material is generated; In response to the base material not specifying a conversion factor, only a planned purchase order for the substitute material is generated.
[0038] In some embodiments, the order module 405 is further configured to: In response to conversion factors being specified for both the base material and the substitute material, a purchase ratio of the base material and the substitute material is determined according to the conversion factors of the base material and the substitute material, and a purchase plan order is generated according to the purchase ratio.
[0039] In some embodiments, the order module 405 is further configured to: In response to the available inventory satisfying the demand for the material to be currently calculated, no purchase plan order is generated.
[0040] Based on the same inventive concept, according to another aspect of the present invention, Figure 5 As shown, an embodiment of the present invention further provides a computer device 501, including: at least one processor 520; and The memory 510 stores a computer program 511 that can be run on the processor. When the processor 520 executes the program, the steps of any of the above material requirement calculation methods are performed.
[0041] Based on the same inventive concept, according to another aspect of the present invention, Figure 6 As shown, an embodiment of the present invention further provides a computer-readable storage medium 601, which stores a computer program 610. When the computer program 610 is executed by a processor, the steps of any of the above material requirement calculation methods are performed.
[0042] Finally, it should be noted that a person skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods.
[0043] Furthermore, it should be appreciated that the computer-readable storage medium (eg, memory) herein may be either volatile memory or nonvolatile memory, or may include both volatile memory and nonvolatile memory.
[0044] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.
[0045] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0046] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.
[0047] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0048] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0049] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A material requirement calculation method, characterized in that: The following steps are involved: Acquire a substitution relationship group, wherein the substitution relationship group records information of a plurality of materials that can be substituted for each other, the information including a base material name, a substitute material name, and a substitution priority; Get the BOM list to be calculated and determine the demand calculation order of each material according to the hierarchy; Calculate the demand of each material in turn according to the demand calculation order, obtain the inventory data of the reference material and the substitute material in the substitution relationship group corresponding to the material to be calculated and use them as the available inventory; Calculating in sequence according to the substitution priority whether the available inventory meets the demand of the material to be calculated currently; In response to the available inventory not satisfying the demand of the material to be currently calculated, a purchase plan order is generated based on the demand, the available inventory and the substitution relationship group.
2. The method according to claim 1, characterized in that Obtain the BOM list to be calculated and determine the demand calculation order of each material according to the hierarchy, further including: In response to multiple materials corresponding to the same substitution relationship group, determining the deepest level corresponding to the multiple materials in the BOM list; The demand calculation order of the plurality of materials is determined according to the deepest level.
3. The method according to claim 2, characterized in that Also includes: Prioritize the multiple materials according to their delivery time; An order of calculating available inventory of the plurality of materials is determined according to the priorities.
4. The method according to claim 1, characterized in that Also includes: Conversion factors are set for the base material and the substitute material in the substitution relationship group.
5. The method according to claim 4, characterized in that In response to the available inventory not satisfying the demand for the material to be calculated, generating a purchase plan order based on the demand, the available inventory and the substitution relationship group, further comprising: Determine whether conversion factors are specified for both the base material and the substitute material in the substitution relationship group; In response to the fact that neither the base material nor the substitute material has a conversion factor specified, only a purchase plan order for the base material is generated; In response to the base material not specifying a conversion factor, only a planned purchase order for the substitute material is generated.
6. The method according to claim 5, characterized in that Also includes: In response to conversion factors being specified for both the base material and the substitute material, a purchase ratio of the base material and the substitute material is determined according to the conversion factors of the base material and the substitute material, and a purchase plan order is generated according to the purchase ratio.
7. The method according to claim 1, characterized in that Also includes: In response to the available inventory satisfying the demand for the material to be currently calculated, no purchase plan order is generated.
8. A material requirement calculation system, characterized in that: include: A first acquisition module is configured to acquire an alternative relationship group, wherein the alternative relationship group records information of a plurality of materials that can replace each other, and the information includes a base material name, an alternative material name, and an alternative priority; The second acquisition module is configured to obtain the BOM list to be calculated and determine the demand calculation order of each material according to the hierarchy; A first calculation module is configured to calculate the demand of each material in turn according to the demand calculation order, obtain the inventory data of the reference material and the substitute material in the substitution relationship group corresponding to the material to be calculated and use it as the available inventory; A second calculation module is configured to calculate in sequence according to the substitution priority whether the available inventory meets the demand of the current material to be calculated; The order module is configured to generate a purchase plan order based on the demand, the available inventory and the substitution relationship group in response to the available inventory not satisfying the demand of the current material to be calculated.
9. A computer device comprising: at least one processor; as well as A memory storing a computer program executable on the processor, wherein the processor executes the steps of the method according to any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are performed.
Citation Information
Cited By
Material demand planning method and system, electronic equipment and storage medium
CN120046948A
