JP7310143B2 - Information processing device and program - Google Patents
Information processing device and program Download PDFInfo
- Publication number
- JP7310143B2 JP7310143B2 JP2019001559A JP2019001559A JP7310143B2 JP 7310143 B2 JP7310143 B2 JP 7310143B2 JP 2019001559 A JP2019001559 A JP 2019001559A JP 2019001559 A JP2019001559 A JP 2019001559A JP 7310143 B2 JP7310143 B2 JP 7310143B2
- Authority
- JP
- Japan
- Prior art keywords
- product
- products
- information
- set product
- range
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 37
- 238000000034 method Methods 0.000 claims description 96
- 238000012545 processing Methods 0.000 claims description 47
- 238000007726 management method Methods 0.000 description 54
- 238000004519 manufacturing process Methods 0.000 description 26
- 239000000470 constituent Substances 0.000 description 20
- 238000010586 diagram Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 11
- 238000003860 storage Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 235000013305 food Nutrition 0.000 description 3
- 238000005401 electroluminescence Methods 0.000 description 2
- 230000015654 memory Effects 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 239000002537 cosmetic Substances 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000000547 structure data Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、情報処理装置及びプログラムに関する。 The present invention relates to an information processing apparatus and program.
従来、在庫の商品の消費期限や使用期限といった各種期限を記憶して管理する情報処理装置がある(例えば、特許文献1)。このような情報処理装置を用いた商品の販売業務では、余剰在庫を削減したい場合などにおいて、複数種類の商品の組み合わせからなるセット商品を構成して、セット商品の単位で商品を販売する場合がある。 2. Description of the Related Art Conventionally, there is an information processing apparatus that stores and manages various expiration dates such as expiration dates and expiration dates of products in stock (for example, Patent Document 1). In a product sales business using such an information processing device, when it is desired to reduce surplus inventory, there are cases in which a product set consisting of a combination of multiple types of products is configured and products are sold in units of the product set. be.
しかしながら、上記の情報処理装置により管理されている期限を参照して、期限までの期間が短い商品から順に選択してセット商品を構成すると、セット商品を構成する複数の商品の期限のばらつきが大きくなって、購買者にとって扱いにくいものとなり、セット商品の価値が低くなってしまう場合があるという課題がある。 However, if a set of products is configured by selecting products in order from the shortest period until the deadline by referring to the deadlines managed by the information processing device, the deadlines of the multiple products that make up the set product vary greatly. As a result, it becomes difficult for the purchaser to handle, and there is a problem that the value of the set product may be lowered.
この発明の目的は、構成商品の期限のばらつきを抑えつつ容易にセット商品を作成することができる情報処理装置及びプログラムを提供することにある。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an information processing apparatus and a program capable of easily creating set products while suppressing variations in the expiration dates of component products.
上記課題を解決するため、本発明の情報処理装置は、
複数種類の商品の組み合わせからなるセット商品における、商品の種類ごとの構成数量が特定されたセット商品情報と、
前記複数種類の商品の各々に係る在庫数量情報と、
前記複数種類の商品の各々に対して設定されている所定の期限に係る期限情報と、
に基づいて、在庫の商品の組み合わせにより前記セット商品を作成する場合における、前記セット商品に組み入れる各商品が特定されたセット商品構成情報を生成する情報生成手段と、
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段と、
を備え、
前記情報生成手段は、前記第2の入力操作により指定された数の前記セット商品を構成可能な商品の組み合わせ方であって、当該セット商品を構成する各商品の前記期限間の最大範囲が基準範囲内となるような商品の組み合わせ方のうち、当該最大範囲が最小となるような商品の組み合わせ方に基づいて前記セット商品構成情報を生成することを特徴とする。
In order to solve the above problems, the information processing device of the present invention includes:
Set product information specifying the component quantity for each product type in a set product consisting of a combination of multiple types of products;
Inventory quantity information for each of the plurality of types of products;
Expiration information related to a predetermined expiration date set for each of the plurality of types of products;
information generating means for generating set product configuration information specifying each product to be incorporated into the set product when creating the set product by combining the products in stock based on ;
a second input means for receiving a second input operation for designating the number of set products to be created;
with
The information generating means provides a method of combining products capable of forming the number of set products specified by the second input operation, wherein the maximum range between the term of each product constituting the set product is used as a reference. The set product configuration information is generated based on a combination of products that minimizes the maximum range, among combinations of products that fall within the range.
本発明によれば、構成商品の期限のばらつきを抑えつつ容易にセット商品を作成することができる。 ADVANTAGE OF THE INVENTION According to this invention, set goods can be easily produced, suppressing the variation in the expiration date of a component product.
以下、本発明の情報処理装置及びプログラムに係る実施の形態を図面に基づいて説明する。 Embodiments of an information processing apparatus and a program according to the present invention will be described below with reference to the drawings.
(第1の実施形態)
図1は、第1の実施形態の販売管理装置1の機能的構成を示すブロック図である。
販売管理装置1(情報処理装置)は、商品の販売管理業務を行う者が使用する端末装置である。販売管理装置1は、例えば、ノートPC(Personal Computer)、デスクトップPC、スマートフォン、タブレット型端末などである。
(First embodiment)
FIG. 1 is a block diagram showing the functional configuration of the
The sales management device 1 (information processing device) is a terminal device used by a person who performs product sales management work. The
販売管理装置1は、商品に関する各種データを記憶し、商品の売上、仕入及び在庫などに関する複数の業務について、データの集計や帳票の印刷などの所定の処理を実行することで、商品の販売管理業務を支援する。販売管理装置1で管理される商品のデータは、例えば、商品のロットごとの在庫数量、商品に対してロットごとに設定されている期限などがある。
本実施形態では、商品としての食品を消費者に販売する小売業における販売管理を例に挙げて説明する。
The
In this embodiment, sales management in a retail business that sells food products to consumers will be described as an example.
上述したとおり、商品の販売管理業務では、複数種類の商品の組み合わせからなるセット商品が作成されてセット商品を単位として商品が販売されることがある。このような業務に対応するため、本実施形態の販売管理装置1は、ユーザにより指定された条件でセット商品を作成するセット商品作成処理を行うことができる。セット商品作成処理では、在庫の商品の組み合わせによりセット商品を作成する場合における、セット商品に組み入れる商品のロットが特定されたセット商品構成情報が生成される。また、販売管理装置1は、このセット商品構成情報の内容を含むセット商品作成指示書30(図17)を出力する機能も有している。ユーザは、セット商品作成指示書30で指示されているロットの商品を組み合わせることで、容易に所望した条件のセット商品を構成することができる。
セット商品作成処理の詳細については、後に詳述する。
As described above, in the product sales management business, there are cases where a set product is created by combining a plurality of types of products, and the product is sold in units of the set product. In order to cope with such business, the
Details of the set product creation process will be described later.
販売管理装置1は、CPU11(Central Processing Unit)と、RAM12(Random Access Memory)と、記憶部13と、操作部14と、表示部15と、通信部16と、バス17などを備えている。販売管理装置1の各部は、バス17を介して接続されている。
The
CPU11は、販売管理装置1の各部を制御するプロセッサである。CPU11は、記憶部13に記憶されているシステムプログラム及びアプリケーションプログラムのうち、指定されたプログラムを読み出してRAM12に展開し、当該プログラムに従って各種処理を実行する。当該処理を実行することで、CPU11は、情報生成手段、第1の入力手段、第2の入力手段及び提示手段として機能する。
The
RAM12は、例えば、揮発性のメモリであり、CPU11により読み出された各種のプログラムやデータを一時的に格納するワークエリアを有する。RAM12に一時的に格納されるデータとしては、後述するセット商品作成処理において生成される構成商品候補リスト121(図13、図14)及びセット商品構成データ122(図15)などがある。このうちセット商品構成データ122に含まれる情報が、上述のセット商品構成情報に相当する。
The
記憶部13は、HDD(Hard Disk Drive)、SSD(Solid State Drive)といった、データの書き込み及び読み出しが可能な記憶装置を備え、各種のプログラムやデータを含むファイル等を記憶する。記憶部13に記憶されるデータとしては、管理対象の商品の名称や単価の情報を含む商品テーブル131、セット商品の名称や単価の情報を含むセット商品テーブル132、セット商品を構成する商品の種類ごとの数量(構成数量)の情報を含む構成商品テーブル133、商品のロットごとの在庫数量の情報、及び商品に対してロットごとに設定されている期限(本実施形態では消費期限)に係る情報を含むロット管理テーブル134などがある。また、記憶部13には、販売管理装置1によりセット商品作成処理を実行させるためのセット商品作成プログラム135が記憶されている。
上記のうちセット商品テーブル132及び構成商品テーブル133に含まれる情報が「セット商品情報」に対応し、ロット管理テーブル134に含まれる情報が「在庫数量情報」及び「期限情報」に対応する。
The
Among the above, the information contained in the set product table 132 and the constituent product table 133 corresponds to "set product information", and the information contained in the lot management table 134 corresponds to "inventory quantity information" and "expiration date information".
図2は、商品テーブル131の内容例を示す図である。
商品テーブル131は、商品の種類ごとに、商品コード、商品名及び単価が対応付けられて記憶されたテーブルデータである。図2の例では、「商品a」~「商品d」に対してそれぞれ商品コード「00001」~「00004」が対応付けられて登録されている。商品テーブル131に含まれるデータは、表示部15に所定の商品登録画面21が表示された状態でユーザが操作部14を用いて情報入力を行うことで商品テーブル131に追加登録される。
FIG. 2 is a diagram showing an example of the contents of the product table 131. As shown in FIG.
The product table 131 is table data in which product codes, product names, and unit prices are associated with each product type. In the example of FIG. 2, product codes "00001" to "00004" are registered in association with "product a" to "product d", respectively. Data included in the product table 131 is additionally registered in the product table 131 by the user inputting information using the
図3は、商品登録画面21の例を示す図である。
商品登録画面21では、商品コード入力領域211、商品名入力領域212、及び単価入力領域213が設けられている。これらの各領域に必要な情報が入力された状態で登録ボタン214を選択する入力操作がなされると、商品テーブル131に商品のデータが追加登録される。終了ボタン215を選択する入力操作がなされると、商品登録画面21が閉じられて情報入力が終了する。
FIG. 3 is a diagram showing an example of the
The
図4は、セット商品テーブル132の内容例を示す図である。
セット商品テーブル132は、セット商品の種類ごとに、セット商品コード、セット商品名及び単価が対応付けられて記憶されたテーブルデータである。図4の例では、「セット商品A」、「セット商品B」に対してそれぞれセット商品コード「S0001」、「S0002」が対応付けられて登録されている。
FIG. 4 is a diagram showing an example of the contents of the set product table 132. As shown in FIG.
The set product table 132 is table data in which a set product code, a set product name, and a unit price are associated and stored for each type of set product. In the example of FIG. 4, set product codes "S0001" and "S0002" are registered in association with "set product A" and "set product B", respectively.
図5は、構成商品テーブル133の内容例を示す図である。
構成商品テーブル133は、セット商品コード、当該セット商品コードに対応するセット商品を構成する商品の商品コード、及びセット商品における当該商品の数量が対応付けられて記憶されたテーブルデータである。図5の例では、セット商品A(セット商品コード:S0001)が、1つの商品a(商品コード:00001)と、2つの商品b(商品コード:00002)との組み合わせからなることが示されている。本実施形態では、各セット商品は2種類の商品の組み合わせからなるが、セット商品が3種類以上の商品の組み合わせからなる場合には、構成商品テーブル133において当該セット商品に対応するデータ行が3行以上設けられることとなる。
FIG. 5 is a diagram showing an example of the contents of the component product table 133. As shown in FIG.
The component product table 133 is table data in which a set product code, product codes of products constituting a set product corresponding to the set product code, and the quantity of the product in the set product are associated and stored. In the example of FIG. 5, it is shown that set product A (set product code: S0001) is a combination of one product a (product code: 00001) and two products b (product code: 00002). there is In this embodiment, each product set consists of a combination of two types of products. More than one line will be provided.
セット商品テーブル132及び構成商品テーブル133に含まれるデータは、表示部15に所定のセット商品登録画面22が表示された状態でユーザが操作部14を用いて情報入力を行うことで商品テーブル131に追加登録される。
The data contained in the set product table 132 and the component product table 133 are stored in the product table 131 by the user inputting information using the
図6は、セット商品登録画面22の例を示す図である。
セット商品登録画面22では、セット商品コード入力領域221、セット商品名入力領域222、単価入力領域223、及び構成商品入力領域224が設けられている。これらの各領域に必要な情報が入力された状態で登録ボタン225を選択する入力操作がなされると、セット商品テーブル132及び構成商品テーブル133に、それぞれセット商品のデータ及び構成商品のデータが追加登録される。終了ボタン226を選択する入力操作がなされると、セット商品登録画面22が閉じられて情報入力が終了する。
FIG. 6 is a diagram showing an example of the set
The set
図7は、ロット管理テーブル134の内容例を示す図である。
食品の流通販売では、同一種類の商品であっても製造日が異なるもの(したがって、消費期限が異なるもの)は、異なるロットに区分けされて別個に管理される。本実施形態においてロットとは、同一種類の商品であって製造日が同じであるものの集まりをいう。
ロット管理テーブル134では、商品の各ロットに係る情報が管理されている。具体的には、ロット管理テーブル134は、商品のロットごとに、商品コード、ロット番号、消費期限及び在庫数が対応付けられて記憶されたテーブルデータである。ロット管理テーブル134に含まれるデータは、表示部15に所定のロット情報登録画面23が表示された状態でユーザが操作部14を用いて情報入力を行うことで商品テーブル131に追加登録される。
FIG. 7 is a diagram showing an example of contents of the lot management table 134. As shown in FIG.
In distribution and sales of food products, products of the same type but having different manufacturing dates (thus, products having different expiry dates) are sorted into different lots and managed separately. In this embodiment, a lot refers to a collection of products of the same type and having the same date of manufacture.
The lot management table 134 manages information related to each lot of products. Specifically, the lot management table 134 is table data in which a product code, a lot number, an expiration date, and an inventory quantity are associated with each product lot and stored. Data included in the lot management table 134 is additionally registered in the product table 131 by the user inputting information using the
図8は、ロット情報登録画面23の例を示す図である。
ロット情報登録画面23では、商品コード入力領域231、商品名入力領域232、ロット番号入力領域233及び消費期限入力領域234が設けられている。これらの各領域に必要な情報が入力された状態で登録ボタン235を選択する入力操作がなされると、ロット管理テーブル134に商品のロットのデータが追加登録される。終了ボタン236を選択する入力操作がなされると、ロット情報登録画面23が閉じられて情報入力が終了する。
FIG. 8 is a diagram showing an example of the lot
The lot
操作部14は、キーボード等のキー入力部と、マウス等のポインティングデバイスとを有し、ユーザ(オペレータ)からのキー操作入力及び位置操作入力を受け付け、その操作情報を、第1の入力手段及び第2の入力手段としてのCPU11に出力する。CPU11は、操作部14から送信された情報に基づいて、ユーザの入力操作を受け付ける。
The
表示部15は、LCD(Liquid Crystal Display)、EL(Electro Luminescence)ディスプレイ等で構成され、CPU11から指示された表示情報に従い各種表示を行う。
The
通信部16は、ネットワークカード等により構成され、通信ネットワーク(図示略)上のデータベース等の機器に接続される。通信ネットワークは、LAN(Local Area Network)、WAN(Wide Area Network)等とすることができる。通信部16は、CPU11による制御下で通信ネットワーク上の機器との間でデータの送受信を行う。また、本実施形態の販売管理装置1は、通信部16を介して外部の印刷装置(不図示)に接続されており、販売管理装置1で作成された各種帳票などを当該印刷装置で印刷できるようになっている。
The
なお、本実施形態では、商品テーブル131、セット商品テーブル132、構成商品テーブル133、ロット管理テーブル134、セット商品作成プログラム135が記憶部13に記憶されているが、このような態様に限られず、上記のデータやプログラムの一部又は全部を外部のサーバ装置に記憶させ、販売管理装置1が当該サーバ装置から通信部16を介して必要な情報を取得して動作するようにしても良い。
In this embodiment, the product table 131, the set product table 132, the component product table 133, the lot management table 134, and the set
次に、販売管理装置1において実行されるセット商品作成処理について説明する。
セット商品テーブルで指定された複数種類の商品を組み合わせてセット商品を作成する場合に、各商品を、期限までの期間が短いものから順に(換言すれば、先に納入された商品から順に)選択して組み入れると、セット商品を構成する複数の商品の消費期限のばらつきが大きくなってしまう場合がある。セット商品内で消費期限のばらつきが大きいと、購買者にとって扱いにくいものとなるため、セット商品の価値が低くなってしまう。
Next, set product creation processing executed in the
When creating a set product by combining multiple types of products specified in the set product table, select each product in order from the one with the shortest period until the deadline (in other words, in order from the product that was delivered earlier). If the product is incorporated as a set product, there may be a large variation in the expiration dates of the multiple products that make up the set product. If the expiry date varies greatly within a set product, it becomes difficult for the purchaser to handle, and the value of the set product decreases.
そこで、本実施形態の販売管理装置1によるセット商品作成処理では、セット商品を構成する商品として、基本的には消費期限までの期間が短いロットのものを優先して組み入れつつ、セット商品を構成する各商品の消費期限間の最大範囲が所定の範囲日数(基準範囲)に収まるように、組み入れる各商品のロットが決定される。
本明細書では、このようにセット商品における各商品のロットを決定してセット商品の構成を確定させることを、「セット商品の作成」と記す。
Therefore, in the set product creation processing by the
In this specification, determining the lot of each product in the set product and fixing the configuration of the set product is referred to as "creation of the set product".
上記の範囲日数は、予めユーザにより指定される。また、セット商品作成処理では、ユーザにより指定された作成数量のセット商品が作成される。
指定された作成数量のセット商品が作成されると、作成数量の各セット商品について構成商品のロットの組み合わせを示すセット商品作成指示書30(図17)が、所定の印刷装置により出力される。
The above range of days is specified in advance by the user. In addition, in the set product creation process, set products are created in the number of products specified by the user.
When the set product of the specified production quantity is produced, a set product production instruction sheet 30 (FIG. 17) indicating the lot combination of the component products for each set product of the production quantity is output by a predetermined printing device.
以下、図9~図19を参照して、セット商品作成処理を詳細に説明する。
図9は、セット商品作成処理のCPU11による制御手順を示すフローチャートである。
セット商品作成処理が開始されると、CPU11は、セット商品作成画面24を表示部15に表示させて、セット商品コード(及び/又はセット商品名)、作成数量、範囲日数の入力を受け付ける(ステップS101)。
The set product creation process will be described in detail below with reference to FIGS. 9 to 19. FIG.
FIG. 9 is a flow chart showing a control procedure by the
When the set product creation process is started, the
図10は、セット商品作成画面24の例を示す図である。
セット商品作成画面24では、セット商品コード入力領域241、セット商品名入力領域242、作成数量入力領域243及び範囲日数入力領域244、作成ボタン245及び終了ボタン246が表示されている。ユーザは、操作部14に対する入力操作を行うことで、セット商品コード入力領域241及びセット商品名入力領域242において作成するセット商品を指定し、作成数量入力領域243において作成数量を指定し、範囲日数入力領域244において範囲日数を指定することができる。セット商品コード及びセット商品名については、これらのうち一方が指定された場合に、セット商品テーブル132が参照されて他方が自動的に入力されるようになっていても良い。
セット商品作成画面24において範囲日数を指定する入力操作が「第1の入力操作」に対応し、作成数量を指定する入力操作が「第2の入力操作」に対応する。
以下では、セット商品作成画面24において指定されたセット商品を「指定セット商品」と記し、指定された作成数量を「指定作成数量」と記し、指定された範囲日数を「指定範囲日数」と記す。
FIG. 10 is a diagram showing an example of the set
On the set
An input operation for designating the range of days on the set
Below, the set product specified on the set
CPU11は、セット商品作成画面24において終了ボタン246を選択する入力操作がなされたか否かを判別し(ステップS102)、当該入力操作がなされていないと判別された場合には(ステップS102で“NO”)、作成ボタン245を選択する入力操作がなされたか否かを判別する(ステップS103)。CPU11は、作成ボタン245を選択する入力操作がなされていないと判別された場合には(ステップS103で“NO”)、処理をステップS102に戻し、当該入力操作がなされたと判別された場合には(ステップS103で“YES”)、範囲日数に係る変数「範囲日数V」に、指定範囲日数を代入する(ステップS104)。
The
次に、CPU11は、後述するセット商品構成特定処理(ステップS105)、及び指示書出力処理(ステップS106)を実行し、処理をステップS101に戻す。
ステップS101の処理において終了ボタン246を選択する入力操作がなされたと判別された場合には(ステップS102で“YES”)、CPU11は、セット商品作成処理を終了させる。
Next, the
When it is determined in the process of step S101 that an input operation for selecting the
図11及び図12は、セット商品構成特定処理のCPU11による制御手順を示すフローチャートである。
セット商品構成特定処理が呼び出されると、CPU11は、RAM12上で構成商品候補リスト121を作成する(ステップS201)。
11 and 12 are flow charts showing the control procedure by the
When the set product configuration identification process is called, the
図13は、構成商品候補リスト121の内容例を示す図である。
構成商品候補リスト121の内容は、ロット管理テーブル134のうち特定の商品に係る情報を抜き出して並べ変えたものに相当する。詳しくは、構成商品候補リスト121の内容は、指定セット商品を構成する各商品の全ての在庫のロットを、消費期限が古い順にソートしたものである。図13は、指定セット商品がセット商品Aである場合の例であり、セット商品Aを構成する商品a(商品コード:00001)及び商品b(商品コード:00002)の全ての在庫のロットが、消費期限が古い順にソートされている。
また、構成商品候補リスト121では、図13の右端の列に示されているように、セット商品の作成に応じて使用される(セット商品に組み入れられる)各商品の使用数量が計数されて記憶される。図13では、セット商品の作成前であり使用数量がいずれも0となっている状態が例示されている。
FIG. 13 is a diagram showing an example of the contents of the constituent
The contents of the constituent
In the component
ステップS201の処理が終了すると、CPU11は、後の処理に用いる基準消費期限に係る変数「基準消費期限W」に空を代入し、作成済のセット商品の数を表す変数「作成済セット数量X」に0を代入し、セット商品における商品のロットの組み合わせごとに付される変数「組合せ番号Y」に1を代入する(ステップS202)。
When the process of step S201 ends, the
CPU11は、基準消費期限Wが空であるか否かを判別する(ステップS203)。基準消費期限Wが空であると判別された場合には(ステップS203で“YES”)、CPU11は、構成商品候補リスト121において、現在の日付を基準として、消費期限までの期間が最も短い商品(すなわち、消費期限が最も古い商品)及びそのロットを検索する(ステップS204)。また、基準消費期限Wが空ではないと判別された場合には(ステップS203で“NO”)、CPU11は、構成商品候補リスト121において、消費期限が基準消費期限Wから最も近い商品(すなわち、消費期限が基準消費期限Wより後で、かつ最も古い商品)及びそのロットを検索する(ステップS205)。
The
ステップS204又はS205の処理において検索結果が該当なしとなった場合には(ステップS206で“YES”)、CPU11は、商品構成特定処理を終了させて、処理をセット商品作成処理のステップS106に移行させる。
When the search result is not applicable in the process of step S204 or S205 ("YES" in step S206), the
ステップS204又はS205の処理において該当する検索結果があった場合には(ステップS206で“NO”)、CPU11は、検索により特定されたロットの商品(以下、「基準商品」と記す)の消費期限を基準消費期限Wに代入する(ステップS207)。
If there is a corresponding search result in the process of step S204 or S205 ("NO" in step S206), the
CPU11は、基準商品との間で消費期限が近い順に、指定セット商品を構成する他の全ての商品のロットを構成商品候補リスト121から検索する(ステップS208)。これにより、指定セット商品を構成する各商品のロットが、基準商品のロットを含み、かつ各商品の消費期限が基準商品の消費期限と最も近くなるように仮決定される。
The
ステップS208の検索処理において該当する検索結果があった場合には(ステップS209で“NO”)、CPU11は、まず、追加作成するセット商品の数量に係る変数「追加セット数量Z」に0を代入する(ステップS210)。
When there is a corresponding search result in the search process of step S208 (“NO” in step S209), the
CPU11は、ステップS208で選択されたセット商品を構成する複数の商品の消費期限間の最大範囲を算出する(ステップS211)。
The
CPU11は、算出された最大範囲が範囲日数V以下であるか否かを判別し(ステップS212)、最大範囲が範囲日数V以下であると判別された場合には(ステップS212で“YES”)、ステップS208で仮決定されたロットの商品の組み合わせで作成できるセット商品の最大数を算出して、追加セット数量Zに代入する(ステップS213)。
The
CPU11は、作成済セット数量Xと追加セット数量Zとの和が指定作成数量より大きいか否か(すなわち、ステップS213で算出された最大数のセット商品を作成すると指定作成数量を超えるか否か)を判別する(ステップS214)。上記の和が指定作成数量より大きいと判別された場合には(ステップS214で“YES”)、CPU11は、指定作成数量から作成済セット数量Xを減じた値を、追加セット数量Zに代入する(ステップS215)。
The
ステップS215の処理が終了した場合、又はステップS214の処理において作成済セット数量Xと追加セット数量Zとの和が指定作成数量以下であると判別された場合(ステップS214で“NO”)には、CPU11は、作成済セット数量Xに追加セット数量Zを加算した値を、作成済セット数量Xに代入する(ステップS216)。
When the process of step S215 is completed, or when it is determined in the process of step S214 that the sum of the created set quantity X and the additional set quantity Z is equal to or less than the specified quantity to be created ("NO" in step S214) , the
CPU11は、追加セット数量Zに応じて、RAM12上の構成商品候補リスト121及びセット商品構成データ122を更新する(ステップS217)。
詳しくは、CPU11は、構成商品候補リスト121における「使用数量」の項目に、追加セット数量Zのセット商品の作成に必要な各ロットの商品の使用数量を加算する。
また、CPU11は、セット商品構成データ122において、組合せ番号Yに対応するセット商品の構成に係る情報を追加する。
The
More specifically, the
The
図15は、セット商品構成データ122の内容例を示す図である。
セット商品構成データ122は、セット商品作成処理によって作成されるセット商品の具体的構成を示すデータであり、セット商品作成指示書30を出力する際に参照されるデータである。セット商品構成データ122では、セット商品を構成する各商品について、どのロットのものを幾つ組み入れるかが示されている。
具体的には、セット商品構成データ122には、組合せ番号、作成数量、商品コード、ロット番号及び使用数量のデータが含まれている。このうち組合せ番号は、変数「組合せ番号Y」の値に対応し、作成数量は、変数「追加セット数量Z」の値に対応する。また、商品コード、ロット番号及び使用数量には、追加セット数量Zのセット商品の作成に必要な各ロットの商品の使用数量が、組合せ番号ごとに入力される。
FIG. 15 is a diagram showing an example of the contents of set
The set
Specifically, the set
ステップS217の処理が終了すると、CPU11は、組合せ番号Yをインクリメントする(ステップS218)。
When the process of step S217 is completed, the
CPU11は、作成済セット数量Xが指定作成数量に一致しているか否かを判別する(ステップS219)。CPU11は、作成済セット数量Xが指定作成数量に一致していないと判別された場合には(ステップS219で“NO”)、処理をステップS208に戻し、一致していると判別された場合には(ステップS219で“YES”)、商品構成特定処理を終了させて、処理をセット商品作成処理のステップS106に移行させる。
The
ステップS208の検索処理において検索結果が該当なしとなった場合には(ステップS209で“YES”)、CPU11は、追加セット数量Zが0であるか否かを判別し(ステップS220)、追加セット数量Zが0でないと判別された場合には(ステップS220で“NO”)、基準消費期限Wをインクリメントして(ステップS221)、処理をステップS205に移行させる。また、ステップS212の処理で、最大範囲が範囲日数Vより大きいと判別された場合にも(ステップS212で“NO”)、CPU11は、基準消費期限Wをインクリメントして(ステップS221)、処理をステップS205に移行させる。
If there is no search result in the search process of step S208 ("YES" in step S209), the
ステップS220の処理で追加セット数量Zが0であると判別された場合には(ステップS220で“YES”)、CPU11は、商品構成特定処理を終了させて、処理をセット商品作成処理のステップS106に移行させる。
When it is determined in the process of step S220 that the additional set quantity Z is 0 ("YES" in step S220), the
このようなセット商品構成特定処理によれば、基準商品を含み、かつ構成商品の消費期限間の最大範囲が指定範囲日数以下となるようなセット商品を作成するループ処理(ステップS208~ステップS219)が繰り返し実行される。このセット商品の作成では、消費期限までの期間が短いロットの商品が優先して選択されて組み入れられる(ステップS208)。したがって、一の基準商品についての複数回のループ処理のうち初回のループ処理では、構成商品の消費期限間の最大範囲が最も小さい組合せのセット商品が作成され、2回目のループ処理では、その次に消費期限間の最大範囲が小さい組合せのセット商品が作成される。以降、ループ処理ごとに、その時点で最も消費期限間の最大範囲が小さい組合せのセット商品が作成される。 According to such a set product configuration specifying process, a loop process (steps S208 to S219) for creating a set product that includes the reference product and that the maximum range between the expiration dates of the constituent products is equal to or less than the specified range of days. is executed repeatedly. In the creation of this set of products, products of lots with short expiry dates are preferentially selected and incorporated (step S208). Therefore, in the first loop processing of the multiple loop processing for one standard product, the set product with the smallest maximum range between the expiration dates of the component products is created, and in the second loop processing, the following A combination of set products with a small maximum range between expiration dates is created. Thereafter, for each loop process, a set product of a combination with the shortest maximum range between expiration dates at that time is created.
また、一の基準商品についての最後のループ処理で、当該基準商品を含むセット商品を作成できない場合には(ステップS209で“YES”)、当該基準商品を含むセット商品を少なくとも1組作成できていれば(ステップS220で“NO”)、基準消費期限Wをインクリメントした上で(ステップS221)新たに上記のループ処理が実行され、消費期限がより新しい基準商品について引き続きセット商品を作成するループ処理が実行される。
また、基準商品を含むセット商品を作成できるものの、消費期限間の最大範囲が指定範囲日数を超える場合(ステップS212で“NO”)にも、基準消費期限Wをインクリメントして引き続きセット商品が作成される。
In addition, in the last loop processing for one reference product, if a product set including the reference product cannot be created ("YES" in step S209), at least one product set including the reference product has been created. If so ("NO" in step S220), the reference expiry date W is incremented (step S221), and the above loop processing is newly executed to continuously create a set product for the reference product with a newer expiry date. is executed.
In addition, even if a product set including the standard product can be created, but the maximum range between expiration dates exceeds the specified range of days ("NO" in step S212), the standard expiration date W is incremented and a set product is created continuously. be done.
基準商品をより消費期限が新しいものに切り替えてセット商品を作成していき、ある基準商品についてのループ処理で、当該基準商品を含むセット商品を1組も作成できない場合には(ステップS209で“YES”、かつステップS220で“NO”)、可能なすべての組み合わせのセット商品の作成が終了したこととなるため、セット商品構成特定処理が終了する。 A set product is created by switching the reference product to one with a newer expiration date, and in the loop processing for a certain reference product, if it is not possible to create even one set of product set that includes the reference product (" YES" and "NO" in step S220), it means that the production of set products of all possible combinations has been completed, and thus the set product configuration identifying process ends.
ここで、セット商品構成特定処理の具体例として、図2、図4、図5及び図7に示されている各テーブルデータの内容に基づいて、「セット商品A」を「50組」作成し、上記の範囲日数を「10日」とする場合について説明する。 Here, as a specific example of the set product composition specifying process, "50 sets" of "set product A" are created based on the contents of each table data shown in FIGS. , the case where the above range number of days is set to "10 days" will be described.
まず、ステップS204において、図13の構成商品候補リスト121において消費期限までの期間が最も短い、ロット番号R0001の商品a(商品コード:00001、消費期限:2018/4/30)が基準商品として特定される。また、ステップS207において、基準消費期限Wに「2018/4/30」が代入される。
First, in step S204, product a (product code: 00001, expiry date: 2018/4/30) of lot number R0001, which has the shortest period until expiration date in the component
次に、ステップS208において、セット商品Aを構成する他の商品である商品b(商品コード:00002)のうち、在庫数量があり、かつ基準商品との間で消費期限が最も近いロットが検索される。ここでは、商品bのうち、消費期限が「2018/5/5」のロット番号R0101が検索結果として特定される。すなわち、組合せ番号Y=1のセット商品の商品構成として、ロット番号R0001の商品aと、ロット番号R0101の商品bとからなる構成が仮決定される。 Next, in step S208, among product b (product code: 00002), which is another product constituting set product A, a lot that has an inventory quantity and that has the closest expiry date to the reference product is searched. be. Here, among the products b, the lot number R0101 whose expiration date is "2018/5/5" is identified as the search result. That is, as the product composition of the set product with the combination number Y=1, the composition consisting of the product a with the lot number R0001 and the product b with the lot number R0101 is tentatively determined.
ステップS211では、仮決定されたセット商品における、ロット番号R0001の商品aの消費期限(2018/4/30)とロット番号R0101の商品bの消費期限(2018/5/5)との間の範囲(6日)が算出される。この範囲は、範囲日数V(10日)以下であるため、ステップS212では“YES”と判定される。 In step S211, the range between the expiry date (2018/4/30) of product a with lot number R0001 and the expiry date (2018/5/5) of product b with lot number R0101 in the temporarily determined set product (6 days) is calculated. Since this range is equal to or less than the range number of days V (10 days), a determination of "YES" is made in step S212.
ステップS213では、図13の構成商品候補リスト121においてロット番号R0001の商品aの在庫数量が100個であり、ロット番号R0101の商品bの在庫数量が80個であることから、1つの商品a及び2つの商品bの組み合わせからなるセット商品Aを40組作成できると判別される。よって、追加セット数量Zに40が代入される。
In step S213, in the constituent
ステップS214では、この時点において作成済セット数量X(0組)と追加セット数量Z(40組)との和が指定作成数量(50組)以下であるため、ステップS216に進み、作成済セット数量Xに追加セット数量Z(40組)が代入される。これにより、追加セット数量Zが確定し、組合せ番号Y=1に対応する各ロットの商品の使用数量も確定するため、構成商品候補リスト121及びセット商品構成データ122の内容が更新され(ステップS217)、組合せ番号Yが2にインクリメントされる(ステップS218)。
また、ステップS219において、作成済セット数量X(40組)は指定作成数量(50組)に達していないと判別されるため、処理がステップS208に戻る。
In step S214, at this time, the sum of the created set quantity X (0 sets) and the additional set quantity Z (40 sets) is equal to or less than the specified quantity to be created (50 sets), so the process proceeds to step S216, where the created set quantity The additional set quantity Z (40 sets) is substituted for X. As a result, the additional set quantity Z is determined, and the used quantity of the products in each lot corresponding to the combination number Y=1 is also determined, so the contents of the component
Also, in step S219, it is determined that the created set quantity X (40 sets) has not reached the specified created set quantity (50 sets), so the process returns to step S208.
ステップS208では、基準商品であるロット番号R0001の商品aと組み合わせる商品bとして、この段階で消費期限が基準商品と最も近いロット番号R0102が選択される。
しかしながら、ステップS212において、基準商品の消費期限(2018/4/30)とロット番号R0102の商品bの消費期限(2018/5/14)との間の範囲(15日)が範囲日数V(10日)より大きいため“NO”と判定され、ステップS221において基準消費期限Wがインクリメントされて(すなわち、基準消費期限Wに2018/5/1が代入されて)、処理がステップS205に戻る。
In step S208, lot number R0102 whose expiration date is closest to that of the reference product at this stage is selected as product b to be combined with product a of lot number R0001, which is the reference product.
However, in step S212, the range (15 days) between the expiration date (2018/4/30) of the reference product and the expiration date (2018/5/14) of product b of lot number R0102 is V (10 days). day), the determination is "NO", the reference expiration date W is incremented in step S221 (that is, 2018/5/1 is substituted for the reference expiration date W), and the process returns to step S205.
ステップS205では、基準商品として、消費期限が基準消費期限Wに最も近いロット番号R0002の商品a(消費期限:2018/5/5)が特定される。
また、ステップS208において、商品bのうち、在庫数量があり、基準商品との間で消費期限が最も近いロット番号R0102(消費期限:2018/5/14)が検索結果として特定される。すなわち、組合せ番号Y=2のセット商品の商品構成として、ロット番号R0002の商品aと、ロット番号R0102の商品bとからなる構成が仮決定される。
In step S205, the product a (expiration date: May 5, 2018) of lot number R0002 whose expiration date is closest to the reference expiration date W is identified as the reference product.
Further, in step S208, lot number R0102 (expiration date: May 14, 2018), which has an inventory quantity and the closest expiry date to the reference product, is identified as a search result among product b. That is, as the product composition of the set product with the combination number Y=2, the composition consisting of the product a with the lot number R0002 and the product b with the lot number R0102 is tentatively determined.
ステップS211では、基準商品の消費期限(2018/5/5)とロット番号R0102の商品bの消費期限(2018/5/14)との間の範囲(10日)が算出される。この範囲は、範囲日数V(10日)以下であるため、ステップS212では“YES”と判定される。 In step S211, the range (10 days) between the expiration date (May 5, 2018) of the reference product and the expiration date (May 14, 2018) of product b with lot number R0102 is calculated. Since this range is equal to or less than the range number of days V (10 days), a determination of "YES" is made in step S212.
ステップS213では、図13の構成商品候補リスト121においてロット番号R0002の商品aの在庫数量が50個であり、ロット番号R0102の商品bの在庫数量が100個であることから、1つの商品a及び2つの商品bの組み合わせからなるセット商品Aを50組作成できると判別される。よって、追加セット数量Zに50が代入される。
In step S213, in the constituent
ステップS214では、この時点において作成済セット数量X(40組)と追加セット数量Z(50組)との和が指定作成数量(50組)より大きいため、ステップS215に進み、追加セット数量Zに、指定作成数量(50組)から作成済セット数量X(40組)を減じた10組が代入される。すなわち、この処理ループでは、セット商品が10組のみ作成されることとなるため、ロット番号R0002の商品aの使用数量は10個となり、ロット番号R0102の商品bの使用数量は20個となる。 In step S214, at this time, the sum of the created set quantity X (40 sets) and the additional set quantity Z (50 sets) is greater than the specified quantity to be created (50 sets), so the process proceeds to step S215, where the additional set quantity Z , 10 pairs obtained by subtracting the created set quantity X (40 pairs) from the designated created quantity (50 pairs) are substituted. That is, in this processing loop, only 10 set products are created, so the quantity of product a with lot number R0002 is 10, and the quantity of product b with lot number R0102 is 20.
ステップS216において、作成済セット数量Xに対し、作成済セット数量X(40組)と追加セット数量Z(10組)との和である50組が代入される。
よって、ステップS219の処理では、作成済セット数量X(50組)が指定作成数量(50組)と一致していると判別され、セット商品構成特定処理が終了する。
In step S216, 50 pairs, which is the sum of the created set quantity X (40 pairs) and the additional set quantity Z (10 pairs), is substituted for the created set quantity X.
Therefore, in the process of step S219, it is determined that the created set quantity X (50 sets) matches the designated created quantity (50 sets), and the set product configuration identifying process ends.
セット商品構成特定処理の終了時点における構成商品候補リスト121では、図14に示されるように、各ループ処理における追加セット数量Zに応じた各ロットの商品の使用数量が入力されており、また在庫数量が、図13に示される初期値から使用数量を減じた値に更新されている。
また、セット商品構成データ122では、組合せ番号ごとに、セット商品の作成数量やロット及び商品の組み合わせ、及びこれらの使用数量が入力された状態となる。
As shown in FIG. 14, in the component
In addition, in the set
図16は、指示書出力処理のCPU11による制御手順を示すフローチャートである。
指示書出力処理が開始されると、CPU11は、作成済セット数量Xが指定作成数量に一致しているか否かを判別する(ステップS301)。作成済セット数量Xが指定作成数量に一致していると判別された場合、すなわちユーザにより指定された数量のセット商品が作成されたと判別された場合には(ステップS301で“YES”)、CPU11は、印刷装置に対して印刷命令を送信し、RAM12上のセット商品構成データ122に基づく内容のセット商品作成指示書30を所定の印刷装置により出力させる(ステップS302)。
FIG. 16 is a flow chart showing the control procedure by the
When the instruction sheet output process is started, the
図17は、セット商品作成指示書30の内容例を示す図である。
セット商品作成指示書30の内容は、RAM12上のセット商品構成データ122の内容に対し、セット商品コードに対応するセット商品名を追加し、商品コードに対応する商品名を追加したものに相当する。このようなセット商品作成指示書30により、セット商品を構成する各商品について、どのロットのものを幾つ組み入れれば良いかが、ユーザに対して分かりやすく提示される。
なお、ステップS302では、セット商品作成指示書30の内容に相当する画面表示を表示部15に表示(出力)させても良い。
FIG. 17 is a diagram showing an example of the contents of the set product
The contents of the set product
In step S302, a screen display corresponding to the contents of the set product
ステップS302の処理が終了すると、CPU11は、RAM12上の構成商品候補リスト121の内容をロット管理テーブル134に反映させる(ステップS303)。
When the process of step S302 is completed, the
図18は、構成商品候補リスト121の内容を反映させた後のロット管理テーブル134の内容例を示す図である。
図18のロット管理テーブル134では、在庫数量が、図14の構成商品候補リスト121における在庫数量の内容に更新されている。
FIG. 18 is a diagram showing an example of the contents of the lot management table 134 after the contents of the constituent
In the lot management table 134 of FIG. 18, the inventory quantity is updated to the content of the inventory quantity in the constituent
ステップS301の処理で、作成済セット数量Xが指定作成数量に一致していない、すなわちユーザにより指定された数量のセット商品が作成できないと判別された場合には(ステップS301で“NO”)、CPU11は、表示部15において、所定の結果表示画面25を表示させる(ステップS305)。
In the process of step S301, when it is determined that the created set quantity X does not match the specified creation quantity, that is, the set product of the quantity specified by the user cannot be created ("NO" in step S301), The
図19は、結果表示画面25の例を示す図である。
結果表示画面25では、指定作成数量のセット商品を作成できない旨が表示され、併せて指定された範囲日数において作成可能なセット商品の数量が提示される。
FIG. 19 is a diagram showing an example of the
On the
ステップS303又はステップS305の処理が終了すると、CPU11は、RAM12上の構成商品候補リスト121及びセット商品構成データ122をクリアし(ステップS304)、指示書出力処理を終了させて、処理をセット商品作成処理のステップS101に戻す。
When the processing of step S303 or step S305 ends, the
(変形例1)
上記実施形態では、セット商品構成特定処理のステップS201において、指定セット商品を構成しうる全てのロットの商品が選択されて構成商品候補リスト121が作成されたが、これに代えて、セット商品を構成する商品のうち、消費期限が、ユーザにより指定された基準日以降に設定されているロットのみを選択するようにしても良い。
この場合には、図10のセット商品作成画面24において、上記の基準日を指定するための入力領域を設け、セット商品作成処理のステップS101において、ユーザからの当該基準日の入力を併せて受け付ければ良い。
(Modification 1)
In the above-described embodiment, in step S201 of the set product composition identifying process, all the lot products that can constitute the designated set product are selected to create the component
In this case, an input area for specifying the reference date is provided on the set
(変形例2)
上記実施形態では、指定作成数量のセット商品を作成できなかった場合に、結果表示画面25を表示して処理を終了させたが、これに代えて、指定作成数量以下で可能な最大数のセット商品に係る情報を含むセット商品構成データ122を生成し、当該セット商品構成データ122の内容に基づいてセット商品作成指示書30を出力するようにしても良い。この場合は、図16の指示書出力処理においてステップS301の判別を行わずに、ステップS302以降の処理を行えば良い。
(Modification 2)
In the above embodiment, when the set product of the designated production quantity could not be produced, the
以上のように、本実施形態の情報処理装置としての販売管理装置1は、複数種類の商品の組み合わせからなるセット商品における、商品の種類ごとの構成数量が特定されたセット商品テーブル132及び構成商品テーブル133と、複数種類の商品の各々に係るロットごとの在庫数量の情報、及び複数種類の商品の各々に対してロットごとに設定されている消費期限の情報を含むロット管理テーブル134と、に基づいて、在庫の商品の組み合わせによりセット商品を作成する場合における、セット商品に組み入れる各商品のロットが特定されたセット商品構成データ122を生成する情報生成手段としてのCPU11を備え、CPU11は、セット商品を構成する各商品の消費期限間の最大範囲が、基準範囲としての範囲日数以下となるように、セット商品構成データ122を生成する。
このような構成によれば、セット商品を構成する商品の消費期限間の最大範囲を範囲日数以下に抑えつつ、容易にセット商品を作成することができる。このようなセット商品の作成を人の手で行おうとすると、特にセット商品を構成する商品数が多い場合などでは非常に手間が掛かり、かつ間違えやすいところ、販売管理装置1によりセット商品を作成することで、このような手間を削減して作業を効率化することができ、より正確にセット商品を作成することができる。
As described above, the
According to such a configuration, it is possible to easily create a set product while keeping the maximum range between the expiration dates of the products constituting the set product to the number of days or less. When it is attempted to create such a set product manually, especially when the number of products constituting the set product is large, it is very time-consuming and error-prone. By doing so, it is possible to reduce such troubles and improve the efficiency of the work, and it is possible to create a set product more accurately.
また、CPU11は、範囲日数を指定する入力操作を受け付け(第1の入力手段)、上記入力操作により指定された範囲日数に基づいてセット商品構成データ122を生成する(情報生成手段)。これにより、セット商品を構成する商品の消費期限間の最大範囲を所望の範囲日数以下に抑えてセット商品を作成することができる。
In addition, the
また、変形例2に係る販売管理装置1では、CPU11は、セット商品の作成数量を指定する入力操作を受け付け(第2の入力手段)、上記入力操作により指定された数以下で可能な最大数のセット商品に係る情報を含むセット商品構成データ122を生成する(情報生成手段)。これにより、指定範囲日数では所望の作成数量のセット商品を作成できない場合においても、ユーザは、作成可能なセット商品の数量を把握することができ、必要に応じて当該数量でセット商品を作成することができる。
In addition, in the
また、CPU11は、セット商品を構成する商品のロットとして、消費期限までの期間が短いロットを優先して選択する(情報生成手段)。これにより、余剰在庫や滞留在庫となっている消費期限が古い商品をより多くセット商品に組み入れつつ、構成商品の期限のばらつきによるセット商品の価値の低下を抑えることができるため、セット商品の販売によって効果的に在庫を圧縮することができる。
In addition, the
また、変形例1に係る販売管理装置1では、CPU11は、セット商品を構成する商品のロットとして、消費期限が所定の基準日以降に設定されているロットを選択する(情報生成手段)。これによれば、消費期限が所定日数以上残っている商品のみから容易にセット商品を構成することができる。よって、より柔軟にセット商品の構成を調整することができる。
Further, in the
また、CPU11は、セット商品構成データ122の内容をセット商品作成指示書30としてユーザに提示するために、印刷装置への印刷命令の送信処理を行う(提示手段)。これにより、セット商品を構成する各商品について、どのロットのものを幾つ組み入れれば良いかを、ユーザに対して分かりやすく提示することができる。
In addition, the
また、本実施形態のセット商品作成プログラム135は、販売管理装置1に設けられたコンピュータとしてのCPU11を、在庫の商品の組み合わせによりセット商品を作成する場合における、セット商品に組み入れる各商品のロットが特定されたセット商品構成データ122を生成する情報生成手段として機能させ、情報生成手段は、セット商品を構成する各商品の消費期限間の最大範囲が、基準範囲としての範囲日数以下となるように、セット商品構成データ122を生成する。このようなセット商品作成プログラム135により販売管理装置1を動作させることで、構成商品の期限のばらつきを抑えつつ容易にセット商品を作成することができる。
Also, the set
(第2の実施形態)
次に、本発明の第2の実施形態について説明する。本実施形態は、指定範囲日数以下で、指定作成数量を達成可能な複数の範囲日数を特定し、当該複数の範囲日数の各々についてそれぞれセット商品の作成結果がユーザに提示される点で第1の実施形態と異なる。以下では、第1の実施形態との相違点について説明する。
(Second embodiment)
Next, a second embodiment of the invention will be described. The present embodiment is the first in that a plurality of range days for which a specified production quantity can be achieved within a specified range of days or less is specified, and the set product creation result is presented to the user for each of the plurality of range days. different from the embodiment of Differences from the first embodiment will be described below.
図20は、第2の実施形態に係るセット商品作成処理のCPU11による制御手順を示すフローチャートである。
図20のフローチャートは、図9のフローチャートのステップS104をステップS104aに変更し、ステップS107及びステップS108を追加したものに相当する。
FIG. 20 is a flow chart showing a control procedure by the
The flowchart of FIG. 20 corresponds to the flowchart of FIG. 9 with step S104a changed from step S104 and steps S107 and S108 added.
本実施形態のセット商品作成処理では、CPU11は、作成ボタンを選択する入力操作がなされたと判別された場合には(ステップS103で“YES”)、範囲日数Vに1を代入する(ステップS104a)。よって次に行われるセット商品構成特定処理(ステップS105)では、セット商品を構成する各商品の消費期限が1日の範囲内に収まる(すなわち、同日である)ようにセット商品が作成される。
In the set product creation process of the present embodiment, when it is determined that an input operation for selecting the creation button has been performed ("YES" in step S103), the
セット商品構成特定処理が終了すると、CPU11は、範囲日数Vが指定範囲日数に一致しているか否かを判別し(ステップS107)、一致していない場合には(ステップS107で“NO”)、範囲日数Vをインクリメントして(ステップS108)、再度セット商品構成特定処理(ステップS105)を実行する。
When the set product configuration specifying process ends, the
このように、本実施形態では、指定範囲日数に達するまで範囲日数Vを1日ずつ増大させていき、各範囲日数Vに対してセット商品を作成する。すなわち、本実施形態でユーザにより指定される指定範囲日数は、範囲日数Vの上限値として用いられる。
また、複数の範囲日数Vの各々に対応して、構成商品候補リスト121及びセット商品構成データ122がRAM12上に作成されて保持される。
Thus, in this embodiment, the range of days V is increased by one day until the specified range of days is reached, and a set product is created for each range of days V. FIG. That is, the specified range of days specified by the user in this embodiment is used as the upper limit value of the range of days V. FIG.
Also, in correspondence with each of the plurality of range days V, a constituent
範囲日数Vが指定範囲日数に一致していると判別された場合には(ステップS107で“YES”)、CPU11は、指示書出力処理(ステップS106)を実行する。
When it is determined that the range of days V matches the designated range of days ("YES" in step S107), the
図21は、第2の実施形態に係る指示書出力処理のCPU11による制御手順を示すフローチャートである。
図21のフローチャートは、図16のフローチャートのステップS301~S303をそれぞれステップS301a~S303aに変更し、ステップS306を追加したものに相当する。
FIG. 21 is a flow chart showing a control procedure by the
The flowchart of FIG. 21 corresponds to the flowchart of FIG. 16 with steps S301 to S303 replaced by steps S301a to S303a and step S306 added.
指示書出力処理が開始されると、CPU11は、作成済セット数量Xが指定作成数量に一致する範囲日数Vがあるか否か(すなわち、指定作成数量のセット商品を作成することができた範囲日数Vがあるか否か)を判別する(ステップS301a)。
When the instruction sheet output process is started, the
作成済セット数量Xが指定作成数量に一致する範囲日数Vがあると判別された場合には(ステップS301aで“YES”)、CPU11は、RAM12上の複数の範囲日数Vの各々に対応するセット商品構成データ122に基づき、指定作成数量のセット商品を作成できた範囲日数Vについて、それぞれセット商品作成指示書30を所定の印刷装置により出力させる(ステップS302a)。
If it is determined that there is a range of days V in which the created set quantity X matches the designated creation quantity ("YES" in step S301a), the
CPU11は、出力したセット商品作成指示書30のうちいずれかのセット商品作成指示書30をユーザに選択させる所定の画面を表示部15に表示させ、いずれかのセット商品作成指示書30を選択する入力操作がなされたか否かを判別し(ステップS306)、当該入力操作がなされていないと判別された場合には(ステップS306で“NO”)、再度ステップS306の処理を実行する。
The
いずれかのセット商品作成指示書30を選択する入力操作がなされたと判別された場合には(ステップS306で“YES”)、CPU11は、選択されたセット商品作成指示書30に対応するRAM12上の構成商品候補リスト121の内容をロット管理テーブル134に反映させる(ステップS303a)。
以降の処理は、第1の実施形態の指示書出力処理と同一である。
If it is determined that an input operation for selecting one of the set
Subsequent processing is the same as the instruction sheet output processing of the first embodiment.
以上のように、第2の実施形態では、CPU11は、範囲日数Vの上限値を指定する入力操作を受け付け(第1の入力手段)、上記入力操作により指定された上限値以下の範囲日数に基づいてセット商品構成データ122を生成する(情報生成手段)。これにより、セット商品を構成する商品の消費期限間の最大範囲を、指定範囲日数より小さく抑えてセット商品を作成できる場合に、このような構成のセット商品の組み合わせをユーザに提示することができる。
As described above, in the second embodiment, the
また、CPU11は、指定作成数量のセット商品を構成可能な複数の範囲日数Vを特定し、当該複数の範囲日数の各々に基づいてそれぞれセット商品構成データ122を生成する(情報生成手段)。範囲日数Vが小さいほど、消費期限のばらつきを抑えることができる一方、ロットの選択肢が狭まるため、消費期限の古い商品がセット商品に組み入れられずに余りやすくなる。反対に、範囲日数Vが大きいほど、消費期限のばらつきが大きくなる一方、ロットの選択肢が広がるため、消費期限の古い商品をより多くセット商品に組み入れることができる。複数の範囲日数Vの各々についてセット商品構成データ122を生成してセット商品作成指示書30を出力する本実施形態の構成によれば、ユーザは、消費期限のばらつきと、消費期限の古い商品の組み入れ状況とのバランスを考慮して、より所望の内容に近いセット商品の構成を選択してセット商品を作成することができる。
In addition, the
(第3の実施形態)
次に、本発明の第3の実施形態について説明する。本実施形態は、指定範囲日数以下で、指定作成数量を達成可能な最小の範囲日数を特定し、当該最小の範囲日数に基づくセット商品の作成結果がユーザに提示される点で第2の実施形態と異なる。以下では、第2の実施形態との相違点について説明する。
(Third Embodiment)
Next, a third embodiment of the invention will be described. This embodiment is the second embodiment in that the minimum number of days within the specified range of days that can achieve the specified production quantity is specified, and the result of creating a set product based on the minimum number of days is presented to the user. Different from the form. Differences from the second embodiment will be described below.
図22は、第3の実施形態に係るセット商品作成処理のCPU11による制御手順を示すフローチャートである。
図22のフローチャートは、図20のフローチャートにステップS109を追加したものに相当する。
FIG. 22 is a flow chart showing a control procedure by the
The flowchart in FIG. 22 corresponds to the flowchart in FIG. 20 with step S109 added.
本実施形態のセット商品作成処理では、CPU11は、セット商品構成特定処理(ステップS105)が終了すると、作成済セット数量Xが指定作成数量に一致するか否か(すなわち、終了したセット商品構成特定処理において指定作成数量のセット商品を作成できたか否か)を判別する(ステップS109)。作成済セット数量Xが指定作成数量に一致しないと判別された場合には(ステップS109で“NO”)、CPU11は、範囲日数Vが指定範囲日数に達するまで範囲日数Vをインクリメントし(ステップS107、S108)、再度セット商品作成処理(ステップS105)を実行する。
In the set product creation process of this embodiment, when the set product configuration identification process (step S105) ends, the
作成済セット数量Xが指定作成数量に一致すると判別された場合(ステップS109で“YES”)、又は範囲日数Vが指定範囲日数に達したと判別された場合(ステップS107で“YES”)には、CPU11は、指示書出力処理(ステップS106)を実行する。
If it is determined that the created set quantity X matches the specified creation quantity ("YES" in step S109), or if it is determined that the range of days V has reached the specified range of days ("YES" in step S107) Then, the
図23は、第3の実施形態に係る指示書出力処理のCPU11による制御手順を示すフローチャートである。
図23のフローチャートは、図21のフローチャートからステップS306を削除し、ステップS303aをステップS303bに変更したものに相当する。
FIG. 23 is a flow chart showing a control procedure by the
The flowchart in FIG. 23 corresponds to the flowchart in FIG. 21 with step S306 removed and step S303a changed to step S303b.
本実施形態の指示書出力処理では、作成済セット数量Xが指定作成数量に一致する範囲日数Vがあると判別された場合に(ステップS301aで“YES”)、CPU11は、当該範囲日数Vについてセット商品作成指示書30を所定の印刷装置により出力させる(ステップS302a)。よって、ユーザに対し、指定作成数量のセット商品を構成可能な最小の範囲日数が提示されるとともに、当該範囲日数に基づいて作成されたセット商品の構成が提示される。
また、CPU11は、出力されたセット商品作成指示書30に対応するRAM12上の構成商品候補リスト121の内容をロット管理テーブル134に反映させる(ステップS303b)。
In the instruction sheet output process of this embodiment, when it is determined that there is a range of days V in which the created set quantity X matches the designated creation quantity ("YES" in step S301a), the CPU 11 A set product
Further, the
作成済セット数量Xが指定作成数量に一致する範囲日数Vがないと判別された場合に(ステップS301aで“NO”)、CPU11は、表示部15において、指定作成数量のセット商品を作成できない旨の結果表示画面25(図19)を表示させる(ステップS305)。
その他の処理は、第2の実施形態の指示書出力処理と同一である。
When it is determined that there is no range of days V in which the created set quantity X matches the specified creation quantity ("NO" in step S301a), the
Other processing is the same as the instruction sheet output processing of the second embodiment.
なお、本実施形態では、最後に実行されたセット商品構成特定処理において生成された構成商品候補リスト121及びセット商品構成データ122のみが指示書出力処理で用いられるため、範囲日数Vがインクリメントされるタイミング(ステップS108)でRAM12上の構成商品候補リスト121及びセット商品構成データ122をクリアしても良い。
In this embodiment, since only the constituent
以上のように、第3の実施形態では、CPU11は、指定作成数量のセット商品を構成可能な最小の範囲日数を特定し、当該最小の範囲日数に基づいてセット商品構成データ122を生成する(情報生成手段)。これによれば、指定作成数量のセット商品を、最も消費期限のばらつきの小さい構成で作成することができる。よって、消費期限のばらつきによるセット商品の価値の低下を効果的に抑制することができる。
As described above, in the third embodiment, the
(第4の実施形態)
次に、本発明の第4の実施形態について説明する。本実施形態は、範囲日数Vの初期値が指定範囲日数とされる点で第3の実施形態と異なる。すなわち、本実施形態では、指定範囲日数で指定作成数量を達成できなかった場合に、指定範囲日数より大きい範囲日数のうち、指定作成数量を達成可能な最小の範囲日数を特定し、当該最小の範囲日数に基づくセット商品の作成結果がユーザに提示される。以下では、第3の実施形態との相違点について説明する。
(Fourth embodiment)
Next, a fourth embodiment of the invention will be described. This embodiment differs from the third embodiment in that the initial value of the range days V is set to the specified range days. That is, in the present embodiment, if the specified production quantity cannot be achieved in the specified range of days, the minimum range of days that can achieve the specified production quantity is specified among the range of days larger than the specified range of days, and the minimum range of days is specified. The user is presented with the result of creating a product set based on the range of days. Differences from the third embodiment will be described below.
図24は、第4の実施形態に係るセット商品作成処理のCPU11による制御手順を示すフローチャートである。
図24のフローチャートは、図22のフローチャートのステップS104aをステップS104に、またステップS107をステップS107aにそれぞれ変更したものに相当する。
FIG. 24 is a flow chart showing a control procedure by the
The flowchart of FIG. 24 corresponds to the flowchart of FIG. 22 with step S104a replaced with step S104 and step S107 replaced with step S107a.
本実施形態のセット商品作成処理では、CPU11は、範囲日数Vを指定範囲日数とした状態で(ステップS104)セット商品構成特定処理(ステップS105)を実行した後に、作成済セット数量Xが指定作成数量に一致するか否かを判別する(ステップS109)。
In the set product creation process of the present embodiment, the
作成済セット数量Xが指定作成数量に一致しない(すなわち、指定作成数量のセット商品を作成できなかった)と判別された場合には(ステップS109で“NO”)、CPU11は、範囲日数Vが、指定範囲日数に所定の上限日数を加算した日数に一致するか否かを判別する(ステップS107a)。範囲日数Vが上記日数に一致しないと判別された場合には(ステップS107aで“NO”)、CPU11は、範囲日数Vをインクリメントして(ステップS108)、再度セット商品構成特定処理(ステップS105)を実行する。
If it is determined that the created set quantity X does not match the specified creation quantity (that is, the set product of the specified creation quantity could not be created) ("NO" in step S109), the
このように、本実施形態では、指定作成数量が達成できない場合には、指定範囲日数に所定の上限日数を加算した日数に達するまで範囲日数Vを1日ずつ増大させていき、各範囲日数Vに対してセット商品の作成が試みられる。そして、いずれかの範囲日数Vに対して指定作成数量が達成できた場合に、指示書出力処理が実行される。
上記の上限日数は、予め設定されて記憶部13に記憶されているものを用いても良いし、セット商品作成画面24においてユーザが指定できるようにしても良い。
本実施形態の指定範囲日数は、範囲日数Vの第一候補を指定するものであり、「基準範囲候補値」に対応する。
As described above, in this embodiment, when the designated production quantity cannot be achieved, the range of days V is increased by one day until reaching the number of days obtained by adding the predetermined upper limit number of days to the designated range of days, and each range of days V An attempt is made to create a set product for Then, when the designated production quantity can be achieved for any of the range days V, the instruction sheet output process is executed.
The above upper limit number of days may be set in advance and stored in the
The designated range of days in this embodiment designates the first candidate for the range of days V, and corresponds to the "reference range candidate value".
範囲日数Vが指定範囲日数に一致していると判別された場合には(ステップS107で“YES”)、CPU11は、指示書出力処理(ステップS106)を実行する。本実施形態の指示書出力処理は、第3の実施形態の指示書出力処理(図23)と同一であるため説明は省略する。
When it is determined that the range of days V matches the designated range of days ("YES" in step S107), the
以上のように、第4の実施形態では、CPU11は、範囲日数の候補値を指定する入力操作を受け付け(第1の入力手段)、指定された範囲日数の候補値を範囲日数Vとして、指定作成数量のセット商品を作成できる場合には、指定された範囲日数の候補値を範囲日数Vとしてセット商品構成データ122を生成し、指定された範囲日数の候補値を範囲日数Vとすると、指定作成数量のセット商品を構成できない場合には、指定作成数量のセット商品を構成可能な最小の範囲日数を特定し、当該最小の範囲日数に基づいてセット商品構成データ122を生成する(情報生成手段)。これによれば、指定作成数量のセット商品を確保できる範囲で、消費期限間の最大範囲が最も小さくなる構成でセット商品を作成することができる。
As described above, in the fourth embodiment, the
以上の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体として記憶部13のHDD、SSDを使用した例を開示したが、この例に限定されない。その他のコンピュータ読み取り可能な媒体として、フラッシュメモリや、CD-ROM等の可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。
In the above description, an example in which the HDD and SSD of the
なお、上記実施形態における記述は、本発明に係る情報処理装置及びプログラムの一例であり、これに限定されるものではない。
例えば、上記実施形態では、商品としての食品の販売管理を例に挙げて説明したが、これに限られず、販売管理装置1は、種々の商品の販売管理におけるセット商品の作成に適用することができる。例えば、使用期限が定められている電池や化粧品などの消耗品、及びモデルチェンジによる販売期限が定められている電化製品などの販売管理業務に販売管理装置1を適用しても良い。したがって、商品に係る所定の期限は、消費期限に限られず、使用期限や販売期限などであっても良い。
It should be noted that the description in the above embodiment is an example of the information processing apparatus and program according to the present invention, and the present invention is not limited to this.
For example, in the above-described embodiment, sales management of food as a product has been described as an example, but the
また、商品に係る期限は、日を単位としたものに限られず、週、月及び年などを単位とする期限であっても良い。 Also, the time limit for the product is not limited to the day unit, and may be a week, month, year, or the like unit.
また、上記実施形態では、商品の消費期限及び在庫数量をロットごとに管理する例を用いて説明したが、これに限定する趣旨ではない。商品の管理方法は、各商品の消費期限、及び同一種類の商品であって消費期限が同一である商品の在庫数量が管理可能であれば、どのような方法であっても良い。 Further, in the above embodiment, an example of managing the expiration date and inventory quantity of products for each lot has been described, but the present invention is not limited to this. Any product management method may be used as long as it is possible to manage the expiration date of each product and the inventory quantity of products of the same type with the same expiration date.
また、上記実施形態では、商品テーブル131、セット商品テーブル132、構成商品テーブル133及びロット管理テーブル134に対するデータの追加登録を、各種登録画面を用いてユーザの手入力により行う例を用いて説明したが、これに限定する趣旨ではない。例えば、商品の入荷検品作業において取得された商品のデータをそのまま自動的に各テーブルに追加する態様とすることで、ユーザの手入力の作業を省略しても良い。 Further, in the above embodiment, an example has been described in which additional registration of data to the product table 131, set product table 132, component product table 133, and lot management table 134 is performed manually by the user using various registration screens. However, it is not intended to be limited to this. For example, manual input work by the user may be omitted by automatically adding product data acquired in incoming product inspection work to each table as it is.
また、上記実施形態では、情報処理装置としての販売管理装置1が、ユーザにより使用される端末装置である場合を例に挙げて説明したが、これに限られない。例えば、サーバ装置により本発明の情報処理装置を構成し、当該サーバ装置での処理結果を、通信ネットネットワークを介してサーバ装置に接続された端末装置により受信させて表示させるようにしても良い。
Further, in the above-described embodiment, the case where the
また、上記実施形態における情報処理装置としての販売管理装置1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。
Further, the detailed configuration and detailed operation of each component of the
本発明の実施の形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
複数種類の商品の組み合わせからなるセット商品における、商品の種類ごとの構成数量が特定されたセット商品情報と、
前記複数種類の商品の各々に係る在庫数量情報と、
前記複数種類の商品の各々に対して設定されている所定の期限に係る期限情報と、
に基づいて、在庫の商品の組み合わせにより前記セット商品を作成する場合における、前記セット商品に組み入れる各商品が特定されたセット商品構成情報を生成する情報生成手段を備え、
前記情報生成手段は、前記セット商品を構成する各商品の前記期限間の最大範囲が基準範囲内となるように、前記セット商品構成情報を生成することを特徴とする情報処理装置。
<請求項2>
前記基準範囲を指定する第1の入力操作を受け付ける第1の入力手段を備え、
前記情報生成手段は、前記第1の入力操作により指定された前記基準範囲に基づいて前記セット商品構成情報を生成することを特徴とする請求項1に記載の情報処理装置。
<請求項3>
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段を備え、
前記情報生成手段は、前記第2の入力操作により指定された数以下で可能な最大数の前記セット商品に係る情報を含む前記セット商品構成情報を生成することを特徴とする請求項2に記載の情報処理装置。
<請求項4>
前記基準範囲の上限値を指定する第1の入力操作を受け付ける第1の入力手段を備え、
前記情報生成手段は、前記第1の入力操作により指定された前記上限値以下の前記基準範囲に基づいて前記セット商品構成情報を生成することを特徴とする請求項1に記載の情報処理装置。
<請求項5>
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段を備え、
前記情報生成手段は、前記第2の入力操作により指定された数の前記セット商品を構成可能な複数の前記基準範囲を特定し、当該複数の基準範囲の各々に基づいてそれぞれ前記セット商品構成情報を生成することを特徴とする請求項4に記載の情報処理装置。
<請求項6>
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段を備え、
前記情報生成手段は、前記第2の入力操作により指定された数の前記セット商品を構成可能な最小の基準範囲を特定し、当該最小の基準範囲に基づいて前記セット商品構成情報を生成することを特徴とする請求項4に記載の情報処理装置。
<請求項7>
前記基準範囲の設定に用いられる基準範囲候補値を指定する第1の入力操作を受け付ける第1の入力手段と、
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段と、
を備え、
前記情報生成手段は、
前記第1の入力操作により指定された前記基準範囲候補値を前記基準範囲として、前記第2の入力操作により指定された数の前記セット商品を作成できる場合には、前記基準範囲候補値を前記基準範囲として前記セット商品構成情報を生成し、
前記基準範囲候補値を前記基準範囲とすると、前記指定された数の前記セット商品を構成できない場合には、前記指定された数のセット商品を構成可能な、前記基準範囲候補値より大きい最小の基準範囲を特定し、当該最小の基準範囲に基づいて前記セット商品構成情報を生成することを特徴とする請求項1に記載の情報処理装置。
<請求項8>
前記情報生成手段は、前記セット商品を構成する商品として、前記期限までの期間が短い商品を優先して選択することを特徴とする請求項1から7のいずれか一項に記載の情報処理装置。
<請求項9>
前記情報生成手段は、前記セット商品を構成する商品として、前記期限が所定の基準日以降に設定されている商品を選択することを特徴とする請求項1から8のいずれか一項に記載の情報処理装置。
<請求項10>
前記セット商品構成情報の内容をユーザに提示するための処理を行う提示手段を備えることを特徴とする請求項1から9のいずれか一項に記載の情報処理装置。
<請求項11>
情報処理装置に設けられたコンピュータを、
複数種類の商品の組み合わせからなるセット商品における、商品の種類ごとの構成数量が特定されたセット商品情報と、
前記複数種類の商品の各々に係る在庫数量情報と、
前記複数種類の商品の各々に対して設定されている所定の期限に係る期限情報と、
に基づいて、在庫の商品の組み合わせにより前記セット商品を作成する場合における、前記セット商品に組み入れる各商品が特定されたセット商品構成情報を生成する情報生成手段、
として機能させ、
前記情報生成手段は、前記セット商品を構成する各商品の前記期限間の最大範囲が基準範囲内となるように、前記セット商品構成情報を生成することを特徴とするプログラム。
Although embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and equivalents thereof.
The invention described in the scope of claims originally attached to the application form of this application is additionally described below. The claim numbers in the appendix are as in the claims originally attached to the filing of this application.
[Appendix]
<Claim 1>
Set product information specifying the component quantity for each product type in a set product consisting of a combination of multiple types of products;
Inventory quantity information for each of the plurality of types of products;
Expiration information related to a predetermined expiration date set for each of the plurality of types of products;
an information generating means for generating set product configuration information specifying each product to be incorporated into the set product when the set product is created by combining the products in stock based on
The information processing apparatus, wherein the information generating means generates the set product composition information so that the maximum range of the expiration date of each product constituting the set product is within a reference range.
<Claim 2>
A first input means for accepting a first input operation specifying the reference range,
2. The information processing apparatus according to
<Claim 3>
a second input means for accepting a second input operation for designating the number of set products to be created;
3. The information generating means according to
<Claim 4>
A first input means for accepting a first input operation specifying the upper limit of the reference range,
2. The information processing apparatus according to
<Claim 5>
a second input means for accepting a second input operation for designating the number of set products to be created;
The information generating means identifies a plurality of the reference ranges capable of configuring the number of set products designated by the second input operation, and the set product configuration information based on each of the plurality of reference ranges. 5. The information processing apparatus according to claim 4, which generates .
<Claim 6>
a second input means for accepting a second input operation for designating the number of set products to be created;
The information generating means specifies a minimum reference range in which the number of set products designated by the second input operation can be configured, and generates the set product configuration information based on the minimum reference range. 5. The information processing apparatus according to claim 4, characterized by:
<Claim 7>
a first input means for receiving a first input operation for designating a reference range candidate value used for setting the reference range;
a second input means for receiving a second input operation for designating the number of set products to be created;
with
The information generation means is
If the number of set products specified by the second input operation can be created using the reference range candidate value specified by the first input operation as the reference range, the reference range candidate value is set to the generating the set product configuration information as a reference range;
Assuming that the reference range candidate value is the reference range, if the specified number of the set products cannot be configured, the minimum value larger than the reference range candidate value that allows the configuration of the specified number of
<Claim 8>
8. The information processing apparatus according to any one of
<Claim 9>
9. The product according to any one of
<Claim 10>
10. The information processing apparatus according to any one of
<Claim 11>
a computer provided in an information processing device,
Set product information specifying the component quantity for each product type in a set product consisting of a combination of multiple types of products;
Inventory quantity information for each of the plurality of types of products;
Expiration information related to a predetermined expiration date set for each of the plurality of types of products;
information generating means for generating set product configuration information specifying each product to be incorporated into the set product when the set product is created by combining the products in stock based on
function as
The program, wherein the information generating means generates the set product composition information so that the maximum range between the time limits of each product constituting the set product is within a reference range.
1 販売管理装置(情報処理装置)
11 CPU(情報生成手段、第1の入力手段、第2の入力手段、提示手段)
12 RAM
13 記憶部
14 操作部
15 表示部
16 通信部
17 バス
21 商品登録画面
22 セット商品登録画面
23 ロット情報登録画面
24 セット商品作成画面
25 結果表示画面
30 セット商品作成指示書
121 構成商品候補リスト
122 セット商品構成データ
131 商品テーブル
131 ロット管理テーブル
132 セット商品テーブル(セット商品情報)
133 構成商品テーブル(セット商品情報)
134 ロット管理テーブル(在庫数量情報、期限情報)
135 セット商品作成プログラム
V 範囲日数(基準範囲)
1 Sales management device (information processing device)
11 CPU (information generation means, first input means, second input means, presentation means)
12 RAMs
13
133 component product table (set product information)
134 lot management table (inventory quantity information, deadline information)
135 set product creation program V range days (reference range)
Claims (11)
前記複数種類の商品の各々に係る在庫数量情報と、
前記複数種類の商品の各々に対して設定されている所定の期限に係る期限情報と、
に基づいて、在庫の商品の組み合わせにより前記セット商品を作成する場合における、前記セット商品に組み入れる各商品が特定されたセット商品構成情報を生成する情報生成手段と、
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段と、
を備え、
前記情報生成手段は、前記第2の入力操作により指定された数の前記セット商品を構成可能な商品の組み合わせ方であって、当該セット商品を構成する各商品の前記期限間の最大範囲が基準範囲内となるような商品の組み合わせ方のうち、当該最大範囲が最小となるような商品の組み合わせ方に基づいて前記セット商品構成情報を生成することを特徴とする情報処理装置。 Set product information specifying the component quantity for each product type in a set product consisting of a combination of multiple types of products;
Inventory quantity information for each of the plurality of types of products;
Expiration information related to a predetermined expiration date set for each of the plurality of types of products;
information generating means for generating set product configuration information specifying each product to be incorporated into the set product when creating the set product by combining the products in stock based on ;
a second input means for receiving a second input operation for designating the number of set products to be created;
with
The information generating means provides a method of combining products capable of forming the number of set products specified by the second input operation, wherein the maximum range between the term of each product constituting the set product is used as a reference. An information processing apparatus , wherein the set product configuration information is generated based on a combination of products that minimizes the maximum range among combinations of products that fall within the range.
前記複数種類の商品の各々に係る在庫数量情報と、Inventory quantity information for each of the plurality of types of products;
前記複数種類の商品の各々に対して設定されている所定の期限に係る期限情報と、Expiration information related to a predetermined expiration date set for each of the plurality of types of products;
に基づいて、在庫の商品の組み合わせにより前記セット商品を作成する場合における、前記セット商品に組み入れる各商品が特定されたセット商品構成情報を生成する情報生成手段と、information generating means for generating set product configuration information specifying each product to be incorporated into the set product when creating the set product by combining the products in stock based on;
を備え、with
前記情報生成手段は、前記セット商品を構成する各商品の前記期限間の最大範囲が基準範囲内となるように、前記セット商品構成情報を生成し、The information generating means generates the set product configuration information such that the maximum range between the expiration dates of each product constituting the set product is within a reference range,
前記基準範囲の設定に用いられる基準範囲候補値を指定する第1の入力操作を受け付ける第1の入力手段と、a first input means for receiving a first input operation for designating a reference range candidate value used for setting the reference range;
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段と、a second input means for receiving a second input operation for designating the number of set products to be created;
を更に備え、further comprising
前記情報生成手段は、The information generation means is
前記第1の入力操作により指定された前記基準範囲候補値を前記基準範囲として、前記第2の入力操作により指定された数の前記セット商品を作成できる場合には、前記基準範囲候補値を前記基準範囲として前記セット商品構成情報を生成し、If the number of set products specified by the second input operation can be created using the reference range candidate value specified by the first input operation as the reference range, the reference range candidate value is set to the generating the set product configuration information as a reference range;
前記基準範囲候補値を前記基準範囲とすると、前記指定された数の前記セット商品を構成できない場合には、前記指定された数のセット商品を構成可能な、前記基準範囲候補値より大きい最小の基準範囲を特定し、当該最小の基準範囲に基づいて前記セット商品構成情報を生成することを特徴とする情報処理装置。Assuming that the reference range candidate value is the reference range, if the specified number of the set products cannot be configured, the minimum value larger than the reference range candidate value that allows the configuration of the specified number of set products An information processing apparatus, wherein a reference range is specified, and the set product composition information is generated based on the minimum reference range.
前記情報生成手段は、前記第1の入力操作により指定された前記基準範囲に基づいて前記セット商品構成情報を生成することを特徴とする請求項1に記載の情報処理装置。2. The information processing apparatus according to claim 1, wherein said information generating means generates said set product configuration information based on said reference range designated by said first input operation.
前記情報生成手段は、前記第1の入力操作により指定された前記上限値以下の前記基準範囲に基づいて前記セット商品構成情報を生成することを特徴とする請求項1に記載の情報処理装置。2. The information processing apparatus according to claim 1, wherein said information generating means generates said set product composition information based on said reference range equal to or less than said upper limit specified by said first input operation.
複数種類の商品の組み合わせからなるセット商品における、商品の種類ごとの構成数量が特定されたセット商品情報と、Set product information specifying the component quantity for each product type in a set product consisting of a combination of multiple types of products;
前記複数種類の商品の各々に係る在庫数量情報と、Inventory quantity information for each of the plurality of types of products;
前記複数種類の商品の各々に対して設定されている所定の期限に係る期限情報と、Expiration information related to a predetermined expiration date set for each of the plurality of types of products;
に基づいて、在庫の商品の組み合わせにより前記セット商品を作成する場合における、前記セット商品に組み入れる各商品が特定されたセット商品構成情報を生成する情報生成手段、information generating means for generating set product configuration information specifying each product to be incorporated into the set product when the set product is created by combining the products in stock based on
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段、a second input means for receiving a second input operation for designating the number of set products to be created;
として機能させ、function as
前記情報生成手段は、前記第2の入力操作により指定された数の前記セット商品を構成可能な商品の組み合わせ方であって、当該セット商品を構成する各商品の前記期限間の最大範囲が基準範囲内となるような商品の組み合わせ方のうち、当該最大範囲が最小となるような商品の組み合わせ方に基づいて前記セット商品構成情報を生成することを特徴とするプログラム。The information generating means provides a method of combining products capable of forming the number of set products specified by the second input operation, wherein the maximum range between the term of each product constituting the set product is used as a reference. A program for generating the set product configuration information based on a combination of products that minimizes the maximum range among combinations of products that fall within the range.
複数種類の商品の組み合わせからなるセット商品における、商品の種類ごとの構成数量が特定されたセット商品情報と、Set product information specifying the component quantity for each product type in a set product consisting of a combination of multiple types of products;
前記複数種類の商品の各々に係る在庫数量情報と、Inventory quantity information for each of the plurality of types of products;
前記複数種類の商品の各々に対して設定されている所定の期限に係る期限情報と、Expiration information related to a predetermined expiration date set for each of the plurality of types of products;
に基づいて、在庫の商品の組み合わせにより前記セット商品を作成する場合における、前記セット商品に組み入れる各商品が特定されたセット商品構成情報を生成する情報生成手段、information generating means for generating set product configuration information specifying each product to be incorporated into the set product when the set product is created by combining the products in stock based on
として機能させ、function as
前記情報生成手段は、前記セット商品を構成する各商品の前記期限間の最大範囲が基準範囲内となるように、前記セット商品構成情報を生成し、The information generating means generates the set product configuration information such that the maximum range between the expiration dates of each product constituting the set product is within a reference range,
前記コンピュータを、the computer,
前記基準範囲の設定に用いられる基準範囲候補値を指定する第1の入力操作を受け付ける第1の入力手段、a first input means for receiving a first input operation for designating a reference range candidate value used for setting the reference range;
作成する前記セット商品の数を指定する第2の入力操作を受け付ける第2の入力手段、a second input means for receiving a second input operation for designating the number of set products to be created;
として機能させ、function as
前記情報生成手段は、The information generation means is
前記第1の入力操作により指定された前記基準範囲候補値を前記基準範囲として、前記第2の入力操作により指定された数の前記セット商品を作成できる場合には、前記基準範囲候補値を前記基準範囲として前記セット商品構成情報を生成し、If the number of set products specified by the second input operation can be created using the reference range candidate value specified by the first input operation as the reference range, the reference range candidate value is set to the generating the set product configuration information as a reference range;
前記基準範囲候補値を前記基準範囲とすると、前記指定された数の前記セット商品を構成できない場合には、前記指定された数のセット商品を構成可能な、前記基準範囲候補値より大きい最小の基準範囲を特定し、当該最小の基準範囲に基づいて前記セット商品構成情報を生成することを特徴とするプログラム。Assuming that the reference range candidate value is the reference range, if the specified number of the set products cannot be configured, the minimum value larger than the reference range candidate value that allows the configuration of the specified number of set products A program for specifying a reference range and generating the set product composition information based on the minimum reference range.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019001559A JP7310143B2 (en) | 2019-01-09 | 2019-01-09 | Information processing device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019001559A JP7310143B2 (en) | 2019-01-09 | 2019-01-09 | Information processing device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020112898A JP2020112898A (en) | 2020-07-27 |
JP7310143B2 true JP7310143B2 (en) | 2023-07-19 |
Family
ID=71667978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019001559A Active JP7310143B2 (en) | 2019-01-09 | 2019-01-09 | Information processing device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7310143B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7252814B2 (en) * | 2019-03-29 | 2023-04-05 | 株式会社オービック | Assorted product creation device, assorted product creation method, and assorted product creation program |
JP7162390B1 (en) | 2022-04-26 | 2022-10-28 | 株式会社すなおネット | Food product sales system |
JP7180939B1 (en) | 2022-05-06 | 2022-11-30 | 株式会社すなおネット | Food product sales system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008015582A (en) | 2006-07-03 | 2008-01-24 | Ishida Co Ltd | Distribution system |
JP2013160704A (en) | 2012-02-08 | 2013-08-19 | Funai Electric Co Ltd | Information terminal device |
JP2014174791A (en) | 2013-03-11 | 2014-09-22 | Osaka Gas Co Ltd | Foodstuff management system and receipt |
JP2018063516A (en) | 2016-10-12 | 2018-04-19 | 株式会社スズケン | Medicine inventory management system and medicine inventory management method |
-
2019
- 2019-01-09 JP JP2019001559A patent/JP7310143B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008015582A (en) | 2006-07-03 | 2008-01-24 | Ishida Co Ltd | Distribution system |
JP2013160704A (en) | 2012-02-08 | 2013-08-19 | Funai Electric Co Ltd | Information terminal device |
JP2014174791A (en) | 2013-03-11 | 2014-09-22 | Osaka Gas Co Ltd | Foodstuff management system and receipt |
JP2018063516A (en) | 2016-10-12 | 2018-04-19 | 株式会社スズケン | Medicine inventory management system and medicine inventory management method |
Also Published As
Publication number | Publication date |
---|---|
JP2020112898A (en) | 2020-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103201755B (en) | Method and system for realizing fulfiling management | |
JP7310143B2 (en) | Information processing device and program | |
US8165904B2 (en) | Allocating inventory levels | |
US8055520B2 (en) | System and program product for selecting a lower cost supplier based on total cost and forecasted demand | |
JP2012247964A (en) | Progress management apparatus and progress management program | |
JP2009157690A (en) | Manufacturing process management apparatus, manufacturing process management method, program and recording medium for the same | |
JP5487699B2 (en) | Inventory management apparatus, inventory management method and program thereof | |
JP4855326B2 (en) | Code management system and code management method | |
JP7121565B2 (en) | STORE ORDER MANAGEMENT DEVICE, STORE ORDER MANAGEMENT METHOD, AND STORE ORDER MANAGEMENT PROGRAM | |
JP2019159719A (en) | Sales prediction simulation device, sales prediction simulation method, and sales prediction simulation program | |
JP4876479B2 (en) | Price presenting apparatus and price presenting program | |
KR20230091976A (en) | supply method determination device | |
JP2014016805A (en) | Production plan adjustment support device, production plan adjustment support method, and production plan adjustment support program | |
US20200089200A1 (en) | Production management support apparatus and production management support method | |
US8185451B2 (en) | Turn-around time information management system, storage medium, and turn-around time information management method | |
US20160148129A1 (en) | Report data management device, non-transitory computer-readable storage medium storing report data management program, and report data management method | |
JP2005215817A (en) | System for estimating computer system construction | |
JP2003237946A (en) | Inventory allocation method | |
JPH10302015A (en) | Commodity management device | |
US20220004993A1 (en) | System and Method for Updating Real-Time Project Status Based on Deliverable Status | |
JP7197419B2 (en) | Base Material Cost Calculation Apparatus, Base Material Cost Calculation Method, and Base Material Cost Calculation Program | |
JP2003308365A (en) | Production management method and production management program | |
JP3961465B2 (en) | Inventory management system and inventory management method | |
JP2017174087A (en) | Information processing device and information processing program | |
JP2020166678A (en) | Cutting simulation device, cutting simulation method, and cutting simulation program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211124 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221012 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221206 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230202 |
|
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: 20230606 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230619 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7310143 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |