JP7104594B2 - Order / sales management device, order / sales management method and order / sales management program - Google Patents

Order / sales management device, order / sales management method and order / sales management program Download PDF

Info

Publication number
JP7104594B2
JP7104594B2 JP2018168820A JP2018168820A JP7104594B2 JP 7104594 B2 JP7104594 B2 JP 7104594B2 JP 2018168820 A JP2018168820 A JP 2018168820A JP 2018168820 A JP2018168820 A JP 2018168820A JP 7104594 B2 JP7104594 B2 JP 7104594B2
Authority
JP
Japan
Prior art keywords
order
warehouse
identification data
product
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018168820A
Other languages
Japanese (ja)
Other versions
JP2020042487A (en
Inventor
静乃 佐香
隆典 清水
壮一 森下
剛光 上野
Original Assignee
株式会社オービック
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社オービック filed Critical 株式会社オービック
Priority to JP2018168820A priority Critical patent/JP7104594B2/en
Publication of JP2020042487A publication Critical patent/JP2020042487A/en
Application granted granted Critical
Publication of JP7104594B2 publication Critical patent/JP7104594B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、受注・売上管理装置、受注・売上管理方法および受注・売上管理プログラムに関する。 The present invention relates to an order / sales management device, an order / sales management method, and an order / sales management program.

特許文献1には、「出荷予約オーダ情報の数量がロットまとめ単位数、たとえば、100個以上であって1ロットだけでは出荷予約を満たすことができない場合は、適時供給の優先順位に従って複数の計画ロットに分割して引当てる」と開示されている(特許文献1の段落0153等参照)。 Patent Document 1 states, "If the quantity of shipping reservation order information is the number of lot-collecting units, for example, 100 or more and the shipping reservation cannot be satisfied by only one lot, a plurality of plans are made according to the priority of timely supply. It is divided into lots and allocated "(see paragraph 0153 of Patent Document 1 and the like).

特開2003-91309号公報Japanese Unexamined Patent Publication No. 2003-91309

しかしながら、上記特許文献1に開示されている在庫引当では、以下のような要求に応えることはできなかった。すなわち、物流業界や小売業界においては、注文識別データ(注文番号)を用いて商品の受注・売上の管理をすることが多いが、この際に、
1.同一の注文番号内の全商品を同一の倉庫から在庫引当できる場合(例えば、同一の注文番号A1000を有する商品Aおよび商品Bを倉庫Aから在庫引当できる場合)
→受注データおよび売上データを自動作成する
2.同一の注文番号内の全商品を複数の倉庫からであれば在庫引当できる場合(例えば、同一の注文番号A1000を有する商品Aおよび商品Bのうち、商品Aは倉庫Aから在庫引当でき、商品Bは倉庫Bから在庫引当できる場合)
→受注データおよび売上データを自動作成すると同時に、警告を発生させる
3.同一の注文番号内の全商品のうち、在庫不足商品が発生する場合(例えば、同一の注文番号A1000を有する商品Aおよび商品Bのうち、商品Aは倉庫Aから在庫引当できるが、商品Bの在庫が倉庫Bに足りていない場合)
→受注データのみを自動作成し、エラーを発生させる
という様に、倉庫の在庫状況に応じて柔軟な受注・売上管理を行うと共に、必要に応じて警告やエラーを発生させたいという要求である。
However, the inventory allocation disclosed in Patent Document 1 cannot meet the following requirements. That is, in the logistics industry and the retail industry, order identification data (order number) is often used to manage product orders and sales.
1. 1. When all products in the same order number can be stocked from the same warehouse (for example, when goods A and B having the same order number A1000 can be stocked from warehouse A)
→ Automatically create order data and sales data 2. When all products within the same order number can be stocked from multiple warehouses (for example, among product A and product B having the same order number A1000, product A can be stocked from warehouse A and product B. If inventory can be allocated from warehouse B)
→ Automatically create order data and sales data, and at the same time generate a warning. When an out-of-stock product occurs among all the products in the same order number (for example, among the product A and the product B having the same order number A1000, the product A can be stocked from the warehouse A, but the product B When the stock is not enough in warehouse B)
→ It is a request to flexibly manage orders and sales according to the inventory status of the warehouse, such as automatically creating only order data and generating errors, and to generate warnings and errors as necessary.

本発明は、上記問題点に鑑みてなされたものであって、倉庫の在庫状況に応じて柔軟な受注・売上管理を行うと共に、必要に応じて警告やエラーを発生させることができる受注・売上管理装置、受注・売上管理方法および受注・売上管理プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and can flexibly manage orders and sales according to the stock status of the warehouse, and can generate warnings and errors as necessary. The purpose is to provide a management device, an order / sales management method, and an order / sales management program.

上述した課題を解決し、目的を達成するために、本発明に係る受注・売上管理装置は、制御部および記憶部を備える受注・売上管理装置であって、前記記憶部には、注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、が格納されており、前記制御部は、前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当手段と、前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成手段と、前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成手段と、前記引当手段での引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成手段と、を備えること、を特徴とする。 In order to solve the above-mentioned problems and achieve the object, the order / sales management device according to the present invention is an order / sales management device including a control unit and a storage unit, and the storage unit identifies an order. Order data including order identification data for identifying a product, product identification data for identifying a product, and the number of orders for the product, warehouse identification data for identifying a warehouse, product identification data, and the number of stocks of the product. The inventory data to be included and the priority master including the priority in the case where the warehouse is set as the allocation destination and set for each product are stored, and the control unit is in the order data. Regarding the product specified by the product identification data, among the warehouses specified by the warehouse identification data in the inventory data associated with the product identification data, the product set for the specified product in the priority master. In order from the warehouse with the highest priority, the allocation means that allocates the inventory by reducing the number of stocks until the number of orders is reached, and the allocation means that allocates the same order among the specified products as a result of the allocation by the allocation means. If all of the data can be allocated from the same warehouse, the order identification data, the product identification data, the warehouse identification data for the allocation destination warehouse, and the above, based on the order data and the inventory data. A plurality of the specified products having the same order identification data as a result of the allocation by the first creation means for creating the order record and the sales record including the stock quantity deducted from the warehouse and the allocation means. When allocation can be made from the warehouse, the order identification data, the product identification data, the warehouse identification data for the allocation destination warehouse, and the number of stocks deducted from the warehouse are the same based on the order data and the inventory data. As a result of the allocation by the allocation means, the second creation means for creating the order record and the sales record including the warning indicating that the allocation destination is a plurality of warehouses for the product having the order identification data of the above. If there is a specified product that has the same order identification data and cannot be allocated for the number of orders, the order identification data and the product identification are based on the order data and the inventory data. It means that there is a product that cannot be allocated among the fictitious warehouse identification data which is the warehouse identification data for identifying the data and the fictitious warehouse and the product having the same order identification data as the number of orders of the specified product. Orders including errors It is characterized by having a third creation means for creating code.

また、本発明に係る受注・売上管理装置は、前記制御部が、前記第二作成手段で作成した前記受注レコードおよび前記売上レコードが含む前記注文識別データおよび前記商品識別データをオペレータに通知する通知手段を更に備えること、を特徴とする。 Further, in the order / sales management device according to the present invention, the control unit notifies the operator of the order identification data and the product identification data included in the order record and the sales record created by the second creation means. It is characterized by further providing means.

また、本発明に係る受注・売上管理装置は、前記制御部が、売上入力画面からの指示を受けて前記第三作成手段で作成した前記受注レコードを前記売上入力画面上に表示する表示手段と、前記表示された受注レコード中の前記注文識別データおよび前記商品識別データを含み、前記表示された受注レコード中の前記架空倉庫識別データが実在する倉庫を識別するための前記倉庫識別データである実在倉庫識別データに変更されており、前記表示された受注レコード中の前記注文数が前記実在する倉庫から引当できる在庫数に変更されており、前記表示された受注レコード中の前記エラーが削除されている売上レコードを作成する売上レコード作成手段と、を更に備えること、を特徴とする。 Further, the order / sales management device according to the present invention is a display means for displaying the order record created by the third creation means on the sales input screen by the control unit in response to an instruction from the sales input screen. , The real warehouse identification data including the order identification data and the product identification data in the displayed order record, and the fictitious warehouse identification data in the displayed order record for identifying an existing warehouse. It has been changed to the warehouse identification data, the number of orders in the displayed order record has been changed to the number of stocks that can be allocated from the existing warehouse, and the error in the displayed order record has been deleted. It is characterized by further providing a sales record creation means for creating an existing sales record.

また、本発明に係る受注・売上管理装置は、前記注文データが、顧客からのウェブサイト上での注文により作成されるデータであり、前記注文識別データが、前記ウェブサイト上での注文を識別するための注文番号であること、を特徴とする。 Further, in the order / sales management device according to the present invention, the order data is data created by an order on a website from a customer, and the order identification data identifies an order on the website. It is characterized by being an order number for the user.

また、本発明に係る受注・売上管理方法は、制御部および記憶部を備える情報処理装置で実行される受注・売上管理方法であって、前記記憶部には、注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、が格納されており、前記制御部で実行される、前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当ステップと、前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成ステップと、前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成ステップと、前記引当ステップでの引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成ステップと、を含むこと、を特徴とする。 Further, the order / sales management method according to the present invention is an order / sales management method executed by an information processing device including a control unit and a storage unit, and the storage unit is used for order identification for identifying an order. Order data including data and product identification data for identifying products and the number of orders for the product, inventory data including warehouse identification data and product identification data for identifying the warehouse and the number of stocks of the product, and The priority master in the case where the warehouse is set as the allocation destination, including the priority set for each product, is stored, and the product in the order data executed by the control unit is executed. Regarding the product specified by the identification data, among the warehouses specified by the warehouse identification data in the inventory data associated with the product identification data, the priority set for the specified product in the priority master. The same order identification data among the specified products is obtained as a result of the allocation step in which the inventory is allocated by reducing the number of inventories until the number of orders is reached, and the allocation in the allocation step, in order from the warehouse with the highest value. If all of the possessions can be allocated from the same warehouse, the order identification data, the product identification data, the warehouse identification data for the allocation destination warehouse, and the warehouse are used based on the order data and the inventory data. As a result of the first creation step of creating the sales order record and the sales record including the reduced stock quantity and the allocation in the allocation step, the specified products having the same order identification data are obtained from a plurality of warehouses. If allocation is possible, based on the order data and the inventory data, the same order as the order identification data, the product identification data, the warehouse identification data for the allocation destination warehouse, and the number of stocks deducted from the warehouse. As a result of the second creation step of creating the sales order record and the sales record including the warning indicating that the allocation destination is a plurality of warehouses for the product having the identification data, and the allocation in the allocation step, the identification is performed. If there is a product that has the same order identification data and cannot be allocated for the number of orders, the order identification data and the product identification data are obtained based on the order data and the inventory data. It means that there is a product that cannot be allocated among the fictitious warehouse identification data which is the warehouse identification data for identifying the fictitious warehouse and the product having the same order identification data as the number of orders of the specified product. It is characterized by including a third creation step of creating an order record including an error.

また、本発明に係る受注・売上管理プログラムは、制御部および記憶部を備える情報処理装置に実行させるための受注・売上管理プログラムであって、前記記憶部には、注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、が格納されており、前記制御部に実行させるための、前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当ステップと、前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成ステップと、前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成ステップと、前記引当ステップでの引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成ステップと、を含むこと、を特徴とする。 Further, the order / sales management program according to the present invention is an order / sales management program for being executed by an information processing device including a control unit and a storage unit, and the storage unit contains an order for identifying an order. Order data including identification data, product identification data for identifying products, and the number of orders for the product, and inventory data including warehouse identification data for identifying the warehouse, product identification data, and the number of stocks of the product. , A priority master including those set for each product, which is a priority in the case where the warehouse is used as an allocation destination, is stored in the order data to be executed by the control unit. Regarding the product specified by the product identification data, among the warehouses specified by the warehouse identification data in the inventory data associated with the product identification data, the product set for the specified product in the priority master. In order from the warehouse with the highest priority, the allocation step of performing inventory allocation by reducing the number of stocks until the number of orders is reached, and the allocation step in the allocation step result in the same order identification among the specified products. If all of the data can be allocated from the same warehouse, the order identification data, the product identification data, the warehouse identification data for the allocation destination warehouse, and the above, based on the order data and the inventory data. As a result of the first creation step of creating order records and sales records including the number of stocks deducted from the warehouse and the allocation in the allocation step, a plurality of the specified products having the same order identification data. When allocation can be made from the warehouse, the order identification data, the product identification data, the warehouse identification data for the allocation destination warehouse, and the number of stocks deducted from the warehouse are the same based on the order data and the inventory data. As a result of the second creation step of creating the sales order record and the sales record including the warning indicating that the allocation destination is a plurality of warehouses for the product having the order identification data of, and the allocation in the allocation step, the above. If there is a specified product that has the same order identification data and cannot be allocated for the number of orders, the order identification data and the product identification are based on the order data and the inventory data. Items that cannot be allocated among the fictitious warehouse identification data, which is the warehouse identification data for identifying the data and the fictitious warehouse, and the products having the same order identification data as the number of orders for the specified product. It is characterized by including a third creation step of creating an order record, including an error indicating that is present.

本発明によれば、倉庫の在庫状況に応じて柔軟な受注・売上管理を行うと共に、必要に応じて警告やエラーを発生させることができるという効果を奏する。 According to the present invention, it is possible to flexibly manage orders and sales according to the inventory status of the warehouse, and to generate warnings and errors as needed.

図1は、受注・売上管理装置の構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of the order / sales management device. 図2は、本実施形態に係る処理のフローチャートの一例を示す図である。FIG. 2 is a diagram showing an example of a flowchart of the process according to the present embodiment. 図3は、商品マスタ、倉庫マスタおよび引当優先順位マスタの一例を示す図である。FIG. 3 is a diagram showing an example of a product master, a warehouse master, and an allocation priority master. 図4は、潤沢に在庫がある場合における、受注データおよび売上データの作成の一例を示す図である。FIG. 4 is a diagram showing an example of creating order data and sales data when there is abundant inventory. 図5は、異なる注文明細中の商品の引当先が複数倉庫に割れた場合における、受注データおよび売上データの作成の一例を示す図である。FIG. 5 is a diagram showing an example of creating order data and sales data when the allocation destinations of products in different order details are divided into a plurality of warehouses. 図6は、同一の注文明細中の商品の引当先が複数倉庫に割れた場合における、受注データおよび売上データの作成の一例を示す図である。FIG. 6 is a diagram showing an example of creating order data and sales data when the allocation destinations of products in the same order details are divided into a plurality of warehouses. 図7は、在庫が不足する場合における、受注データおよび売上データの作成の一例を示す図である。FIG. 7 is a diagram showing an example of creating order data and sales data when inventory is insufficient.

以下に、受注・売上管理装置、受注・売上管理方法および受注・売上管理プログラムの実施形態を、図面に基づいて詳細に説明する。なお、本実施形態により本発明が限定されるものではない。 The order / sales management device, the order / sales management method, and the embodiment of the order / sales management program will be described in detail below with reference to the drawings. The present invention is not limited to the present embodiment.

[1.概要]
Webサイトで顧客が注文したデータをシステムに連携する場合には、出荷倉庫については、注文者である顧客が選択するのではなく、システム側で自動セットされる場合が多い。従来においては、システム上で在庫引当を行う際には、商品および倉庫を指定した上で、倉庫に引当可能在庫があるか否かを確認していた。しかしながら、Webサイト経由での注文は日次で大量に発生するため、Web注文データをシステムに連携して売上計上を行うにあたり、以下の1~2の要求が存在していた。
1.Webサイト経由での注文の際に、引当先となる倉庫を制限したい。また、商品ごとに、引当先となる倉庫の優先付けをしたい。
2.1明細中の注文数>1倉庫内の在庫数となる場合に、他倉庫に在庫が存在するのであれば、前記明細を分割して複数の倉庫から商品を出荷できるようにしたい。
[1. Overview]
When the data ordered by the customer on the website is linked to the system, the shipping warehouse is not selected by the customer who is the orderer, but is automatically set on the system side in many cases. In the past, when allocating inventory on the system, after specifying the product and warehouse, it was confirmed whether or not there was inventory available in the warehouse. However, since a large number of orders are generated daily via the website, the following 1 or 2 requests exist when the web order data is linked to the system to record sales.
1. 1. When ordering via a website, I want to limit the warehouses that can be reserved. In addition, we would like to prioritize the warehouses that will be reserved for each product.
2.1 If the number of orders in the item> the number of items in stock in one warehouse and there is inventory in another warehouse, we would like to divide the item so that products can be shipped from multiple warehouses.

そこで、本実施形態においては、例えば、以下の手順1~4を含むことにより、前記1~2の要求に応えることができるようにした。
1.商品毎倉庫毎の引当優先順位を予めマスタに設定する。
2.Webサイト経由での注文の場合、前記設定したマスタの優先順位順に倉庫を選択し、在庫引当チェックを実施する。
3.1つの倉庫で引当できなかった場合、前記設定したマスタにおける倉庫のうち、次に優先順位が高い倉庫から注文残数分の在庫引当をできるかをチェックする。注文数分すべてを引当できた場合には、受注データおよび売上データを作成する。
4.これに対して、在庫不足により、注文数分を引当できずエラーとなった場合には、売上データを作成せず受注データのみを作成する。なお、出荷および売上をする場合は、当該作成された受注データを参照して計上する。
Therefore, in the present embodiment, for example, by including the following steps 1 to 4, it is possible to meet the requirements of the above 1 and 2.
1. 1. The allocation priority for each product and each warehouse is set in the master in advance.
2. In the case of an order via a website, warehouses are selected in the order of priority of the set masters, and an inventory allocation check is performed.
3. If one warehouse cannot be allocated, it is checked whether inventory can be allocated for the number of remaining orders from the warehouse with the next highest priority among the warehouses in the set master. If all the orders can be allocated, order data and sales data are created.
4. On the other hand, if an error occurs because the number of orders cannot be allocated due to inventory shortage, sales data is not created and only order data is created. In addition, when shipping and selling, it is recorded with reference to the created order data.

また、従来においては、Web注文データをシステムに連携して売上計上を行うにあたり、以下の1~2の要望もあった。
1.在庫引当が可能か否かのチェックは、従来においては、商品単位で実施していたため、複数倉庫から引当可能な場合であっても、在庫不足のエラーにより売上データが作成されないため、売上データを作成できるようにする仕組みが必要であった。
2.商品や注文内容によっては、複数倉庫から出荷させたくない場合もあり、複数倉庫から在庫引当された場合には、アラートを発生させる仕組みが必要であった。
Further, in the past, there have been one or two requests below when recording sales by linking Web order data to a system.
1. 1. In the past, checking whether inventory allocation was possible was carried out on a product-by-product basis, so even if inventory allocation is possible from multiple warehouses, sales data is not created due to an inventory shortage error, so sales data is used. I needed a mechanism to make it possible.
2. Depending on the product and order details, it may not be desirable to ship from multiple warehouses, and a mechanism to generate an alert was required when inventory was allocated from multiple warehouses.

そこで、本実施形態においては、例えば、Webサイトから連携された注文データについて、商品毎倉庫毎の引当順を設定したマスタを参照して、在庫引当チェックを実施できるようにした。そして、在庫引当結果に応じて、以下の1~3のように受注データおよび売上データを作成する。
1.同注文番号内の全商品が同一倉庫から出荷可能な場合
→受注データおよび売上データを自動作成する。
2.同注文番号内の商品が複数倉庫から在庫引当された場合
→受注データおよび売上データを自動作成し、警告を発生させる。そして、営業担当は、警告を確認し、必要に応じて倉庫や注文数を調整する。
3.同注文番号内に在庫不足商品が発生した場合
→受注データのみを自動作成し、在庫不足エラーを発生させる。そして、営業担当は、エラー内容を確認し、倉庫や注文数を調整後に売上データを作成する。
なお、処理のフローチャートとしては、図2に示すとおりである。以下、具体的な構成および動作について説明する。
Therefore, in the present embodiment, for example, for the order data linked from the website, the inventory allocation check can be performed by referring to the master in which the allocation order for each product and each warehouse is set. Then, order data and sales data are created as shown in 1 to 3 below according to the inventory allocation result.
1. 1. When all products within the same order number can be shipped from the same warehouse → Order data and sales data are automatically created.
2. When products within the same order number are reserved for inventory from multiple warehouses → Order data and sales data are automatically created and a warning is generated. The sales representative then checks the warning and adjusts the warehouse and the number of orders as needed.
3. 3. When an out-of-stock product occurs within the same order number → Only order data is automatically created and an out-of-stock error occurs. Then, the sales representative confirms the error content, adjusts the warehouse and the number of orders, and then creates sales data.
The flow chart of the process is as shown in FIG. Hereinafter, a specific configuration and operation will be described.

[2.構成]
本実施形態に係る受注・売上管理装置100の構成の一例について、図1を参照して説明する。図1は、受注・売上管理装置100の構成の一例を示すブロック図である。
[2. Constitution]
An example of the configuration of the order / sales management device 100 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing an example of the configuration of the order / sales management device 100.

受注・売上管理装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、受注・売上管理装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。 The order / sales management device 100 is a commercially available desktop personal computer. The order / sales management device 100 is not limited to a stationary information processing device such as a desktop personal computer, but also includes a commercially available notebook personal computer, PDA (Personal Digital Assistants), smartphone, tablet personal computer, and the like. It may be a portable information processing device.

受注・売上管理装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。受注・売上管理装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The order / sales management device 100 includes a control unit 102, a communication interface unit 104, a storage unit 106, and an input / output interface unit 108. Each part of the order / sales management device 100 is communicably connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、受注・売上管理装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、受注・売上管理装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、後述する各種マスタ等のデータは、例えばサーバ200に格納されてもよい。 The communication interface unit 104 connects the order / sales management device 100 to the network 300 in a communicable manner via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with another device via a communication line. Here, the network 300 has a function of connecting the order / sales management device 100 and the server 200 so as to be able to communicate with each other, and is, for example, the Internet or a LAN (Local Area Network). Data of various masters and the like, which will be described later, may be stored in the server 200, for example.

入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、及びマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。 An input device 112 and an output device 114 are connected to the input / output interface unit 108. As the output device 114, a speaker or a printer can be used in addition to a monitor (including a home television). As the input device 112, in addition to a keyboard, a mouse, and a microphone, a monitor that cooperates with the mouse to realize a pointing device function can be used. In the following, the output device 114 may be referred to as a monitor 114, and the input device 112 may be referred to as a keyboard 112 or a mouse 112.

記憶部106には、各種のデータベース、テーブルおよびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。 Various databases, tables, files, and the like are stored in the storage unit 106. In the storage unit 106, a computer program for giving a command to a CPU (Central Processing Unit) in cooperation with an OS (Operating System) to perform various processes is recorded. As the storage unit 106, for example, a memory device such as a RAM (Random Access Memory) or a ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, an optical disk, or the like can be used.

記憶部106は、例えば、商品マスタ106aと、倉庫マスタ106bと、優先順位マスタとしての引当優先順位マスタ106cと、注文データ106dと、在庫データとしての現在庫データ106eと、受注データ106fと、売上データ106gと、を備えている。 The storage unit 106 may, for example, include a product master 106a, a warehouse master 106b, an allocation priority master 106c as a priority master, order data 106d, current warehouse data 106e as inventory data, order data 106f, and sales. The data is 106 g.

商品マスタ106aは、図3に示すように、例えば、商品を識別するための商品識別データ(商品Aおよび商品B)等を含む。 As shown in FIG. 3, the product master 106a includes, for example, product identification data (product A and product B) for identifying products.

倉庫マスタ106bは、図3に示すように、例えば、倉庫を識別するための倉庫識別データ(倉庫A~Dおよびダミー倉庫)等を含む。前記倉庫識別データは、実在する倉庫を識別するための前記倉庫識別データである実在倉庫識別データ(倉庫A~D)と、架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データ(ダミー倉庫)と、に大別される。 As shown in FIG. 3, the warehouse master 106b includes, for example, warehouse identification data (warehouses A to D and a dummy warehouse) for identifying a warehouse. The warehouse identification data includes real warehouse identification data (warehouses A to D), which is the warehouse identification data for identifying an existing warehouse, and fictitious warehouse identification, which is the warehouse identification data for identifying a fictitious warehouse. It is roughly divided into data (dummy warehouse).

引当優先順位マスタ106cは、図3に示すように、例えば、前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたもの等を含む。例えば、図3の例では、商品Aについては、倉庫Aに優先順位1番が設定され、倉庫Bに優先順位2番が設定され、倉庫Cに優先順位3番が設定されている。これに対して、図3の例では、商品Bについては、倉庫Cに優先順位1番が設定され、倉庫Bに優先順位2番が設定され、倉庫Aに優先順位3番が設定され、倉庫Dに優先順位4番が設定されている。このように、引当優先順位マスタ106cにおいては、どの倉庫を優先的に引当先とするかを、商品ごとに設定することができる。 As shown in FIG. 3, the allocation priority master 106c includes, for example, a priority in the case where the warehouse is the allocation destination and is set for each product. For example, in the example of FIG. 3, for the product A, the first priority is set in the warehouse A, the second priority is set in the warehouse B, and the third priority is set in the warehouse C. On the other hand, in the example of FIG. 3, for the product B, the warehouse C is set to the priority number 1, the warehouse B is set to the priority number 2, the warehouse A is set to the priority number 3, and the warehouse. Priority 4 is set for D. In this way, in the allocation priority master 106c, it is possible to set which warehouse is preferentially assigned as the allocation destination for each product.

注文データ106dは、図4~図7に示すように、例えば、注文を識別するための注文識別データ(Web注文No)と、注文明細の行番号と、前記商品識別データ(商品)と、前記商品の注文数(数量)と、等を含む。注文データ106dは、例えば、顧客からのウェブサイト上での注文により作成されるデータであり、この場合、前記注文識別データは、例えば、前記ウェブサイト上での注文を識別するための注文番号である。 As shown in FIGS. 4 to 7, the order data 106d includes, for example, an order identification data (Web order No.) for identifying an order, a line number of an order detail, the product identification data (product), and the above. Includes the number of ordered products (quantity), etc. The order data 106d is, for example, data created by an order from a customer on a website, in which case the order identification data is, for example, an order number for identifying an order on the website. be.

現在庫データ106eは、図4~図7に示すように、例えば、前記倉庫識別データ(倉庫)と、前記商品識別データ(商品)と、前記商品の在庫数(現在庫)と、等を含む。 As shown in FIGS. 4 to 7, the current warehouse data 106e includes, for example, the warehouse identification data (warehouse), the product identification data (commodity), the number of stocks of the product (current warehouse), and the like. ..

受注データ106fは、図4~図7に示すように、横一行の情報に相当する受注レコードを含む。前記受注レコードは、注文データ106dおよび現在庫データ106eに基づいて作成される。前記受注レコードが含む情報については、以下の[3.処理の具体例]で詳細に説明する。 As shown in FIGS. 4 to 7, the order data 106f includes an order record corresponding to information in one horizontal line. The order record is created based on the order data 106d and the current warehouse data 106e. For the information contained in the order record, see the following [3. Specific example of processing] will be described in detail.

前記受注レコードは、引当の状況に応じて、以下の3種類のいずれかのデータステータス(エラー区分)を含む。すなわち、同一の注文識別データを有する商品について引当先が同一の倉庫となっていることを意味する「エラー区分:無し」と、同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告である「エラー区分:警告※」と、同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーである「エラー区分:有り」と、である。前記エラー区分が「無し」である場合、受注データ106fおよび売上データ106gはともに作成される。前記エラー区分が「警告※」である場合、受注データ106fおよび売上データ106gはともに作成されるが、担当者に警告アラートが通知される。前記エラー区分が「有り」である場合、受注データ106fは作成されるが売上データ106gは作成されず、担当者にエラーアラートが通知される。 The order record includes one of the following three types of data status (error classification) depending on the status of allocation. That is, "error classification: none", which means that the allocation destinations are the same warehouse for products having the same order identification data, and the allocation destinations are multiple warehouses for the products having the same order identification data. "Error classification: Warning *", which is a warning that means that there is an error, and "Error classification: Yes", which is an error that means that there are some products that have the same order identification data and cannot be allocated. be. When the error category is "none", both the order data 106f and the sales data 106g are created. When the error category is "warning *", both the order data 106f and the sales data 106g are created, but the person in charge is notified of the warning alert. When the error category is "Yes", the order data 106f is created but the sales data 106g is not created, and the person in charge is notified of the error alert.

売上データ106gは、図4~図7に示すように、横一行の情報に相当する売上レコードを含む。前記売上レコードは、注文データ106dおよび現在庫データ106eに基づいて作成される。前記売上レコードが含む情報については、以下の[3.処理の具体例]で詳細に説明する。前記売上レコードは、前記データステータスとして、「エラー区分:無し」および「エラー区分:警告※」のいずれかを含む。 As shown in FIGS. 4 to 7, the sales data 106 g includes a sales record corresponding to the information in one horizontal line. The sales record is created based on the order data 106d and the current warehouse data 106e. For the information contained in the sales record, please refer to the following [3. Specific example of processing] will be described in detail. The sales record includes either "error category: none" or "error category: warning *" as the data status.

制御部102は、受注・売上管理装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。 The control unit 102 is a CPU or the like that comprehensively controls the order / sales management device 100. The control unit 102 has an internal memory for storing a control program such as an OS, a program that defines various processing procedures, required data, and the like, and performs various information processing based on these stored programs. Run.

制御部102は、機能概念的に、例えば、(1)前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当手段としての引当部102aと、(2)前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成手段としての第一作成部102bと、(3)前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成手段としての第二作成部102cと、(4)前記第二作成手段で作成した前記受注レコードおよび前記売上レコードが含む前記注文識別データおよび前記商品識別データをオペレータに通知する通知手段としての通知部102dと、(5)前記引当手段での引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成手段としての第三作成部102eと、(6)売上入力画面からの指示を受けて前記第三作成手段で作成した前記受注レコードを前記売上入力画面上に表示する表示手段としての表示部102fと、(7)前記表示された受注レコード中の前記注文識別データおよび前記商品識別データを含み、前記表示された受注レコード中の前記架空倉庫識別データが実在する倉庫を識別するための前記倉庫識別データである実在倉庫識別データに変更されており、前記表示された受注レコード中の前記注文数が前記実在する倉庫から引当できる在庫数に変更されており、前記表示された受注レコード中の前記エラーが削除されている売上レコードを作成する売上レコード作成手段としての売上レコード作成部102gと、を備えている。 The control unit 102 is functionally conceptually specified, for example, (1) with respect to the product specified by the product identification data in the order data, by the warehouse identification data in the inventory data associated with the product identification data. As a means of allocating inventory by reducing the number of stocks until the number of orders is reached, in order from the warehouse with the highest priority set for the specified product in the priority master. When the allocation unit 102a and (2) all of the specified products having the same order identification data can be allocated from the same warehouse as a result of the allocation by the allocation means, the order data and the inventory data As a first creation means for creating an order record and a sales record including the order identification data, the product identification data, the warehouse identification data for the allocation destination warehouse, and the number of stocks deducted from the warehouse based on the above. When the specified products having the same order identification data can be allocated from a plurality of warehouses as a result of the allocation by the first preparation unit 102b and (3) the allocation means, the order data and the above Based on the inventory data, there are a plurality of allocation destinations for products having the same order identification data, the product identification data, the warehouse identification data for the warehouse as the allocation destination, and the same order identification data as the number of stocks deducted from the warehouse. The second creation unit 102c as the second creation means for creating the order record and the sales record including the warning indicating that the warehouse is in the above, and (4) the order record created by the second creation means and the order record. The notification unit 102d as a notification means for notifying the operator of the order identification data and the product identification data included in the sales record, and (5) the specified product as a result of the allocation by the allocation means are the same. If there is a product that has order identification data and cannot be allocated for the number of orders, the order identification data, the product identification data, and the fictitious warehouse are identified based on the order data and the inventory data. Create an order record containing the fictitious warehouse identification data which is the warehouse identification data for the purpose and an error which means that some of the products having the same order identification data as the number of orders of the specified product cannot be allocated. The third creation unit 102e as the third creation means, and (6) a display hand that displays the order record created by the third creation means on the sales input screen in response to an instruction from the sales input screen. The display unit 102f as a stage and (7) identify the warehouse in which the fictitious warehouse identification data in the displayed order record includes the order identification data and the product identification data in the displayed order record. It has been changed to the actual warehouse identification data which is the warehouse identification data for the purpose, and the number of orders in the displayed order record has been changed to the number of stocks that can be allocated from the existing warehouse, and the display has been made. It includes a sales record creation unit 102g as a sales record creation means for creating a sales record in which the error in the order record is deleted.

引当部102aは、注文データ106d中の商品名で特定される商品について、当該商品名と紐付く現在庫データ106e中の倉庫名で特定される倉庫のうち、引当優先順位マスタ106cにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、注文数分に達するまで在庫数を減じることにより在庫引当を行う。 The allocation unit 102a specifies the product specified by the product name in the order data 106d in the allocation priority master 106c among the warehouses specified by the warehouse name in the current warehouse data 106e associated with the product name. Inventories are allocated by reducing the number of inventories until the number of orders is reached, in order from the warehouse with the highest priority set for the products.

第一作成部102bは、引当部102aでの引当の結果、前記特定される商品のうち同一の注文番号を有するものすべてを同一の倉庫から引当できた場合、注文データ106dおよび現在庫データ106eに基づいて、注文番号と商品名と引当先となった倉庫についての倉庫名である出庫倉庫と前記倉庫から減じた在庫数である出庫数とを含む受注レコードおよび売上レコードを作成する。 When the first preparation unit 102b can allocate all of the specified products having the same order number from the same warehouse as a result of the allocation in the allocation unit 102a, the order data 106d and the current warehouse data 106e are displayed. Based on this, an order record and a sales record are created including the order number, the product name, the warehouse name for the warehouse to which the allocation is made, and the number of goods issued, which is the number of stocks deducted from the warehouse.

第二作成部102cは、引当部102aでの引当の結果、前記特定される商品のうち同一の注文番号を有するものを複数の倉庫から引当できた場合、注文データ106dおよび現在庫データ106eに基づいて、注文番号と商品名と引当先となった倉庫についての倉庫名である出庫倉庫と前記倉庫から減じた在庫数である出庫数と同一の注文番号を有する商品について引当先が複数の倉庫となっていることを意味する警告(エラー区分:警告※)とを含む受注レコードおよび売上レコードを作成する。 The second creation unit 102c is based on the order data 106d and the current warehouse data 106e when the specified goods having the same order number can be allocated from a plurality of warehouses as a result of the allocation by the allocation unit 102a. For products that have the same order number as the order number, product name, warehouse name for the warehouse that was the allocation destination, and the number of stocks that are the number of stocks subtracted from the warehouse, the allocation destinations are multiple warehouses. Create an order record and a sales record including a warning (error classification: warning *) that means that the item has been set.

通知部102dは、第二作成部102cで作成した前記受注レコードおよび前記売上レコードが含む注文番号および商品名をオペレータに通知する。 The notification unit 102d notifies the operator of the order number and the product name included in the order record and the sales record created by the second creation unit 102c.

第三作成部102eは、引当部102aでの引当の結果、前記特定される商品であって同一の注文番号を有するもののうち、注文数分の引当ができない商品が存在する場合、注文データ106dおよび現在庫データ106eに基づいて、注文番号と商品名と架空上の倉庫の倉庫名と前記特定される商品の注文数と同一の注文番号を有する商品のうち引当できないものが存在することを意味するエラー(エラー区分:有り)とを含む受注レコードを作成する。 As a result of the allocation by the allocation unit 102a, the third creation unit 102e indicates that, among the specified products having the same order number, if there are products that cannot be allocated for the number of orders, the order data 106d and Based on the current warehouse data 106e, it means that there is a product that cannot be allocated among the products having the same order number as the order number, the product name, the warehouse name of the fictitious warehouse, and the number of orders of the specified product. Create an order record containing an error (error classification: Yes).

表示部102fは、売上入力画面からの指示を受けて、第三作成部102eで作成した前記受注レコードを前記売上入力画面上に表示する。 The display unit 102f receives an instruction from the sales input screen and displays the order record created by the third creation unit 102e on the sales input screen.

売上レコード作成部102gは、前記表示された受注レコード中の注文番号および商品名を含み、前記表示された受注レコード中の架空上の倉庫の倉庫名が実在する倉庫の倉庫名に変更されており、前記表示された受注レコード中の注文数が前記実在する倉庫から引当できる在庫数に変更されており、前記表示された受注レコード中の前記エラー(エラー区分:有り)が削除されている(エラー区分:無し に変更されている)売上レコードを作成する。 The sales record creation unit 102g includes the order number and the product name in the displayed order record, and the warehouse name of the fictitious warehouse in the displayed order record is changed to the warehouse name of the actual warehouse. , The number of orders in the displayed order record has been changed to the number of stocks that can be allocated from the existing warehouse, and the error (error classification: Yes) in the displayed order record has been deleted (error). Create a sales record (changed to Category: None).

[3.処理の具体例]
本項目では、本実施形態に係る処理の具体例について説明する。なお、本項目[3.処理の具体例]においては、商品マスタ106a、倉庫マスタ106bおよび引当優先順位マスタ106cにおける具体的な内容は、図3に示すとおりであるものとして説明を進める。
[3. Specific example of processing]
In this item, a specific example of the process according to this embodiment will be described. In addition, this item [3. Specific example of processing], the specific contents of the product master 106a, the warehouse master 106b, and the allocation priority master 106c will be described as shown in FIG.

[3-1.潤沢に在庫がある場合]
まず、潤沢に在庫がある場合の処理について、図4を用いて詳細に説明する。
[3-1. If there is plenty in stock]
First, the processing when there is abundant inventory will be described in detail with reference to FIG.

(1)Web注文No:A1000で特定される商品についての処理
図4の注文データ106dを参照すると、Web注文No:A1000で特定される商品は、商品Aおよび商品Bの二つである。
(1) Processing for the Product Specified by Web Order No: A1000 With reference to the order data 106d in FIG. 4, there are two products specified by Web Order No: A1000, Product A and Product B.

まず、Web注文No:A1000の商品Aの在庫引当について説明する。図4の現在庫データ106eを参照すると、商品Aと紐付く倉庫は、倉庫Aおよび倉庫Cであるが、図3の引当優先順位マスタ106cを参照すると、商品Aについては倉庫Aの方が高い優先順位(1)を有する。このため、引当部102aは、倉庫Aにおける商品Aの在庫数20から、Web注文No:A1000の商品Aの注文数10を減じることにより、在庫引当を行う。在庫引当後、倉庫Aにおける商品Aの在庫数は、20-10=10となる。 First, the inventory allocation of the product A of the Web order No .: A1000 will be described. With reference to the current warehouse data 106e of FIG. 4, the warehouses associated with the product A are the warehouse A and the warehouse C, but with reference to the allocation priority master 106c of FIG. 3, the warehouse A is higher for the product A. It has a priority (1). Therefore, the allocation unit 102a allocates the inventory by subtracting the order number 10 of the product A of the Web order No. A1000 from the inventory number 20 of the product A in the warehouse A. After the inventory is allocated, the number of products A in stock in the warehouse A becomes 20-10 = 10.

続いて、Web注文No:A1000の商品Bの在庫引当について説明する。図4の現在庫データ106eを参照すると、商品Bと紐付く倉庫は、倉庫Aのみである。このため、引当部102aは、倉庫Aにおける商品Bの在庫数20から、Web注文No:A1000の商品Bの注文数5を減じることにより、在庫引当を行う。在庫引当後、倉庫Aにおける商品Bの在庫数は、20-5=15となる。 Next, the inventory allocation of the product B of the Web order No .: A1000 will be described. With reference to the current warehouse data 106e in FIG. 4, the only warehouse associated with the product B is the warehouse A. Therefore, the allocation unit 102a allocates the inventory by subtracting the number of orders 5 of the product B of the Web order No. A1000 from the inventory number 20 of the product B in the warehouse A. After stock allocation, the number of goods B in stock in warehouse A becomes 20-5 = 15.

引当部102aでの引当の結果、Web注文No:A1000を有する商品Aおよび商品Bについて、ともに、同一の倉庫(倉庫A)から引当することができた。 As a result of the allocation by the allocation unit 102a, both the product A and the product B having the Web order No. A1000 could be allocated from the same warehouse (warehouse A).

このように、同一のWeb注文Noを有する商品すべてを同一の倉庫から引当できた場合、第一作成部102bは、図4の受注データ106fの1行目に示すように、Web注文No:A1000の商品Aについて、Web注文No:A1000と、商品名:商品Aと、引当先となった倉庫(出庫倉庫に相当)の倉庫名:倉庫Aと、倉庫Aから減じた在庫数(受注数に相当):10と、エラー区分:無しと、を含む受注レコードを作成する。また、第一作成部102bは、図4の売上データ106gの1行目に示すように、Web注文No:A1000の商品Aについて、Web注文No:A1000と、商品名:商品Aと、引当先となった倉庫(出庫倉庫に相当)の倉庫名:倉庫Aと、倉庫Aから減じた在庫数(売上数に相当):10と、エラー区分:無しと、を含む売上レコードを作成する。 In this way, when all the products having the same Web order No. can be allocated from the same warehouse, the first creation unit 102b will perform the Web order No .: A1000 as shown in the first line of the order data 106f in FIG. About product A, Web order No.: A1000, product name: product A, warehouse name of the warehouse (corresponding to the shipping warehouse) that was the allocation destination: warehouse A, and the number of stocks reduced from warehouse A (to the number of orders) Equivalent): Create an order record including 10 and error classification: none. Further, as shown in the first line of the sales data 106g in FIG. 4, the first creation unit 102b has, regarding the product A of the Web order No. A1000, the Web order No. A1000, the product name: Product A, and the allocation destination. Create a sales record including the warehouse name of the warehouse (corresponding to the delivery warehouse): warehouse A, the number of inventories subtracted from the warehouse A (corresponding to the number of sales): 10, and the error classification: none.

