Method, apparatus, device, and storage medium for generating item documents

By adding controls to the item acceptance interface of the purchase and sale system, the order data of the associated items is automatically obtained and the return or exchange documents are generated, the problem of incorrect input of item return data in the existing system is solved, ensuring the accuracy and efficiency of the documents.

CN113988990BActive Publication Date: 2025-07-18BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111316156.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-08
Publication Date
2025-07-18
Estimated Expiration
2041-11-08

AI Technical Summary

Technical Problem

The existing purchase and sales and inventory system does not support order association during the product acceptance process, which leads to errors in corporate employees when manually entering items and returning data, affecting the accuracy of the documents.

Method used

Add controls to the item acceptance interface, and automatically obtain order data from the database by obtaining item association instructions, generate return orders or exchange details, reduce manual input, and ensure the accuracy of the documents.

Benefits of technology

It realizes automatic generation of item documents, reduces the workload of manual operations by personnel, and improves the accuracy of item returns and exchange documents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113988990B_ABST
    Figure CN113988990B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment, and storage medium for generating an item document. The method for generating the item document includes: obtaining an item association indication, which is used to indicate the association of a first item with a second item, where the first item is the item to be currently inspected and accepted, and the second item is the returned item associated with the first item. Obtaining the order data of the second item from the database according to the associated item indication, and generating a return order for the second item according to the order data of the second item. The above solution realizes the automatic generation of the return order and ensures the accuracy of the item return document.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data processing, and particularly to a method, apparatus, device and storage medium for generating an item document. Background Art

[0002] With the rapid development of information technology, the management application program for enterprise purchase, sale and inventory makes this dynamic purchase, sale and inventory process more organized. Applying purchase, sale and inventory management not only makes the purchase, sale and inventory management of the enterprise immediate, but also enables the purchase, sale and inventory management to achieve cross-regional management in combination with Internet technology.

[0003] The purchase, sale and inventory system is a full-function business management software integrating "purchase, sale, inventory and finance", mainly applied to production enterprises of a certain scale, mainly for controlling the production process and finance. Enterprise employees can input, modify or query data in real time, and data export is supported.

[0004] Currently, in the product acceptance link of the purchase, sale and inventory system, enterprise employees can submit the acceptance result on the system after confirming the receipt of a certain order product. However, the current system does not support order association in the acceptance link, and the system function needs to be improved. Summary of the Invention

[0005] The embodiments of the present application provide a method, apparatus, device and storage medium for generating an item document, which can automatically generate an item document and ensure the accuracy of the item document.

[0006] The first aspect of the embodiments of the present application provides a method for generating an item document, including:

[0007] Obtaining an item association indication, which is used to indicate associating a first item with a second item, where the first item is an item to be currently accepted, and the second item is a returned item associated with the first item;

[0008] Obtaining the order data of the second item from the database according to the item association indication;

[0009] Generating a return note for the second item according to the order data of the second item.

[0010] In an optional embodiment of the first aspect of the present application, the item association indication includes the returned quantity of the second item; and generating the return note for the second item according to the order data of the second item includes:

[0011] Generating a return note for the second item according to the order data of the second item and the returned quantity of the second item.

[0012] In an alternative embodiment of the first aspect of the present application, the item association indication includes the actual acceptance quantity of the first item and the return quantity of the second item; the method further includes:

[0013] Obtain the order data of the first item and the second item from the database according to the item association indication;

[0014] Generate an exchange details list according to the order data of the first item and the second item, the actual acceptance quantity of the first item, and the return quantity of the second item; the first item is the item to be exchanged in the exchange details list, and the second item is the item to be returned in the exchange details list.

[0015] In an alternative embodiment of the first aspect of the present application, the obtaining of the item association indication includes:

[0016] In response to the user's selection operation on the first control on the item acceptance interface, display a first window on the item acceptance interface; the first control is used to trigger the selection of the returned item associated with the first item, and the first window displays the shipping records of the shipped items available for the user to select;

[0017] In response to the user's first operation on the second item in the first window, obtain the item association indication.

[0018] In an alternative embodiment of the first aspect of the present application, the obtaining of the item association indication in response to the user's first operation on the second item in the first window includes:

[0019] In response to the user's selection operation on the second item in the first window, obtain the shipping record of the second item, and the shipping record of the second item includes the shipping quantity of the second item;

[0020] Determine the return quantity of the second item in the item association indication according to the shipping record of the second item, and the return quantity of the second item is equal to the shipping quantity of the second item.

[0021] In an alternative embodiment of the first aspect of the present application, the obtaining of the item association indication in response to the user's first operation on the second item in the first window includes:

