JP2020042487A - Order acceptance and sales managing device, order acceptance and sales managing method and order acceptance and sales managing program - Google Patents

Order acceptance and sales managing device, order acceptance and sales managing method and order acceptance and sales managing program Download PDF

Info

Publication number
JP2020042487A
JP2020042487A JP2018168820A JP2018168820A JP2020042487A JP 2020042487 A JP2020042487 A JP 2020042487A JP 2018168820 A JP2018168820 A JP 2018168820A JP 2018168820 A JP2018168820 A JP 2018168820A JP 2020042487 A JP2020042487 A JP 2020042487A
Authority
JP
Japan
Prior art keywords
order
warehouse
product
identification data
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.)
Granted
Application number
JP2018168820A
Other languages
Japanese (ja)
Other versions
JP7104594B2 (en
Inventor
静乃 佐香
Shizuno Saga
静乃 佐香
隆典 清水
Takanori Shimizu
隆典 清水
壮一 森下
Soichi Morishita
壮一 森下
剛光 上野
Takemitsu Ueno
剛光 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Obic Co Ltd
Original Assignee
Obic Co Ltd
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 Obic Co Ltd filed Critical Obic Co Ltd
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)

Abstract

To provide an order acceptance and sales managing device, an order acceptance and sales managing method and an order acceptance and sales managing program which flexibly manage order acceptance and sales in accordance with an in-stock state at a warehouse, and which can create an alert or an error as needed.SOLUTION: According to this embodiment, (1) when all products having the same order number can be allocated from the same warehouse among the products in order data, an order acceptance record and a sales record are created so as not to create an alert or an error, (2) when the products having the same order number can be allocated from a plurality of warehouses among the products in the order data, the order acceptance record and the sales record are created so as to create an alert, and (3) when there are products that cannot be allocated by the ordered number among the products having the same order number in the order data, the order acceptance record is created so as to create an error.SELECTED DRAWING: Figure 2

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 Literature 1 states, “If the quantity of shipping reservation order information is the number of batch units, for example, 100 pieces or more and it is not possible to satisfy the shipping reservation with only one lot, a plurality of plans are set according to the priority of timely supply. And allocating by dividing into lots ”(see paragraph 0153 of Patent Document 1).

特開2003−91309号公報JP 2003-91309 A

しかしながら、上記特許文献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. In other words, in the logistics industry and the retail industry, order management and sales of products are often managed using order identification data (order numbers).
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 the warehouse A).
→ Automatically create order data and sales data2. If all the products in the same order number can be allocated from multiple warehouses (for example, among products A and B having the same order number A1000, product A can be allocated from warehouse A and product B can be allocated). Is when inventory can be allocated from warehouse B)
→ Automatically create order data and sales data and generate a warning at the same time. In the case where an out-of-stock product occurs among all the products in the same order number (for example, among the products A and B having the same order number A1000, the product A can be reserved from the warehouse A, If inventory is not enough in warehouse B)
→ This is a request to flexibly manage orders and sales according to the stock status of the warehouse, such as automatically creating only order data and generating errors, and to generate warnings and errors as necessary.

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

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

また、本発明に係る受注・売上管理装置は、前記制御部が、前記第二作成手段で作成した前記受注レコードおよび前記売上レコードが含む前記注文識別データおよび前記商品識別データをオペレータに通知する通知手段を更に備えること、を特徴とする。   In the order / sales management device according to the present invention, the control unit may notify an 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 unit. It is characterized by further comprising means.

また、本発明に係る受注・売上管理装置は、前記制御部が、売上入力画面からの指示を受けて前記第三作成手段で作成した前記受注レコードを前記売上入力画面上に表示する表示手段と、前記表示された受注レコード中の前記注文識別データおよび前記商品識別データを含み、前記表示された受注レコード中の前記架空倉庫識別データが実在する倉庫を識別するための前記倉庫識別データである実在倉庫識別データに変更されており、前記表示された受注レコード中の前記注文数が前記実在する倉庫から引当できる在庫数に変更されており、前記表示された受注レコード中の前記エラーが削除されている売上レコードを作成する売上レコード作成手段と、を更に備えること、を特徴とする。   The order receiving / sales management device according to the present invention, wherein the control unit receives the instruction from the sales input screen and displays the order record created by the third creating means on the sales input screen. A real store that includes the order identification data and the product identification data in the displayed order record, and is the warehouse identification data for identifying a warehouse in which the fictitious warehouse identification data in the displayed order record exists. Has been changed to 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. Sales record creation means for creating a sales record.

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

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

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

