Method, device, equipment and storage medium for calculating net demand for purchased parts

By calculating virtual warehouse inventory and virtual warehouse negative inventory, the problem that the MRP system cannot accurately calculate the net demand for secondary procurement parts is solved, and the accurate and timely calculation of secondary procurement parts is achieved, which improves the accuracy and real-time nature of procurement plans. .

CN118536784BActive Publication Date: 2024-11-15INDUSTICS COM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411010240.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-15
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

The existing MRP system cannot accurately and timely calculate the net demand for secondary procurement parts, resulting in the possibility of stagnation or out of stock in the secondary procurement parts, affecting the company's supply chain management and short-term delivery plans.

Method used

Through calculation methods, based on the procurement return information, inlet information and sales out-of-warehouse information of the current-level procurement parts, and combined with the sales out-of-warehouse information of the next-level procurement parts, virtual warehouse inventory and virtual warehouse negative inventory are calculated, and then the next The net demand for grade-level procurement parts is supported to expand the purchased parts downward according to the bill of materials structure to the predefined next-level procurement parts, and participate in the supply and demand balance calculation.

Benefits of technology

It realizes more accurate and timely calculation of net demand for secondary procurement parts, reduces manual intervention, improves the real-time accuracy of procurement plans, and avoids the inaccurate procurement plan caused by excessive lead-up period of secondary materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536784B_ABST
    Figure CN118536784B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, and storage medium for calculating the net demand for purchased items. The method includes: obtaining virtual warehouse inventory information corresponding to the next-level purchased item based on first purchase return information and first purchase receipt information corresponding to the current-level purchased item, and sales shipment information corresponding to the next-level purchased item; obtaining virtual warehouse negative inventory information corresponding to the next-level purchased item based on first supply information corresponding to the current-level purchased item and second purchase return information corresponding to the next-level purchased item; obtaining second demand information corresponding to the next-level purchased item based on first supply information, first demand information, and first inventory information corresponding to the current-level purchased item; and obtaining the second net demand corresponding to the next-level purchased item based on the second inventory information, virtual warehouse inventory information, virtual warehouse negative inventory information, and second demand information. This application can calculate the net demand for the next-level purchased item more accurately and promptly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of supply chain management and industrial Internet technology, and in particular to a method, device, equipment and storage medium for calculating the net demand for purchased parts. Background Art

[0002] The MRP (Material Requirement Planning) system currently only supports the expansion of BOM (Bill of Material) from manufacturing parts to purchased parts, but does not support the expansion of BOM structure from purchased parts to secondary purchased parts, and does not support the supply and demand balance calculation of secondary purchased parts. Currently, the procurement of secondary purchased parts requires manual offline control, and the untimely and inaccurate offline data may cause some secondary purchased parts to be stagnant or out of stock, which has a huge impact on the company's supply chain and may even affect the company's short-term delivery plan. In the case of a large supply chain span or a long material lead time, such contradictions and conflicts will be further magnified. Summary of the invention

[0003] In view of this, the purpose of this application is to propose a method, device, equipment and storage medium for calculating the net demand of procurement parts, so as to calculate the net demand of secondary procurement parts more accurately and timely.

[0004] Based on the above-mentioned purpose, the first aspect of the present application provides a method for calculating the net demand of purchase parts, the method comprising: obtaining the virtual warehouse inventory information corresponding to the next-level purchase part according to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales outbound information corresponding to the next-level purchase part; the next-level purchase part is obtained by expanding the current-level purchase part according to the preset bill of materials structure; based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part, the virtual warehouse negative inventory information corresponding to the next-level purchase part is obtained; the first supply information is the negative inventory information corresponding to the current-level purchase part except the first inventory information all supply information other than the current level purchase part; based on the first supply information, the first demand information and the first inventory information corresponding to the current level purchase part, obtain the second demand information corresponding to the next level purchase part; based on the second inventory information corresponding to the next level purchase part, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information, obtain the second net demand corresponding to the next level purchase part; wherein, the first purchase return information, the first purchase warehousing information, the sales outbound information, the first supply information, the second purchase return information, the first demand information, the first inventory information and the second inventory information correspond to the same planning cycle.

[0005] Furthermore, the virtual warehouse inventory information corresponding to the next-level purchase part is obtained based on the first purchase return information and the first purchase incoming information corresponding to the current-level purchase part and the sales outgoing information corresponding to the next-level purchase part, including: taking the sales outgoing information corresponding to the next-level purchase part as the initial virtual warehouse inventory information; presetting the first purchase return information, the first purchase incoming information and the initial virtual warehouse inventory information to obtain the virtual warehouse inventory information; wherein the presetting processing includes adding the initial virtual warehouse inventory according to the first purchase return information, and offsetting the initial virtual warehouse inventory according to the first purchase incoming information.