同様の方法で、第一作成部102bは、図4の受注データ106fおよび売上データ106gの2行目に示すように、Web注文No:A1000の商品Bについて、「エラー区分:無し」を含む受注レコードおよび売上レコードを作成する。 In the same manner, as shown in the second line of the order data 106f and the sales data 106g in FIG. 4, the first creation unit 102b receives an order including "error classification: none" for the product B of the Web order No. A1000. Create records and sales records.

(2)Web注文No:A1001で特定される商品についての処理
次に、Web注文No:A1001の商品Aの在庫引当について説明する。(1)で説明したように、在庫引当後、倉庫Aにおける商品Aの在庫数は10である。このため、引当部102aは、倉庫Aにおける商品Aの在庫数10から、Web注文No:A1001の商品Aの注文10を減じることにより、在庫引当を行う。
(2) Processing for the Product Specified by the Web Order No: A1001 Next, the inventory allocation of the product A of the Web Order No: A1001 will be described. As described in (1), the number of goods A in stock in the warehouse A is 10 after the stock allocation. Therefore, the allocation unit 102a allocates inventory by subtracting the order 10 of the product A of the Web order No. A1001 from the inventory number 10 of the product A in the warehouse A.

引当部102aでの引当の結果、Web注文No:A1001を有する商品Aについて、倉庫Aから引当することができた。このように、同一のWeb注文Noを有する商品すべてを同一の倉庫から引当できた場合、第一作成部102bは、図4の受注データ106fおよび売上データ106gの3行目に示すように、Web注文No:A1001の商品Aについて、「エラー区分:無し」を含む受注レコードおよび売上レコードを作成する。 As a result of the allocation by the allocation unit 102a, the product A having the Web order No. A1001 could be allocated from the warehouse A. In this way, when all the products having the same Web order No. can be allocated from the same warehouse, the first creation unit 102b will perform the Web as shown in the third line of the order data 106f and the sales data 106g in FIG. For the product A of the order No. A1001, an order record and a sales record including "error classification: none" are created.