本発明によれば、倉庫の在庫状況に応じて柔軟な受注・売上管理を行うと共に、必要に応じて警告やエラーを発生させることができるという効果を奏する。   ADVANTAGE OF THE INVENTION According to this invention, while being able to perform flexible order receiving / sales management according to the stock situation of a warehouse, it produces the effect that a warning and an error can be generated as needed.

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

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

[1.概要]
Webサイトで顧客が注文したデータをシステムに連携する場合には、出荷倉庫については、注文者である顧客が選択するのではなく、システム側で自動セットされる場合が多い。従来においては、システム上で在庫引当を行う際には、商品および倉庫を指定した上で、倉庫に引当可能在庫があるか否かを確認していた。しかしながら、Webサイト経由での注文は日次で大量に発生するため、Web注文データをシステムに連携して売上計上を行うにあたり、以下の1〜2の要求が存在していた。
1.Webサイト経由での注文の際に、引当先となる倉庫を制限したい。また、商品ごとに、引当先となる倉庫の優先付けをしたい。
2.1明細中の注文数>1倉庫内の在庫数となる場合に、他倉庫に在庫が存在するのであれば、前記明細を分割して複数の倉庫から商品を出荷できるようにしたい。
[1. Overview]
In the case where data ordered by a customer on a Web site is linked to the system, the shipping warehouse is often set automatically by the system instead of being selected by the customer who is the orderer. Conventionally, when performing inventory allocation on the system, it has been confirmed whether or not there is available inventory in the warehouse after designating a product and a warehouse. However, since orders via a Web site are generated in large amounts on a daily basis, there are the following requests 1 and 2 in order to record sales by linking Web order data to the system.
1. When placing an order via the website, I want to restrict the warehouse to which the information is allocated. In addition, we want to prioritize the warehouse to which the product is allocated for each product.
2. In the case where the number of orders in the item> the number of inventory in one warehouse, if there is an inventory in another warehouse, it is desirable to divide the item so that goods can be shipped from a plurality of warehouses.

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

また、従来においては、Web注文データをシステムに連携して売上計上を行うにあたり、以下の1〜2の要望もあった。
1.在庫引当が可能か否かのチェックは、従来においては、商品単位で実施していたため、複数倉庫から引当可能な場合であっても、在庫不足のエラーにより売上データが作成されないため、売上データを作成できるようにする仕組みが必要であった。
2.商品や注文内容によっては、複数倉庫から出荷させたくない場合もあり、複数倉庫から在庫引当された場合には、アラートを発生させる仕組みが必要であった。
In addition, conventionally, there have been the following requests 1 and 2 in order to record sales by linking Web order data to a system.
1. In the past, whether inventory allocation was possible or not was conventionally performed on a product-by-product basis.Even if allocation could be made from multiple warehouses, sales data would not be created due to an inventory shortage error. A mechanism was needed to enable creation.
2. Depending on the product and the contents of the order, there may be cases where it is not desired to ship from multiple warehouses, and a mechanism for generating an alert when inventory is allocated from multiple warehouses is required.

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

[2.構成]
本実施形態に係る受注・売上管理装置100の構成の一例について、図1を参照して説明する。図1は、受注・売上管理装置100の構成の一例を示すブロック図である。
[2. Constitution]
An example of a 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 receiving / sales management device 100 is a commercially available desktop personal computer. Note that the order / sales management device 100 is not limited to a stationary information processing device such as a desktop personal computer, but may be a commercially available notebook personal computer, PDA (Personal Digital Assistants), smartphone, tablet personal computer, or 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 unit included in the order receiving / 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 communicably connects the order / sales management device 100 to the network 300 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 receiving / sales management apparatus 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). Note that data of various masters and the like described below 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, in addition to a monitor (including a home television), a speaker or a printer can be used. As the input device 112, in addition to a keyboard, a mouse, and a microphone, a monitor that realizes a pointing device function in cooperation with a mouse can be used. In the following, the output device 114 may be described as a monitor 114 and the input device 112 may be described 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)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。   The storage unit 106 stores various databases, tables, files, and the like. In the storage unit 106, a computer program for cooperating with an OS (Operating System) and giving instructions to a CPU (Central Processing Unit) to perform various processes is recorded. As the storage unit 106, for example, a memory device such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, an optical disk, and the like can be used.