[0022] In response to the user's selection operation on the second item in the first window and the input operation on the return quantity of the second item, obtain the return quantity of the second item in the item association indication, and the return quantity of the second item is less than or equal to the shipping quantity of the second item.

[0023] In an alternative embodiment of the first aspect of the present application, before the first window is displayed on the item acceptance interface, the method further includes:

[0024] Obtain the warehouse shipment data within a preset time period from the database, where the warehouse shipment data includes the names and shipment quantities of the shipped items within the preset time period;

[0025] Correspondingly, the first window displays the names and shipment quantities of the shipped items available for the user to select within the preset time period.

[0026] In an alternative embodiment of the first aspect of the present application, the method further includes:

[0027] Display the shipment records of the shipped items available for the user to select in the first window in the form of a list.

[0028] In an alternative embodiment of the first aspect of the present application, the method further includes:

[0029] Display the shipment records of the shipped items available for the user to select in the first window in any of the following ways:

[0030] Display the shipment records of each shipped item in sequence according to the order of the shipment time of the items from the latest to the earliest; or, display the shipment records of each shipped item in sequence according to the similarity degree of the items to the first item from the highest to the lowest.

[0031] A third aspect of the embodiments of the present application provides an item document generation device, including:

[0032] An acquisition module, configured to acquire an item association indication for indicating the association of a first item with a second item, where the first item is the item to be currently accepted, and the second item is the returned item associated with the first item;

[0033] The acquisition module is further configured to acquire the order data of the second item from the database according to the item association indication;

[0034] A processing module, configured to generate a return form for the second item according to the order data of the second item.

[0035] In an alternative embodiment of the second aspect of the present application, the item association indication includes the returned quantity of the second item; the processing module is configured to:

[0036] Generate a return form for the second item according to the order data of the second item and the returned quantity of the second item.

[0037] In an alternative embodiment of the second aspect of the present application, the item association indication includes the actual acceptance quantity of the first item and the return quantity of the second item; the obtaining module is configured to:

[0038] Obtain the order data of the first item and the second item from the database according to the item association indication;

[0039] The processing module is configured to generate an exchange details list according to the order data of the first item and the second item, the actual acceptance quantity of the first item, and the return quantity of the second item; the first item is the exchange item in the exchange details list, and the second item is the returned item in the exchange details list.

[0040] In an alternative embodiment of the second aspect of the present application, the item document generation device further includes: a display module; the display module is configured to:

[0041] In response to the user's selection operation on the first control on the item acceptance interface, display a first window on the item acceptance interface; the first control is used to trigger the selection of the returned item associated with the first item, and the first window displays the shipping records of the shipped items available for the user to select;

[0042] The obtaining module is configured to obtain the item association indication in response to the user's first operation on the second item in the first window.

[0043] In an alternative embodiment of the second aspect of the present application, the obtaining module is configured to:

[0044] In response to the user's selection operation on the second item in the first window, obtain the shipping record of the second item, and the shipping record of the second item includes the shipping quantity of the second item;

[0045] Determine the return quantity of the second item in the item association indication according to the shipping record of the second item, and the return quantity of the second item is equal to the shipping quantity of the second item.

[0046] In an alternative embodiment of the second aspect of the present application, the obtaining module is configured to:

[0047] In response to the user's selection operation on the second item in the first window and the input operation on the return quantity of the second item, obtain the return quantity of the second item in the item association indication, and the return quantity of the second item is less than or equal to the shipping quantity of the second item.

[0048] In an alternative embodiment of the second aspect of the present application, before the display module displays the first window on the item acceptance interface, the acquisition module is configured to:

[0049] Obtain warehouse shipment data within a preset time period from a database, where the warehouse shipment data includes the names and shipment quantities of the shipped items within the preset time period;

[0050] The display module is configured to display, in the first window, the names and shipment quantities of the shipped items available for the user to select within the preset time period.

[0051] In an alternative embodiment of the second aspect of the present application, the display module is configured to display, in the first window in the form of a list, the shipment records of the shipped items available for the user to select.

[0052] In an alternative embodiment of the second aspect of the present application, the display module displays, in the first window, the shipment records of the shipped items available for the user to select in any of the following manners:

[0053] Display the shipment records of each shipped item in sequence in the order from the latest to the earliest shipment time of the items; or display the shipment records of each shipped item in sequence in the order from the highest to the lowest similarity degree of the items to the first item.

[0054] A third aspect of the embodiments of the present application provides an electronic device, including:

[0055] A memory;

[0056] A processor; and

[0057] A computer program;

[0058] Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the method described in any one of the first aspect.

[0059] A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method described in any one of the first aspect.

[0060] A fifth aspect of the embodiments of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the method described in any one of the first aspect.