[3-2.異なる注文明細中の商品の引当先が複数倉庫に割れた場合]
次に、異なる注文明細中の商品の引当先が複数倉庫に割れた場合の処理について、図5を用いて詳細に説明する。
[3-2. When the allocation of goods in different order lines is divided into multiple warehouses]
Next, the processing when the allocation destination of the products in the different order details is divided into a plurality of warehouses will be described in detail with reference to FIG.

(1)Web注文No:A1000で特定される商品についての処理
図5の注文データ106dを参照すると、Web注文No:A1000で特定される商品は、商品Aおよび商品Bの二つである。
(1) Processing for the Product Specified by Web Order No: A1000 With reference to the order data 106d in FIG. 5, there are two products specified by Web Order No: A1000, Product A and Product B.

まず、Web注文No:A1000の商品Aの在庫引当について説明する。図5の現在庫データ106eを参照すると、商品Aと紐付く倉庫は、倉庫Aおよび倉庫Cであるが、図3の引当優先順位マスタ106cを参照すると、商品Aについては倉庫Aの方が高い優先順位(1)を有する。このため、引当部102aは、倉庫Aにおける商品Aの在庫数10から、Web注文No:A1000の商品Aの注文数10を減じることにより、在庫引当を行う。在庫引当後、倉庫Aにおける商品Aの在庫数は、10-10=0となる。 First, the inventory allocation of the product A of the Web order No .: A1000 will be described. With reference to the current warehouse data 106e of FIG. 5, the warehouses associated with the product A are the warehouse A and the warehouse C, but with reference to the allocation priority master 106c of FIG. 3, the warehouse A is higher for the product A. It has a priority (1). Therefore, the allocation unit 102a allocates the inventory by subtracting the order number 10 of the product A of the Web order No. A1000 from the inventory number 10 of the product A in the warehouse A. After the inventory is allocated, the number of products A in stock in the warehouse A becomes 10-10 = 0.