[0006] Furthermore, based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part, the virtual warehouse negative inventory information corresponding to the next-level purchase part is obtained, including: determining the initial virtual warehouse negative inventory information according to the first supply information; adding the second purchase return information and the initial virtual warehouse negative inventory information to obtain the virtual warehouse negative inventory information.

[0007] Furthermore, the second demand information corresponding to the next-level procurement part is obtained based on the first supply information, the first demand information and the first inventory information corresponding to the current-level procurement part, including: adding the first supply information and the first inventory information to obtain the first total supply information corresponding to the current-level procurement part; subtracting the first demand information from the first total supply information to obtain the first net demand corresponding to the current-level procurement part; and using the first net demand corresponding to the current-level procurement part as the second demand information corresponding to the next-level procurement part.

[0008] Furthermore, based on the second inventory information corresponding to the next-level procurement part, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information, the second net demand corresponding to the next-level procurement part is obtained, including: adding the second inventory information and the virtual warehouse inventory information to obtain the second total supply information corresponding to the next-level procurement part; adding the virtual warehouse negative inventory information and the second demand information to obtain the second total demand information corresponding to the next-level procurement part; subtracting the second total supply information from the second total demand information to obtain the second net demand corresponding to the next-level procurement part.

[0009] Furthermore, it also includes: determining the current-level procurement parts from the procurement parts; expanding the current-level procurement parts according to the preset material list structure to obtain at least one of the next-level procurement parts, and the material list structure is used to represent the corresponding relationship between the current-level procurement parts and the next-level procurement parts.

[0010] Further, determining the current-level purchase part from the purchase parts includes: screening the purchase parts that meet preset conditions from the purchase parts, wherein the preset conditions are used to indicate that the purchase parts are pre-defined with the next-level purchase parts; and using the purchase parts that meet the preset conditions as the current-level purchase parts.

[0011] The second aspect of the present application provides a device for calculating the net demand for purchase parts, the device comprising: a virtual warehouse inventory information calculation module, used to obtain the virtual warehouse inventory information corresponding to the next-level purchase part according to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales outbound information corresponding to the next-level purchase part; the next-level purchase part is obtained by expanding the current-level purchase part according to a preset bill of materials structure; a virtual warehouse negative inventory information calculation module, used to obtain the virtual warehouse negative inventory information corresponding to the next-level purchase part based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part; the first supply information is the virtual warehouse negative inventory information corresponding to the current-level purchase part in addition to the first inventory information all supply information of the current-level procurement part; a second demand information calculation module, used to obtain the second demand information corresponding to the next-level procurement part based on the first supply information, the first demand information and the first inventory information corresponding to the current-level procurement part; a second net demand calculation module, used to obtain the second net demand corresponding to the next-level procurement part based on the second inventory information corresponding to the next-level procurement part, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information; wherein, the first procurement return information, the first procurement warehousing information, the sales outbound information, the first supply information, the second procurement return information, the first demand information, the first inventory information and the second inventory information correspond to the same planning cycle.

[0012] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for calculating the net demand for procurement parts as described in the first aspect of the present application is implemented.

[0013] A fourth aspect of the present application provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the method for calculating the net demand for procurement parts as described in the first aspect of the present application.

[0014] From the above, it can be seen that the technical solutions of the method, device, equipment and storage medium for calculating the net demand of the purchase parts provided by the embodiment of the present application at least bring the following beneficial effects: the embodiment of the present application supports the purchase parts to be expanded downward to the pre-defined next-level purchase parts according to the bill of materials structure, and according to the difference between the demand transmission of the manufacturing parts and the purchase parts, the first supply of the current-level purchase parts is used as the demand of the next-level purchase parts to participate in the supply and demand balance calculation of the next-level purchase parts. On this basis, the virtual warehouse inventory information corresponding to the next-level purchase parts is obtained according to the first purchase return information, the first purchase warehousing information corresponding to the current-level purchase parts, and the sales and delivery information corresponding to the next-level purchase parts; based on the first supply information corresponding to the current-level purchase parts and the second purchase return information corresponding to the next-level purchase parts, the virtual warehouse negative inventory information corresponding to the next-level purchase parts is obtained; then the virtual warehouse inventory information and the second inventory information are used as the supply of the next-level purchase parts, and the virtual warehouse negative inventory information and the second demand information are used as the demand of the next-level purchase parts, and the net demand of the next-level purchase parts is calculated. Compared with the prior art, the present application can more accurately and timely calculate the second net demand corresponding to the next-level purchase parts, wherein the next-level purchase parts can be second-level purchase parts. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 A schematic diagram of an application program operating environment according to an embodiment of the present application;