[0061] An embodiment of the present application provides a method, apparatus, device, and storage medium for generating an item document. Among them, the method for generating an item document includes: obtaining an item association indication, which is used to indicate the association of a first item with a second item, where the first item is an item to be inspected currently, and the second item is a returned item associated with the first item. Obtaining the order data of the second item from the database according to the associated item indication, and generating a return order for the second item according to the order data of the second item. The above solution realizes the automatic generation of the return order and ensures the accuracy of the item return document. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0063] Figure 1 A schematic diagram of the scenario of the method for generating an item document provided by an embodiment of the present application;

[0064] Figure 2 A flowchart of the method for generating an item document provided by an embodiment of the present application Figure 1 ;

[0065] Figure 3 A flowchart of the method for generating an item document provided by an embodiment of the present application Figure 2 ;

[0066] Figure 4 A schematic diagram of the item inspection interface provided by an embodiment of the present application Figure 1 ;

[0067] Figure 5 A schematic diagram of the change of the item inspection interface provided by an embodiment of the present application;

[0068] Figure 6 A schematic diagram of the item inspection interface provided by an embodiment of the present application Figure 2 ;

[0069] Figure 7 A flowchart of the method for generating an item document provided by an embodiment of the present application Figure 3 ;

[0070] Figure 8 A schematic diagram of the structure of the device for generating an item document provided by an embodiment of the present application;

[0071] Figure 9 A hardware structure diagram of the electronic device provided by an embodiment of the present application.

[0072] Through the above-mentioned drawings, specific embodiments of the present application have been shown, and more detailed descriptions will be provided hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by reference to specific embodiments. Detailed Description of the Embodiments

[0073] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the scope of protection of the present application.

[0074] The terms "first", "second", etc. in the specification, claims, and the above-mentioned drawings of the embodiments of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0075] It should be understood that the terms "including" and "having" and any variations thereof used herein are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device 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 not clearly listed or inherent to these processes, methods, products, or devices.

[0076] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect corresponding relationship between two entities, may also indicate an associated relationship between the two, or may be a relationship such as indication and being indicated, configuration and being configured, etc.

[0077] Before introducing the method for generating an item document provided by the present application, the application scenario of this method will be briefly introduced first. Figure 1 This is a schematic diagram of the scenario for the method for generating an item document provided by the embodiments of the present application. As Figure 1 shown, this scenario includes: a terminal device 11 used by a user and a server 12, and the terminal device 11 is communicatively connected to the server 12. The user accesses the server 12 through the terminal device 11 for data query and data update (such as adding data, deleting data, modifying data, etc.). The server 12 provides a data query service and can return a data query result to the terminal device 11, and the data query result can be presented in the form of a table, graphics, text, etc.

[0078] Exemplarily, the server 12 can be the server of an enterprise's production, inventory, and sales system. This server stores data on various links such as production, warehousing, sales, outbound, and acceptance of items, such as inbound orders, sales orders, sales outbound orders, acceptance orders, exchange detail orders, return orders, etc. Employees of each department in the enterprise access the server through their respective terminal devices to query or update the data of the above-mentioned various links, realizing the online operation of the enterprise's production, inventory, and sales data, and improving the work efficiency of enterprise production and sales management.

[0079] Based on the above application scenario, currently in the inventory management system, the generation of item documents for each link requires corresponding operators to manually input data. However, in the scenario of returns and exchanges, the outbound items may be related to the shipped items, and errors may occur when the operator manually inputs relevant data, such as inputting the order number and shipped quantity of the items to be returned that have been shipped. Therefore, the functions of the inventory management system need to be further improved.

[0080] The embodiment of the present application provides a method for generating item documents. The main idea is as follows: In the item acceptance link, a control is added to the item acceptance interface of the inventory management system. This control can be used to trigger the selection of related items of the accepted item. The related items of the accepted item include the shipped items within a preset period. After the operator selects the related item, the system obtains the relevant data of the accepted item and the related item, and automatically generates a return order, an exchange detail order, etc. The above solution reduces the number of times of manual input of documents by personnel, realizes the automatic generation of item documents, and ensures the accuracy of the documents.

[0081] The technical solution provided by the embodiment of the present application will be described in detail below through specific embodiments. It should be noted that the technical solution provided by the embodiment of the present application may include some or all of the following contents. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0082] Figure 2 is a flowchart of the method for generating item documents provided by the embodiment of the present application Figure 1 The method provided in this embodiment is applicable to Figure 1 the server shown. As Figure 2 shown, the method provided in this embodiment includes the following steps:

[0083] Step 101: Obtain an item association indication, which is used to indicate the association of a first item with a second item. The first item is the item to be currently accepted, and the second item is the returned item associated with the first item.

[0084] Step 102: Obtain the order data of the second item from the database according to the item association indication.