続いて、Web注文No:A1000の商品Bの在庫引当について説明する。図5の現在庫データ106eを参照すると、商品Bと紐付く倉庫は、倉庫Cのみである。このため、引当部102aは、倉庫Cにおける商品Bの在庫数20から、Web注文No:A1000の商品Bの注文数5を減じることにより、在庫引当を行う。在庫引当後、倉庫Cにおける商品Bの在庫数は、20-5=15となる。 Next, the inventory allocation of the product B of the Web order No .: A1000 will be described. With reference to the current warehouse data 106e in FIG. 5, the only warehouse associated with the product B is the warehouse C. Therefore, the allocation unit 102a allocates the inventory by subtracting the number of orders 5 of the product B of the Web order No. A1000 from the inventory number 20 of the product B in the warehouse C. After stock allocation, the number of goods B in stock in warehouse C becomes 20-5 = 15.

引当部102aでの引当の結果、Web注文No:A1000有する商品Aおよび商品Bについて、複数の倉庫(それぞれ、倉庫Aおよび倉庫C)から引当することができた。 As a result of the allocation by the allocation unit 102a, the product A and the product B having the Web order No. A1000 could be allocated from a plurality of warehouses (warehouse A and warehouse C, respectively).

このように、同一のWeb注文Noを有する商品を複数の倉庫から引当できた場合、第二作成部102cは、図5の受注データ106fの1行目に示すように、Web注文No:A1000の商品Aについて、Web注文No:A1000と、商品名:商品Aと、引当先となった倉庫(出庫倉庫に相当)の倉庫名:倉庫Aと、倉庫Aから減じた在庫数(受注数に相当):10と、エラー区分:警告※と、を含む受注レコードを作成する。また、第二作成部102cは、図5の売上データ106gの1行目に示すように、Web注文No:A1000の商品Aについて、Web注文No:A1000と、商品名:商品Aと、引当先となった倉庫(出庫倉庫に相当)の倉庫名:倉庫Aと、倉庫Aから減じた在庫数(売上数に相当):10と、エラー区分:警告※と、を含む売上レコードを作成する。 In this way, when products having the same Web order No. can be allocated from a plurality of warehouses, the second creation unit 102c has the Web order No .: A1000 as shown in the first line of the order data 106f in FIG. Regarding product A, Web order No .: A1000, product name: product A, warehouse name of the warehouse (corresponding to the shipping warehouse) that was the allocation destination: warehouse A, and the number of stocks reduced from warehouse A (corresponding to the number of orders) ): Create an order record that includes 10 and error classification: warning *. Further, as shown in the first line of the sales data 106g in FIG. 5, the second creation unit 102c has, regarding the product A of the Web order No. A1000, the Web order No. A1000, the product name: Product A, and the allocation destination. Create a sales record that includes the warehouse name of the warehouse (corresponding to the issuing warehouse): warehouse A, the number of inventories subtracted from warehouse A (corresponding to the number of sales): 10, and the error classification: warning *.