記憶部106は、例えば、商品マスタ106aと、倉庫マスタ106bと、優先順位マスタとしての引当優先順位マスタ106cと、注文データ106dと、在庫データとしての現在庫データ106eと、受注データ106fと、売上データ106gと、を備えている。   The storage unit 106 stores, for example, 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 data. Data 106g.

商品マスタ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 the product.

倉庫マスタ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 the warehouse. The warehouse identification data is real warehouse identification data (warehouses A to D), which is the warehouse identification data for identifying an existing warehouse, and a fictitious warehouse identification, which is the warehouse identification data for identifying a fictitious warehouse. 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, the priority in the case where the warehouse is used as the allocation destination, and includes the priority set for each product. For example, in the example of FIG. 3, for the product A, the warehouse A has the first priority, the warehouse B has the second priority, and the warehouse C has the third priority. On the other hand, in the example of FIG. 3, for the product B, the warehouse C is assigned the first priority, the warehouse B is assigned the second priority, the warehouse A is assigned the third priority, and the warehouse A is assigned the third priority. D is assigned the fourth priority. In this way, in the allocation priority master 106c, it is possible to set, for each product, which warehouse is to be the allocation destination with priority.

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

現在庫データ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 (product), the number of stocks of the product (current warehouse), and the like. .

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

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

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

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

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

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

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

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

通知部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 in the allocation unit 102a, if there is a product that cannot be allocated for the number of orders among the specified products having the same order number as a result of the allocation in the allocation unit 102a, 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 order number of the specified product. Create an order record including an error (error classification: yes).