[0085] Step 103: Generate a return form for the second item based on the order data of the second item.

[0086] In an alternative embodiment of this embodiment, the item association indication includes the returned quantity of the second item. The returned quantity of the second item is the quantity entered by the user in the first window of the item acceptance interface, and the returned quantity of the second item is less than or equal to the ordered and shipped quantity of the second item. Generate a return form for the second item based on the order data of the second item obtained from the database and the returned quantity of the second item in the item association indication. The return form for the second item includes information such as the original order number, order time, shipping time, shipped quantity, and returned quantity of the second item.

[0087] The above embodiment can flexibly set the returned quantity of the second item and return all or part of the shipped second item according to the actual situation.

[0088] In an alternative embodiment of this embodiment, the item association indication does not include the returned quantity of the second item. By default, the returned quantity of the second item is equal to the shipped quantity of the second item, that is, the same number of second items shipped are returned. Generate a return form for the second item directly based on the order data of the second item obtained from the database.

[0089] The method for generating item documents provided in this embodiment does not require manual entry of various data in the item return form, such as the original order number, shipping time of the original order, shipped quantity, etc. By adding the function of item association in the acceptance link of the replacement item (i.e., the first item), while realizing the association between the replacement item and the returned item, it automatically generates a return form for the returned item, reduces the workload of manual operation, and ensures the accuracy of the item return document.

[0090] The above embodiment describes how to generate an item return form from the perspective of server backend processing. The following embodiment describes how to generate an item return form from the perspective of the server front-end interface.

[0091] Figure 3 Schematic flow of the method for generating item documents provided in the embodiments of the present application Figure 2 As Figure 3 shown, the method provided in this embodiment includes the following steps:

[0092] Step 201: In response to the user's selection operation on the first control on the item acceptance interface, display a first window on the item acceptance interface.

[0093] Among them, the first control is used to trigger the selection of the returned item associated with the first item. The first item is the item to be accepted. The user can select the returned item associated with the first item through the first window. It should be understood that the returned item associated with the first item is the shipped item.

[0094] In an alternative embodiment of the present embodiment, the first window displays the shipping records of the shipped items available for the user to select. Among them, the shipping records include the name of the shipped item, the quantity shipped, the shipping time, etc.

[0095] In an alternative embodiment of the present embodiment, the shipping records of the shipped items available for the user to select are displayed in the first window in the form of a list. For the specific display form of the item shipping records in the first window, please refer to Figure 5 .

[0096] In an alternative embodiment of the present embodiment, the shipping records of each shipped item are sequentially displayed in the order from the latest to the earliest shipping time of the items.

[0097] Exemplarily, taking the display of item shipping records in the form of a list as an example, assuming the current date is October 15th, and the shipping dates of items a, b, c, and d are October 14th, October 12th, October 11th, and October 10th respectively. In the order from the latest to the earliest shipping time of the items, the shipping records of items a, b, c, and d are sequentially displayed from top to bottom in the list.

[0098] The above embodiment facilitates the operator to quickly find the items that need to be returned according to the shipping time.

[0099] In an alternative embodiment of the present embodiment, the shipping records of each shipped item are sequentially displayed in the order from the highest to the lowest similarity degree of the item to the first item.

[0100] Exemplarily, taking the display of item shipping records in the form of a list as an example, assuming the first item is a thermos cup, and the shipped items displayed in the item shipping records are related items to the thermos cup. If the first item is specifically a silver 500ml thermos cup, and among the shipped items, item a is a black 500ml thermos cup, item b is a silver 500ml thermos cup, and item c is a black 300ml thermos cup, the similarity degree between the shipped items and the first item can be calculated according to the attributes such as the color and capacity of the thermos cup. In the order from the highest to the lowest similarity degree, the shipping records of items b, a, and c are sequentially displayed from top to bottom in the list.

[0101] The above embodiment facilitates the operator to quickly find the items that need to be returned according to the item similarity degree.

[0102] Optionally, in some embodiments, the first item and the second item (the item to be inspected and the item to be returned) may not be of the same type of item either.

[0103] Optionally, in some embodiments, before the first window is displayed on the item acceptance interface, the following steps are included: obtaining warehouse shipment data within a preset time period from a database, where the warehouse shipment data includes the names and shipment quantities of the shipped items within the preset time period. Correspondingly, the first window displays the names and shipment quantities of the shipped items within the preset time period. Exemplarily, the preset time period is within 1 week, or within one month, or in the last three days.

[0104] In the above embodiments, the shipped items displayed in the first window are not all the historical shipped items. The first window only displays the shipped items within the preset time period. The above design mainly takes into account the user's return and exchange cycle, and there is usually a demand for related items within the return and exchange cycle. To facilitate the operator to quickly find the returned items associated with the items to be accepted, only the shipped items in the recent period can be displayed in the first window.