同様の方法で、第二作成部102cは、図5の受注データ106fおよび売上データ106gの2行目に示すように、Web注文No:A1000の商品Bについて、「エラー区分:警告※」を含む受注レコードおよび売上レコードを作成する。 In the same manner, the second creation unit 102c includes "error classification: warning *" for the product B of the Web order No. A1000, as shown in the second line of the order data 106f and the sales data 106g in FIG. Create sales order records and sales records.

このように、第二作成部102cは、異なる注文明細に含まれるが、同一のWeb注文No:A1000を有する商品Aおよび商品Bの引当先が、別の倉庫となる場合、警告を含む受注レコードおよび売上レコードを作成することができる。 As described above, the second creation unit 102c includes an order record including a warning when the allocation destinations of the product A and the product B, which are included in different order details but have the same Web order No. A1000, are different warehouses. And sales records can be created.

通知部102dは、第二作成部102cで作成した受注レコードおよび売上レコードが含む「Web注文No:A1000」および「商品名:商品A、商品B」をオペレータに通知してもよい。この通知を元に、オペレータが図5に示す受注データ106fおよび売上データ106gを参照することで、オペレータは、同一のWeb注文No:A1000を有する商品Aおよび商品Bの引当先が別倉庫となっていることを正確かつ迅速に把握できる。オペレータは、必要に応じて、図5に示す受注レコードおよび売上レコードに含まれる出庫倉庫や数量を調整してもよい。 The notification unit 102d may notify the operator of "Web order No .: A1000" and "product name: product A, product B" included in the order record and the sales record created by the second creation unit 102c. Based on this notification, the operator refers to the order data 106f and the sales data 106g shown in FIG. 5, so that the operator can allocate the product A and the product B having the same Web order No .: A1000 to different warehouses. You can know exactly what you are doing. The operator may adjust the warehouse and quantity included in the order record and the sales record shown in FIG. 5 as necessary.

(2)Web注文No:A1001で特定される商品についての処理
次に、Web注文No:A1001の商品Aの在庫引当について説明する。(1)で説明したように、在庫引当後、倉庫Aにおける商品Aの在庫数は0である。ここで、(1)で説明したように、図5の現在庫データ106eを参照すると、商品Aと紐付く倉庫は、倉庫Aおよび倉庫Cである。このため、引当部102aは、倉庫Cにおける商品Aの在庫数10から、Web注文No:A1001の商品Aの注文10を減じることにより、在庫引当を行う。
(2) Processing for the Product Specified by the Web Order No: A1001 Next, the inventory allocation of the product A of the Web Order No: A1001 will be described. As described in (1), the number of goods A in stock in the warehouse A is 0 after the stock allocation. Here, as described in (1), referring to the current warehouse data 106e in FIG. 5, the warehouses associated with the product A are the warehouse A and the warehouse C. Therefore, the allocation unit 102a allocates inventory by subtracting the order 10 of the product A of the Web order No. A1001 from the inventory number 10 of the product A in the warehouse C.

引当部102aでの引当の結果、Web注文No:A1001を有する商品Aについて、倉庫Cから引当することができた。このように、同一のWeb注文Noを有する商品を同一の倉庫から引当できた場合、第二作成部102cは、図5の受注データ106fおよび売上データ106gの3行目に示すように、Web注文No:A1001の商品Aについて、「エラー区分:無し」を含む受注レコードおよび売上レコードを作成する。 As a result of the allocation by the allocation unit 102a, the product A having the Web order No. A1001 could be allocated from the warehouse C. In this way, when products having the same Web order No. can be allocated from the same warehouse, the second creation unit 102c orders the Web as shown in the third line of the order data 106f and the sales data 106g in FIG. For product A of No: A1001, an order record and a sales record including "error classification: none" are created.

[3-3.同一の注文明細中の商品の引当先が複数倉庫に割れた場合]
次に、同一の注文明細中の商品の引当先が複数倉庫に割れた場合の処理について、図6を用いて詳細に説明する。
[3-3. When the allocation destination of the product in the same order line is divided into multiple warehouses]
Next, the processing when the allocation destination of the product in the same order item is divided into a plurality of warehouses will be described in detail with reference to FIG.

(1)Web注文No:A1000で特定される商品についての処理
図6の注文データ106dを参照すると、Web注文No:A1000で特定される商品は、商品Aおよび商品Bの二つである。
(1) Processing for the product specified by the Web order No: A1000 With reference to the order data 106d in FIG. 6, the products specified by the Web order No: A1000 are two products A and B.

