A method, system, computer device and storage medium for requesting and allocating goods
By summarizing requisition orders and using distribution algorithms to generate delivery orders, the problem of multiple distribution centers, multiple warehouses and substitute distribution in traditional technology is solved, a flexible distribution process is realized, and the operational efficiency and efficiency of stores and distribution centers are improved. Cost management.
Patent Information
- Application Number
- CN202311068157.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-08-24
AI Technical Summary
Traditional requisitioning and replenishment technology cannot realize multi-distribution center distribution, multi-warehouse delivery in a distribution center, as well as the allocation of substitute products and the retention of requisition orders when inventory is insufficient.
By obtaining the goods requisition orders of the stores to be distributed, a summary of the goods requisition orders is generated, and based on the distribution center's allocable custody accounts and distribution gift document rules, the preset distribution algorithm is used to generate delivery orders, and the allocable custody accounts are circulated for distribution. , supports multi-distribution centers, multi-warehouses and substitute distribution, and handles multiple distributions when inventory is insufficient.
It has achieved diversified support for goods requesting and distribution scenarios to meet store needs and improve operational efficiency and cost management.
Smart Images

Figure CN116777327B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of requesting and allocating goods, and in particular to a method, system, computer device and storage medium for requesting and allocating goods. Background Art
[0002] In the related art, when a commodity warehouse distributes goods to direct retailers and franchise retailers, it is usually necessary to distribute goods separately according to the type of each franchisee, the required quantity of goods, and different batches of products. This distribution method has many shortcomings.
[0003] In the traditional request and delivery process, the store and the distribution center are uniquely bound. When the distribution center's inventory cannot meet the store's request, the request cannot be processed and may even require human intervention. When the distribution center's inventory is sufficient, a new request will be made.
[0004] Traditional technology cannot achieve distribution across multiple distribution centers, cannot achieve shipping from multiple warehouses in a distribution center, cannot achieve alternative distribution when the distribution center inventory cannot meet the store's demand for goods, and cannot achieve the retention of purchase orders. Summary of the invention
[0005] Based on this, in response to the above technical problems, a method, system, computer equipment and storage medium for requesting and allocating goods are provided to solve the problems that traditional technology cannot realize multi-distribution center distribution, cannot realize shipping from multiple warehouses of distribution centers, cannot realize alternative distribution when the distribution center inventory cannot meet the store's request for goods, and cannot realize the retention of request orders.
[0006] In a first aspect, a method for requesting and allocating goods comprises:
[0007] Obtain multiple requisitions from stores to be allocated, and aggregate the multiple requisitions to generate a general requisition;
[0008] According to the store to be allocated, the allocation custody account of the corresponding distribution center is obtained, wherein the allocation custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse;
[0009] Obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center;
[0010] Generate basic configuration of delivery orders corresponding to all the detailed orders according to the preset delivery algorithm;
[0011] According to the basic configuration of the delivery order, the distribution can be started for the general purchase order through the circulation of the distribution custody account.
[0012] In the above solution, optionally, the method of splitting the goods requested by the store to be allocated is to reject the insufficient part and retain the insufficient part;
[0013] Wherein, when the shortage is rejected and the distribution center cannot meet the store's demand for goods, the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the delivery of the request order is completed;
[0014] The insufficient part is reserved for when the distribution center cannot meet the store's demand for goods, then the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the requisition is reserved, and the requisition will be delivered again after the goods arrive at the distribution center.
[0015] In the above solution, further optionally, the basic configuration of generating the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm includes:
[0016] The basic configuration of the delivery order is generated after loading the distribution prohibition and restriction strategy, loading the distribution batch number setting strategy, loading the warehouse whole and loose parts distribution strategy, loading the definition of distribution relationship, loading the retail store definition distribution setting, loading the distribution price, loading the special distribution price and the distribution validity period limit according to the general purchase order.
[0017] In the above solution, further optionally, the starting to allocate goods to the general purchase order by circulating the allocable custody account according to the basic configuration of the delivery order includes:
[0018] Determine whether the shipping warehouse can allocate available inventory. If the allocated quantity allocqty>0, execute the logic of generating a delivery order. If the quantity is not allocated, execute the replacement logic, use substitutes for distribution and matching, modify the goods on the requisition to substitutes, and execute the matching logic. After executing the above logic, if the store's requisition demand wantqty>0, find out whether there is a superior distribution center. If there is a superior distribution center, modify the distribution center of the requisition to the superior distribution center to execute the distribution and matching logic.
[0019] In a second aspect, a system for requesting and allocating goods is provided, the system comprising:
[0020] Store module: used to obtain multiple requisitions from stores to be allocated goods, and aggregate the multiple requisitions to generate a general requisition;
[0021] Distribution center module: used to obtain the corresponding distribution center's available custody account according to the store to be distributed, wherein the available custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse;
[0022] Determination module: used to obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center;
[0023] Configuration generation module: used to generate the basic configuration of the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm;
[0024] Distribution module: used to start distributing goods to the general purchase order according to the basic configuration of the distribution order and the configurable custody account.
[0025] In the above solution, optionally, the method of splitting the goods requested by the store to be allocated is to reject the insufficient part and retain the insufficient part;
[0026] Wherein, when the shortage is rejected and the distribution center cannot meet the store's demand for goods, the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the delivery of the request order is completed;
[0027] The insufficient part is reserved for when the distribution center cannot meet the store's demand for goods, then the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the requisition is reserved, and the requisition will be delivered again after the goods arrive at the distribution center.
[0028] In the above solution, further optionally, the basic configuration of generating the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm includes:
[0029] The basic configuration of the delivery order is generated after loading the distribution prohibition and restriction strategy, loading the distribution batch number setting strategy, loading the warehouse whole and loose parts distribution strategy, loading the definition of distribution relationship, loading the retail store definition distribution setting, loading the distribution price, loading the special distribution price and the distribution validity period limit according to the general purchase order.
[0030] In the above solution, further optionally, the step of starting to allocate goods to the general purchase order based on the basic configuration of the delivery order by circulating the allocable custody account includes:
[0031] Determine whether the shipping warehouse can allocate available inventory. If the allocated quantity allocqty>0, execute the logic of generating a delivery order. If the quantity is not allocated, execute the replacement logic, use substitutes for distribution and matching, modify the goods on the requisition to substitutes, and execute the matching logic. After executing the above logic, if the store's requisition demand wantqty>0, find out whether there is a superior distribution center. If there is a superior distribution center, modify the distribution center of the requisition to the superior distribution center to execute the distribution and matching logic.
[0032] In a third aspect, a computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] Obtain multiple requisitions from stores to be allocated, and aggregate the multiple requisitions to generate a general requisition;
[0034] According to the store to be allocated, the allocation custody account of the corresponding distribution center is obtained, wherein the allocation custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse;
[0035] Obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center;
[0036] Generate basic configuration of delivery orders corresponding to all the detailed orders according to the preset delivery algorithm;
[0037] According to the basic configuration of the delivery order, the distribution of goods to the general order is started. In a fourth aspect, a computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0038] Obtain multiple requisitions from stores to be allocated, and aggregate the multiple requisitions to generate a general requisition;
[0039] According to the store to be allocated, the allocation custody account of the corresponding distribution center is obtained, wherein the allocation custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse;
[0040] Obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center;
[0041] Generate basic configuration of delivery orders corresponding to all the detailed orders according to the preset delivery algorithm;
[0042] According to the basic configuration of the delivery order, the distribution can be started for the general purchase order through the circulation of the distribution custody account.
[0043] The present invention has at least the following beneficial effects:
[0044] Based on further analysis and research of existing technical problems, the present invention recognizes that the technology cannot achieve distribution from multiple distribution centers, cannot achieve shipping from multiple warehouses in a distribution center, cannot achieve alternative distribution when the distribution center inventory cannot meet the store's demand for goods, and cannot achieve the retention of purchase orders.
[0045] The present invention obtains multiple requisitions from stores to be allocated, aggregates the multiple requisitions to generate a general requisition; obtains the available custody account of the corresponding distribution center according to the stores to be allocated, wherein the available custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse; obtains all the detailed orders under the general requisition, and determines that the goods and gifts corresponding to the detailed orders are in the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center; generates the basic configuration of the delivery order corresponding to all the detailed orders according to the preset delivery algorithm; and starts to allocate the general requisition according to the basic configuration of the delivery order by cyclically using the available custody account. The present invention supports flexible and diverse business scenarios of request, delivery and distribution of goods through rich configurations. It can realize requesting goods from multiple distribution centers, shipping from multiple warehouses of distribution centers, distribution of goods by substitutes from distribution centers, and multiple distribution when the inventory of the requisition is insufficient.
[0046] Compared with the prior art, through the solution of the present invention, enterprises can set up diversified distribution centers for their own management needs, achieve the best configuration to match their own needs, meet the store's demand for goods as much as possible, and improve the store's operating efficiency and the operating cost of the distribution center. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of a flow chart of a method for requesting and allocating goods provided by an embodiment of the present invention;
[0048] Figure 2 A schematic diagram of basic configuration of delivery and distribution of goods provided in a method for requesting and distributing goods according to an embodiment of the present invention;
[0049] Figure 3 A schematic diagram of a first delivery and distribution flow chart of a method for requesting and distributing goods in one embodiment of the present invention;
[0050] Figure 4 A schematic diagram of a second delivery and distribution flow chart of a method for requesting and distributing goods in one embodiment of the present invention;
[0051] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] This application provides methods for requesting and distributing goods, such as Figure 1 As shown, the following steps are included:
[0054] Obtain multiple requisitions from stores to be allocated, and aggregate the multiple requisitions to generate a general requisition;
[0055] According to the store to be allocated, the allocation custody account of the corresponding distribution center is obtained, wherein the allocation custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse;
[0056] Obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center;
[0057] Generate basic configuration of delivery orders corresponding to all the detailed orders according to the preset delivery algorithm;
[0058] According to the basic configuration of the delivery order, the distribution can be started for the general purchase order through the circulation of the distribution custody account.
[0059] In one embodiment, the method for splitting the goods requested by the stores to be allocated is to reject the insufficient part and retain the insufficient part;
[0060] Wherein, when the shortage is rejected and the distribution center cannot meet the store's demand for goods, the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the delivery of the request order is completed;
[0061] The insufficient part is reserved for when the distribution center cannot meet the store's demand for goods, then the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the requisition is reserved, and the requisition will be delivered again after the goods arrive at the distribution center.
[0062] In one embodiment, the basic configuration of generating the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm includes:
[0063] The basic configuration of the delivery order is generated after loading the distribution prohibition and restriction strategy, loading the distribution batch number setting strategy, loading the warehouse whole and loose parts distribution strategy, loading the definition of distribution relationship, loading the retail store definition distribution setting, loading the distribution price, loading the special distribution price and the distribution validity period limit according to the general purchase order.
[0064] In one embodiment, the step of starting to allocate goods to the general purchase order according to the basic configuration of the delivery order and circulating the allocable custody account comprises:
[0065] Determine whether the shipping warehouse can allocate available inventory. If the allocated quantity allocqty>0, execute the logic of generating a delivery order. If the quantity is not allocated, execute the replacement logic, use substitutes for distribution and matching, modify the goods on the requisition to substitutes, and execute the matching logic. After executing the above logic, if the store's requisition demand wantqty>0, find out whether there is a superior distribution center. If there is a superior distribution center, modify the distribution center of the requisition to the superior distribution center to execute the distribution and matching logic.
[0066] In the above-mentioned method of requesting and distributing goods, a variety of flexible and diverse business scenarios of requesting, distributing and distributing goods are supported through rich configurations. It can realize requesting goods from multiple distribution centers, delivery from multiple warehouses of distribution centers, distribution of goods from substitutes of distribution centers, and multiple distribution when the inventory of the request order is insufficient.
[0067] Compared with the prior art, through the solution of the present invention, enterprises can set up diversified distribution centers for their own management needs, achieve the best configuration to match their own needs, meet the store's demand for goods as much as possible, and improve the store's operating efficiency and the operating cost of the distribution center.
[0068] In one embodiment, Figure 2 The figure shows the design of the pre-basic definition required for the goods request, delivery and distribution process of this embodiment.
[0069] The retail store definition is as follows: The method of splitting the request for goods: reject the insufficient part and keep the insufficient part. Among them, the rejection of the insufficient part: the distribution center cannot meet the store's request for goods, and the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the delivery of the request order is completed. Among them, the retention of the insufficient part: the distribution center cannot meet the store's request for goods, and the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the request order is retained. After the goods arrive at the distribution center, the request order can be delivered again.
[0070] Define distribution centers: Define the relationship between distribution centers and stores.
[0071] Distribution level: Stores can define multiple distribution centers and determine the distribution priority based on the distribution level of the distribution center.
[0072] Custody account corresponding to the distribution center: define the shipping warehouse of the distribution center, multiple warehouses can be defined.
[0073] Distribution center corresponding to the distribution object: define the list of stores that the distribution center distributes to.
[0074] Definition of distribution substitutes: Substitutes are defined based on the retail center plus store dimensions. When a distribution center cannot meet the store's demand for goods, and there is an alternative strategy and the substitute can meet the store's demand for goods, the goods will be distributed using the substitute.
[0075] Delivery validity period limitation: supports defining the delivery validity period at the global level, distribution center level, and product level. When the validity period of the inventory products in the distribution center is less than the delivery validity period, distribution is not allowed.
[0076] Delivery price setting: define delivery relationship: set delivery price type and markup rate of delivery store.
[0077] Special delivery activity management: define special delivery prices based on store classification + product dimensions.
[0078] Special delivery price management: define special delivery prices based on store + product dimensions.
[0079] Special delivery markup rate management (product classification): define the special markup rate based on store + product classification dimensions.
[0080] Special delivery markup rate management: define special markup rate based on store + product dimensions.
[0081] Said Figure 3 and Figure 4 It is a flow chart for requesting and delivering goods. The requesting orders from the same store are combined, and different goods are directly summarized under the same general order. One order is retained for the same product, and the quantities of the detailed orders are added together. Combining orders facilitates the operation of the distribution center, improves the efficiency of operation and delivery, and also facilitates the store to receive goods.
[0082] Retrieve the allocable custody account defined under the distribution center, retrieve all the detailed orders under the requisition, retrieve the distribution gift document rules set by the distribution center, determine whether the goods and gifts are generated under the same distribution order, load the basic configuration required by the distribution algorithm, load the distribution prohibition and restriction sales strategy, load the distribution batch number setting strategy, load the warehouse whole and loose parts distribution strategy, load the defined distribution relationship, load the retail store definition request for distribution settings, load the distribution price, load the special distribution price (special distribution price < special distribution activity < special distribution point rate), distribution validity limit (global level < distribution center level < product level), circulate the allocable custody account to start distributing goods to the requisition, if the allocated quantity allocqty>0, execute the logic of generating a distribution order, if the quantity is not allocated, execute the logic of replacing goods, use substitutes for distribution and distribution, modify the goods on the requisition to substitutes to execute the distribution logic, after executing the above logic, the store's request demand wantqty>0, find out whether there is a superior distribution center, if there is a superior distribution center, modify the distribution center of the requisition to the superior distribution center to execute the distribution and distribution logic.
[0083] It should be understood that although Figure 1The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0084] In one embodiment, a system for requesting and allocating goods is provided, wherein:
[0085] Store module: used to obtain multiple requisitions from stores to be allocated goods, and aggregate the multiple requisitions to generate a general requisition;
[0086] Distribution center module: used to obtain the corresponding distribution center's available custody account according to the store to be distributed, wherein the available custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse;
[0087] Determination module: used to obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center;
[0088] Configuration generation module: used to generate the basic configuration of the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm;
[0089] Distribution module: used to start distributing goods to the general purchase order according to the basic configuration of the distribution order and the configurable custody account.
[0090] In one embodiment, the method for splitting the goods requested by the stores to be allocated is to reject the insufficient part and retain the insufficient part;
[0091] Wherein, when the shortage is rejected and the distribution center cannot meet the store's demand for goods, the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the delivery of the request order is completed;
[0092] The insufficient part is reserved for when the distribution center cannot meet the store's demand for goods, then the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the requisition is reserved, and the requisition will be delivered again after the goods arrive at the distribution center.
[0093] In one embodiment, the basic configuration of generating the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm includes:
[0094] The basic configuration of the delivery order is generated after loading the distribution prohibition and restriction strategy, loading the distribution batch number setting strategy, loading the warehouse whole and loose parts distribution strategy, loading the definition of distribution relationship, loading the retail store definition distribution setting, loading the distribution price, loading the special distribution price and the distribution validity period limit according to the general purchase order.
[0095] In one embodiment, the step of starting to allocate goods to the general purchase order according to the basic configuration of the delivery order and circulating the allocable custody account comprises:
[0096] Determine whether the shipping warehouse can allocate available inventory. If the allocated quantity allocqty>0, execute the logic of generating a delivery order. If the quantity is not allocated, execute the replacement logic, use substitutes for distribution and matching, modify the goods on the requisition to substitutes, and execute the matching logic. After executing the above logic, if the store's requisition demand wantqty>0, find out whether there is a superior distribution center. If there is a superior distribution center, modify the distribution center of the requisition to the superior distribution center to execute the distribution and matching logic.
[0097] For the specific definition of the goods request and goods matching system, please refer to the definition of the goods request and goods matching method above, which will not be repeated here. Each module in the above-mentioned goods request and goods matching system can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0098] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input system connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for requesting and distributing goods is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse, etc.
[0099] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0100] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, which involves all or part of the processes in the above-mentioned embodiment method.
[0101] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which involves all or part of the processes in the above-mentioned embodiment method.
[0102] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0103] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0104] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for requesting and allocating goods, characterized in that: The method comprises: The relationship between the distribution center and the store is predefined, including: a. Distribution level: the store defines multiple distribution centers, and the distribution priority is determined according to the distribution level of the distribution center; b. Distribution center corresponding custody account: define the delivery warehouse of the distribution center, and multiple definitions are allowed; c. Distribution center corresponding distribution object: define the list of stores delivered by the distribution center; Obtain multiple requisitions from stores to be allocated, and aggregate the multiple requisitions to generate a general requisition; According to the store to be allocated, the allocation custody account of the corresponding distribution center is obtained, wherein the allocation custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse; Obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center; Generate basic configuration of delivery orders corresponding to all the detailed orders according to the preset delivery algorithm; According to the basic configuration of the delivery order, the circulated storable account starts to distribute the goods to the general order; The method of splitting the requested goods from the stores to be allocated is to reject the insufficient part and retain the insufficient part; Wherein, when the shortage is rejected and the distribution center cannot meet the store's demand for goods, the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the delivery of the request order is completed; The insufficient part is reserved for when the distribution center cannot meet the store's demand for goods, then the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the requisition is reserved, and the requisition is delivered again after the goods arrive at the distribution center; The basic configuration of generating the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm includes: Generate the basic configuration of the delivery order after loading the distribution prohibition and restriction strategy, loading the distribution batch number setting strategy, loading the warehouse bulk distribution strategy, loading the definition of distribution relationship, loading the retail store definition distribution setting, loading the distribution price, loading the special distribution price and the distribution validity period limit according to the general order for goods; The step of starting to distribute goods to the general order according to the basic configuration of the delivery order by circulating the configurable custody account comprises: Determine whether the shipping warehouse can allocate available inventory. If the allocated quantity allocqty>0, execute the logic of generating a delivery order. If the quantity is not allocated, execute the replacement logic, use substitutes for distribution and allocation, modify the goods on the requisition to substitutes, and execute the allocation logic. After executing the above logic, if the store's request for goods wantqty>0, find out whether there is a superior distribution center. If there is a superior distribution center, modify the distribution center of the requisition to the superior distribution center to execute the distribution and allocation logic.
2. A system for requesting and allocating goods, characterized in that: The system comprises: Store module: used to obtain multiple requisitions from stores to be allocated goods, and aggregate the multiple requisitions to generate a general requisition; Distribution center module: used to obtain the corresponding distribution center's available custody account according to the store to be allocated, wherein the available custody account includes the shipping warehouse corresponding to the distribution center, and the distribution center corresponds to at least one shipping warehouse; pre-define the relationship between the distribution center and the store, including: a. Distribution level: the store defines multiple distribution centers, and the distribution priority is determined according to the distribution level of the distribution center; b. Custody account corresponding to the distribution center: define the shipping warehouse of the distribution center, and multiple definitions are allowed; c. Distribution object corresponding to the distribution center: define the list of stores distributed by the distribution center; Determination module: used to obtain all detailed orders under the general purchase order, and determine whether the goods and gifts corresponding to the detailed orders are on the same delivery order according to the detailed orders and the delivery gift document rules set by the distribution center; Configuration generation module: used to generate the basic configuration of the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm; Distribution module: used to start distributing goods to the general order according to the basic configuration of the distribution order and the configurable custody account; The basic configuration of generating the delivery orders corresponding to all the detailed orders according to the preset delivery algorithm includes: Generate the basic configuration of the delivery order after loading the distribution prohibition and restriction strategy, loading the distribution batch number setting strategy, loading the warehouse bulk distribution strategy, loading the definition of distribution relationship, loading the retail store definition distribution setting, loading the distribution price, loading the special distribution price and the distribution validity period limit according to the general order for goods; The step of starting to distribute goods to the general order according to the basic configuration of the delivery order by circulating the configurable custody account comprises: Determine whether the shipping warehouse can allocate available inventory. If the allocated quantity all locqty>0, execute the logic of generating a delivery order. If the quantity is not allocated, execute the replacement logic, use substitutes for distribution and matching, modify the goods on the requisition to substitutes, and execute the matching logic. After executing the above logic, if the store's demand for goods wantqty>0, find out whether there is a superior distribution center. If there is a superior distribution center, modify the distribution center of the requisition to the superior distribution center to execute the distribution and matching logic.
3. The system according to claim 2, characterized in that The method of splitting the requested goods from the stores to be allocated is to reject the insufficient part and retain the insufficient part; Wherein, when the shortage is rejected and the distribution center cannot meet the store's demand for goods, the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the delivery of the request order is completed; The insufficient part is reserved for when the distribution center cannot meet the store's demand for goods, then the existing inventory of the distribution center is allocated to the store to generate a delivery order, and the requisition is reserved, and the requisition will be delivered again after the goods arrive at the distribution center.
4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method for requesting and allocating goods according to claim 1 are implemented.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for requesting and allocating goods according to claim 1 are implemented.