[0105] Step 202: In response to the user's first operation on the second item in the first window, obtain an item association indication.

[0106] Optionally, the item association indication includes the return quantity of the second item. Here, the second item is the returned item associated with the shipped first item selected by the user. The return quantity of the second item is less than or equal to the shipment quantity of the second item.

[0107] In an alternative embodiment of this embodiment, the first operation includes the user's selection operation on the second item in the first window. Specifically, in response to the user's selection operation on the second item in the first window, obtain the shipment record of the second item, where the shipment record of the second item includes the shipment quantity of the second item; determine the return quantity of the second item in the item association indication according to the shipment record of the second item. In this embodiment, the return quantity of the second item is equal to the shipment quantity of the second item. This embodiment mainly aims at the scenario where all the shipped items are returned. When the operator selects the second item, it is default that the return quantity of the second item is equal to the shipment quantity of the second item, and selecting means returning.

[0108] Exemplarily, Figure 4 This is a schematic diagram of the item acceptance interface provided by the embodiments of the present application Figure 1 。 Figure 4 The shown item acceptance interface is an item acceptance interface. The operator accepts the shipped items that the user has received on this interface, such as Figure 4 Item 1, Item 2, etc. among them. The quantity that can be accepted refers to the quantity of the shipped items, and the actual accepted quantity refers to the quantity of the items that the user has confirmed to receive among the shipped items. Therefore, the quantity that can be accepted is greater than or equal to the actual accepted quantity.

[0109] For example, 20 items 1 are sent to a user, and the user confirms receiving 20 items 1. The acceptable quantity of item 1 is equal to the actual accepted quantity. Another example is that 50 items 2 are sent to a user, and the user confirms receiving 45 items 2 and returns 5 items 2. The acceptable quantity of item 2 is greater than the actual accepted quantity.

[0110] Figure 4 The item acceptance interface shown includes multiple first controls. Each first control corresponds to an item to be accepted and is used to trigger the selection of the returned items associated with the corresponding item. For example, if item 1 to be accepted is a replacement item for a shipped item, the item association can be performed by triggering the first control corresponding to item 1.

[0111] Exemplarily, Figure 5 is a schematic diagram of the change of the item acceptance interface provided by the embodiment of the present application. Assume that the operator's terminal device includes a touch screen, and the touch screen displays Figure 4 the item acceptance interface shown. If item 1 to be accepted is a replacement item for a shipped item, the operator can directly click the first control corresponding to item 1 on the interface, and perform item association on the first window that pops up above the interface. Figure 5 The first window shown displays the item shipping records, such as shipped items a, b, c, and d, with shipping quantities of 20, 5, 7, and 15 respectively. The operator selects item a as the returned item for item 1. Figure 5 Among them, the returned quantity of item a is equal to the actual accepted quantity of item 1, both being 20, that is, the user returns all of item a and confirms receiving the same quantity of item 1.

[0112] It should be noted that in this embodiment, the actual accepted quantity of the first item and the returned quantity of the second item may be the same or different, and this embodiment does not make specific limitations on this. The illustrated item acceptance interface, first control, and first window are only used as an example, and this embodiment of the present application does not make specific limitations on this.

[0113] In an optional embodiment of this embodiment, the first operation includes the user's selection operation on the second item in the first window and the input operation on the returned quantity of the second item. Specifically, in response to the user's selection operation on the second item in the first window and the input operation on the returned quantity of the second item, the returned quantity of the second item in the item association instruction is obtained, and the returned quantity of the second item is less than or equal to the shipped quantity of the second item.

[0114] This embodiment mainly aims at the scenario where part of the shipped items are returned. After the operator selects the second item, the operator manually enters the quantity of the second item to be returned. The quantity of the second item to be returned is less than or equal to the shipped quantity of the second item. The above solution realizes customizing the returned quantity of the second item and improves the flexibility of the operation.

[0115] Exemplarily, Figure 6 is a schematic diagram of the item acceptance interface provided by the embodiment of the present application Figure 2 . As Figure 6 shown, different from the first window shown Figure 5 , the quantity corresponding to each item in the first window is editable. The default value in the editable control corresponding to each item is the shipped quantity of the item. The operator can, based on the shipped quantity of the item, enter the quantity of the item to be returned, thereby increasing the flexibility of the operation. For example, Figure 6 in the first window shown, the operator first selects item a, and on the editable control corresponding to item a, changes the quantity of item a from 20 (the default shipped quantity) to 10 (the quantity to be returned), and finally clicks the confirmation control to realize item association.

[0116] Step 203: Obtain the order data of the second item from the database according to the item association indication.