表示部102fは、売上入力画面からの指示を受けて、第三作成部102eで作成した前記受注レコードを前記売上入力画面上に表示する。   The display unit 102f receives the instruction from the sales input screen and displays the order record created by the third creating 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 imaginary 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: present) in the displayed order record has been deleted (error (Changed to Category: None) Create a sales record.

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

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

(1)Web注文No:A1000で特定される商品についての処理
図4の注文データ106dを参照すると、Web注文No:A1000で特定される商品は、商品Aおよび商品Bの二つである。
(1) Processing for Commodity Specified by Web Order No .: A1000 Referring to the order data 106d in FIG. 4, the commodities specified by the Web order No .: A1000 are two products, a product A and a 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, a description will be given of the inventory allocation of the product A of the web order No: A1000. Referring to the current warehouse data 106e in FIG. 4, the warehouses associated with the product A are the warehouse A and the warehouse C, but referring to the allocation priority master 106c in FIG. 3, the warehouse A is higher for the product A. It has priority (1). For this reason, the allocation unit 102a performs the inventory allocation 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 stock allocation, the stock quantity of the commodity A in the warehouse A is 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, a description will be given of the inventory allocation of the product B of the web order No: A1000. Referring to the current warehouse data 106e in FIG. 4, the warehouse associated with the product B is only the warehouse A. For this reason, the allocation unit 102a performs the inventory allocation by subtracting the order number 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 the stock allocation, the stock quantity of the product B in the warehouse A is 20−5 = 15.

引当部102aでの引当の結果、Web注文No:A1000を有する商品Aおよび商品Bについて、ともに、同一の倉庫(倉庫A)から引当することができた。   As a result of the allocation by the allocation unit 102a, it was possible to allocate both the product A and the product B having the web order No: A1000 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と、エラー区分:無しと、を含む売上レコードを作成する。   As described above, when all the commodities having the same Web order No. can be allocated from the same warehouse, the first creation unit 102b, as shown in the first line of the order data 106f in FIG. For the product A, the Web order No .: A1000, the product name: the product A, the warehouse name of the warehouse (corresponding to the outgoing warehouse) to which the allocation is made, the warehouse A, and the number of stocks reduced from the warehouse A ( (Corresponding): 10 and an error record: None. Further, as shown in the first line of the sales data 106g in FIG. 4, the first creating unit 102b, for the product A of the web order No .: A1000, the web order No .: A1000, the product name: the product A, and the allocation destination Then, a sales record including the warehouse name of the warehouse (corresponding to the warehouse to be released): warehouse A, the number of stocks (corresponding to the number of sales) reduced from warehouse A: 10, and the error category: none is created.

同様の方法で、第一作成部102bは、図4の受注データ106fおよび売上データ106gの2行目に示すように、Web注文No:A1000の商品Bについて、「エラー区分:無し」を含む受注レコードおよび売上レコードを作成する。   In the same manner, as shown in the second row of the order data 106f and the sales data 106g in FIG. 4, the first creating unit 102b receives the 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 Commodity Specified by Web Order No .: A1001 Next, the inventory allocation of the commodity A of the Web order No .: A1001 will be described. As described in (1), after stock allocation, the number of stocks of the product A in the warehouse A is ten. For this reason, the allocation unit 102a performs the inventory allocation by subtracting the order 10 of the product A of the Web order No: A1001 from the stock 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, it was possible to allocate the goods A having the Web order No: A1001 from the warehouse A. As described above, when all the commodities having the same Web order No. can be allocated from the same warehouse, the first creation unit 102b sets 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 destination of products in different order details is split into multiple warehouses]
Next, the processing in the case where the allocation destination of the product in different order details is broken 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 Commodity Specified by Web Order No .: A1000 Referring to the order data 106d in FIG. 5, the commodities specified by Web order No .: A1000 are two products, 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, a description will be given of the inventory allocation of the product A of the web order No: A1000. 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, but referring to the allocation priority master 106c in FIG. 3, the warehouse A is higher for the product A. It has priority (1). For this reason, the allocation unit 102a performs inventory allocation 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 stock allocation, the stock quantity of the commodity A 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, a description will be given of the inventory allocation of the product B of the web order No: A1000. Referring to the current warehouse data 106e in FIG. 5, the warehouse associated with the product B is only the warehouse C. For this reason, the allocation unit 102a performs the inventory allocation by subtracting the order number 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 the stock allocation, the stock quantity of the product B in the warehouse C is 20-5 = 15.

引当部102aでの引当の結果、Web注文No:A1000有する商品Aおよび商品Bについて、複数の倉庫(それぞれ、倉庫Aおよび倉庫C)から引当することができた。   As a result of the allocation by the allocation unit 102a, the products A and B having the Web order No .: A1000 can be allocated from a plurality of warehouses (warehouses A and 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と、エラー区分:警告※と、を含む売上レコードを作成する。   As described above, when a product having the same Web order No. can be allocated from a plurality of warehouses, the second creating unit 102c, as shown in the first row of the order data 106f in FIG. For the product A, the Web order No .: A1000, the product name: the product A, the warehouse name of the warehouse (corresponding to the outgoing warehouse) to which the allocation is made: the warehouse A, and the number of stocks reduced from the warehouse A (corresponding to the number of orders) ): 10 and an order record including an error category: warning *. Further, as shown in the first row of the sales data 106g in FIG. 5, the second creating unit 102c, for the product A of the web order No .: A1000, the web order No .: A1000, the product name: the product A, and the allocation destination Then, a sales record including the warehouse name of the warehouse (corresponding to the unloading warehouse): warehouse A, the number of stocks (corresponding to the number of sales) reduced from warehouse A: 10, and the error category: warning * is created.

同様の方法で、第二作成部102cは、図5の受注データ106fおよび売上データ106gの2行目に示すように、Web注文No:A1000の商品Bについて、「エラー区分:警告※」を含む受注レコードおよび売上レコードを作成する。   In the same manner, the second creating 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 order and sales records.

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

通知部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, and the operator can determine that the allocation destinations of the product A and the product B having the same Web order No: A1000 are different warehouses. Can be grasped accurately and quickly. The operator may adjust the outgoing warehouse and the 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 Commodity Specified by Web Order No .: A1001 Next, the inventory allocation of the commodity A of the Web order No .: A1001 will be described. As described in (1), the stock quantity of the commodity A 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, warehouses associated with the product A are the warehouse A and the warehouse C. For this reason, the allocation unit 102a performs the inventory allocation by subtracting the order 10 of the product A of the Web order No: A1001 from the stock 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, it was possible to allocate the goods A having the Web order No: A1001 from the warehouse C. As described above, when the products having the same Web order No. can be allocated from the same warehouse, the second creating unit 102c sets the Web order as shown in the third line of the order data 106f and the sales data 106g in FIG. No: For the product A of 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 details is split into multiple warehouses]
Next, the processing in the case where the allocation destination of the product in the same order detail is broken 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 Commodity Specified by Web Order No .: A1000 Referring to the order data 106d in FIG. 6, the commodities specified by Web order No .: A1000 are two products, product A and product 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, a description will be given of the inventory allocation of the product A of the web order No: A1000. Referring to the current warehouse data 106e in FIG. 6, the warehouses associated with the product A are the warehouse A and the warehouse C. However, referring to the allocation priority master 106c in FIG. 3, the warehouse A is higher for the product A. It has priority (1). For this reason, the allocation unit 102a performs the inventory allocation by subtracting 7 out of the 10 orders of the product A of the Web order No: A1000 from the 7 inventory of the product A in the warehouse A. After the stock allocation, the stock quantity of the commodity A in the 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 allocating unit 102a allocates three unsuccessfully allocated products out of the ten orders of the product A with the Web order No: A1000. That is, the allocating unit 102a performs the inventory allocation by subtracting 3 which is the unallocated amount of the product A of the Web order No: A1000 from the stock quantity 20 of the product A in the warehouse C. After the stock allocation, the stock quantity of the commodity A in the warehouse C is 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, a description will be given of the inventory allocation of the product B of the web order No: A1000. Referring to the current warehouse data 106e in FIG. 6, the warehouse associated with the product B is only the warehouse C. For this reason, the allocation unit 102a performs the inventory allocation by subtracting the order number 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 the stock allocation, the stock quantity of the product B in the warehouse C is 20-5 = 15.