[0017] Figure 2 A flow chart of a method for calculating net demand for purchase parts according to an embodiment of the present application;

[0018] Figure 3 A flow chart of calculating virtual warehouse inventory information according to an embodiment of the present application;

[0019] Figure 4 A flow chart of calculating negative inventory information of a virtual warehouse according to an embodiment of the present application;

[0020] Figure 5 A flow chart of calculating the second demand information according to an embodiment of the present application;

[0021] Figure 6 A flow chart of calculating the second net demand according to an embodiment of the present application;

[0022] Figure 7 A flow chart for obtaining the next level of procurement parts according to an embodiment of the present application;

[0023] Figure 8 A flow chart of determining the current level purchase parts from the purchase parts according to the embodiment of the present application;

[0024] Fig. 9 A schematic diagram of a bill of materials structure of an embodiment of the present application;

[0025] Fig.10 is a block diagram of an apparatus for calculating net demand for purchase parts provided in an embodiment of the present application;

[0026] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions 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 in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] Various exemplary embodiments, features and aspects of the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0030] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0031] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0032] In addition, in order to better illustrate the embodiments of the present application, numerous specific details are provided in the specific implementation below. It should be understood by those skilled in the art that the embodiments of the present application can also be implemented without certain specific details. In some instances, methods, means, components and circuits well known to those skilled in the art are not described in detail, so as to highlight the purpose of the embodiments of the present application.

[0033] The logic of traditional MRP BOM expansion is to input a finished product demand. When the finished product supply cannot meet the demand, a production plan will be constructed as the supply to build a supply and demand balance. Then the finished product production plan will be expanded downward according to the BOM structure to generate related demands for lower-level materials, that is, the demands for lower-level materials required to produce this finished product demand, and so on, until it is expanded to the purchased parts.

[0034] The demand transmission of secondary procurement parts is different from the expansion of related demand from manufacturing parts to procurement parts. The scenario of secondary procurement parts is more complicated. The MRP system currently only supports the expansion of BOM from manufacturing parts to procurement parts, and does not support the expansion of BOM from procurement parts to secondary procurement parts. In related technologies, the processing of secondary procurement parts relies more on manual operations, and the net demand of secondary procurement parts cannot be calculated accurately and timely.

[0035] In an embodiment of the present application, virtual warehouse inventory information corresponding to the next-level purchase part is obtained based on the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales outbound information corresponding to the next-level purchase part; the next-level purchase part is obtained by expanding the current-level purchase part according to the preset material list structure; based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part, the virtual warehouse negative inventory information corresponding to the next-level purchase part is obtained; based on the first supply information, the first demand information and the first inventory information corresponding to the current-level purchase part, the second demand information corresponding to the next-level purchase part is obtained; based on the second inventory information, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information corresponding to the next-level purchase part, the second net demand corresponding to the next-level purchase part is obtained. It can be seen that the technical solution provided by the embodiment of the present application can support the current-level procurement parts to be expanded downward to the pre-defined next-level procurement parts according to the material list structure. On this basis, the first supply of the current-level procurement parts is used as the demand of the next-level procurement parts to participate in the supply and demand balance calculation of the next-level procurement parts, thereby more accurately and timely calculating the second net demand corresponding to the next-level procurement parts, so that the procurement plan for the secondary materials with a long lead time that was originally calculated manually can be automatically calculated by the system, ensuring that the plan is more real-time and accurate.

[0036] For example, the embodiments of the present application can be applied to Figure 1 In the scenario shown, the user terminal 102 and the server 101 interact with each other through the network 103. In this scenario, the server 101 obtains the first supply and demand data corresponding to the current level purchase part and the second supply and demand data corresponding to the next level purchase part sent by the user terminal 102, wherein the first supply and demand data and the second supply and demand data correspond to the same planning cycle, the first supply and demand data include the first purchase return information, the first purchase warehousing information, the first supply information, the first demand information and the first inventory information, and the second supply and demand data include the sales outbound information, the second purchase return information and the second inventory information. Then, the server 101 obtains the virtual warehouse inventory information corresponding to the next-level purchase part according to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales delivery information corresponding to the next-level purchase part; the next-level purchase part is obtained by expanding the current-level purchase part according to the preset material list structure; based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part, the virtual warehouse negative inventory information corresponding to the next-level purchase part is obtained; based on the first supply information, the first demand information and the first inventory information corresponding to the current-level purchase part, the second demand information corresponding to the next-level purchase part is obtained; based on the second inventory information, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information corresponding to the next-level purchase part, the second net demand corresponding to the next-level purchase part is obtained. Then, the server 101 can send the second net demand to the user terminal 102 for display.