[0117] Step 204: Generate a return order for the second item according to the order data of the second item.

[0118] Optionally, generate a return order for the second item according to the order data of the second item and the returned quantity of the second item in the item association indication. The returned quantity of the second item is less than or equal to the order shipped quantity of the second item.

[0119] It should be noted that the execution subject of this embodiment is not limited to the server, but can also be a terminal device.

[0120] The method for generating an item document shown in the embodiment of the present application, based on the user's operation on the first control on the item acceptance interface, displays a first window on the item acceptance interface. The first window is used to trigger the selection of the returned item associated with the first item. Based on the second item selected by the user in the first window, a return order for the second item is generated after obtaining the returned quantity of the second item. The second item is the returned item selected by the user, which has been shipped and is associated with the first item. The above process realizes the automatic generation of the return order and ensures the accuracy of the item return document.

[0121] Figure 7 is a flow schematic diagram of the method for generating an item document provided by the embodiment of the present application Figure 3 . As Figure 7 shown, the method provided in this embodiment includes the following steps:

[0122] Step 301: Obtain an item association instruction, which is used to indicate the association of a first item with a second item. The first item is the item to be currently inspected and accepted, and the second item is the returned item associated with the first item.

[0123] Step 302: Obtain the order data of the first item and the second item from the database according to the item association instruction.

[0124] In an optional embodiment of this embodiment, the item association instruction includes the returned quantity of the second item. The returned quantity of the second item is less than or equal to the shipped quantity of the second item. The returned quantity of the second item may be the quantity entered by the user in the first window of the item inspection and acceptance interface.

[0125] In an optional embodiment of this embodiment, the item association instruction includes the actual inspected and accepted quantity of the first item. The actual inspected and accepted quantity of the first item is less than or equal to the shipped quantity of the first item. The actual inspected and accepted quantity of the first item may be the quantity entered by the user on the item inspection and acceptance interface.

[0126] In an optional embodiment of this embodiment, in response to the user's selection operation on the first control on the item inspection and acceptance interface, display the first window on the item inspection and acceptance interface; in response to the user's first operation on the second item in the first window, obtain the item association instruction; obtain the order data of the first item and the second item from the database according to the item association instruction. The item inspection and acceptance interface includes the first item to be inspected and accepted.

[0127] Step 303: Generate a replacement details list according to the order data of the first item and the second item, the actual inspected and accepted quantity of the first item, and the returned quantity of the second item.

[0128] In this embodiment, the first item is the replacement item in the replacement details list, and the second item is the returned item in the replacement details list.

[0129] The method for generating an item document provided in this embodiment does not require manual entry of various data in the replacement details list of associated items, such as the order numbers, shipping times, shipped quantities, etc. of the associated items. By adding an item association function in the inspection and acceptance link of the replacement item (i.e., the first item), while realizing the association of the replacement item and the returned item, automatically generate a replacement details list including the information of the replacement item and the returned item, reduce the workload of manual operation by personnel, and ensure the accuracy of the item replacement details document.

[0130] Exemplarily, refer to Figure 5, the first item to be inspected and accepted is item 1, and its actual inspected and accepted quantity is 20. In the first window, the operator selects the returned item associated with the first item as item a, and the returned quantity is 10. Based on the above information, a replacement details list for item 1 and item a is generated. This replacement details list includes, for example, the returned quantity of item a, the order number, the order delivery time, the returned storage time, as well as the actual inspected and accepted quantity of item 1, the order number, the order delivery time, and the order inspection time.

[0131] The method for generating an item document shown in the embodiments of the present application, based on the user's operation on the first control on the item inspection interface, displays a first window on the item inspection interface, and this first window is used to trigger the selection of the returned item associated with the first item. Based on the second item selected by the user in the first window, after obtaining the returned quantity of the second item and the actual inspected and accepted quantity of the first item, according to the order data of the first item and the second item, the actual inspected and accepted quantity of the first item, and the returned quantity of the second item, a replacement details list including the first item and the second item is generated. The second item is the returned item that the user selects, has been shipped, and is associated with the first item. The above process realizes the automatic generation of the replacement details list, ensuring the accuracy of the item replacement details document.

[0132] The returned item in the above several embodiments is also called the replacement item.

[0133] The above describes the method for generating an item document provided by the embodiments of the present application. Next, the device for generating an item document provided by the embodiments of the present application will be described.

[0134] The embodiments of the present application can divide the functional modules of the device for generating an item document according to the above method embodiments. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation. The following will be described by taking the division of each functional module corresponding to each function as an example.

[0135] Figure 8 is a schematic structural diagram of the device for generating an item document provided by the embodiments of the present application. As Figure 8 shown, the device 400 for generating an item document provided in this embodiment includes: an acquisition module 401, a processing module 402, and a display module 403.