まず、Web注文No:A1000の商品Aの在庫引当について説明する。図6の現在庫データ106eを参照すると、商品Aと紐付く倉庫は、倉庫Aおよび倉庫Cであるが、図3の引当優先順位マスタ106cを参照すると、商品Aについては倉庫Aの方が高い優先順位(1)を有する。このため、引当部102aは、倉庫Aにおける商品Aの在庫数7から、Web注文No:A1000の商品Aの注文数10のうち7を減じることにより、在庫引当を行う。在庫引当後、倉庫Aにおける商品Aの在庫数は、7-7=0となる。 First, the inventory allocation of the product A of the Web order No .: A1000 will be described. With reference to the current warehouse data 106e of FIG. 6, the warehouses associated with the product A are the warehouse A and the warehouse C, but with reference to the allocation priority master 106c of FIG. 3, the warehouse A is higher for the product A. It has a priority (1). Therefore, the allocation unit 102a allocates inventory by subtracting 7 out of 10 orders of product A of Web order No. A1000 from the inventory number 7 of product A in the warehouse A. After stock allocation, the number of goods A in stock in warehouse A becomes 7-7 = 0.

続いて、引当部102aは、Web注文No:A1000の商品Aの注文数10のうち、引当できなかった3個分について引当を行う。すなわち、引当部102aは、倉庫Cにおける商品Aの在庫数20から、Web注文No:A1000の商品Aの前記引当できなかった分である3を減じることにより、在庫引当を行う。在庫引当後、倉庫Cにおける商品Aの在庫数は、20-3=17となる。 Subsequently, the allocation unit 102a allocates three items that could not be allocated out of the ten orders of the product A of the Web order No. A1000. That is, the allocation unit 102a allocates the inventory by subtracting 3 which is the portion of the product A of the Web order No. A1000 that could not be allocated from the inventory number 20 of the product A in the warehouse C. After stock allocation, the number of goods A in stock in warehouse C becomes 20-3 = 17.

続いて、Web注文No:A1000の商品Bの在庫引当について説明する。図6の現在庫データ106eを参照すると、商品Bと紐付く倉庫は、倉庫Cのみである。このため、引当部102aは、倉庫Cにおける商品Bの在庫数20から、Web注文No:A1000の商品Bの注文数5を減じることにより、在庫引当を行う。在庫引当後、倉庫Cにおける商品Bの在庫数は、20-5=15となる。 Next, the inventory allocation of the product B of the Web order No .: A1000 will be described. With reference to the current warehouse data 106e in FIG. 6, the only warehouse associated with the product B is the warehouse C. Therefore, the allocation unit 102a allocates the inventory by subtracting the number of orders 5 of the product B of the Web order No. A1000 from the inventory number 20 of the product B in the warehouse C. After stock allocation, the number of goods B in stock in warehouse C becomes 20-5 = 15.

引当部102aでの引当の結果、Web注文No:A1000有する商品A10個のうち、7個分は倉庫Aから引当でき、残りの3個分は倉庫Cから引当できた。また、Web注文No:A1000有する商品Bの引当先は、倉庫Cとなった。 As a result of the allocation by the allocation unit 102a, 7 out of 10 products A having the Web order No. A1000 could be allocated from the warehouse A, and the remaining 3 items could be allocated from the warehouse C. Further, the allocation destination of the product B having the Web order No .: A1000 is the warehouse C.

このように、同一のWeb注文Noを有する商品を複数の倉庫から引当できた場合、第二作成部102cは、図6の受注データ106fの1行目に示すように、Web注文No:A1000の商品Aの7個分について、Web注文No:A1000と、商品名:商品Aと、引当先となった倉庫(出庫倉庫に相当)の倉庫名:倉庫Aと、倉庫Aから減じた在庫数(受注数に相当):7と、エラー区分:警告※と、を含む受注レコードを作成する。また、第二作成部102cは、図6の売上データ106gの1行目に示すように、Web注文No:A1000の商品Aの7個分について、Web注文No:A1000と、商品名:商品Aと、引当先となった倉庫(出庫倉庫に相当)の倉庫名:倉庫Aと、倉庫Aから減じた在庫数(売上数に相当):7と、エラー区分:警告※と、を含む売上レコードを作成する。 In this way, when products having the same Web order No. can be allocated from a plurality of warehouses, the second creation unit 102c has the Web order No .: A1000 as shown in the first line of the order data 106f in FIG. For 7 items of product A, Web order No .: A1000, product name: product A, warehouse name of the warehouse (corresponding to the shipping warehouse) that was the allocation destination: warehouse A, and the number of stocks subtracted from warehouse A ( Create an order record that includes (corresponding to the number of orders): 7 and error classification: warning *. Further, as shown in the first line of the sales data 106g in FIG. 6, the second creation unit 102c has the Web order No. A1000 and the product name: Product A for seven products A of the Web order No. A1000. A sales record that includes the warehouse name of the warehouse (corresponding to the issuing warehouse) that was the allocation destination: warehouse A, the number of inventories subtracted from warehouse A (corresponding to the number of sales): 7, and the error classification: warning *. To create.

同様の方法で、第二作成部102cは、図6の受注データ106fおよび売上データ106gの2行目および3行目にそれぞれ示すように、Web注文No:A1000の商品Aの残りの3個分およびWeb注文No:A1000の商品Bについて、「エラー区分:警告※」を含む受注レコードおよび売上レコードを作成する。 In the same manner, as shown in the second and third lines of the order data 106f and the sales data 106g of FIG. And, for the product B of the Web order No .: A1000, an order record and a sales record including "error classification: warning *" are created.

このように、第二作成部102cは、同一の注文明細に含まれ、同一のWeb注文No:A1000を有する商品Aの引当先が、別の倉庫となる場合においても、警告を含む受注レコードおよび売上レコードを作成することができる。 In this way, the second creation unit 102c includes an order record including a warning and a warning even when the allocation destination of the product A which is included in the same order details and has the same Web order No. A1000 is a different warehouse. You can create sales records.

通知部102dは、第二作成部102cで作成した受注レコードおよび売上レコードが含む「Web注文No:A1000」および「商品名:商品A、商品B」をオペレータに通知してもよい。この通知を元に、オペレータが図6に示す受注データ106fおよび売上データ106gを参照することで、オペレータは、同一のWeb注文No:A1000を有する商品Aの7個分と3個分の引当先が別倉庫となっていること、および、同一のWeb注文No:A1000を有する商品Aおよび商品Bのうち、商品Aの7個分と商品B全部の引当先が別倉庫となっていることを正確かつ迅速に把握できる。オペレータは、必要に応じて、図6に示す受注レコードおよび売上レコードに含まれる出庫倉庫や数量を調整してもよい。 The notification unit 102d may notify the operator of "Web order No .: A1000" and "product name: product A, product B" included in the order record and the sales record created by the second creation unit 102c. Based on this notification, the operator refers to the order data 106f and the sales data 106g shown in FIG. 6, so that the operator can allocate 7 products and 3 products A having the same Web order No .: A1000. Is a separate warehouse, and of the product A and product B having the same Web order No .: A1000, 7 products of product A and all the allocation destinations of product B are in separate warehouses. It can be grasped accurately and quickly. The operator may adjust the warehouse and quantity included in the order record and the sales record shown in FIG. 6 as necessary.

(2)Web注文No:A1001で特定される商品についての処理
次に、Web注文No:A1001の商品Aの在庫引当について説明する。(1)で説明したように、在庫引当後、倉庫Cにおける商品Aの在庫数は17である。このため、引当部102aは、倉庫Cにおける商品Aの在庫数17から、Web注文No:A1001の商品Aの注文数10を減じることにより、在庫引当を行う。
(2) Processing for the Product Specified by the Web Order No: A1001 Next, the inventory allocation of the product A of the Web Order No: A1001 will be described. As described in (1), the number of goods A in stock in the warehouse C is 17 after the stock allocation. Therefore, the allocation unit 102a allocates the inventory by subtracting the order number 10 of the product A of the Web order No. A1001 from the inventory number 17 of the product A in the warehouse C.

引当部102aでの引当の結果、Web注文No:A1001を有する商品Aについて、倉庫Cから引当することができた。このように、同一のWeb注文Noを有する商品を同一の倉庫から引当できた場合、第二作成部102cは、図6の受注データ106fおよび売上データ106gの4行目に示すように、Web注文No:A1001の商品Aについて、「エラー区分:無し」を含む受注レコードおよび売上レコードを作成する。 As a result of the allocation by the allocation unit 102a, the product A having the Web order No. A1001 could be allocated from the warehouse C. In this way, when products having the same Web order No. can be allocated from the same warehouse, the second creation unit 102c orders the Web as shown in the fourth line of the order data 106f and the sales data 106g in FIG. For product A of No: A1001, an order record and a sales record including "error classification: none" are created.

[3-4.在庫が不足する場合]
最後に、在庫が不足する場合の処理について、図7を用いて詳細に説明する。
[3-4. When inventory is insufficient]
Finally, the processing when the inventory is insufficient will be described in detail with reference to FIG. 7.

(1)Web注文No:A1000で特定される商品についての処理
Web注文No:A1000で特定される商品Aおよび商品Bの在庫引当ならびに受注レコードおよび売上レコードの作成については、具体的な数値は異なるが処理方法は[3-1]の(1)と同様であるため、説明を省略する。Web注文No:A1000を有する商品Aについて作成される受注レコードおよび売上レコードを、図7の受注データ106fおよび売上データ106gの1行目に示し、Web注文No:A1000を有する商品Bについて作成される受注レコードおよび売上レコードを、図7の受注データ106fおよび売上データ106gの2行目に示す。
(1) Processing for the product specified by Web order No: A1000 Specific numerical values are different for inventory allocation of product A and product B specified by Web order No: A1000 and creation of order record and sales record. However, since the processing method is the same as (1) of [3-1], the description thereof will be omitted. The order record and the sales record created for the product A having the Web order No: A1000 are shown in the first line of the order data 106f and the sales data 106g in FIG. 7, and are created for the product B having the Web order No: A1000. The order record and the sales record are shown in the second line of the order data 106f and the sales data 106g in FIG. 7.

(2)Web注文No:A1001で特定される商品についての処理
次に、Web注文No:A1001の商品Aの在庫引当について説明する。(1)での在庫引当後、倉庫Aにおける商品Aの在庫数は、在庫数10-Web注文No:A1000の商品Aの注文数10=0となる。ここで、図7の現在庫データ106eを参照すると、商品Aと紐付く倉庫は、倉庫Aおよび倉庫Cであるが、倉庫Cにおける商品Aの在庫数5は、Web注文No:A1001の商品Aの注文数10に達しておらず、在庫が不足している。
(2) Processing for the Product Specified by the Web Order No: A1001 Next, the inventory allocation of the product A of the Web Order No: A1001 will be described. After the inventory allocation in (1), the inventory quantity of the product A in the warehouse A becomes 10 = 0 in the inventory quantity 10-Web order No .: the order quantity of the product A of A1000. Here, referring to the current warehouse data 106e of FIG. 7, the warehouses associated with the product A are the warehouse A and the warehouse C, but the inventory number 5 of the product A in the warehouse C is the product A of the Web order No .: A1001. The number of orders has not reached 10, and the stock is insufficient.

このように、同一のWeb注文Noを有する商品のうち、注文数分の引当ができない商品が存在する場合、第三作成部102eは、図7の受注データ106fの3行目に示すように、Web注文No:A1001の商品Aについて、Web注文No:A1001と、商品名:商品Aと、架空上の倉庫の倉庫名:ダミー倉庫と、注文数:10と、エラー区分:有りと、を含む受注レコードを作成する。このように、在庫不足の場合には、引当可能倉庫が存在しないこととなるため、第三作成部102eは、事前に図3の倉庫マスタ106bに登録されたダミー倉庫を受注レコードにセットする。なお、第三作成部102eは、Web注文No:A1001の商品Aについて、売上レコードの作成は行わない。 As described above, when there is a product having the same Web order No. that cannot be allocated for the number of orders, the third creation unit 102e displays the order data 106f in FIG. 7 in the third line. Regarding the product A of the Web order No. A1001, the Web order No. A1001, the product name: Product A, the warehouse name of the fictitious warehouse: dummy warehouse, the number of orders: 10, and the error classification: Yes are included. Create a sales order record. As described above, in the case of insufficient inventory, the availableable warehouse does not exist. Therefore, the third creation unit 102e sets the dummy warehouse registered in advance in the warehouse master 106b of FIG. 3 in the order record. The third creation unit 102e does not create a sales record for the product A of the Web order No. A1001.

ダミー倉庫を含む受注レコードに基づいて出荷および売上をしたい場合には、オペレータは、売上入力画面から指示を行い、当該受注レコードを呼び出す。前記売上入力画面からの指示を受けると、表示部102fは、第三作成部102eで作成したダミー倉庫を含む受注レコードを前記売上入力画面に表示する。 When it is desired to ship and sell based on the order record including the dummy warehouse, the operator gives an instruction from the sales input screen and calls the order record. Upon receiving an instruction from the sales input screen, the display unit 102f displays an order record including a dummy warehouse created by the third creation unit 102e on the sales input screen.

そして、前記売上入力画面に表示されたダミー倉庫を含む受注レコードにおいて、オペレータが、倉庫の変更(必要に応じて、商品や数量の変更)を行うと、売上レコード作成部102gは、図7の売上データ登録に示すように、Web注文No:A1001および商品名:商品Aを含み、ダミー倉庫が倉庫Cに変更されており、注文数10が倉庫Cから引当できる在庫数である5に変更されており、エラーが削除されてエラー区分「無し」となっている売上レコードを作成する。これにより、在庫が不足する場合において、注文数(=10個)の一部だけ(=5個)でも適当な倉庫から出荷するという柔軟な対応が可能となる。 Then, when the operator changes the warehouse (changes the product or quantity as necessary) in the order record including the dummy warehouse displayed on the sales input screen, the sales record creation unit 102g is shown in FIG. As shown in the sales data registration, the dummy warehouse has been changed to warehouse C, including the Web order No. A1001 and the product name: product A, and the number of orders 10 has been changed to 5, which is the number of stocks that can be allocated from warehouse C. Create a sales record with the error deleted and the error category "None". As a result, when the inventory is insufficient, it is possible to flexibly deal with the fact that only a part (= 5 pieces) of the number of orders (= 10 pieces) is shipped from an appropriate warehouse.

[4.まとめ]
以上、本実施形態に係る受注・売上管理装置100によれば、倉庫の在庫状況に応じて柔軟な受注・売上管理を行うと共に、必要に応じて警告やエラーを発生させることができる。
[4. summary]
As described above, according to the order / sales management device 100 according to the present embodiment, it is possible to flexibly manage orders / sales according to the inventory status of the warehouse and generate warnings and errors as necessary.

[5.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[5. Other embodiments]
In addition to the above-described embodiments, the present invention may be implemented in various different embodiments within the scope of the technical idea described in the claims.

例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, of each of the processes described in the embodiments, all or part of the processes described as being automatically performed may be manually performed, or all of the processes described as being performed manually. Alternatively, a part thereof can be automatically performed by a known method.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, the processing procedure, control procedure, specific name, information including parameters such as registration data and search conditions of each processing, screen examples, and database configuration shown in the present specification and drawings are not specified unless otherwise specified. Can be changed arbitrarily.

また、受注・売上管理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Further, with respect to the order / sales management device 100, each component shown in the figure is a functional concept and does not necessarily have to be physically configured as shown in the figure.

例えば、受注・売上管理装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて受注・売上管理装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。 For example, with respect to the processing functions included in the order / sales management device 100, particularly each processing function performed by the control unit, all or any part thereof is realized by the CPU and a program interpreted and executed by the CPU. It may be realized as hardware by wired logic. The program is recorded on a non-temporary computer-readable recording medium including a programmed instruction for causing the information processing apparatus to execute the process described in the present embodiment, and orders and sales are made as necessary. It is read mechanically by the management device 100. That is, a computer program for giving instructions to the CPU in cooperation with the OS and performing various processes is recorded in a storage unit such as a ROM or an HDD (Hard Disk Drive). This computer program is executed by being loaded into the RAM, and cooperates with the CPU to form a control unit.

また、このコンピュータプログラムは、受注・売上管理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。 Further, this computer program may be stored in an application program server connected to the order / sales management device 100 via an arbitrary network, and all or a part thereof may be downloaded as needed. It is possible.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 Further, the program for executing the process described in the present embodiment may be stored in a non-temporary computer-readable recording medium, or may be configured as a program product. Here, the "recording medium" includes a memory card, a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a flexible disk, an optical magnetic disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), and an EPROM (registered). Trademarks) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magnet-Optical Disk), MO (Magnet-Optical Disk), MO (Magnet-Optical Disc), DVD (Digital), DVD (Digital) It shall include any "portable physical medium".