[0037] It will be appreciated that the user terminal 102 may be any user device that is currently available, under development, or to be developed in the future, and that is capable of interacting with the server 101 through any form of wired and / or wireless connection (e.g., Wi-Fi, LAN, cellular, coaxial cable, etc.), including but not limited to: smart phones, non-smart phones, tablet computers, laptop personal computers, desktop personal computers, minicomputers, midsize computers, mainframe computers, etc. that are currently available, under development, or to be developed in the future.

[0038] In addition, the server 101 is only an example of a device that is currently in existence, is being developed, or will be developed in the future and can provide users with the function of calculating the net demand for procurement parts. The embodiments of the present application are not limited in this regard.

[0039] It is understandable that, in the above scenario, although the actions of the implementation of the present application are described as being performed by the server 101, these actions may also be partially performed by the user terminal 102, partially performed by the server 101, or completely performed by the user terminal 102. The present application is not limited in terms of the execution subject, as long as the actions disclosed in the implementation of the present application are performed.

[0040] It should be noted that the above application scenarios are only shown for the purpose of facilitating the understanding of the present application, and the implementation of the present application is not limited in this respect. On the contrary, the implementation of the present application can be applied to any applicable scenario.

[0041] See also Figure 2 , shows a flow chart of a method for calculating the net demand of purchased parts in an embodiment of the present application. In this embodiment, the method may include process 200, and process 200 may include the following steps:

[0042] S210: Obtain virtual warehouse inventory information corresponding to the next-level purchase part according to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales outbound information corresponding to the next-level purchase part.

[0043] Among them, the next-level procurement part is obtained by expanding the current-level procurement part according to the preset material list structure. In some cases, the procurement part hierarchy defined by the system is limited to two levels, that is, the current-level procurement part is a first-level procurement part, and the next-level procurement part is a second-level procurement part. In other cases, the procurement parts defined by the system can have more levels. For example, the procurement part hierarchy is three-level, and the procurement parts are divided into first-level procurement parts, second-level procurement parts and third-level procurement parts according to the hierarchy. The current-level procurement part can be a first-level procurement part or a second-level procurement part. Accordingly, when the current-level procurement part is a first-level procurement part, its next-level procurement part is a second-level procurement part; when the current-level procurement part is a second-level procurement part, its next-level procurement part is a third-level procurement part. It should be noted that the hierarchy of procurement parts can be set according to the actual business scenario, and this embodiment is not limited to this.

[0044] It should be noted that warehousing, outbound and returns can be understood as the concept of warehouse transaction processing. For example, purchase warehousing means warehousing according to purchase orders, and sales outbound means outbound according to sales orders. Each action is related to the warehouse movement type. Specifically, the first purchase warehousing information includes the warehousing time and warehousing quantity, the sales outbound information includes the outbound time and outbound quantity, and the purchase return information includes the return time and return quantity.

[0045] In the related art, when processing secondary procurement parts, the impact of the purchase entry and purchase return of primary procurement parts on the supply and demand of primary procurement parts is not realized in the system, and it relies more on manual operation, and the net demand of secondary procurement parts cannot be accurately and timely calculated. This embodiment realizes the automatic calculation of the impact of the purchase entry and purchase return of the current level procurement parts on the supply and demand of the current level procurement parts, which helps to accurately and timely calculate the net demand of the next level procurement parts.

[0046] In some embodiments, step S210 may be performed by the virtual warehouse inventory information calculation module 410 .

[0047] See also Figure 3 In some embodiments, obtaining the virtual warehouse inventory information corresponding to the next-level purchase part according to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales delivery information corresponding to the next-level purchase part may include the following steps:

[0048] S211: Use the sales delivery information corresponding to the next-level purchase parts as the initial virtual warehouse inventory information.

[0049] The initial virtual warehouse inventory information includes initial virtual warehouse inventory data, and the initial virtual warehouse inventory data is an increment.

[0050] S212: Preset processing is performed on the first purchase return information, the first purchase warehousing information and the initial virtual warehouse inventory information to obtain the virtual warehouse inventory information.

[0051] Among them, the preset processing includes adding the initial virtual warehouse inventory according to the first purchase return information, and reducing the initial virtual warehouse inventory according to the first purchase warehousing information. The purchase warehousing of the current-level purchase parts means that the supplier has completed the production of the current-level purchase parts, so the purchase warehousing of the current-level purchase parts will be used to deduct the sales and delivery of the next-level purchase parts, so that the virtual warehouse inventory data of the next-level purchase parts obtained in the next MRP calculation will be more accurate. The addition of the first purchase return information and the initial virtual warehouse inventory information is also to make the virtual warehouse inventory data of the next-level purchase parts obtained in the next MRP calculation more accurate.

