Packing list automatic generation method, device, equipment and storage medium
By extracting the target attribute field in the order to generate a pre-shipment notice and generating a packing list based on the customer's customized packing list field, the problem of limited content and inability to meet personalized requirements is solved. Achieve efficient and accurate automatic generation of packing lists.
Patent Information
- Application Number
- CN202111171506.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-08
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2041-10-08
AI Technical Summary
The existing packing list generation method depends on the limited order content and cannot meet customer personalized requirements.
Generate a pre-shipment notice by extracting the target attribute field from the order and extracting data from the shipment notice and departure notice based on the customer's customized packing order field.
Automatically generate packing lists, avoid mistakes caused by manual participation, ensure the accuracy and richness of data, and meet the personalized needs of customers.
Smart Images

Figure CN114066347B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for automatically generating a packing list. Background Art
[0002] The packing list is an important document in the production management process. It lists the details of the packaging matters agreed upon by the buyer and seller, which is convenient for the buyer to check the goods. At present, most companies and factories fill out the forms offline and go through the approval process offline, which is inefficient and prone to errors.
[0003] In order to solve the above problems, a method for automatically generating a packing list is proposed (CN107944685A). The specific scheme is to automatically generate a packing list according to the order content and the designed packing list rule table. Although the automatic generation of the packing list is achieved in this scheme, there are the following defects: the generation of the packing list depends on the order content, and the content contained in the order is often limited, resulting in the limited content of the generated packing list, and the generation of the packing list can only be based on a pre-designed unified standard, which cannot meet the personalized requirements of customers. Summary of the invention
[0004] In view of the above-mentioned problem that the content of the generated packing list is limited and cannot meet the personalized requirements of customers, a method, device, computer equipment and storage medium for automatically generating a packing list are proposed.
[0005] To achieve the above-mentioned purpose, the first aspect of the present application provides a method for automatically generating a packing list, comprising:
[0006] When the order is approved, the target attribute field is extracted from the order and inserted into the main table of the pre-shipment notice. At the same time, the order number and product model corresponding to the order are saved as the associated order number in the main table of the pre-shipment notice, and the information table corresponding to the order number and product model is used as the associated table of the pre-shipment notice;
[0007] According to the pre-shipment notice, the intermediate links are reviewed and confirmed to determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready;
[0008] Obtain the shipping demand of the customer, and generate a shipping notice according to the shipping demand and the pre-shipping notice;
[0009] Acquire the review status of the shipping notification, and when the review status is reviewed, generate a factory departure notification and a corresponding factory departure notification number, and associate the factory departure notification number with the shipping notification number;
[0010] Obtaining the departure notification information, which includes: departure time, release order number, and departure progress;
[0011] Saving the factory departure notification information in the factory departure notification form;
[0012] The audit status of the factory departure notice is obtained. If the audit status is passed, a customer-specific file table is generated. The customer-specific file table includes: the shipping notice, the factory departure notice and the packing list. The packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields.
[0013] To achieve the above-mentioned purpose, the second aspect of the present application provides a device for automatically generating a packing list, comprising:
[0014] An extraction module is used to extract the target attribute field from the order and insert it into the main table of the pre-shipment notice after the order is approved, and save the order number and product model corresponding to the order as the associated order number in the main table of the pre-shipment notice, and use the information table corresponding to the order number and product model as the associated table of the pre-shipment notice;
[0015] A confirmation module is used to review and confirm the intermediate links according to the pre-shipment notice, and determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready;
[0016] The first generation module is used to obtain the shipping requirements of the customer and generate a shipping notice according to the shipping requirements and the pre-shipping notice;
[0017] The second generation module is used to obtain the review status of the shipping notification, and when the review status is reviewed, generate a factory departure notification and a corresponding factory departure notification number, and associate the factory departure notification number with the shipping notification number;
[0018] A saving module is used to obtain the departure notification information, wherein the departure notification information includes: departure time, release order number, and departure progress, and save the departure notification information into the departure notification form;
[0019] The third generation module is used to obtain the review status of the factory departure notice. If the review status is passed, a customer-specific file table is generated. The customer-specific file table includes: the shipping notice, the factory departure notice and the packing list. The packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields.
[0020] To achieve the above-mentioned purpose, the third aspect of the present application provides a computer device, including:
[0021] The invention comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0022] When the order is approved, the target attribute field is extracted from the order and inserted into the main table of the pre-shipment notice. At the same time, the order number and product model corresponding to the order are saved as the associated order number in the main table of the pre-shipment notice, and the information table corresponding to the order number and product model is used as the associated table of the pre-shipment notice;
[0023] According to the pre-shipment notice, the intermediate links are reviewed and confirmed to determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready;
[0024] Obtain the shipping demand of the customer, and generate a shipping notice according to the shipping demand and the pre-shipping notice;
[0025] Acquire the review status of the shipping notification, and when the review status is reviewed, generate a factory departure notification and a corresponding factory departure notification number, and associate the factory departure notification number with the shipping notification number;
[0026] Obtaining the departure notification information, which includes: departure time, release order number, and departure progress;
[0027] Saving the factory departure notification information in the factory departure notification form;
[0028] The audit status of the factory departure notice is obtained. If the audit status is passed, a customer-specific file table is generated. The customer-specific file table includes: the shipping notice, the factory departure notice and the packing list. The packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields.
[0029] To achieve the above-mentioned purpose, the fourth aspect of the present application provides a computer-readable storage medium, comprising: storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0030] When the order is approved, the target attribute field is extracted from the order and inserted into the main table of the pre-shipment notice. At the same time, the order number and product model corresponding to the order are saved as the associated order number in the main table of the pre-shipment notice, and the information table corresponding to the order number and product model is used as the associated table of the pre-shipment notice;
[0031] According to the pre-shipment notice, the intermediate links are reviewed and confirmed to determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready;
[0032] Obtain the shipping demand of the customer, and generate a shipping notice according to the shipping demand and the pre-shipping notice;
[0033] Acquire the review status of the shipping notification, and when the review status is reviewed, generate a factory departure notification and a corresponding factory departure notification number, and associate the factory departure notification number with the shipping notification number;
[0034] Obtaining the departure notification information, which includes: departure time, release order number, and departure progress;
[0035] Saving the factory departure notification information in the factory departure notification form;
[0036] The audit status of the factory departure notice is obtained. If the audit status is passed, a customer-specific file table is generated. The customer-specific file table includes: the shipping notice, the factory departure notice and the packing list. The packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields.
[0037] The above-mentioned packing list automatic generation method, device, equipment and storage medium, first, after the order is reviewed and approved, a pre-shipment notice is generated by extracting the target attribute field in the order, and at the same time, the order number and product model corresponding to the order are saved as associated order numbers in the main table of the pre-shipment notice, and the information table corresponding to the order number and product model is used as the associated table of the pre-shipment notice. By saving the order number and product model as the associated order number in the main table, a connection relationship between the main table and the associated table is established, and the target attribute field is directly extracted from the order to generate the pre-shipment notice. The intermediate process does not require human participation, thereby avoiding errors caused by human participation, and by directly associating the main table and the associated table, repeated storage of data is avoided, greatly reducing data redundancy.
[0038] Secondly, in order to further ensure the accuracy of the shipping notice, the intermediate links of the pre-shipping notice are reviewed and confirmed. Only when the confirmation is completed and it is judged that the booking conditions are met will the formal shipping notice be generated. This can effectively determine the accuracy of the shipping notice.
[0039] Secondly, the shipping notification is reviewed. Once the review is passed, a factory departure notification and the corresponding factory departure notification number are generated, and the factory departure notification number is associated with the shipping notification number. Associating the factory departure notification number with the shipping notification number facilitates subsequent traceability.
[0040] Again, when the departure notification information is obtained, the departure notification information is saved in the departure notification form, and then the departure notification form is reviewed. If the review is passed, a customer-specific file table is generated, which includes not only the shipping notification form and the departure notification form, but also the packing list. The packing list is generated by extracting data from the shipping notification form and the departure notification form based on the customer-defined packing field. Since the data of the shipping notification form and the departure notification form are accurate information that has been reviewed, and the shipping notification form and the departure notification form include not only the order content but also a series of content in the shipping process, the packing list obtained based on the shipping notification form and the departure notification form can effectively ensure the accuracy and richness of the data, and the generation of the packing list can be based on customer-defined fields, meeting the customer's personalized needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] in:
[0043] Figure 1 A flowchart of a method for automatically generating a packing list in one embodiment;
[0044] Figure 2 It is a structural block diagram of a device for automatically generating a packing list in one embodiment;
[0045] Figure 3 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0046] 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.
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] It should be noted that the terms "include", "comprises" and "have" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In the claims, specification and drawings of the present application, relational terms such as "first" and "second" are merely used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such actual relationship or order between these entities / operations / objects.
[0049] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0050] like Figure 1 As shown, a method for automatically generating a packing list is proposed, which is applied to a terminal. The method specifically includes the following steps:
[0051] Step 102, when the order is approved, the target attribute field is extracted from the order and inserted into the main table of the pre-shipment notice. At the same time, the order number and product model corresponding to the order are saved as the associated order number in the main table of the pre-shipment notice, and the information table corresponding to the order number and product model is used as the associated table of the pre-shipment notice.
[0052] Among them, the pre-shipment notice includes a main table and an associated table. In order to avoid information redundancy, only the main attribute fields (i.e., target attribute fields) in the order are extracted and inserted into the main table in the pre-shipment notice. In addition to the target attribute fields in the order content, the pre-shipment notice also includes other non-order content fields. In order to facilitate subsequent information queries and maintain data consistency, the order number and product model are maintained as associated order numbers in the pre-shipment notice, and then the information table corresponding to the order number and product model is used as an associated table. In this way, the association between the order and the pre-shipment notice is established, so that the basic information of the order and product model (such as material, model number, quantity, packaging, etc.) can be queried based on the associated table.
[0053] It can be understood as follows: the main table in the pre-shipping notice stores the unique or main information of the current document, and the associated table stores the auxiliary information required by the current document or the data information that already existed before this document was generated. In order to prevent information redundancy, there is no need to store it again and the association can be performed directly.
[0054] Step 104, review and confirm the intermediate links according to the pre-shipment notice, and determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready.
[0055] Among them, the intermediate links include: purchase and sale, production, inspection and other links. In each link, the corresponding status field is improved. For example, when the purchase and sale is completed, the corresponding field status of the purchase and sale is changed to completed. When all the intermediate links are confirmed, the booking conditions are met, and the booking conditions are the shipping conditions.
[0056] The shipping notice will be generated only when it is determined that the booking conditions have been met, thus avoiding repeated modifications to the shipping notice.
[0057] Step 106, obtaining the customer's shipping requirements, and generating a shipping notice according to the shipping requirements and the pre-shipping notice.
[0058] Among them, the customer's shipping requirements include: whether to merge orders or split orders. When the customer's shipping requirements include merging orders, the corresponding customer is found according to the order number id associated with the pre-shipment notice, and multiple orders corresponding to the customer are extracted. The pre-shipment notices corresponding to the multiple orders are merged. The merging method is to generate a new pre-shipment notice and a new pre-shipment notice number, and all orders are used as the association table of the new pre-shipment notice. When the customer's shipping requirements include splitting orders, the splitting rules are obtained, for example, whether to split according to the address or the quantity, and the pre-shipment notice is split according to the splitting rules, and multiple new pre-shipment notices are obtained, and each new pre-shipment notice corresponds to an order number.
[0059] Step 108, obtaining the review status of the shipping notification, when the review status is reviewed, generating a factory departure notification and a corresponding factory departure notification number, and associating the factory departure notification number with the shipping notification number.
[0060] Among them, when the shipping notice is reviewed, proceed to the next step to generate a factory departure notice, and associate the factory departure notice with the shipping notice, which is convenient for subsequent query and tracing.
[0061] Step 110, obtaining the factory departure notification information, the factory departure notification information includes: factory departure time, release order number, factory departure progress, and saving the factory departure notification information in the factory departure notification form.
[0062] Among them, the departure notification form needs to include the departure notification information, which includes: departure time, release order number, departure progress and relevant information of the driver. Therefore, after obtaining the departure notification form information, fill in the departure notification information in the departure notification form. The status field of the departure progress will automatically update the progress according to the status of review, outbound and release. The departure notification form will display the departure progress field (with attached status: review, outbound and release).
[0063] Step 112, obtain the review status of the factory departure notice. If the review status is passed, generate a customer-specific file table, which includes: shipping notice, factory departure notice and packing list. The packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields.
[0064] Among them, after the departure notice is reviewed and approved, the departure notice review status field is changed to passed, and then a customer-specific file table is generated. The customer-specific file table includes not only the shipping notice and the departure notice, but also the packing list, and the packing list is obtained by extracting the corresponding data from the shipping notice and the departure notice according to the customer-defined packing list fields. In one embodiment, a large number of optional packing list fields are provided to the customer in advance, and the customer can customize and select several fields from them as customer-defined packing list fields as needed. Through the above series of steps, it is first guaranteed that an accurate shipping notice and departure notice are generated, and then a packing list is generated based on the contents of the shipping notice and the departure notice. This not only makes the entire shipping process convenient and accurate, but also makes the generated packing list not only accurate but also rich in content, and the customer can customize the selected fields to meet the personalized needs of the customer.
[0065] The above-mentioned method for automatically generating a packing list, first, after the order is reviewed and approved, a pre-shipment notice is generated by extracting the target attribute field in the order, and at the same time, the order number and product model corresponding to the order are saved as the associated order number in the main table of the pre-shipment notice, and the information table corresponding to the order number and product model is used as the associated table of the pre-shipment notice. By saving the order number and product model as the associated order number in the main table, a connection relationship between the main table and the associated table is established, and the target attribute field is directly extracted from the order to generate the pre-shipment notice. The intermediate process does not require human participation, avoiding errors caused by human participation. Secondly, in order to further ensure the accuracy of the shipping notice, the intermediate links are reviewed and confirmed for the pre-shipment notice. When the confirmation is completed and it is determined that the booking conditions have been met, a formal shipping notice will be generated. This can effectively determine the accuracy of the shipping notice. Once again, the shipping notice is reviewed. Once the review is passed, a factory departure notice and the corresponding factory departure notice number are generated, and the factory departure notice number is associated with the shipping notice number. Associating the factory departure notice number with the shipping notice number is beneficial for subsequent traceability. Once again, when the factory departure notice information is obtained, the factory departure notice information is saved to the factory departure notice, and then the factory departure notice is reviewed. If the review is passed, a customer-specific file table is generated. The customer-specific file table includes not only the shipping notice, the factory departure notice, but also the packing list. The packing list is generated by extracting data from the shipping notice and the factory departure notice based on the customer-defined packing field. Since the data of the shipping notice and the factory departure notice are accurate information that has been reviewed, and the shipping notice and the factory departure notice contain not only the order content but also a series of content in the shipping process, the packing list obtained based on the shipping notice and the factory departure notice can effectively ensure the accuracy and richness of the data, and the generation of the packing list can be based on the customer-defined fields, meeting the personalized needs of customers.
[0066] In one embodiment, the packing list is obtained by extracting corresponding data from the shipping notice and the departure notice according to the customer-defined packing list fields, including: obtaining the customer-defined packing list fields and types, and determining the table structure according to the customer-defined packing list fields and types; instantiating the packing list with the determined table structure, and the instantiation includes: creating an instance object; setting basic attributes of the instance object, and persisting the basic attributes; when the basic attributes are persisted successfully, extracting corresponding data from the shipping notice and the departure notice according to the instance object to complete the generation of the packing list.
[0067] Among them, the instantiation process is the process of creating an instance object, making a one-to-one correspondence between the instance object and the field in the table structure, setting basic properties for the instance object, and essentially setting corresponding basic properties for the field, so that subsequent data extraction can be performed. The process of extracting data is to extract the data corresponding to the instance object, specifically according to the properties of the field, and compare the basic properties of the instance object with the properties of the fields in the shipping notice and the factory departure notice. If they are consistent, the data under the field is extracted as the data corresponding to the instantiation object, and the extracted data is encapsulated in the data structure, and the encapsulated data structure is sorted and paginated according to the view layer, and finally the packing list is generated.
[0068] In one embodiment, the shipping demand includes: whether to merge orders; obtaining the customer's shipping demand and generating a shipping notification according to the shipping demand and the pre-shipment notification, including: when the shipping demand includes merged orders, obtaining multiple orders corresponding to the customer, merging the pre-shipment notifications of the multiple orders, generating a new pre-shipment notification and generating a new pre-shipment notification number; generating the shipping notification according to the new pre-shipment notification.
[0069] In one embodiment, the shipping demand includes: whether to split the order; the obtaining of the customer's shipping demand and generating a shipping notice according to the shipping demand and the pre-shipment notice includes: when the shipping demand includes splitting the order, obtaining a splitting rule, splitting the pre-shipment notice according to the splitting rule, generating multiple split pre-shipment notices, and assigning an order number to each split pre-shipment notice; generating the shipping notice according to the split pre-shipment notice.
[0070] In one embodiment, the above-mentioned packing list automatic generation method also includes: establishing a data association between the main table and the associated table, and when the data in the main table or the associated table changes, automatically modifying the data in the corresponding associated table or the main table according to the data association.
[0071] In order to maintain data consistency, a data association is established between the main table and the associated table. When data in the main table changes, the data in the corresponding associated table is automatically modified. When data in the associated table changes, the data in the main table is modified accordingly. By presetting the association between data and data, the problem of inconsistent data modification before and after can be avoided, and the efficiency of modification can be greatly improved.
[0072] In one embodiment, the above-mentioned packing list automatic generation method includes: obtaining a query request, the query request includes query information, and the query information includes: at least one of a query order number and a keyword; searching according to the query information and returning the search result.
[0073] Among them, in order to facilitate the search, a search function is pre-set in the system, and the required information can be searched according to the query order number and keywords. Compared with the traditional method of searching one by one, this method greatly saves time.
[0074] In one embodiment, before searching according to the query information and returning the search results, it also includes: determining whether the query information contains hotspot data, and the hotspot data corresponds to a dedicated server; searching according to the query information and returning the search results includes: when hotspot data is contained, searching the dedicated server according to the query information.
[0075] In order to improve the search speed, the hotspot data is set in a dedicated server. When the query information contains the hotspot data, the search is directly performed on the dedicated server.
[0076] In one embodiment, the above-mentioned automatic packing list generation method further includes: when a progress update of the departure notice is obtained, displaying the updated status in the departure notice.
[0077] Among them, when the departure progress is updated, the updated status will be automatically displayed in the departure notice.
[0078] like Figure 2 As shown, a packing list automatic generation device is proposed, comprising:
[0079] Extraction module 202, used for extracting target attribute fields from the order and inserting them into the main table of the pre-shipment notice after the order is approved, and saving the order number and product model corresponding to the order as the associated order number in the main table of the pre-shipment notice, and using the information table corresponding to the order number and product model as the associated table of the pre-shipment notice;
[0080] Confirmation module 204, used to review and confirm the intermediate links according to the pre-shipment notice, and determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready;
[0081] The first generating module 206 is used to obtain the shipping demand of the customer and generate a shipping notice according to the shipping demand and the pre-shipping notice;
[0082] The second generating module 208 is used to obtain the review status of the shipping notification, and when the review status is reviewed, generate a factory departure notification and a corresponding factory departure notification number, and associate the factory departure notification number with the shipping notification number;
[0083] The saving module 210 is used to obtain the departure notification information, which includes the departure time, the release order number, and the departure progress, and save the departure notification information to the departure notification form;
[0084] The third generation module 212 is used to obtain the review status of the departure notice. If the review status is passed, a customer-specific file table is generated. The customer-specific file table includes: the shipping notice, the departure notice and the packing list. The packing list is obtained by extracting corresponding data from the shipping notice and the departure notice according to the customer-defined packing list fields.
[0085] In one embodiment, the third generation module 212 is also used to obtain customer-defined packing list fields and types, determine the table structure according to the customer-defined packing list fields and types; instantiate the packing list with the determined table structure, and the instantiation includes: creating an instance object; setting basic attributes of the instance object, and persisting the basic attributes; when the basic attributes are successfully persisted, extracting corresponding data from the shipping notice and the departure notice according to the instance object to complete the generation of the packing list.
[0086] In one embodiment, the first generation module 206 is also used to obtain multiple orders corresponding to the customer when the shipment demand includes a merged order, merge the pre-shipment notifications of the multiple orders, generate a new pre-shipment notification and generate a new pre-shipment notification number; generate the shipment notification according to the new pre-shipment notification; when the shipment demand includes a split order, obtain the splitting rule, split the pre-shipment notification according to the splitting rule, generate multiple split pre-shipment notifications, and assign an order number to each split pre-shipment notification; generate the shipment notification according to the split pre-shipment notification.
[0087] In one embodiment, the above device also includes: an establishment module, which is also used to establish a data association between the main table and the associated table. When the data in the main table or the associated table changes, the data in the corresponding associated table or the main table is automatically modified according to the data association.
[0088] In one embodiment, the above-mentioned device also includes: a query module, which is used to obtain a query request, wherein the query request includes query information, and the query information includes: at least one of a query order number and a keyword; searching according to the query information and returning the search result.
[0089] In one embodiment, the above device further comprises:
[0090] A judgment module, used for judging whether the query information contains hotspot data, and the hotspot data corresponds to a dedicated server;
[0091] The query module is also used to search in the dedicated server according to the query information when hot spot data is included.
[0092] In one embodiment, the above-mentioned device further includes: an updating module, which is used to display the updated status in the departure notice when the progress update of the departure notice is obtained.
[0093] Figure 3 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a drone, or a computer device connected to a drone. Figure 3 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the above-mentioned automatic packing list generation method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the above-mentioned automatic packing list generation method. Those skilled in the art can understand that Figure 3 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0094] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned packing list automatic generation method.
[0095] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the above-mentioned method for automatically generating a packing list.
[0096] It can be understood that the above-mentioned packing list automatic generation method, apparatus, computer equipment and computer-readable storage medium belong to a general inventive concept, and the embodiments are applicable to each other.
[0097] Those skilled 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 program can be stored in a non-volatile computer-readable storage medium. When the 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 non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0098] 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.
[0099] 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 present application. 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 present application shall be subject to the attached claims.
Claims
1. A method for automatically generating a packing list, characterized in that: include: When the order is approved, the target attribute field is extracted from the order and inserted into the main table of the pre-shipment notice. At the same time, the order number and product model corresponding to the order are saved as the associated order number in the main table of the pre-shipment notice, and the information table corresponding to the order number and product model is used as the associated table of the pre-shipment notice; According to the pre-shipment notice, the intermediate links are reviewed and confirmed to determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready; Obtain the shipping demand of the customer, and generate a shipping notice according to the shipping demand and the pre-shipping notice; Acquire the review status of the shipping notification, and when the review status is reviewed, generate a factory departure notification and a corresponding factory departure notification number, and associate the factory departure notification number with the shipping notification number; Obtaining the departure notification information, which includes: departure time, release order number, and departure progress; Saving the factory departure notification information in the factory departure notification form; Obtaining the review status of the factory departure notice, and if the review status is passed, generating a customer-specific file table, the customer-specific file table including: the shipping notice, the factory departure notice and the packing list, the packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields; The step of obtaining the shipping demand of the customer and generating a shipping notice according to the shipping demand and the pre-shipping notice includes: When the shipment demand includes a merged order, multiple orders corresponding to the customer are obtained, the pre-shipment notices of the multiple orders are merged, a new pre-shipment notice is generated, and a new pre-shipment notice number is generated; Generate the shipping notice according to the new pre-shipping notice; When the shipment demand includes split orders, a splitting rule is obtained, the pre-shipment notice is split according to the splitting rule, a plurality of split pre-shipment notices are generated, and a number is assigned to each of the split pre-shipment notices; The shipping notice is generated according to the split pre-shipping notice.
2. The method for automatically generating a packing list according to claim 1, characterized in that: The packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields, including: Obtain the customer-defined packing list fields and types, and determine the table structure according to the customer-defined packing list fields and types; Instantiating the packing list with a determined table structure, the instantiation comprising: creating an instance object; Setting basic attributes of the instance object and persisting the basic attributes; When the basic attributes are persisted successfully, the corresponding data is extracted from the shipping notice and the factory departure notice according to the instance object to complete the generation of the packing list.
3. The method for automatically generating a packing list according to claim 1, characterized in that: The method further comprises: A data association is established between the main table and the associated table. When the data in the main table or the associated table changes, the data in the corresponding associated table or the main table is automatically modified according to the data association.
4. The method for automatically generating a packing list according to claim 1, characterized in that: The method comprises: Obtaining a query request, wherein the query request includes query information, and the query information includes: at least one of a query order number and a keyword; A search is performed according to the query information, and the search results are returned.
5. The method for automatically generating a packing list according to claim 4, characterized in that: Before searching according to the query information and returning the search result, the method further includes: Determining whether the query information contains hotspot data, the hotspot data corresponding to a dedicated server; The searching according to the query information and returning the search results include: When hot spot data is included, a search is performed in the dedicated server according to the query information.
6. The method for automatically generating a packing list according to claim 1, characterized in that: The method further comprises: When the progress update of the factory departure notice is obtained, the updated status is displayed in the factory departure notice.
7. A device for automatically generating a packing list, characterized in that: The method for automatically generating a packing list according to any one of claims 1 to 6 is used, wherein the device for automatically generating a packing list comprises: An extraction module is used to extract the target attribute field from the order and insert it into the main table of the pre-shipment notice after the order is approved, and save the order number and product model corresponding to the order as the associated order number in the main table of the pre-shipment notice, and use the information table corresponding to the order number and product model as the associated table of the pre-shipment notice; A confirmation module is used to review and confirm the intermediate links according to the pre-shipment notice, and determine whether the pre-shipment notice after review and confirmation meets the booking conditions. If so, it is determined that the shipment is ready; The first generation module is used to obtain the shipping requirements of the customer and generate a shipping notice according to the shipping requirements and the pre-shipping notice; The second generation module is used to obtain the review status of the shipping notification, and when the review status is reviewed, generate a factory departure notification and a corresponding factory departure notification number, and associate the factory departure notification number with the shipping notification number; A saving module is used to obtain the departure notification information, wherein the departure notification information includes: departure time, release order number, and departure progress, and save the departure notification information into the departure notification form; The third generation module is used to obtain the review status of the factory departure notice. If the review status is passed, a customer-specific file table is generated. The customer-specific file table includes: the shipping notice, the factory departure notice and the packing list. The packing list is obtained by extracting corresponding data from the shipping notice and the factory departure notice according to the customer-defined packing list fields.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for automatically generating a packing list according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor executes the steps of the packing list automatic generation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for automatically generating packing list on the basis of PLM (Product Life-cycle Management) system and SAP (Systems Applications and Products in data processing) system
CN107944685A
Method and system for boxing materials based on PLM system
CN111967817A
Ocean-shipping goods-out management system and method
CN1489081A