[0136] An acquisition module 401, configured to acquire an item association indication for indicating the association of a first item with a second item, where the first item is an item to be accepted currently, and the second item is a returned item associated with the first item;

[0137] The acquisition module 401 is further configured to acquire order data of the second item from a database according to the item association indication;

[0138] A processing module 402, configured to generate a return note for the second item according to the order data of the second item.

[0139] In an optional embodiment of this embodiment, the item association indication includes the returned quantity of the second item; the processing module 402 is configured to:

[0140] Generate a return note for the second item according to the order data of the second item and the returned quantity of the second item.

[0141] In an optional embodiment of this embodiment, the item association indication includes the actual acceptance quantity of the first item and the returned quantity of the second item; the acquisition module 401 is configured to:

[0142] Acquire order data of the first item and the second item from the database according to the item association indication;

[0143] The processing module 402 is configured to generate an exchange details list according to the order data of the first item and the second item, the actual acceptance quantity of the first item, and the returned quantity of the second item; the first item is the item to be exchanged in the exchange details list, and the second item is the returned item in the exchange details list.

[0144] In an optional embodiment of this embodiment, the device for generating item documents further includes: a display module 403; the display module 403 is configured to:

[0145] In response to a user's selection operation on a first control on an item acceptance interface, display a first window on the item acceptance interface; the first control is used to trigger the selection of the returned item associated with the first item, and the first window displays the shipping records of the shipped items available for the user to select;

[0146] The acquisition module 401 is configured to acquire the item association indication in response to a user's first operation on a second item in the first window.

[0147] In an optional embodiment of this embodiment, the acquisition module 401 is configured to:

[0148] In response to the user's selection operation on the second item in the first window, obtain the shipping record of the second item, where the shipping record of the second item includes the shipping quantity of the second item.

[0149] Determine the return quantity of the second item in the item association indication according to the shipping record of the second item, where the return quantity of the second item is equal to the shipping quantity of the second item.

[0150] In an alternative embodiment of this embodiment, the obtaining module 401 is configured to:

[0151] In response to the user's selection operation on the second item in the first window and the input operation on the return quantity of the second item, obtain the return quantity of the second item in the item association indication, where the return quantity of the second item is less than or equal to the shipping quantity of the second item.

[0152] In an alternative embodiment of this embodiment, before the display module 403 displays the first window on the item acceptance interface, the obtaining module 401 is configured to:

[0153] Obtain the warehouse shipping data within a preset time period from the database, where the warehouse shipping data includes the names and shipping quantities of the shipped items within the preset time period.

[0154] The display module 403 is configured to display the names and shipping quantities of the shipped items available for the user to select within the preset time period in the first window.

[0155] In an alternative embodiment of this embodiment, the display module 403 is configured to display the shipping records of the shipped items available for the user to select in the first window in the form of a list.

[0156] In an alternative embodiment of this embodiment, the display module 403 displays the shipping records of the shipped items available for the user to select in the first window in any one of the following ways:

[0157] Display the shipping records of each shipped item in sequence according to the shipping time of the items from the latest to the earliest; or display the shipping records of each shipped item in sequence according to the similarity degree of the items to the first item from the highest to the lowest.

[0158] The item document generation device provided in this embodiment can execute the technical solutions of any of the above method embodiments, and its implementation principles and technical effects are similar, which will not be elaborated here. The item document generation device can be set in the server.

[0159] Figure 9This is the hardware structure diagram of the electronic device provided by the embodiments of the present application. As Figure 9 shown, the electronic device 500 provided in this embodiment includes:

[0160] A memory 501;

[0161] A processor 502; and

[0162] A computer program;

[0163] Wherein, the computer program is stored in the memory 501 and is configured to be executed by the processor 502 to implement the technical solutions of any of the foregoing method embodiments. The implementation principles and technical effects are similar and will not be elaborated here.

[0164] Optionally, the memory 501 can be either independent or integrated with the processor 502. When the memory 501 is a device independent of the processor 502, the electronic device 500 further includes: a bus 503 for connecting the memory 501 and the processor 502.

[0165] The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by the processor 502 to implement the technical solutions of any of the foregoing method embodiments.

[0166] The embodiments of the present application provide a computer program product, including a computer program, and the computer program implements the technical solutions of any of the foregoing method embodiments when executed by a processor.

[0167] The embodiments of the present application also provide a chip, including: a processing module and a communication interface, and the processing module can execute the technical solutions of any of the foregoing method embodiments.

[0168] Further, the chip further includes a storage module (such as, a memory), the storage module is used to store instructions, the processing module is used to execute the instructions stored in the storage module, and the execution of the instructions stored in the storage module enables the processing module to execute the technical solutions of any of the foregoing method embodiments.