[0052] The virtual warehouse inventory information includes virtual warehouse inventory data, and the virtual warehouse inventory data is an increment.

[0053] Specifically, the first purchase return information and the first purchase warehousing information are obtained by incremental pulling to reduce the amount of data to be processed, thereby improving the efficiency and speed of data extraction. Among them, the implementation methods of incremental pulling include but are not limited to timestamp method, incremental file method, log file method, etc.

[0054] S220: Based on the first supply information corresponding to the current-level procurement part and the second procurement return information corresponding to the next-level procurement part, the virtual warehouse negative inventory information corresponding to the next-level procurement part is obtained.

[0055] Among them, the first supply information is all supply information corresponding to the current-level purchase parts except the first inventory information, including but not limited to PO (Purchase Order), PR (Purchase Request), ASN (Advance Shipping Notice) and other supply information.

[0056] In some embodiments, step S220 may be performed by the virtual warehouse negative inventory information calculation module 420 .

[0057] See also Figure 4 In some embodiments, based on the first supply information corresponding to the current level purchase part and the second purchase return information corresponding to the next level purchase part, obtaining the virtual warehouse negative inventory information corresponding to the next level purchase part may include the following steps:

[0058] S221: Determine the initial virtual warehouse negative inventory information based on the first supply information.

[0059] The first supply of the current-level purchase parts, such as PO, PR, and ASN, is the demand for the next-level purchase parts. Therefore, the planned order of the current-level purchase parts after deducting the supply cannot be directly taken as the demand for the next-level purchase parts.

[0060] S222: Add the second purchase return information and the initial virtual warehouse negative inventory information to obtain the virtual warehouse negative inventory information.

[0061] Specifically, the second purchase return information is obtained by incremental pulling to reduce the amount of data to be processed, thereby improving the efficiency and speed of data extraction. The implementation methods of incremental pulling include but are not limited to timestamp method, incremental file method, log file method, etc.

[0062] S230: Obtaining second demand information corresponding to the next-level procurement part based on the first supply information, the first demand information and the first inventory information corresponding to the current-level procurement part.

[0063] In some embodiments, step S230 may be performed by the second demand information calculation module 430 .

[0064] See also Figure 5 In some embodiments, obtaining the second demand information corresponding to the next-level procurement part based on the first supply information, the first demand information, and the first inventory information corresponding to the current-level procurement part may include the following steps:

[0065] S231: Add the first supply information and the first inventory information to obtain the first total supply information corresponding to the current level purchase part.

[0066] S232: Subtract the first demand information from the first total supply information to obtain the first net demand corresponding to the current level procurement part.

[0067] S233: Use the first net demand corresponding to the current level procurement part as the second demand information corresponding to the next level procurement part.

[0068] S240: Based on the second inventory information corresponding to the next-level procurement parts, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information, the second net demand corresponding to the next-level procurement parts is obtained.

[0069] In some embodiments, step S240 may be performed by the second net demand calculation module 440 .

[0070] Among them, the second net demand includes the demand quantity and demand time of the next-level procurement parts. The demand time of the next-level procurement parts is obtained by deducting the procurement lead time of the next-level procurement parts from the demand time of the current-level procurement parts. The procurement lead time of the next-level procurement parts is pre-set when defining the procurement parts.

[0071] Specifically, when defining a purchase part, the purchase lead time of the current level purchase part can be preset.

[0072] Specifically, when defining the current-level procurement parts, the production lead time of the current-level procurement parts can also be preset. The production lead time refers to the lead time required by the supplier for production.

[0073] Among them, the first purchase return information, the first purchase warehousing information, the sales delivery information, the first supply information, the second purchase return information, the first demand information, the first inventory information and the second inventory information correspond to the same planning period. The planning period is the minimum time unit for a user to place a purchase order. In this embodiment, the planning period is in weeks, and the user places a purchase order on a weekly basis. In other embodiments, the planning period may also be a natural month or other pre-set time lengths.

[0074] See also Figure 6 In some embodiments, based on the second inventory information corresponding to the next-level purchase part, the virtual warehouse inventory information, the virtual warehouse negative inventory information, and the second demand information, obtaining the second net demand corresponding to the next-level purchase part includes:

[0075] S241: Add the second inventory information and the virtual warehouse inventory information to obtain the second total supply information corresponding to the next level procurement part.

[0076] S242: Add the virtual warehouse negative inventory information and the second demand information to obtain the second total demand information corresponding to the next level procurement part.