引当部102aでの引当の結果、Web注文No:A1000有する商品A10個のうち、7個分は倉庫Aから引当でき、残りの3個分は倉庫Cから引当できた。また、Web注文No:A1000有する商品Bの引当先は、倉庫Cとなった。   As a result of the allocation in the allocation unit 102a, of the 10 products A having the Web order No .: A1000, 7 can be allocated from the warehouse A, and the remaining 3 can be allocated from the warehouse C. Further, the allocation destination of the commodity B having the Web order No .: A1000 was 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と、エラー区分:警告※と、を含む売上レコードを作成する。   As described above, when a product having the same Web order No. can be allocated from a plurality of warehouses, the second creating unit 102c, as shown in the first line of the order data 106f in FIG. Web order No .: A1000, product name: product A, and warehouse name of the warehouse (corresponding to the outgoing warehouse) to which the allocation was made: warehouse A, and the number of stocks reduced from warehouse A for seven items of product A ( An order record including 7) and an error classification: warning * is created. In addition, as shown in the first line of the sales data 106g in FIG. 6, the second creation unit 102c, for seven items of the product A with the Web order No .: A1000, has the Web order No .: A1000 and the product name: the product A. And the warehouse name of the warehouse to which the allocation was made (corresponding to the outgoing warehouse): Warehouse A, the number of stocks reduced from Warehouse A (corresponding to the number of sales): 7, and the error category: Warning * Create

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

このように、第二作成部102cは、同一の注文明細に含まれ、同一のWeb注文No:A1000を有する商品Aの引当先が、別の倉庫となる場合においても、警告を含む受注レコードおよび売上レコードを作成することができる。   As described above, the second creating unit 102c can store the order record including the warning even when the allocation destination of the product A having the same Web order number: A1000 included in the same order details 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, and the operator can determine the allocation destinations for seven and three products A having the same Web order No .: A1000. Is a separate warehouse, and among the goods A and B having the same Web order No .: A1000, the allocation destinations for 7 goods A and all the goods B are different warehouses. Can be grasped accurately and quickly. The operator may adjust the outgoing warehouse and the 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 Commodity Specified by Web Order No .: A1001 Next, the inventory allocation of the commodity A of the Web order No .: A1001 will be described. As described in (1), after the stock allocation, the stock quantity of the product A in the warehouse C is 17. For this reason, the allocation unit 102a performs inventory allocation 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, it was possible to allocate the goods A having the Web order No: A1001 from the warehouse C. As described above, when the products having the same Web order No. can be allocated from the same warehouse, the second creating unit 102c sets the Web order as shown in the fourth line of the order data 106f and the sales data 106g in FIG. No: For the product A of A1001, an order record and a sales record including “error classification: none” are created.

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