[0169] It should be understood that the above-mentioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly embodied as being executed and completed by a hardware processor, or by a combination of hardware and software modules in the processor.

[0170] The memory may include high-speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory, and can also be a USB flash drive, a portable hard drive, a read-only memory, a magnetic disk, or an optical disc, etc.

[0171] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience in representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.

[0172] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, magnetic disks, or optical discs. The storage medium can be any available medium accessible by a general-purpose or special-purpose computer.

[0173] An exemplary storage medium is coupled to the processor, enabling the processor to read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device.

[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating an item document, characterized in that, Including: Obtain an item association indication for indicating the association of a first item with a second item, where the first item is the item to be currently inspected and accepted, and the second item is the returned item associated with the first item; Obtain the order data of the second item from the database according to the item association indication; Generate a return note for the second item according to the order data of the second item; The obtaining of the item association indication includes: In response to a user's selection operation on a first control on the item inspection and acceptance interface, display a first window on the item inspection and acceptance interface; the first control is used to trigger the selection of the returned item associated with the first item, and the first window displays the shipping records of the shipped items available for the user to select; In response to a user's first operation on the second item in the first window, obtain the item association indication; The obtaining of the item association indication in response to a user's first operation on the second item in the first window includes: In response to a user's selection operation on the second item in the first window, obtain the shipping record of the second item, where the shipping record of the second item includes the shipping quantity of the second item; Determine the returned quantity of the second item in the item association indication according to the shipping record of the second item, and the returned quantity of the second item is equal to the shipping quantity of the second item; Or, In response to a user's selection operation on the second item in the first window and an input operation on the returned quantity of the second item, obtain the returned quantity of the second item in the item association indication, and the returned quantity of the second item is less than or equal to the shipping quantity of the second item.

2. The method according to claim 1, characterized in that, The item association indication includes the returned quantity of the second item; the generating of the return note for the second item according to the order data of the second item includes: Generate a return note for the second item according to the order data of the second item and the returned quantity of the second item.

3. The method according to claim 1, wherein The item association indication includes the actual inspected and accepted quantity of the first item and the returned quantity of the second item; the method further includes: Obtain the order data of the first item and the second item from the database according to the item association indication; Generate an exchange details list according to the order data of the first item and the second item, the actual inspected and accepted quantity of the first item, and the returned quantity of the second item; the first item is the exchange item in the exchange details list, and the second item is the returned item in the exchange details list.

4. The method according to any one of claims 1 to 3, characterized in that, Before displaying the first window on the item inspection and acceptance interface, the method further includes: Obtain the warehouse shipping data within a preset time period from the database, where the warehouse shipping data includes the names and shipping quantities of the shipped items within the preset time period; Correspondingly, the first window displays the names and shipping quantities of the shipped items available for the user to select within the preset time period.

5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Display the shipping records of the shipped items available for the user to select in the first window in the form of a list.

6. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Display the shipping records of the shipped items available for the user to select in the first window in any of the following ways: Display the shipping records of each shipped item in sequence according to the order of the shipping time of the items from the latest to the earliest; or display the shipping records of each shipped item in sequence according to the similarity degree of the items to the first item from the highest to the lowest.

7. An apparatus for generating an item document, characterized in that, Comprising: An acquisition module for acquiring an item association indication for indicating the association of a first item with a second item, where the first item is the item to be currently inspected and the second item is the returned item associated with the first item; The acquisition module is further configured to acquire the order data of the second item from the database according to the item association indication; A processing module for generating a return form for the second item according to the order data of the second item; The acquisition module is specifically configured to, in response to a user's selection operation on a first control on the item inspection interface, display a first window on the item inspection interface; the first control is used to trigger the selection of the returned item associated with the first item, and the first window displays the shipping records of the shipped items available for the user to select; In response to the user's selection operation on the second item in the first window, acquire the shipping record of the second item, where the shipping record of the second item includes the shipping quantity of the second item; Determine the returned quantity of the second item in the item association indication according to the shipping record of the second item, and the returned quantity of the second item is equal to the shipping quantity of the second item; Or In response to the user's selection operation on the second item in the first window and the input operation on the returned quantity of the second item, acquire the returned quantity of the second item in the item association indication, and the returned quantity of the second item is less than or equal to the shipping quantity of the second item.

8. An electronic device, characterized in that, Comprising: A memory; A processor; And A computer program; Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and the computer program is executed by the processor to implement the method according to any one of claims 1-6.

10. A computer program product, characterized in that, Comprising a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1-6 is implemented.

Citation Information

Patent Citations

  • Equipment after-sales information processing method based on serial number

    CN107153966A