[0077] S243: Subtract the second total supply information from the second total demand information to obtain the second net demand corresponding to the next level procurement part.

[0078] It should be noted that steps S210, S220 and S230 can be performed as follows: Figure 2 The execution sequence shown may be performed in other execution sequences or synchronously, and the present embodiment is not limited thereto.

[0079] In some embodiments, process 200 may also include: first supply and demand data corresponding to the current level purchase parts and second supply and demand data corresponding to the next level purchase parts, wherein the first supply and demand data and the second supply and demand data correspond to the same planning cycle, the first supply and demand data include first purchase return information, first purchase warehousing information, first supply information, first demand information and first inventory information, and the second supply and demand data include sales outbound information, second purchase return information and second inventory information.

[0080] See also Figure 7 In some embodiments, the method for calculating the net demand for purchased parts may further include process 300. Process 300 occurs before process 200. Process 300 may include the following steps:

[0081] S310: Determine the current level purchase part from the purchase parts.

[0082] S320: Expand the current level purchase part according to the preset bill of materials structure to obtain at least one next level purchase part.

[0083] Among them, the bill of materials structure is used to represent the correspondence between the current level procurement parts and the next level procurement parts.

[0084] See also Figure 8 In some embodiments, determining the current level purchase part from the purchase parts may include the following steps:

[0085] S311: Filter out the purchase parts that meet the preset conditions from the purchase parts.

[0086] The preset condition is used to indicate that the purchase part has a pre-defined next-level purchase part.

[0087] In some embodiments, the purchase part has preset attribute information, which may include one or more material attributes. For example, the attribute information may be a three-segment structure, with each segment representing a material attribute. When the attribute information of the purchase part meets the preset attribute conditions, the purchase part is treated as a purchase part that meets the preset conditions.

[0088] S312: The purchase parts that meet the preset conditions are used as the current-level purchase parts.

[0089] See also Fig. 9 The structure diagram of the bill of materials obtained by expanding the BOM of manufacturing part X is shown. In a specific application scenario of this embodiment, purchase part X12 is pre-defined with purchase parts X121, X122 and X123 at the next level according to the material classification definition. Purchase part X12 is the current level purchase part (i.e., the first-level purchase part), and purchase parts X121, X122 and X123 are the next-level purchase parts (i.e., the second-level purchase parts) of purchase part X12 (i.e., the first-level purchase part). Among them, purchase parts X121 and X122 are purchase parts ordered by customers, and purchase part X123 is a purchase part not ordered by customers.

[0090] The purpose of this specific example is to illustrate the calculation process of the demand quantity in the second net demand corresponding to purchase part X121, purchase part X122 and purchase part X123 in combination with Table 1. Table 1 shows the document information of the current level purchase part X12, the next level purchase part X121, the next level purchase part X122 and the next level purchase part X123.

[0091] Table 1 Purchase parts supply and demand information

[0092]

[0093] The PO / PR / ASN (including returns and purchase receipts) of the current level purchase part is supply for the current level purchase part and demand for the next level purchase part. The PO / PR / ASN (including returns and purchase receipts) quantity corresponding to the current level purchase part X12 is 25k, that is, the first supply quantity is 25k, and the virtual warehouse negative inventory quantity generated by the exhibition BOM for the next level purchase part X121, the next level purchase part X122, and the next level purchase part X123 is -25k.

[0094] The return quantity of the current-level purchase part X12 is -20k, the supply (virtual warehouse inventory) quantity of the newly added next-level purchase part is 20k, and the purchase entry quantity of the current-level purchase part X12, 5k, is used to offset the virtual warehouse inventory quantity 20k corresponding to the next-level purchase part. At this time, the virtual warehouse inventory quantities of the next-level purchase parts X121 and X122 ordered by the customer are 15k. The next-level purchase part X123 not ordered by the customer is not affected by the purchase return and purchase entry of the current-level purchase part X12, and its virtual warehouse inventory quantity is regarded as 0.

[0095] As shown in Table 1, the demand quantity of the current level purchase part X12 is 50k, and its net demand is the remaining quantity 25k after deducting all available supplies (i.e. PO / PR / ASN (including returns and purchase warehousing) quantity) 25k from the demand quantity 50k. The net demand of the current level purchase part X12 is displayed in the BOM to generate the second demand quantity 25k corresponding to the next level purchase part.

[0096] When performing MRP calculations, the virtual warehouse negative inventory and virtual warehouse inventory of the next-level purchase parts in the material classification range are all involved in the calculation. Specifically, the demand for the next-level purchase parts is the virtual warehouse negative inventory and the second demand, and the supply is the inventory and virtual warehouse inventory.