(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 Commodity Specified by Web Order No .: A1000 Specific numbers differ for inventory allocation of product A and commodity 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 is 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.

(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 Commodity Specified by Web Order No .: A1001 Next, the inventory allocation of the commodity A of the Web order No .: A1001 will be described. After the stock allocation in (1), the stock quantity of the product A in the warehouse A becomes the stock quantity 10−the order number of the product A of Web order No: A1000 = 10 = 0. 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, and the stock quantity 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 inventory 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 that cannot be allocated for the number of orders among the products having the same Web order number, the third creating unit 102e performs the following processing as illustrated in the third line of the order data 106f in FIG. For the product A of the web order No .: A1001, the web order No .: A1001, the product name: the product A, the warehouse name of the fictitious warehouse: the dummy warehouse, the number of orders: 10, and the error category: yes Create an order record. As described above, when there is insufficient stock, there is no available warehouse, so the third creating unit 102e sets a dummy warehouse registered in advance in the warehouse master 106b of FIG. 3 in the order record. Note that the third creating unit 102e does not create a sales record for the product A of the web order No: A1001.

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

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

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

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

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

また、受注・売上管理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。   Also, regarding the order / sales management device 100, the components shown in the drawings are functionally conceptual, and need not necessarily be physically configured as shown in the drawings.

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

また、このコンピュータプログラムは、受注・売上管理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。   The computer program may be stored in an application program server connected to the order / sales management device 100 via an arbitrary network, and may be downloaded in whole or in part 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, a program for executing the processing described in the present embodiment may be stored in a non-transitory computer-readable recording medium, or may be configured as a program product. Here, the “recording medium” refers to a memory card, a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), and an EEPROM (registered). Trademarks) (Electrically Erasable and Programmable Read Only Memory), CD-ROMs (Compact Disk Read Only Memory), MOs (Magneto-Optical and Digital, Digital, Digital and Digital), DVDs (Digital and Digital Digital, Digital and Digital) Any "portable physical media It is intended to include.

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

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

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

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

本発明は、例えば、複数倉庫を用いて在庫管理および出荷を行う業界において有用であり、特に、物流業界および小売業界等においては極めて有用である。   INDUSTRIAL APPLICABILITY The present invention is useful in, for example, an industry that performs inventory management and shipping using a plurality of warehouses, and is particularly useful in a logistics industry, a 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 allocation section
102b First creation unit
102c Second creation unit
102d notification section
102e Third creation unit
102f display unit
102g Sales record creation unit 104 Communication interface unit 106 Storage unit
106a Product master
106b warehouse master
106c Allocation priority master
106d Order data
106e Current library data
106f Order data
106g Sales data 108 Input / output interface unit 112 Input device 114 Output device 200 Server 300 Network

Claims (6)

制御部および記憶部を備える受注・売上管理装置であって、
前記記憶部には、
注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、
倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、
前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、
が格納されており、
前記制御部は、
前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当手段と、
前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成手段と、
前記引当手段での引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成手段と、
前記引当手段での引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成手段と、
を備えること、
を特徴とする受注・売上管理装置。
An order / sales management 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,
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 priority set in the case where the warehouse is assigned as a destination and set for each product;
Is stored,
The control unit includes:
For 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 in the priority order master Allocation means for performing inventory allocation by decreasing the number of stocks until the number of orders is reached, in order from the warehouse having the highest priority set for,
As a result of the allocation by the allocation means, if all of the specified goods having the same order identification data can be allocated from the same warehouse, the order identification data is obtained based on the order data and the stock data. First creation means for creating an order record and a sales record including the warehouse identification data and the number of stocks reduced from the warehouse for the warehouse to which the product identification data and the allocation have been made,
As a result of the allocation by the allocation means, if the identified items having the same order identification data can be allocated from a plurality of warehouses, based on the order data and the inventory data, the order identification data and A warning indicating that the allocation destination is a plurality of warehouses for the product having the same order identification data as the product identification data and the warehouse identification data for the warehouse to which the allocation is made and the stock quantity reduced from the warehouse. A second creating means for creating an order record and a sales record including
As a result of the allocation by the allocation means, among the specified products having the same order identification data, if there is a product that cannot be allocated for the number of orders, based on the order data and the stock 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 a product having the same order identification data as the number of orders of the specified product. A third creating means for creating an order record including an error that means that there is something that cannot be allocated,
Having,
Order and sales management device characterized by the following.
前記制御部は、
前記第二作成手段で作成した前記受注レコードおよび前記売上レコードが含む前記注文識別データおよび前記商品識別データをオペレータに通知する通知手段
を更に備えること、
を特徴とする請求項1に記載の受注・売上管理装置。
The control unit includes:
Notifying means for notifying an operator of the order identification data and the product identification data included in the order record and the sales record created by the second creating means,
The order / sales management device according to claim 1, wherein:
前記制御部は、
売上入力画面からの指示を受けて前記第三作成手段で作成した前記受注レコードを前記売上入力画面上に表示する表示手段と、
前記表示された受注レコード中の前記注文識別データおよび前記商品識別データを含み、前記表示された受注レコード中の前記架空倉庫識別データが実在する倉庫を識別するための前記倉庫識別データである実在倉庫識別データに変更されており、前記表示された受注レコード中の前記注文数が前記実在する倉庫から引当できる在庫数に変更されており、前記表示された受注レコード中の前記エラーが削除されている売上レコードを作成する売上レコード作成手段と、
を更に備えること、
を特徴とする請求項1または2に記載の受注・売上管理装置。
The control unit includes:
Display means for receiving the instruction from the sales input screen and displaying the order record created by the third creation means on the sales input screen,
A real warehouse that includes the order identification data and the product identification data in the displayed order record, and is the warehouse identification data for identifying a warehouse where the fictitious warehouse identification data in the displayed order record exists; 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. Sales record creation means for creating sales records;
Further comprising:
The order / sales management device according to claim 1 or 2, wherein
前記注文データは、顧客からのウェブサイト上での注文により作成されるデータであり、
前記注文識別データは、前記ウェブサイト上での注文を識別するための注文番号であること、
を特徴とする請求項1から3のいずれか一つに記載の受注・売上管理装置。
The order data is data created by an order on a website from a customer,
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, characterized in that:
制御部および記憶部を備える情報処理装置で実行される受注・売上管理方法であって、
前記記憶部には、
注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、
倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、
前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、
が格納されており、
前記制御部で実行される、
前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成ステップと、
を含むこと、
を特徴とする受注・売上管理方法。
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,
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 priority set in the case where the warehouse is assigned as a destination and set for each product;
Is stored,
Executed by the control unit,
For 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 in the priority order master An allocation step of performing inventory allocation by decreasing the number of stocks until the number of orders is reached, in order from the warehouse having the highest priority set for,
As a result of the allocation in the allocation step, if all of the specified products having the same order identification data can be allocated from the same warehouse, the order identification data is stored based on the order data and the inventory data. A first creation step of creating an order record and a sales record including the product identification data and the warehouse identification data for the warehouse to which the product was allocated and the number of stocks reduced from the warehouse,
As a result of the allocation in the allocation step, if the identified items having the same order identification data can be allocated from a plurality of warehouses, based on the order data and the inventory data, the order identification data and A warning indicating that the allocation destination is a plurality of warehouses for the product having the same order identification data as the product identification data and the warehouse identification data for the warehouse to which the allocation is made and the stock quantity reduced from the warehouse. A second creation step of creating an order and sales record 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, the product is determined based on the order data and the stock 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 a product having the same order identification data as the number of orders of the specified product. A third creation step of creating an order record including an error that means that there is something that cannot be allocated,
Including,
Order management and sales management method.
制御部および記憶部を備える情報処理装置に実行させるための受注・売上管理プログラムであって、
前記記憶部には、
注文を識別するための注文識別データと商品を識別するための商品識別データと前記商品の注文数とを含む注文データと、
倉庫を識別するための倉庫識別データと商品識別データと前記商品の在庫数とを含む在庫データと、
前記倉庫を引当先とする場合における優先順位であって前記商品ごとに設定されたものを含む優先順位マスタと、
が格納されており、
前記制御部に実行させるための、
前記注文データ中の前記商品識別データで特定される商品について、当該商品識別データと紐付く前記在庫データ中の前記倉庫識別データで特定される倉庫のうち、前記優先順位マスタにおいて前記特定される商品について設定された前記優先順位が高い倉庫から順に、前記注文数分に達するまで前記在庫数を減じることにより在庫引当を行う引当ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものすべてを同一の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数とを含む受注レコードおよび売上レコードを作成する第一作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品のうち同一の注文識別データを有するものを複数の倉庫から引当できた場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと引当先となった倉庫についての前記倉庫識別データと前記倉庫から減じた在庫数と同一の注文識別データを有する商品について引当先が複数の倉庫となっていることを意味する警告とを含む受注レコードおよび売上レコードを作成する第二作成ステップと、
前記引当ステップでの引当の結果、前記特定される商品であって同一の注文識別データを有するもののうち、前記注文数分の引当ができない商品が存在する場合、前記注文データおよび前記在庫データに基づいて、前記注文識別データと前記商品識別データと架空上の倉庫を識別するための前記倉庫識別データである架空倉庫識別データと前記特定される商品の注文数と同一の注文識別データを有する商品のうち引当できないものが存在することを意味するエラーとを含む受注レコードを作成する第三作成ステップと、
を含むこと、
を特徴とする受注・売上管理プログラム。
An order / sales management program to be 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,
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 priority set in the case where the warehouse is assigned as a destination and set for each product;
Is stored,
For causing the control unit to execute,
For 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 in the priority order master An allocation step of performing inventory allocation by decreasing the number of stocks until the number of orders is reached, in order from the warehouse having the highest priority set for,
As a result of the allocation in the allocation step, if all of the specified products having the same order identification data can be allocated from the same warehouse, the order identification data is stored based on the order data and the inventory data. A first creation step of creating an order record and a sales record including the product identification data and the warehouse identification data for the warehouse to which the product was allocated and the number of stocks reduced from the warehouse,
As a result of the allocation in the allocation step, if the identified items having the same order identification data can be allocated from a plurality of warehouses, based on the order data and the inventory data, the order identification data and A warning indicating that the allocation destination is a plurality of warehouses for the product having the same order identification data as the product identification data and the warehouse identification data for the warehouse to which the allocation is made and the stock quantity reduced from the warehouse. A second creation step of creating an order and sales record 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, the product is determined based on the order data and the stock 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 a product having the same order identification data as the number of orders of the specified product. A third creation step of creating an order record including an error that means that there is something that cannot be allocated,
Including,
An order / sales management program characterized by:
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 true JP2020042487A (en) 2020-03-19
JP7104594B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022168817A (en) * 2021-04-26 2022-11-08 クーパン コーポレイション Operating method for electronic apparatus for providing information related to order and electronic apparatus supporting thereof