また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 The "program" is a data processing method described in any language or description method, regardless of the format such as source code or binary code. The "program" is not necessarily limited to a single program, but is distributed as a plurality of modules or libraries, or cooperates with a separate program represented by the OS to achieve its function. Including things. It should be noted that well-known configurations and procedures can be used for specific configurations and reading procedures for reading the recording medium in each device shown in the embodiment, installation procedures after reading, and the like.

記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。 Various databases and the like stored in the storage unit are memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and storage means such as optical disks, and are used for various processes and website provision. Stores programs, tables, databases, files for web pages, etc.

また、受注・売上管理装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、受注・売上管理装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。 Further, the order / sales management device 100 may be configured as an information processing device such as a known personal computer or workstation, or may be configured as the information processing device to which an arbitrary peripheral device is connected. Further, the order / sales management device 100 may be realized by mounting software (including a program or data) that realizes the processing described in the present embodiment on the device.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Further, the specific form of distribution / integration of the device is not limited to the one shown in the drawing, and all or a part thereof may be functionally or physically in an arbitrary unit according to various additions or functional loads. It can be distributed and integrated. That is, the above-described embodiments may be arbitrarily combined and implemented, or the embodiments may be selectively implemented.

本発明は、例えば、複数倉庫を用いて在庫管理および出荷を行う業界において有用であり、特に、物流業界および小売業界等においては極めて有用である。 The present invention is useful, for example, in an industry in which inventory management and shipping are performed using a plurality of warehouses, and is extremely useful in the logistics industry, the retail industry, and the like.

100 受注・売上管理装置
102 制御部
102a 引当部
102b 第一作成部
102c 第二作成部
102d 通知部
102e 第三作成部
102f 表示部
102g 売上レコード作成部
104 通信インターフェース部
106 記憶部
106a 商品マスタ
106b 倉庫マスタ
106c 引当優先順位マスタ
106d 注文データ
106e 現在庫データ
106f 受注データ
106g 売上データ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 Order / Sales Management Device 102 Control Unit
102a Reserve
102b First preparation section
102c Second Creation Department
102d Notification section
102e Third Creation Department
102f display unit
102g Sales record creation unit 104 Communication interface unit 106 Storage unit
106a Product Master
106b Warehouse master
106c Reserve Priority Master
106d order data
106e Current warehouse data
106f Order data
106g Sales data 108 Input / output interface 112 Input device 114 Output device 200 Server 300 Network

Claims (6)