[0097] The net demand quantity of the next-level purchase part X121 = the second demand quantity 25k + the negative inventory quantity of the virtual warehouse 25k - the virtual warehouse inventory quantity 15k - the inventory quantity 10k = 25k.

[0098] The net demand quantity of the next-level purchase part X122 = the second demand quantity 25k + the negative inventory quantity of the virtual warehouse 25k - the virtual warehouse inventory quantity 15k - the inventory quantity 10k = 25k.

[0099] The net demand quantity of the next-level purchase part X123 = the second demand quantity 25k + the negative inventory quantity of the virtual warehouse 25k - the inventory quantity 0k - the virtual warehouse inventory quantity 0k = 50k.

[0100] The beneficial effects that may be brought about by the embodiments of the present application include but are not limited to: the embodiments of the present application support the current level procurement parts to be expanded downward to the pre-defined next level procurement parts according to the material list structure, and on this basis, the first supply of the current level procurement parts is used as the demand of the next level procurement parts to participate in the supply and demand balance calculation of the next level procurement parts, thereby more accurately and timely calculating the second net demand corresponding to the next level procurement parts.

[0101] The embodiment of the present application is conducive to making procurement more reasonable in issuing purchase orders for next-level procurement parts, thereby ensuring maximization of effective output.

[0102] The embodiment of the present application makes the purchase plan corresponding to the next-level purchase parts traceable in the system, and the traceability results are displayed more clearly and transparently, which facilitates the business to manage the next-level purchase parts.

[0103] The embodiments of the present application are conducive to making the supply chain management within the enterprise more standardized, guiding the enterprise to prepare materials in an orderly manner through reasonable system suggestions, and avoiding the polarization phenomenon of "both idle and in short supply" caused by purchasing orders based on unclear secondary purchase parts plan sheets.

[0104] It should be noted that different embodiments may produce different beneficial effects. In different embodiments, the beneficial effects that may be produced may be any one or a combination of the above, or any other beneficial effects that may be obtained.

[0105] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0106] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do 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.

[0107] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the embodiment of the present application also provides a device for calculating the net demand for purchased parts.

[0108] like Fig.10As shown, the device for calculating the net demand for purchased parts provided in the embodiment of the present application includes a virtual warehouse inventory information calculation module 410, a virtual warehouse negative inventory information calculation module 420, a second demand information calculation module 430 and a second net demand calculation module 440.

[0109] The virtual warehouse inventory information calculation module 410 is configured to obtain virtual warehouse inventory information corresponding to the next-level purchase part according to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales delivery information corresponding to the next-level purchase part; the next-level purchase part is obtained by expanding the current-level purchase part according to the preset material list structure;

[0110] The virtual warehouse negative inventory information calculation module 420 is configured to obtain the virtual warehouse negative inventory information corresponding to the next-level purchase part based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part; the first supply information is all the supply information corresponding to the current-level purchase part except the first inventory information;

[0111] The second demand information calculation module 430 is configured to obtain the second demand information corresponding to the next level purchase part based on the first supply information, the first demand information and the first inventory information corresponding to the current level purchase part;

[0112] The second net demand calculation module 440 is configured to obtain the second net demand corresponding to the next-level purchase parts based on the second inventory information corresponding to the next-level purchase parts, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information; wherein, the first purchase return information, the first purchase incoming information, the sales outgoing information, the first supply information, the second purchase return information, the first demand information, the first inventory information and the second inventory information correspond to the same planning cycle.

[0113] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0114] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0115] The device of the above embodiment is used to implement the corresponding method of calculating the net demand for purchased parts in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0116] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for calculating the net demand for purchased parts described in any of the above embodiments is implemented.

[0117] Fig.11 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0118] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0119] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0120] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0121] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0122] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0123] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0124] The electronic device of the above-mentioned embodiment is used to implement the corresponding method of calculating the net demand of procurement parts in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0125] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for calculating the net demand for procurement parts as described in any of the above embodiments.

[0126] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0127] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method for calculating the net demand for procurement parts as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0128] A person skilled in the art should understand that the discussion of any of the above embodiments is for illustrative purposes only and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0129] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0130] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

[0131] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A method for calculating the net demand for purchased parts, characterized in that: include: According to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales delivery information corresponding to the next-level purchase part, the virtual warehouse inventory information corresponding to the next-level purchase part is obtained; the current-level purchase part predefines the next-level purchase part, and the next-level purchase part is obtained by expanding the current-level purchase part according to the preset material list structure; Based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part, the virtual warehouse negative inventory information corresponding to the next-level purchase part is obtained; The first supply information is all supply information corresponding to the current-level purchase part except the first inventory information; Obtaining second demand information corresponding to the next-level procurement part based on the first supply information, first demand information, and first inventory information corresponding to the current-level procurement part; Based on the second inventory information corresponding to the next-level procurement part, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information, the second net demand corresponding to the next-level procurement part is obtained; wherein, the first procurement return information, the first procurement incoming information, the sales outbound information, the first supply information, the second procurement return information, the first demand information, the first inventory information and the second inventory information correspond to the same planning cycle.