Citations (5)

* 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
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

Patent Citations (5)

* 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
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), JPN6022023885, pages 267 - 4, ISSN: 0004797991 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022168817A (en) * 2021-04-26 2022-11-08 クーパン コーポレイション Operating method for electronic apparatus for providing information related to order and electronic apparatus supporting thereof

Also Published As

Publication number Publication date
JP7104594B2 (en) 2022-07-21

Similar Documents

Publication Publication Date Title
JP7112897B2 (en) Inventory allocation processing device, inventory allocation processing method, and inventory allocation processing program
JP7104594B2 (en) Order / sales management device, order / sales management method and order / sales management program
JP2019066949A (en) Physical distribution management apparatus, physical distribution management method and physical distribution management program
JP7199879B2 (en) Inventory allocation device, inventory allocation method and inventory allocation program
JP2018106420A (en) Shipment deadline management apparatus, shipment deadline management method and shipment deadline management program
JP6829052B2 (en) Shipping information management device, shipping information management method and shipping information management program
JP2018101278A (en) Storage fee calculation apparatus, storage fee calculation method, and storage fee calculation program
JP6951066B2 (en) Allocation processing execution device, allocation processing execution method, and allocation processing execution program
JP2020052619A (en) Stock allocation device, stock allocation method and stock allocation program
JP7456914B2 (en) Business support devices, business support methods, and business support programs
JP2020149114A (en) Warehouse acquisition device, warehouse acquisition method, and warehouse acquisition program
JP7445582B2 (en) Shipping warehouse determination device, shipping warehouse determination method, and shipping warehouse determination program
JP2020126366A (en) Inventory management device and inventory management method and inventory management program
JP2019151424A (en) Device for managing dangerous objects, method for managing dangerous objects, and program for managing dangerous objects
JP2019220082A (en) Inventory management apparatus, inventory management method and inventory management program
JP7519320B2 (en) Automatic shipping warehouse selection device, automatic shipping warehouse selection method, and automatic shipping warehouse selection program
JP6967165B2 (en) Shipping information management device, shipping information management method and shipping information management program
JP7112299B2 (en) Order-related work support system and order-related work support method
JP7410847B2 (en) Inventory management support device, inventory management support method, and inventory management support program
JP7565900B2 (en) Inventory management device, inventory management method, and inventory management program
JP7285115B2 (en) Subscription device, subscription method, and subscription program
JP7131989B2 (en) Inventory allocation processing device, inventory allocation processing method, and inventory allocation processing program
JP7437217B2 (en) Inventory management device, inventory management method, and inventory management program
JP2018120515A (en) Product management device, product management method, and product management program
JP2024045660A (en) Shipment deadline management device, shipment deadline management method, and shipment deadline management 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