制御部および記憶部を備える受注・売上管理装置であって、
前記記憶部には、
注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、
倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、
前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、
が格納されており、
前記制御部は、
前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当手段と、
前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成手段と、
前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成手段と、
前記引当手段での引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成手段と、
を備えること、
を特徴とする受注・売上管理装置。
An order / sales management device equipped with a control unit and a storage unit.
In the storage unit
Order data including order identification data for identifying an order, product identification data for identifying a product, and the number of orders for the product, and
Inventory data including warehouse identification data for identifying a warehouse, product identification data, and the number of stocks of the product, and
A priority master that includes the priority that is set for each product when the warehouse is used as the allocation destination, and
Is stored,
The control unit
Regarding the product specified by the product identification data in the order data, among the warehouses specified by the warehouse identification data in the inventory data associated with the product identification data, the product specified by the priority master. In order from the warehouse with the highest priority set for, the stock allocation means for stock allocation by reducing the inventory quantity until the number of orders is reached, and
When all of the specified products having the same order identification data can be allocated from the same warehouse as a result of the allocation by the allocation means, the order identification data is based on the order data and the inventory data. And the first creation means for creating an order record and a sales record including the product identification data, the warehouse identification data for the warehouse to which the allocation is made, and the inventory quantity deducted from the warehouse.
As a result of the allocation by the allocation means, when the identified goods having the same order identification data can be allocated from a plurality of warehouses, the order identification data and the order identification data are obtained based on the order data and the inventory data. Warning that there are multiple allocation destinations for products that have the same order identification data as the product identification data and the warehouse identification data for the allocation destination warehouse and the number of stocks deducted from the warehouse. A second means of creating order records and sales records, including
As a result of the allocation by the allocation means, if there is a product that cannot be allocated for the number of orders among the specified products having the same order identification data, it is based on the order data and the inventory data. The order identification data, the product identification data, the fictitious warehouse identification data which is the warehouse identification data for identifying the fictitious warehouse, and the product having the same order identification data as the number of orders of the specified product. A third means of creating an order record that includes an error that means that some of them cannot be allocated, and
To prepare
Order / sales management device featuring.
前記制御部は、
前記第二作成手段で作成した前記受注レコードおよび前記売上レコードが含む前記注文識別データおよび前記商品識別データをオペレータに通知する通知手段
を更に備えること、
を特徴とする請求項1に記載の受注・売上管理装置。
The control unit
Further provided is a notification means for notifying the operator of the order identification data and the product identification data included in the order record and the sales record created by the second creation means.
The order / sales management device according to claim 1.
前記制御部は、
売上入力画面からの指示を受けて前記第三作成手段で作成した前記受注レコードを前記売上入力画面上に表示する表示手段と、
前記表示された受注レコード中の前記注文識別データおよび前記商品識別データを含み、前記表示された受注レコード中の前記架空倉庫識別データが実在する倉庫を識別するための前記倉庫識別データである実在倉庫識別データに変更されており、前記表示された受注レコード中の前記注文数が前記実在する倉庫から引当できる在庫数に変更されており、前記表示された受注レコード中の前記エラーが削除されている売上レコードを作成する売上レコード作成手段と、
を更に備えること、
を特徴とする請求項1または2に記載の受注・売上管理装置。
The control unit
A display means for displaying the order record created by the third creation means on the sales input screen in response to an instruction from the sales input screen, and
The real warehouse which includes the order identification data and the product identification data in the displayed order record and is the warehouse identification data for identifying the real warehouse in which the fictitious warehouse identification data in the displayed order record is present. It has been changed to identification data, the number of orders in the displayed order record has been changed to the number of stocks that can be allocated from the existing warehouse, and the error in the displayed order record has been deleted. How to create a sales record and how to create a sales record
To prepare further,
The order / sales management device according to claim 1 or 2.
前記注文データは、顧客からのウェブサイト上での注文により作成されるデータであり、
前記注文識別データは、前記ウェブサイト上での注文を識別するための注文番号であること、
を特徴とする請求項1から3のいずれか一つに記載の受注・売上管理装置。
The order data is data created by an order from a customer on a website.
The order identification data is an order number for identifying an order on the website.
The order / sales management device according to any one of claims 1 to 3, wherein the order / sales management device is characterized.
制御部および記憶部を備える情報処理装置で実行される受注・売上管理方法であって、
前記記憶部には、
注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、
倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、
前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、
が格納されており、
前記制御部で実行される、
前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成ステップと、
を含むこと、
を特徴とする受注・売上管理方法。
An order / sales management method executed by an information processing device including a control unit and a storage unit.
In the storage unit
Order data including order identification data for identifying an order, product identification data for identifying a product, and the number of orders for the product, and
Inventory data including warehouse identification data for identifying a warehouse, product identification data, and the number of stocks of the product, and
A priority master that includes the priority that is set for each product when the warehouse is used as the allocation destination, and
Is stored,
Executed by the control unit,
Regarding the product specified by the product identification data in the order data, among the warehouses specified by the warehouse identification data in the inventory data associated with the product identification data, the product specified by the priority master. In order from the warehouse with the highest priority set for, the inventory allocation step is performed by reducing the inventory quantity until the number of orders is reached.
If, as a result of the allocation in the allocation step, all of the specified products having the same order identification data can be allocated from the same warehouse, the order identification data is based on the order data and the inventory data. And the first creation step of creating an order record and a sales record including the product identification data, the warehouse identification data for the warehouse to which the allocation is made, and the inventory quantity deducted from the warehouse.
As a result of the allocation in the allocation step, when the specified goods having the same order identification data can be allocated from a plurality of warehouses, the order identification data and the order identification data are obtained based on the order data and the inventory data. Warning that there are multiple allocation destinations for products that have the same order identification data as the product identification data and the warehouse identification data for the allocation destination warehouse and the number of stocks deducted from the warehouse. The second creation step to create order records and sales records, including
As a result of the allocation in the allocation step, if there is a product that cannot be allocated for the number of orders among the specified products having the same order identification data, it is based on the order data and the inventory data. The order identification data, the product identification data, the fictitious warehouse identification data which is the warehouse identification data for identifying the fictitious warehouse, and the product having the same order identification data as the number of orders of the specified product. The third step of creating a sales order record that contains an error that means that some of them cannot be allocated, and
Including,
An order / sales management method characterized by.
制御部および記憶部を備える情報処理装置に実行させるための受注・売上管理プログラムであって、
前記記憶部には、
注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、
倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、
前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、
が格納されており、
前記制御部に実行させるための、
前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成ステップと、
を含むこと、
を特徴とする受注・売上管理プログラム。
An order / sales management program to be executed by an information processing device equipped with a control unit and a storage unit.
In the storage unit
Order data including order identification data for identifying an order, product identification data for identifying a product, and the number of orders for the product, and
Inventory data including warehouse identification data for identifying a warehouse, product identification data, and the number of stocks of the product, and
A priority master that includes the priority that is set for each product when the warehouse is used as the allocation destination, and
Is stored,
To make the control unit execute
Regarding the product specified by the product identification data in the order data, among the warehouses specified by the warehouse identification data in the inventory data associated with the product identification data, the product specified by the priority master. In order from the warehouse with the highest priority set for, the inventory allocation step is performed by reducing the inventory quantity until the number of orders is reached, and the allocation step.
If, as a result of the allocation in the allocation step, all of the specified products having the same order identification data can be allocated from the same warehouse, the order identification data is based on the order data and the inventory data. And the first creation step of creating an order record and a sales record including the product identification data, the warehouse identification data for the warehouse to which the allocation is made, and the inventory quantity deducted from the warehouse.
As a result of the allocation in the allocation step, when the identified goods having the same order identification data can be allocated from a plurality of warehouses, the order identification data and the order identification data are obtained based on the order data and the inventory data. Warning that there are multiple allocation destinations for products that have the same order identification data as the product identification data and the warehouse identification data for the allocation destination warehouse and the number of stocks deducted from the warehouse. The second creation step to create order records and sales records, including
As a result of the allocation in the allocation step, if there is a product that cannot be allocated for the number of orders among the specified products having the same order identification data, it is based on the order data and the inventory data. The order identification data, the product identification data, the fictitious warehouse identification data which is the warehouse identification data for identifying the fictitious warehouse, and the product having the same order identification data as the number of orders of the specified product. The third step of creating a sales order record that contains an error that means that some of them cannot be allocated, and
Including,
An order / sales management program featuring.
JP2018168820A 2018-09-10 2018-09-10 Order / sales management device, order / sales management method and order / sales management program Active JP7104594B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018168820A JP7104594B2 (en) 2018-09-10 2018-09-10 Order / sales management device, order / sales management method and order / sales management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018168820A JP7104594B2 (en) 2018-09-10 2018-09-10 Order / sales management device, order / sales management method and order / sales management program

Publications (2)

Publication Number Publication Date
JP2020042487A JP2020042487A (en) 2020-03-19
JP7104594B2 true JP7104594B2 (en) 2022-07-21

Family

ID=69798338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018168820A Active JP7104594B2 (en) 2018-09-10 2018-09-10 Order / sales management device, order / sales management method and order / sales management program

Country Status (1)

Country Link
JP (1) JP7104594B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102340810B1 (en) * 2021-04-26 2021-12-20 쿠팡 주식회사 Operating method for electronic apparatus for offering information related to order and electronic apparatus supporting thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002362743A (en) 2001-04-06 2002-12-18 Canon Inc Distribution control system and its method as well as server device and its control method
JP2003012154A (en) 2001-07-02 2003-01-15 Mitsubishi Electric Corp Stock management device and stock management method
JP2013065166A (en) 2011-09-16 2013-04-11 Ricoh Co Ltd Allocation management device, allocation management method, and allocation management program
JP2018136801A (en) 2017-02-22 2018-08-30 株式会社オービック Stock allocation order setting device, stock allocation order setting method, and stock allocation order setting program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11296606A (en) * 1998-04-13 1999-10-29 Mitsubishi Electric Corp Parts supply device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002362743A (en) 2001-04-06 2002-12-18 Canon Inc Distribution control system and its method as well as server device and its control method
JP2003012154A (en) 2001-07-02 2003-01-15 Mitsubishi Electric Corp Stock management device and stock management method
JP2013065166A (en) 2011-09-16 2013-04-11 Ricoh Co Ltd Allocation management device, allocation management method, and allocation management program
JP2018136801A (en) 2017-02-22 2018-08-30 株式会社オービック Stock allocation order setting device, stock allocation order setting method, and stock allocation order setting program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
米山 健,ERPパッケージ拡張機能としてのSCP構築の試み:予稿集2008-10029-133 2000年03月14日 ,第60回(平成12年前期)全国大会講演論文集(4),社団法人情報処理学会,4-267~ 4-268

Also Published As

Publication number Publication date
JP2020042487A (en) 2020-03-19

Similar Documents

Publication Publication Date Title
JP2022132601A (en) Inventory reservation processing device, inventory reservation processing method, and inventory reservation processing program
JP7488940B2 (en) WAREHOUSE ACQUISITION DEVICE, WAREHOUSE ACQUISITION METHOD, AND WAREHOUSE ACQUISITION PROGRAM
JP7104594B2 (en) Order / sales management device, order / sales management method and order / sales management program
JP7199879B2 (en) Inventory allocation device, inventory allocation method and inventory allocation program
JP6793034B2 (en) Shipping deadline management device, shipping deadline management method and shipping deadline management program
JP6829052B2 (en) Shipping information management device, shipping information management method and shipping information management program
JP6990514B2 (en) Report output control device, report output control method and report output control program
JP7175777B2 (en) Product arrangement work support device, product arrangement work support method, and product arrangement work support program
JP6920155B2 (en) Logistics management equipment, logistics management methods, and logistics management programs
JP6951066B2 (en) Allocation processing execution device, allocation processing execution method, and allocation processing execution program
JP6937130B2 (en) Inventory management device, inventory management method and inventory management program
JP7456914B2 (en) Business support devices, business support methods, and business support programs
JP7445582B2 (en) Shipping warehouse determination device, shipping warehouse determination method, and shipping warehouse determination program
JP7112299B2 (en) Order-related work support system and order-related work support method
JP6967165B2 (en) Shipping information management device, shipping information management method and shipping information management program
JP7131989B2 (en) Inventory allocation processing device, inventory allocation processing method, and inventory allocation processing program
JP7198706B2 (en) INVENTORY INQUIRY DEVICE, INVENTORY INQUIRY METHOD, AND INVENTORY INQUIRY PROGRAM
JP7410847B2 (en) Inventory management support device, inventory management support method, and inventory management support program
JP7285115B2 (en) Subscription device, subscription method, and subscription program
JP2018120515A (en) Product management device, product management method, and product management program
JP2023128407A (en) Credit status check device, credit status check method and credit status check program
JP2022072360A (en) Inventory management device, inventory management method, and inventory management program
JP2021114199A (en) Information processing device, stock management method and stock management program
JP2024045660A (en) Shipping deadline management device, shipping deadline management method, and shipping deadline management program
JP2020004291A (en) Inventory allocation apparatus, inventory allocation method and inventory allocation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220420

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220614

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220708

R150 Certificate of patent or registration of utility model

Ref document number: 7104594

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150