2. The method for calculating net demand for purchased parts according to claim 1, characterized in that: The step of obtaining the virtual warehouse inventory information corresponding to the next-level purchase part according to the first purchase return information and the first purchase warehousing information corresponding to the current-level purchase part and the sales outbound information corresponding to the next-level purchase part includes: The sales and delivery information corresponding to the next-level purchase parts is used as the initial virtual warehouse inventory information; The first purchase return information, the first purchase incoming warehousing information and the initial virtual warehouse inventory information are preset processed to obtain the virtual warehouse inventory information; wherein the preset processing includes adding the initial virtual warehouse inventory according to the first purchase return information, and reducing the initial virtual warehouse inventory according to the first purchase incoming warehousing information.

3. The method for calculating net demand for purchased parts according to claim 1, characterized in that: The obtaining of the virtual warehouse negative inventory information corresponding to the next-level purchase part based on the first supply information corresponding to the current-level purchase part and the second purchase return information corresponding to the next-level purchase part includes: Determine initial virtual warehouse negative inventory information according to the first supply information; The second purchase return information and the initial virtual warehouse negative inventory information are added together to obtain the virtual warehouse negative inventory information.

4. The method for calculating net demand for purchased parts according to claim 1, characterized in that: The obtaining the second demand information corresponding to the next-level procurement part based on the first supply information, the first demand information, and the first inventory information corresponding to the current-level procurement part includes: Adding the first supply information to the first inventory information to obtain first total supply information corresponding to the current-level purchase part; Subtracting the first demand information from the first total supply information to obtain a first net demand corresponding to the current-level procurement part; The first net demand corresponding to the current-level procurement part is used as the second demand information corresponding to the next-level procurement part.

5. The method for calculating net demand for purchased parts according to claim 1, characterized in that: The obtaining, based on the second inventory information corresponding to the next-level purchase part, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information, the second net demand corresponding to the next-level purchase part comprises: Adding the second inventory information to the virtual warehouse inventory information to obtain the second total supply information corresponding to the next-level procurement part; Adding the virtual warehouse negative inventory information and the second demand information to obtain the second total demand information corresponding to the next-level procurement part; The second total supply information and the second total demand information are subtracted to obtain the second net demand corresponding to the next-level procurement part.

6. The method for calculating net demand for purchased parts according to claim 1, characterized in that: Also includes: Determining the current level purchase part from the purchase parts; The current level purchase part is expanded according to the preset bill of materials structure to obtain at least one next level purchase part, and the bill of materials structure is used to represent the corresponding relationship between the current level purchase part and the next level purchase part.

7. The method for calculating net demand for purchased parts according to claim 6, characterized in that: The step of determining the current-level procurement part from the procurement parts includes: Filtering a purchase part that meets a preset condition from the purchase parts, wherein the preset condition is used to indicate that the purchase part is pre-defined with the next-level purchase part; The purchase parts that meet the preset conditions are used as the current-level purchase parts.

8. A device for calculating net demand for purchased parts, characterized in that: include: A virtual warehouse inventory information calculation module is used to obtain the virtual warehouse inventory information corresponding to the next-level procurement part according to the first procurement return information and the first procurement warehousing information corresponding to the current-level procurement part and the sales outbound information corresponding to the next-level procurement part; The next-level purchase parts are obtained by expanding the current-level purchase parts according to a preset bill of materials structure; A virtual warehouse negative inventory information calculation module, used to obtain the virtual warehouse negative inventory information corresponding to the next-level procurement part based on the first supply information corresponding to the current-level procurement part and the second procurement return information corresponding to the next-level procurement part; The first supply information is all supply information corresponding to the current-level purchase part except the first inventory information; A second demand information calculation module, configured to obtain the second demand information corresponding to the next-level procurement part based on the first supply information, the first demand information, and the first inventory information corresponding to the current-level procurement part; A second net demand calculation module is used to obtain the second net demand corresponding to the next-level purchase part based on the second inventory information corresponding to the next-level purchase part, the virtual warehouse inventory information, the virtual warehouse negative inventory information and the second demand information; wherein, the first purchase return information, the first purchase warehousing information, the sales outbound information, the first supply information, the second purchase return information, the first demand information, the first inventory information and the second inventory information correspond to the same planning cycle.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the program.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 7.