Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6263046B2 - Information processing apparatus and program - Google Patents
[go: Go Back, main page]

JP6263046B2 - Information processing apparatus and program - Google Patents

Information processing apparatus and program Download PDF

Info

Publication number
JP6263046B2
JP6263046B2 JP2014035940A JP2014035940A JP6263046B2 JP 6263046 B2 JP6263046 B2 JP 6263046B2 JP 2014035940 A JP2014035940 A JP 2014035940A JP 2014035940 A JP2014035940 A JP 2014035940A JP 6263046 B2 JP6263046 B2 JP 6263046B2
Authority
JP
Japan
Prior art keywords
date
product
detachment
list
attachment
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.)
Expired - Fee Related
Application number
JP2014035940A
Other languages
Japanese (ja)
Other versions
JP2015162023A (en
Inventor
秀俊 副島
秀俊 副島
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.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
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 Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP2014035940A priority Critical patent/JP6263046B2/en
Publication of JP2015162023A publication Critical patent/JP2015162023A/en
Application granted granted Critical
Publication of JP6263046B2 publication Critical patent/JP6263046B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Description

本発明の実施形態は、情報処理装置及びプログラムに関する。   Embodiments described herein relate generally to an information processing apparatus and a program.

従来から、店舗などにストアサーバを配置し、ストアサーバで複数のPOS端末を集中管理できるようにしている。
このストアサーバの一機能として、特売期間をスケジュール管理し、特売前後に店員がPOP広告(Point of purchase advertising)の張替えを行うための商品リストをプリントアウトする機能がある。
店員はこのリストを見ながら商品のPOP広告の張替え作業を行う。
Conventionally, a store server is arranged in a store or the like, and a plurality of POS terminals can be centrally managed by the store server.
As one function of this store server, there is a function that schedules a sale period and prints out a product list for a store clerk to replace a POP advertisement (Point of purchase advertising) before and after the sale.
The store clerk performs a replacement work for the POP advertisement of the product while looking at this list.

しかし、このリストには、特売を開始する商品や特売を終了する商品の全てが一覧で表示されるため、特売開始の前後や特売終了の前後において価格変動が起こらない商品までもがリストに含まれてしまう。
価格変動の起こらない商品についてはPOP広告の張替え作業が必要ないため、その商品がリストに含まれてしまうと店員が張替えの必要な商品と取り違えてしまうので、問題である。
However, since this list displays all products that start or end sale, the list also includes products that do not change in price before and after the sale starts and before and after the sale ends. It will be.
For products that do not change in price, there is no need for a POP advertisement replacement work, so if the product is included in the list, the store clerk mistakes it for a product that needs replacement.

本発明が解決しようとする課題は、POP広告の張替えの対象となる商品をリストにして出力することのできる情報処理装置及びプログラムを提供することである。   The problem to be solved by the present invention is to provide an information processing apparatus and program capable of outputting a list of products for which a POP advertisement is to be replaced.

実施形態の情報処理装置は、商品の価格情報を示す広告の着脱予定日時を示す日付を入力する入力手段と、商品毎に、企画期間の開始の日付及び終了の日付と、前記企画期間内及び前記企画期間の開始日前日における前記商品の価格情報と、を記憶する記憶手段と、前記入力手段により入力された日付を前記企画期間の開始日または終了日とする商品を前記記憶手段が記憶する商品の中から検索して、検索された商品の前記日付における価格と当該日付の前日の前記商品の価格とが異なることを条件として、前記日付における、前記広告の着脱リストを生成する着脱リスト生成手段と、前記着脱リストを出力する出力手段と、を有する。 The information processing apparatus according to the embodiment includes an input unit that inputs a date indicating a scheduled date of attachment / detachment of an advertisement indicating product price information, a start date and an end date of a planning period for each product, and within the planning period and Storage means for storing the price information of the product on the day before the start date of the planning period, and the storage means stores a product having the date input by the input means as the start date or end date of the planning period. and it searches the product, as the search conditions and the price of the goods on the day before the price and the date are different in the date of the product, in the date, generates a detachable previous list Kihiro WARNING detachable A list generation unit; and an output unit that outputs the attachment / detachment list.

図1は、POSシステムの概略構成図である。FIG. 1 is a schematic configuration diagram of a POS system. 図2は、第1の実施形態のストアサーバのハードウエア構成図である。FIG. 2 is a hardware configuration diagram of the store server according to the first embodiment. 図3は、予約テーブルと定番単価テーブルの構成図である。FIG. 3 is a configuration diagram of the reservation table and the standard unit price table. 図4は、ワークテーブルの構成図である。FIG. 4 is a configuration diagram of the work table. 図5は、検索画面の一例である。FIG. 5 is an example of a search screen. 図6は、帳票出力プログラムのフローチャートである。FIG. 6 is a flowchart of the form output program. 図7は、ワークテーブル内の格納データの説明図である。FIG. 7 is an explanatory diagram of stored data in the work table. 図8は、プログラム実行後のワークテーブル内の格納データの説明図である。FIG. 8 is an explanatory diagram of data stored in the work table after execution of the program. 図9は、帳票出力例である。FIG. 9 shows a form output example. 図10は、第2の実施形態における帳票処理プログラムのフローチャートである。FIG. 10 is a flowchart of the form processing program in the second embodiment. 図11は、ワークテーブル内の格納データの説明図である。FIG. 11 is an explanatory diagram of stored data in the work table. 図12は、第3の実施形態における予約テーブルの構成図である。FIG. 12 is a configuration diagram of a reservation table in the third embodiment. 図13は、帳票出力プログラムのフローチャートである。FIG. 13 is a flowchart of the form output program. 図14は、第4の実施形態における表示器とプリンタのそれぞれの帳票出力例である。FIG. 14 is a form output example of each of the display device and the printer in the fourth embodiment. 図15は、第5の実施形態における表示器とプリンタのそれぞれの帳票出力例である。FIG. 15 is a form output example of each of the display device and the printer in the fifth embodiment.

以下においては、スーパーマーケット等の店舗に配置されるストアサーバに本実施形態の情報処理装置を適用する場合について説明する。   Below, the case where the information processing apparatus of this embodiment is applied to the store server arrange | positioned in stores, such as a supermarket, is demonstrated.

(第1の実施形態)
図1は、POS(Point of Sales)システムの概略構成図である。
図1に示すように、POSシステム1は、商品データ処理装置としての複数台(同図においては2台)のPOS端末2と、これらのPOS端末2にLAN(Local Area Network)3等の通信ネットワークを介して接続してPOS端末2を集中管理するストアサーバ4とで構成される。
(First embodiment)
FIG. 1 is a schematic configuration diagram of a POS (Point of Sales) system.
As shown in FIG. 1, a POS system 1 includes a plurality of (two in the figure) POS terminals 2 as product data processing apparatuses, and communication such as a LAN (Local Area Network) 3 to these POS terminals 2. The store server 4 is connected via a network and centrally manages the POS terminal 2.

ストアサーバ4は、POSシステム1全体の制御を受け持つものである。また、表示器40−1やプリンタ40−2を備えると共に、店員にPOP広告(Point of purchase advertising)の張替えや作成等を指示するための指示書(POP着脱リスト)を作成して出力する機能を有するものである。この機能により、POP着脱リスト(以下帳票と呼ぶ)を表示部40−1に表示したり、プリンタ40−2でプリントアウトしたりすることが可能になる。   The store server 4 is responsible for overall control of the POS system 1. In addition, the display 40-1 and the printer 40-2 are provided, and a function for creating and outputting an instruction sheet (POP attachment / detachment list) for instructing a store clerk to change or create a POP advertisement (Point of purchase advertising). It is what has. With this function, a POP attachment / detachment list (hereinafter referred to as a form) can be displayed on the display unit 40-1 or printed out by the printer 40-2.

図2は、ストアサーバ4のハードウエア構成図である。ストアサーバ4は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等で構成される制御部41と、通信I/F43と、I/O機器制御部44とがバス42を介して接続されて構成されている。
CPUは、各種のプログラムを実行し、各部を制御する中央演算処理装置である。
ROMは、EEPROMやFlashROMなどの書換え可能な不揮発性メモリである。
FIG. 2 is a hardware configuration diagram of the store server 4. The store server 4 includes a control unit 41 including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a communication I / F 43, and an I / O device control unit 44. It is configured to be connected via a bus 42.
The CPU is a central processing unit that executes various programs and controls each unit.
The ROM is a rewritable nonvolatile memory such as an EEPROM or a Flash ROM.

EEPROMにはBIOSが記憶されている。また、FlashROMにはPOP広告着脱リストを帳票出力するための帳票出力プログラムPや、検索画面T等のデータが記憶されている。なお、帳票出力プログラムPや検索画面Tについては後述する。
RAMは、SRAMやDRAMなどの揮発性メモリである。RAMはCPUで実行するプログラムのワーク領域として利用される。
A BIOS is stored in the EEPROM. The Flash ROM stores data such as a form output program P for outputting a POP advertisement attachment / detachment list, a search screen T, and the like. The form output program P and the search screen T will be described later.
The RAM is a volatile memory such as SRAM or DRAM. The RAM is used as a work area for programs executed by the CPU.

I/O機器制御部44は、キーボード45、表示器46、プリンタ47及びHDD(Hard Disk Drive)48に接続されており、CPUと各部との間の通信を制御する。
キーボード45は、複数種類の入力キーを備え、押下された入力キーに対応する入力信号をI/O機器制御部44を通じてCPUに送信する。
The I / O device control unit 44 is connected to a keyboard 45, a display 46, a printer 47, and an HDD (Hard Disk Drive) 48, and controls communication between the CPU and each unit.
The keyboard 45 includes a plurality of types of input keys, and transmits an input signal corresponding to the pressed input key to the CPU through the I / O device control unit 44.

表示器46は、液晶ディスプレイなどの表示画面を備え、CPUから送信された文字情報や画像情報を表示用データに変換して表示画面に出力する。
プリンタ47は、CPUから送信された文字情報や画像情報をプリント用データに変換してプリント用紙に印字する。
The display 46 includes a display screen such as a liquid crystal display, converts character information and image information transmitted from the CPU into display data, and outputs the display data.
The printer 47 converts the character information and image information transmitted from the CPU into print data and prints it on a print sheet.

HDD(Hard Disk Drive)48は、OS(Operating System)やアプリケーションプログラム等を格納する。また、HDD48は各種のデータベースを有し、データベースの内部に、それぞれ、特売等を予約するための予約テーブルTb1や、商品の定番単価を登録する定番単価テーブルTb2や、帳票出力プログラムPで利用するワーク用一次テーブル(以下、ワークテーブルと呼ぶ)Tb3や、その他、参照用のテーブルとして例えば商品マスタテーブルなどを格納している。   An HDD (Hard Disk Drive) 48 stores an OS (Operating System), application programs, and the like. The HDD 48 has various databases, and is used in the reservation table Tb1 for reserving special sales, the standard unit price table Tb2 for registering the standard unit price of the product, and the form output program P, respectively. A primary table for work (hereinafter referred to as a work table) Tb3 and, for example, a product master table is stored as a reference table.

通信I/F43はLAN3(図1参照)と接続し、ストアサーバ4と複数台のPOS端末2とのネットワーク通信を行う。
続いて、制御部41のFlashROMに格納されている帳票出力プログラムPの処理について説明する。
The communication I / F 43 is connected to the LAN 3 (see FIG. 1), and performs network communication between the store server 4 and the plurality of POS terminals 2.
Next, processing of the form output program P stored in the FlashROM of the control unit 41 will be described.

先ず、帳票出力プログラムPの参照するテーブル等について説明する。
図3は、予約テーブルTb1と定番単価テーブルTb2のフィールドの構成図である。
図3に示すように予約テーブルTb1のフィールドは「商品コード」F11、「企画コード」F12、「企画の期間(開始の日時)」F13、「企画の期間(終了の日時)」F14、及び「設定単価」F15等の項目により構成されている。同図においてその他の項目は省略している。
First, a table and the like referred to by the form output program P will be described.
FIG. 3 is a configuration diagram of fields of the reservation table Tb1 and the standard unit price table Tb2.
As shown in FIG. 3, the fields of the reservation table Tb1 are “product code” F11, “plan code” F12, “plan period (start date and time)” F13, “plan period (end date and time)” F14, and “ It consists of items such as “set unit price” F15. Other items are omitted in the figure.

「商品コード」F11には、商品のユニークな識別コードが格納される。
「企画コード」F12には、企画のユニークな識別コードが格納される。
「企画の期間(開始の日時)」F13には、企画の行われる期間の開始日時が格納される。
「企画の期間(終了の日時)」F14には、企画の行われる期間の終了日時が格納される。
The “product code” F11 stores a unique identification code of the product.
In the “plan code” F12, a unique identification code of the plan is stored.
In the “planning period (start date and time)” F13, the start date and time of the period in which the planning is performed is stored.
The “planning period (end date and time)” F14 stores the end date and time of the period in which the planning is performed.

「設定単価」F15には、企画期間中の特売単価が格納される。この特売単価は企画期間を通して一定の価格をとっている。
なお、本明細書で述べる「企画」は主に特売のことを指している。
他方の定番単価テーブルTb2のフィールドは「商品コード」F11及び「定番単価」F22の項目で構成されている。
The “set unit price” F15 stores the sale unit price during the planning period. This special sale unit price is constant throughout the planning period.
The “plan” described in this specification mainly refers to special sales.
The other field of the standard unit price table Tb2 includes items of “product code” F11 and “standard unit price” F22.

「定番単価」F22には、通常の商品単価が格納される。
予約テーブルTb1や定番単価テーブルTb2の各項目にはユーザによる手入力や商品マスタテーブルなどの参照テーブルから取得した関連データが登録されることになる。この登録についての詳しい説明は省略する。
The “standard unit price” F22 stores a normal product unit price.
In each item of the reservation table Tb1 and the standard unit price table Tb2, related data acquired from a reference table such as a manual input by a user or a product master table is registered. Detailed description of this registration is omitted.

以下では、予約テーブルTb1と定番単価テーブルTb2に既に複数レコード分のデータが登録されているものとして説明する。
続いて、帳票出力プログラムPの処理において一時的にデータを格納するためのワークテーブルTb3の構成について説明する。
In the following description, it is assumed that data for a plurality of records has already been registered in the reservation table Tb1 and the standard unit price table Tb2.
Next, the configuration of the work table Tb3 for temporarily storing data in the processing of the form output program P will be described.

図4はワークテーブルTb3の構成図である。
図4に示すようにワークテーブルTb3のフィールドは、「区分」F31、「店コード」F41、「店名」F42、「部門」F43、「商品コード」F11、「商品名称」F44、「企画コード」F12、「企画名称」F45、「企画の期間(開始の日時)」F13、「企画の期間(終了の日時)」F14、「設定単価」F15、及び「未出力フラグ」F32などの項目により構成される。
FIG. 4 is a configuration diagram of the work table Tb3.
As shown in FIG. 4, the fields of the work table Tb3 include “section” F31, “store code” F41, “store name” F42, “department” F43, “product code” F11, “product name” F44, “plan code”. F12, “plan name” F45, “plan period (start date and time)” F13, “plan period (end date and time)” F14, “set unit price” F15, “unoutput flag” F32, and the like Is done.

帳票出力プログラムPが実行されると、予約テーブルTb1や定番単価テーブルTb2から抽出されたデータや、途中の生成データなどがワークテーブルTb3の各フィールドに登録される。また、予約テーブルTb1や定番単価テーブルTb2にない情報は適宜参照テーブルから取得したものが登録される。   When the form output program P is executed, the data extracted from the reservation table Tb1 and the standard unit price table Tb2, the intermediate generated data, and the like are registered in each field of the work table Tb3. Information that is acquired from the reference table as appropriate is registered for information not included in the reservation table Tb1 or the standard unit price table Tb2.

続いて、帳票出力プログラムPの初期画面である検索画面について説明する。
図5は、その検索画面の一例である。
同図の検索画面Tは、選択項目として「区分」T1と「指定日時」T2が設けられている。また、実行ボタンとして帳票出力ボタンT3が設けられている。
「区分」T1は、POP広告を剥がすための「戻し」や、POP広告を貼るための「設定」を選択するための項目である。
Next, a search screen that is an initial screen of the form output program P will be described.
FIG. 5 is an example of the search screen.
The search screen T shown in the figure is provided with “category” T1 and “designated date” T2 as selection items. A form output button T3 is provided as an execution button.
The “classification” T1 is an item for selecting “return” for removing the POP advertisement and “setting” for pasting the POP advertisement.

「指定日時」T2は、出力する帳票の日付けや時間(POP広告の着脱予定日時)を指定するための項目である。
ユーザが各項目の入力欄T10、T20に検索情報を入力し、帳票出力ボタンT3を押すことにより、CPUが検索情報をキーにして、帳票出力プログラムPに記述の所定の処理を行う。
なお、本例では、検索項目として「区分」T1と「指定日時」T2を設けたが、その他にも「企画名称」や「商品名称」や「店名」や「部門」などを検索項目として加えても良い。
“Designated date / time” T2 is an item for designating the date and time of the output form (scheduled date / time of POP advertisement).
When the user inputs search information in the input fields T10 and T20 of each item and presses the form output button T3, the CPU performs predetermined processing described in the form output program P using the search information as a key.
In this example, “category” T1 and “designated date” T2 are provided as search items, but “plan name”, “product name”, “store name”, “department”, etc. are added as search items. May be.

ここで、帳票出力プログラムPの処理フローについて説明する。
図6は、帳票出力プログラムPのフローチャートである。
帳票出力プログラムPは、手動又は自動で帳票出力プログラムPの先頭の命令コードがCPUに読み込まれることにより、処理が開始される。
Here, the processing flow of the form output program P will be described.
FIG. 6 is a flowchart of the form output program P.
The form output program P starts processing when the first instruction code of the form output program P is read into the CPU manually or automatically.

手動であれば、ユーザがキーボード45にある実行キーを押すことにより帳票出力プログラムPがCPUに読み込まれて処理が開始される。
また、自動であれば、予めユーザが起動のタイミングを設定しておくことにより、起動のタイミングになると帳票出力プログラムPが立ち上がり、処理が開始される。例えば、システムクロックの計時する時刻において営業終了時間を起動タイミングに設定する。この場合、営業終了時間になると帳票出力プログラムPがCPUに自動で読み込まれて、処理が開始される。またログオンを起動タイミングに設定した場合は、ユーザがログオンした際に帳票出力プログラムPがCPUに自動で読み込まれて、処理が開始される。
If it is manual, the form output program P is read by the CPU when the user presses the execution key on the keyboard 45, and the process is started.
If it is automatic, the user sets the activation timing in advance, and when the activation timing is reached, the form output program P starts up and the processing is started. For example, the business end time is set as the start timing at the time measured by the system clock. In this case, when the business end time is reached, the form output program P is automatically read by the CPU and the processing is started. If logon is set as the activation timing, the form output program P is automatically read into the CPU when the user logs on, and the process is started.

先ず、帳票出力プログラムPが起動すると、検索画面Tを表示器46の画面に表示する(S1)。
次に、図5の検索画面Tの帳票出力ボタンT3が押されたか否かを判定する(S2)。
ステップS2で「NO」判定の場合、帳票出力ボタンT3の押下が検出されるまで待機する。
First, when the form output program P is activated, a search screen T is displayed on the screen of the display 46 (S1).
Next, it is determined whether or not the form output button T3 on the search screen T in FIG. 5 has been pressed (S2).
If “NO” is determined in step S2, the process waits until pressing of the form output button T3 is detected.

ここで、図5の検索画面Tの入力欄T20にユーザが「戻し・設定」を入力して帳票出力ボタンT3を押したとする。
すると、ステップS2で「YES」判定となり、「戻し」に該当する商品の情報を予約テーブルTb1から抽出してワークテーブルTb3に登録する(S3)。なお、予約テーブルTb1にない情報は適宜参照テーブルから取得して登録される。
ステップS3の処理は、より具体的に示すと次の通りとなる。
Here, it is assumed that the user inputs “return / setting” in the input field T20 of the search screen T in FIG. 5 and presses the form output button T3.
Then, “YES” determination is made in step S2, and information on the product corresponding to “return” is extracted from the reservation table Tb1 and registered in the work table Tb3 (S3). Information that is not in the reservation table Tb1 is appropriately acquired from the reference table and registered.
More specifically, the process of step S3 is as follows.

予約テーブルTb1(図3参照)の「企画の期間(終了の日時)」F14に格納されている日時情報を検索の対象にして、検索画面T(図5参照)の「指定日時」の入力欄T20に入力された日時の前日の指定日時に一致するレコードを抽出する。
抽出したレコードはワークテーブルTb3(図4参照)に順次格納する。このとき、各レコードの「区分」F31に「戻し」を設定する。また、レコード内で足りない情報は、適宜マスタテーブルなどの参照テーブルから取得して、対応する項目に格納する。
In the search table T (see FIG. 5), an input field for “designated date”, with the date and time information stored in the “planning period (end date and time)” F14 of the reservation table Tb1 (see FIG. 3) as a search target. A record that matches the designated date and time the day before the date and time input at T20 is extracted.
The extracted records are sequentially stored in the work table Tb3 (see FIG. 4). At this time, “return” is set in the “classification” F31 of each record. Information that is missing in the record is appropriately acquired from a reference table such as a master table and stored in the corresponding item.

従って、ステップS3の処理直後では「未出力フラグ」F32のみが「NULL」となる。
ステップS3に続き、「設定」に該当する商品の情報を予約テーブルTb1から抽出してワークテーブルTb3に登録する(S4)。
ステップS4で抽出した情報もステップS3と同様にワークテーブルTb3の各項目に登録されることになる。また、予約テーブルTb1にない情報は適宜参照テーブルから取得して登録されることになる。
Accordingly, immediately after the process of step S3, only the “unoutput flag” F32 becomes “NULL”.
Subsequent to step S3, information on the product corresponding to “setting” is extracted from the reservation table Tb1 and registered in the work table Tb3 (S4).
The information extracted in step S4 is also registered in each item of the work table Tb3 as in step S3. Information that is not in the reservation table Tb1 is appropriately acquired from the reference table and registered.

ステップS4の処理は、より具体的に示すと次の通りとなる。
予約テーブルTb1(図3参照)の「企画の期間(開始の日時)」F13に格納されている日時情報を検索の対象にして、検索画面T(図5参照)の「指定日時」の入力欄T20に入力した日時と一致するレコードを抽出する。
More specifically, the process of step S4 is as follows.
In the search table T (see FIG. 5), an input field for “designated date”, with the date and time information stored in the “planning period (start date and time)” F13 of the reservation table Tb1 (see FIG. 3) as a search target. A record that matches the date and time input at T20 is extracted.

抽出したレコードはワークテーブルに順次格納する。このとき、各レコードの「区分」F31に「設定」を設定する。また、レコード内で足りない情報は、適宜マスタテーブルなどの参照テーブルから取得して、対応する項目に格納する。
従って、ステップS4の処理直後では「未出力フラグ」F32のみが「NULL」となる。
The extracted records are stored sequentially in the work table. At this time, “setting” is set in the “classification” F31 of each record. Information that is missing in the record is appropriately acquired from a reference table such as a master table and stored in the corresponding item.
Therefore, immediately after the process of step S4, only the “unoutput flag” F32 becomes “NULL”.

ここで、ワークテーブルTb3(図4参照)内の格納データの内容について説明する。
図7は、ステップS4の処理後のワークテーブルTb3内の格納データの内容を示す説明図である。
同図においては左側に、「戻し」の商品一覧(「戻し」リストA)を配置し、同図の右に「戻し」の各商品コードに対応させて、「設定」の商品一覧(「設定」リストB)を配置した。言うまでもないが、実際は「設定」に該当するレコードは「戻し」の最終行の次の行から順次格納されることになる。
Here, the contents of the stored data in the work table Tb3 (see FIG. 4) will be described.
FIG. 7 is an explanatory diagram showing the contents of the stored data in the work table Tb3 after the process of step S4.
In the figure, the “return” product list (“return” list A) is arranged on the left side, and the “return” product list (“setting”) is associated with each “return” product code on the right side of FIG. "List B) was placed. Needless to say, records corresponding to “setting” are actually stored sequentially from the row following the last row of “return”.

同図は、検索画面T(図5参照)において「指定日時」の入力欄T20に「2月3日」を入力し、「区分」に「戻し・設定」を入力して実行したときの、ワークテーブルTb3(図4参照)内の格納データの内容を示している。
この例においては、図6のステップS3の処理が実行されると、予約テーブルTb1(図3参照)の「企画の期間(終了の日時)」F14の格納情報を対象に、「2月3日」の前日つまり「2月2日」をもつレコードが抽出されることになる。そして抽出されたレコードに「区分」F31として「戻し」が付け加えられて、ワークテーブルTb3に格納される。
The figure shows that when “February 3” is entered in the “designated date” input field T20 on the search screen T (see FIG. 5) and “return / setting” is entered in “category”, The contents of stored data in the work table Tb3 (see FIG. 4) are shown.
In this example, when the process of step S3 in FIG. 6 is executed, “February 3” is targeted for the information stored in the “planning period (end date and time)” F14 of the reservation table Tb1 (see FIG. 3). ", The record having the day before" February 2 "is extracted. Then, “return” is added as “category” F31 to the extracted record and stored in the work table Tb3.

図7の「戻し」リストAにおいては企画コード1に対応する商品コード1〜4の予約情報と、企画コード2に対応する商品コード5〜10の予約情報が「戻し」に該当するものとして、レコードとして登録されている。なお、この段階で「未出力フラグ」F32は「NULL」である。   In the “return” list A in FIG. 7, it is assumed that the reservation information of the product codes 1 to 4 corresponding to the plan code 1 and the reservation information of the product codes 5 to 10 corresponding to the plan code 2 correspond to “return”. Registered as a record. At this stage, the “unoutput flag” F32 is “NULL”.

また、図6のステップS4の処理が実行されると、予約テーブルTb1の「企画の期間(開始の日時)」項目F13の格納情報を対象に、「2月3日」をもつレコードが抽出されることになる。そして抽出されたレコードに「区分」F31として「設定」が付け加えられ、ワークテーブルTb3に格納される。   When the process of step S4 in FIG. 6 is executed, a record having “February 3” is extracted for the storage information of the “planning period (start date and time)” item F13 in the reservation table Tb1. Will be. Then, “set” is added as “category” F31 to the extracted record and stored in the work table Tb3.

図7の「設定」リストBにおいては企画コード3に対応する商品コード1〜7及び11〜15の予約情報が「設定」に該当するものとして、レコードとして登録されている。なお、「設定」リストBにおいても、この段階で「未出力フラグ」F32は「NULL」である。
図6の処理に戻り、ステップS5からステップS9の処理について図7、図8を適宜参照しながら説明する。ステップS5からステップS9の処理は、単価変動のない商品のレコードを削除等して帳票を生成するための着脱リスト生成手段に相当するものである。
In the “setting” list B in FIG. 7, the reservation information of the product codes 1 to 7 and 11 to 15 corresponding to the plan code 3 is registered as records corresponding to “setting”. Also in the “setting” list B, the “unoutput flag” F32 is “NULL” at this stage.
Returning to the processing of FIG. 6, the processing from step S5 to step S9 will be described with reference to FIGS. 7 and 8 as appropriate. The processing from step S5 to step S9 corresponds to an attach / detach list generating means for generating a form by deleting a record of a product having no unit price fluctuation.

先ず、ステップS5で、ワークテーブルTb3(図4参照)の「未出力フラグ」F32を対象にして「NULL」のレコードを検索し、この検索がヒットしたレコードを対象に更に「商品コード」F11において商品コードが重複するレコードを検索する。そして、検索結果を基に該当するレコードの有無を判定する。図7に示す例では、「未出力フラグ」F32が「NULL」のものは全レコードである。全レコードの内で商品コードが重複するレコードは、「戻し」リストAと「設定」リストBの比較から明らかなように、商品コード1から7となる。   First, in step S5, a “NULL” record is searched for the “unoutput flag” F32 of the work table Tb3 (see FIG. 4), and the record hit by this search is further searched for in the “product code” F11. Search for records with duplicate product codes. Then, the presence or absence of the corresponding record is determined based on the search result. In the example shown in FIG. 7, all records with the “unoutput flag” F32 of “NULL” are all records. As is clear from the comparison between the “return” list A and the “setting” list B, the records having the same product code among all the records are the product codes 1 to 7.

ステップS5で「YES」判定の場合、該当するレコードの中から、商品コードのより若い番号のレコードのペアを抽出する(S6)。図7の例では、最初は「戻し」リストAの商品コード1のレコードと「設定」リストBの商品コード1のレコードが該当する。その後も同様に、順次商品コード2、3と続き、最後は「戻し」リストAの商品コード7のレコードと「設定」リストBの商品コード7のレコードが該当することになる。   If “YES” is determined in step S5, a pair of records having a lower number in the product code is extracted from the corresponding records (S6). In the example of FIG. 7, the record of the product code 1 in the “return” list A and the record of the product code 1 in the “setting” list B first correspond to each other. Thereafter, similarly, the product codes 2 and 3 are sequentially followed, and the record of the product code 7 in the “return” list A and the record of the product code 7 in the “setting” list B correspond to each other.

続いて、ステップS6で抽出したペアのレコードがもつそれぞれの「設定単価」F15の情報を比較し、情報が一致するか否かつまり設定単価が同じか否かを判定する(S7)。図7の例では、最初の該当レコードは商品コード1なので「戻し」リストAの設定単価「100円」と「設定」リストBの設定単価「100円」が比較の対象となる。その後も、順次、「戻し」リストAの商品コード2の設定単価「50円」と「設定」リストBの商品コード2の設定単価「50円」、同様にして商品コード3の設定単価の比較となり、最後は「戻し」リストAの商品コード7の設定単価「50円」と「設定」リストBの商品コード7の設定単価「80円」が比較の対象となる。   Subsequently, the information of each “set unit price” F15 included in the pair of records extracted in step S6 is compared to determine whether the information matches, that is, whether the set unit price is the same (S7). In the example of FIG. 7, since the first corresponding record is the product code 1, the set unit price “100 yen” in the “return” list A and the set unit price “100 yen” in the “set” list B are to be compared. Thereafter, the set unit price “50 yen” of the product code 2 in the “return” list A and the set unit price “50 yen” of the product code 2 in the “setting” list B are sequentially compared, and the set unit price of the product code 3 is similarly compared. Finally, the set unit price “50 yen” of the product code 7 in the “return” list A and the set unit price “80 yen” of the product code 7 in the “setting” list B are to be compared.

ステップS7で「NO」判定の場合、ワークテーブルTb3の「未出力フラグ」F32に設定単価が変動することを示す「0」を入力し(S8)、ステップS5の処理から繰り返し実行する。図7の例では、「戻し」リストAの商品コード5から7の設定単価と「設定」リストBの商品コード5から7の設定単価がそれぞれ「50円」と「80円」で不一致であるため、「戻し」リストAと「設定」リストBのそれぞれの商品コード5から7の「未出力フラグ」F32に「0」が登録される。   If “NO” is determined in step S7, “0” indicating that the set unit price fluctuates is input to the “unoutput flag” F32 of the work table Tb3 (S8), and the process is repeatedly executed from the process of step S5. In the example of FIG. 7, the set unit prices of the product codes 5 to 7 in the “return” list A and the set unit prices of the product codes 5 to 7 in the “setting” list B are inconsistent at “50 yen” and “80 yen”, respectively. Therefore, “0” is registered in the “unoutput flag” F32 of the product codes 5 to 7 in the “return” list A and the “setting” list B, respectively.

一方、ステップS7で「YES」判定の場合、ワークテーブルTb3の「未出力フラグ」F32に設定単価が変動しないことを示す「1」を入力し(S9)、ステップS5からの処理を繰り返す。図7の例では、「戻し」リストAの商品コード1から4の設定単価と「設定」リストBの商品コード1から4の設定単価が「100円」と「100円」または「50円」と「50円」で一致するため、「戻し」リストAと「設定」リストBのそれぞれの商品コード1から4の「未出力フラグ」F32に「1」が登録される。図7において「未出力フラグ」F32に「1」が登録されるレコードを網掛けで示した。なお、後述する処理において「未出力フラグ」F32に「1」が登録されるレコードも網掛けで示した。   On the other hand, if “YES” is determined in step S7, “1” indicating that the set unit price does not fluctuate is input to the “unoutput flag” F32 of the work table Tb3 (S9), and the processing from step S5 is repeated. In the example of FIG. 7, the set unit prices of the product codes 1 to 4 in the “return” list A and the set unit prices of the product codes 1 to 4 in the “setting” list B are “100 yen” and “100 yen” or “50 yen”. Therefore, “1” is registered in the “unoutput flag” F32 of the product codes 1 to 4 of the “return” list A and the “setting” list B. In FIG. 7, the record in which “1” is registered in the “unoutput flag” F32 is shown by shading. It should be noted that records in which “1” is registered in the “unoutput flag” F32 in the processing described later are also shaded.

図8は、プログラムPの実行処理を終えた後のワークテーブルTb3内の格納データの内容を示す説明図である。
同図においては図7の「戻し」リストAの商品一覧と「設定」リストBの商品一覧が通常の並びで示されている。
FIG. 8 is an explanatory diagram showing the contents of the stored data in the work table Tb3 after the execution process of the program P is finished.
In FIG. 7, the product list in the “return” list A and the product list in the “setting” list B in FIG. 7 are shown in a normal arrangement.

ステップS9の処理が行われると、図8の範囲80に示すように、「区分」F31が「戻し」の商品コード1から4と「区分」F31が「設定」の商品コード1から4の各レコードは「未出力フラグ」F32の欄に「1」が設定されることになる。また、図8の範囲81に示すように「戻し」と「設定」のそれぞれの商品コード5から7の各レコードは「未出力フラグ」F32の欄に「0」が設定されることになる。   When the process of step S9 is performed, as shown in a range 80 of FIG. 8, each of the product codes 1 to 4 having “return” “classification” F31 and the product codes 1 to 4 having “setting” F31 is “set”. In the record, “1” is set in the field of “unoutput flag” F32. Further, as shown in the range 81 of FIG. 8, “0” is set in the “unoutput flag” F32 column for each record of the product codes 5 to 7 of “return” and “setting”.

以上にようにして該当する全てのレコードの「未出力フラグ」F32の欄に値が設定されると、ステップS5で「NO」判定となり、続くステップS10の処理に移行する。
ステップS10の処理では設定単価と定番単価の比較処理を実行する。
When a value is set in the “unoutput flag” F32 field of all corresponding records as described above, a “NO” determination is made in step S5, and the process proceeds to the subsequent step S10.
In the process of step S10, a comparison process between the set unit price and the standard unit price is executed.

ステップS10の処理では、ワークテーブルTb3(図4参照)の「商品コード」F11を対象に商品コードの重複しないレコードを検索し、そのレコードの中で更に「区分」F31を対象に「戻し」が設定されているレコードを検索し、該当するレコードを抽出する。図7の例では、商品コード8から10は「戻し」リストAにあり、「設定」リストBにはない。よって、商品コード8から10のレコードが該当することになる。   In the process of step S10, a record in which the product code does not overlap is searched for the “product code” F11 of the work table Tb3 (see FIG. 4), and “return” is further selected for the “classification” F31 in the record. Search the set record and extract the corresponding record. In the example of FIG. 7, the product codes 8 to 10 are in the “return” list A and not in the “setting” list B. Therefore, the records of the product codes 8 to 10 are applicable.

続いて、抽出したレコードの商品コードを検索キーにして定番単価テーブルTb2(図3参照)内を検索し、該当するレコードの「定番単価」F22から定番単価を抽出する。
そして、商品コード別に、先に抽出したレコードがもつ設定単価と後に抽出したその商品の定番単価とを比較する。
Subsequently, the standard unit price table Tb2 (see FIG. 3) is searched using the product code of the extracted record as a search key, and the standard unit price is extracted from the “standard unit price” F22 of the corresponding record.
Then, for each product code, the set unit price of the previously extracted record is compared with the standard unit price of the product extracted later.

この比較結果が一致の場合、ワークテーブルTb3の「未出力フラグ」F32に設定単価が変動しないことを示す「1」を入力する。また、比較結果が不一致の場合、ワークテーブルTb3の「未出力フラグ」F32に設定単価が変動することを示す「0」を入力する。図7の例では、商品コード8のレコードであればこれを検索キーにして定番単価テーブルTb2から商品コード8の定番単価を抽出し、商品コード8のレコードがもつ設定価格と、抽出した定番単価とを比較する。更に商品コード9、10の順番で対応する定番単価の情報を抽出し、それぞれの設定単価と比較する。なお、本例では、便宜的に商品コード8から10の全ての定番単価を100円とし、この定番単価を設定単価との比較のためリストBに配置した。従って、商品コード8、9は、設定単価「100円」であり定番単価「100円」と一致するため、ワークテーブルTb3の「未出力フラグ」F32に「1」が格納される。また、商品コード10は設定単価「50円」であり定番単価「100円」と異なるためワークテーブルTb3の「未出力フラグ」F32に「0」が格納される。   When the comparison result is coincident, “1” indicating that the set unit price does not fluctuate is input to the “unoutput flag” F32 of the work table Tb3. When the comparison results do not match, “0” indicating that the set unit price fluctuates is input to the “unoutput flag” F32 of the work table Tb3. In the example of FIG. 7, if the record of the product code 8 is used as a search key, the standard unit price of the product code 8 is extracted from the standard unit price table Tb2, and the set price and the extracted standard unit price of the record of the product code 8 are extracted. And compare. Further, information on the standard unit price corresponding to the product codes 9 and 10 is extracted and compared with each set unit price. In this example, for convenience, all the standard unit prices of the product codes 8 to 10 are set to 100 yen, and this standard unit price is arranged in the list B for comparison with the set unit price. Accordingly, since the product codes 8 and 9 have the set unit price “100 yen” and match the standard unit price “100 yen”, “1” is stored in the “unoutput flag” F32 of the work table Tb3. Since the product code 10 has a set unit price “50 yen” and is different from the standard unit price “100 yen”, “0” is stored in the “unoutput flag” F32 of the work table Tb3.

図8においては、範囲82に示すように、「区分」F31が「戻し」の商品コード8、9の「未出力フラグ」F32の欄に「1」が設定される。また、範囲83に示すように、「区分」F31が「戻し」の商品コード10の「未出力フラグ」F32の欄に「0」が設定される。
続いて、ステップS11で設定単価と定番単価の比較処理を実行する。
この処理では、ワークテーブルTb3(図4参照)の「商品コード」F11を対象に商品コードの重複しないレコードを検索し、そのレコードの中で更に「区分」F31を対象に「設定」が設定されているレコードを検索し、該当するレコードを抽出する。
次に、抽出したレコードの商品コードを検索キーにして定番単価テーブルTb2(図3参照)内を検索し、該当するレコードの「定番単価」F22から定番単価を抽出する。
そして、商品コード別に、先に抽出したレコードがもつ設定単価と後に抽出したその商品の定番単価とを比較する。
In FIG. 8, as shown in a range 82, “1” is set in the “unoutput flag” F 32 column of the product codes 8 and 9 whose “category” F 31 is “return”. Further, as shown in the range 83, “0” is set in the “unoutput flag” F32 field of the product code 10 whose “classification” F31 is “return”.
Subsequently, in step S11, the set unit price and the standard unit price are compared.
In this process, a record in which the product code does not overlap is searched for the “product code” F11 in the work table Tb3 (see FIG. 4), and “setting” is set for the “classification” F31 among the records. Search the record and extract the corresponding record.
Next, the standard unit price table Tb2 (see FIG. 3) is searched using the product code of the extracted record as a search key, and the standard unit price is extracted from the “standard unit price” F22 of the corresponding record.
Then, for each product code, the set unit price of the previously extracted record is compared with the standard unit price of the product extracted later.

この比較結果が一致の場合、ワークテーブルTb3の「未出力フラグ」F32に設定単価が変動しないことを示す「1」を入力する。また、比較結果が不一致の場合、ワークテーブルTb3の「未出力フラグ」F32に設定単価が変動することを示す「0」を入力する。   When the comparison result is coincident, “1” indicating that the set unit price does not fluctuate is input to the “unoutput flag” F32 of the work table Tb3. When the comparison results do not match, “0” indicating that the set unit price fluctuates is input to the “unoutput flag” F32 of the work table Tb3.

図7の例では、商品コード11であればこれを検索キーにして定番単価テーブルTb2から商品コード11の定番単価を抽出し、商品コード11のレコードがもつ設定価格と抽出した定番単価とを比較する。更に商品コード12〜15の順番で対応する定番単価の情報を抽出し、それぞれの設定単価と比較する。なお、本例では、便宜的に商品コード11から15の全ての定番単価を50円とし、この定番単価を設定単価との比較のためリストAに配置した。従って、商品コード15は設定単価「50円」であり定番単価「50円」と一致するためワークテーブルTb3の「未出力フラグ」F32に「1」が格納される。また、商品コード11〜14は設定単価「100円」であり定番単価「50円」と異なるためワークテーブルTb3の「未出力フラグ」F32に「0」が格納される。   In the example of FIG. 7, if the product code 11 is used as a search key, the standard unit price of the product code 11 is extracted from the standard unit price table Tb2, and the set price of the record of the product code 11 is compared with the extracted standard unit price. To do. Further, information on the standard unit price corresponding to the product codes 12 to 15 is extracted and compared with each set unit price. In this example, all the standard unit prices of the product codes 11 to 15 are set to 50 yen for convenience, and this standard unit price is arranged in the list A for comparison with the set unit price. Accordingly, since the product code 15 has a set unit price “50 yen” and matches the standard unit price “50 yen”, “1” is stored in the “unoutput flag” F32 of the work table Tb3. Since the product codes 11 to 14 have a set unit price “100 yen” and are different from the standard unit price “50 yen”, “0” is stored in the “unoutput flag” F32 of the work table Tb3.

図8においては、範囲85に示すように、「区分」F31が「設定」の商品コード15の「未出力フラグ」F32の欄に「1」が設定される。また、範囲84に示すように、「区分」F31が「設定」の商品コード10の「未出力フラグ」F32の欄に「0」が設定される。   In FIG. 8, as shown in a range 85, “1” is set in the “unoutput flag” F 32 column of the product code 15 whose “classification” F 31 is “set”. Further, as shown in the range 84, “0” is set in the “unoutput flag” F32 column of the product code 10 whose “classification” F31 is “set”.

本プログラムPは、以上のようにして、ワークテーブルTb3の全てのレコードの「未出力フラグ」F32に値つまり価格変動がない商品の判定値を設定する。
そして、ワークテーブルTb3の全てのレコードの「未出力フラグ」F32に値が設定されると、ワークテーブルに設定されている情報を基に出力形態に応じた所定フォームの帳票を生成してその帳票を出力し(S12)、本処理を終了する。帳票の出力機器は表示器46やプリンタ47である。表示器46において表示画面に帳票を表示したり、又はプリンタ47においてプリント用紙に帳票を印字して出力したりして処理を終了する。
As described above, the program P sets a value, that is, a determination value of a product having no price fluctuation, in the “unoutput flag” F32 of all the records of the work table Tb3.
When values are set in the “unoutput flag” F32 of all records in the work table Tb3, a form of a predetermined form corresponding to the output form is generated based on the information set in the work table, and the form is generated. Is output (S12), and this process ends. A form output device is a display 46 or a printer 47. The display unit 46 displays the form on the display screen, or the printer 47 prints the form on the printing paper and outputs it, and the process is terminated.

このように本処理は、単価変動のない商品のレコードを削除等して帳票を生成する着脱リスト生成手段として機能する。
図9は、ステップS12の帳票(着脱リストとも言う)の出力例である。
本例は、「未出力フラグ」F32に「1」が設定されている商品を削除し、「未出力フラグ」F32に「0」が設定されている商品だけを帳票出力したときのものである。また、ここでは区分が「設定」のもの、つまりPOP広告の貼り替えが必要な商品だけを帳票出力したものを示している。
In this way, this process functions as a detachment list generation unit that generates a form by deleting a record of a product with no unit price fluctuation.
FIG. 9 shows an output example of the form (also referred to as attachment / detachment list) in step S12.
In this example, a product for which “1” is set in the “unoutput flag” F32 is deleted, and only products for which “0” is set in the “unoutput flag” F32 are output in a form. . In addition, here, the category is “set”, that is, only products for which a POP advertisement needs to be pasted are output as a form.

同図の帳票90は、図4に示すワークテーブルの項目以外にも「営業日」や「天候」や「自社コード」などの他の情報を付けて出力した場合のものである。   The form 90 shown in the figure is a case in which other information such as “business days”, “weather”, and “in-house code” is added in addition to the items in the work table shown in FIG.

帳票90の「新単価」F91は「設定単価」F15に相当する。「特売NO」F92は「企画コード」F12に相当する。「JAN(Japan Article Number)コード」F93は「商品コード」F11に相当する。「名称」F94は「商品名称」F44に相当する。「開始日時」F95、「終了日時」F96は、それぞれ、「企画の期間(開始の日時)」F13と「企画の期間(終了の日時)」F14に相当する。なお、本例では時刻が表示されているが、これらは、「企画の期間(開始の日時)」F13に開始日を設定した際に付加された店の営業開始時刻と「企画の期間(終了の日時)」F14に終了日を設定した際に付加される店の営業終了時刻である。   The “new unit price” F91 of the form 90 corresponds to the “set unit price” F15. “Special sale NO” F92 corresponds to “plan code” F12. “JAN (Japan Article Number) code” F93 corresponds to “product code” F11. The “name” F94 corresponds to the “product name” F44. The “start date and time” F95 and the “end date and time” F96 correspond to a “planning period (starting date and time)” F13 and a “planning period (end date and time)” F14, respectively. In this example, the time is displayed, but these are the business start time of the store added when the start date is set in the “plan period (start date and time)” F13 and the “plan period (end)”. Date and time) ”is the business end time of the store added when the end date is set in F14.

「新単価」F91と「定番単価」F22に設定されている値を確認すると、先頭の商品「商品A」R1は定番単価「219円」、新単価「180円」で値が異なり、新単価へのPOPの貼り付けが必要な商品であることが分かる。その他の商品も全て、新単価と定番単価は異なり、新単価へのPOPの貼り付けが必要な商品である。従って、この一覧に価格の変動がない商品つまりPOPの貼り付けが必要の無い商品は出力されていないことになる。   When the values set in the “new unit price” F91 and the “standard unit price” F22 are confirmed, the value of the first product “product A” R1 is different between the standard unit price “219 yen” and the new unit price “180 yen”. It can be seen that this is a product that requires a POP to be attached. All other products are different from the new unit price and the standard unit price, and require a POP to be pasted on the new unit price. Therefore, products that do not change in price in this list, that is, products that do not require POP pasting, are not output.

(第2の実施形態)
第1の実施形態では日付単位で帳票出力するストアサーバの構成について説明した。
第2の実施形態では時間単位で帳票出力するストアサーバの構成について説明する。
ここでは時間単位の企画としてタイムサービスを例に説明する。
(Second Embodiment)
In the first embodiment, the configuration of the store server that outputs a form in units of dates has been described.
In the second embodiment, a configuration of a store server that outputs a form in units of time will be described.
Here, a time service will be described as an example of time unit planning.

タイムサービスは特売期間を時間単位で区切った企画であるため、予約テーブルTb1の「企画の期間(開始の日時)」F13と「企画の期間(終了の日時)」F14において時間区切りで開始時刻と終了時刻を予め設定しておく必要がある。なお、実施形態1では、1日単位で区切る企画において開始時刻に営業開始時刻を設定し、終了時刻に営業終了時刻を設定する構成をとった。このため、第2の実施形態ではタイムサービスにおいては店の営業開始時刻や営業終了時刻は使用しないものとする。   Since the time service is a plan in which the sale period is divided in units of time, the start time is divided in time in the “plan period (start date and time)” F13 and the “plan period (end date and time)” F14 in the reservation table Tb1. It is necessary to set an end time in advance. In the first embodiment, the business start time is set as the start time and the business end time is set as the end time in the project divided in units of one day. For this reason, in the second embodiment, it is assumed that the store business start time and business end time are not used in the time service.

例えば店の営業時間が9時から21時であれば、9時と21時は使用しない。タイムサービスを16時から18時まで実施するとき、「企画の期間(開始の日時)」F13に日付と開始時刻「16時」を設定し、「企画の期間(終了の日時)」F14に日付と終了時刻「18時」を設定する。   For example, if the store's business hours are from 9:00 to 21:00, it is not used at 9:00 and 21:00. When the time service is implemented from 16:00 to 18:00, the date and start time “16:00” are set in the “planning period (start date and time)” F13, and the date is set in the “planning period (end date and time)” F14. And end time “18:00”.

図10は、第2の実施形態における帳票処理プログラムPのフローチャートである。
なお、本処理の説明において第1の実施形態のフローチャート(図6)と共通する部分には同じステップ番号を付与し、共通する処理の説明は必要に応じて省略するものとする。
FIG. 10 is a flowchart of the form processing program P in the second embodiment.
In the description of this process, the same step number is assigned to the same part as that in the flowchart (FIG. 6) of the first embodiment, and the description of the common process is omitted as necessary.

先ず、図5に示す検索画面Tの指定日の入力欄T20に日付と時刻を入力すると、図10の処理は次のようにして行われる。
指定日の入力欄T20に入力された時刻について営業開始時刻と営業終了時刻を除く時間であるか否かを判定する(S101)。
ステップS101で「NO」判定の場合、図6の処理フローのステップS3以下の処理を実行する。
First, when a date and time are entered in the input field T20 for the specified date on the search screen T shown in FIG. 5, the processing in FIG. 10 is performed as follows.
It is determined whether or not the time entered in the designated date input field T20 is a time excluding the business start time and the business end time (S101).
If “NO” is determined in the step S101, the process after the step S3 in the process flow of FIG. 6 is executed.

ステップS101で「YES」判定の場合、タイムサービスであると判定し、予約テーブルTb1(図3参照)の「企画の期間(開始の日時)」F13に格納されている日時情報を検索の対象にして、検索画面T(図5参照)にて指定された日付と時刻に一致するレコードを抽出する(S102)。 If “YES” is determined in step S101 , it is determined that the service is a time service, and the date and time information stored in the “planning period (start date and time)” F13 of the reservation table Tb1 (see FIG. 3) is set as a search target. Then, a record that matches the date and time designated on the search screen T (see FIG. 5) is extracted (S102).

抽出したレコードはワークテーブルTb3(図4参照)に順次格納する。このとき、各レコードの「区分」F31に「設定」を設定する。また、レコード内で足りない情報は、適宜マスタテーブルから取得して、対応する項目に格納する。   The extracted records are sequentially stored in the work table Tb3 (see FIG. 4). At this time, “setting” is set in the “classification” F31 of each record. Information that is missing in the record is appropriately acquired from the master table and stored in the corresponding item.

ステップS102に続き、予約テーブルTb1(図3参照)の「企画の期間(開始の日時)」F13に格納されている日時情報を検索の対象にして、検索画面T(図5参照)にて指定された日時の前日の開始時刻と一致するレコードを抽出する(S103)。   Subsequent to step S102, the date and time information stored in the "planning period (start date and time)" F13 of the reservation table Tb1 (see FIG. 3) is designated on the search screen T (see FIG. 5). A record that matches the start time of the previous day of the specified date is extracted (S103).

抽出したレコードはワークテーブルに順次格納する。このとき、各レコードの「区分」F31には同様に「設定」を設定する。また、レコード内で足りない情報は、適宜マスタテーブルから取得して、対応する項目に格納する。
従って、ステップS103の処理直後では「未出力フラグ」F32のみが「NULL」となる。
The extracted records are stored sequentially in the work table. At this time, “setting” is similarly set in the “classification” F31 of each record. Information that is missing in the record is appropriately acquired from the master table and stored in the corresponding item.
Therefore, immediately after the process of step S103, only the “unoutput flag” F32 becomes “NULL”.

図11は、ステップS103の処理後のワークテーブルTb3内の格納データの内容を示す説明図である。
同図においては便宜的に左側に、指定日の商品一覧Cを配置し、同図の右に指定日の前日の商品一覧Dを配置した。
FIG. 11 is an explanatory diagram showing the contents of the stored data in the work table Tb3 after the process of step S103.
For convenience, the product list C for the designated date is arranged on the left side, and the product list D for the day before the designated date is arranged on the right side of the figure.

同図は、検索画面T(図5参照)において「指定日時」の入力欄T20に「2月6日 16:00」を入力し、「区分」に「戻し・設定」を入力して実行したときの、ワークテーブルTb3(図4参照)内の格納データの内容を示している。   This figure is executed by inputting “February 6 16:00” in the input field T20 of “specified date” on the search screen T (see FIG. 5) and inputting “return / setting” in “category”. The contents of the stored data in the work table Tb3 (see FIG. 4) are shown.

図10のステップS102の処理が実行されると、予約テーブルTb1(図3参照)の「企画の期間(開始の日時)」F13に格納されている情報を対象に検索が実行されて、「2月6日 16:00」をもつレコードが抽出される。そして抽出されたレコードに「区分」F31として「設定」が付け加えられて、ワークテーブルTb3に格納される。   When the process of step S102 of FIG. 10 is executed, a search is executed for information stored in the “planning period (start date and time)” F13 of the reservation table Tb1 (see FIG. 3), and “2 A record having “Monday 6th 16:00” is extracted. Then, “setting” is added to the extracted record as “classification” F31 and stored in the work table Tb3.

図11には企画コード5に対応する商品コード1〜4の予約情報がヒットし、ワークテーブルTb3に登録されたときの状態が示されている。なお、この段階で「未出力フラグ」F32は「NULL」である。   FIG. 11 shows a state when the reservation information of the product codes 1 to 4 corresponding to the plan code 5 is hit and registered in the work table Tb3. At this stage, the “unoutput flag” F32 is “NULL”.

また、図11のステップS103の処理が実行されると、ステップS102と同様に予約テーブルTb1の「企画の期間(開始の日時)」F13に格納されている情報を対象に検索が実行される。そして、この処理では「2月6日」の前日の「2月5日」の「16:00」に該当するレコードが抽出される。そして抽出されたレコードに「区分」F31として「設定」が付け加えられ、ワークテーブルTb3に格納される。   When the process of step S103 in FIG. 11 is executed, a search is executed for information stored in the “planning period (start date and time)” F13 of the reservation table Tb1, as in step S102. In this process, a record corresponding to “16:00” of “February 5” the day before “February 6” is extracted. Then, “set” is added as “category” F31 to the extracted record and stored in the work table Tb3.

図11には企画コード5に対応する商品コード1〜3の予約情報がヒットし、ワークテーブルTb3に登録されたときの状態が示されている。なお、この段階で「未出力フラグ」F32は「NULL」である。   FIG. 11 shows a state when the reservation information of the product codes 1 to 3 corresponding to the plan code 5 is hit and registered in the work table Tb3. At this stage, the “unoutput flag” F32 is “NULL”.

図11の処理に戻り、続く処理について説明する。
ステップS103に続く処理は、図6のステップS5からステップS9の処理と同じである。つまり、単価変動のない商品のレコードを削除等するための指定処理を実行する。
Returning to the processing of FIG. 11, the subsequent processing will be described.
The processing following step S103 is the same as the processing from step S5 to step S9 in FIG. That is, a designation process for deleting a record of a product with no unit price fluctuation is executed.

先ず、ワークテーブルTb3(図4参照)の「未出力フラグ」F32を対象にして「NULL」のレコードを検索し、この検索がヒットしたレコードを対象に、商品コードの若い番号順にレコードのペアを抽出する(S6)。図11の例では、最初は商品コード1をもつ二つのレコードが該当する。商品コード1が該当しない場合は、商品コード2、3の順にレコードのペアを抽出する。   First, a “NULL” record is searched for the “unoutput flag” F32 of the work table Tb3 (see FIG. 4), and a pair of records is sorted in ascending order of the product code for the record hit by this search. Extract (S6). In the example of FIG. 11, two records having the product code 1 correspond first. If product code 1 does not correspond, record pairs are extracted in the order of product codes 2 and 3.

続いて、ステップS6で抽出したペアのレコードがもつそれぞれの「設定単価」F15の情報を比較し、情報が一致するか否かつまり設定単価が同じか否かを判定する(S7)。図11の例では、最初の該当レコードは商品コード1なので指定日時の設定単価「80円」と前日の同時刻の設定単価「80円」が比較の対象となる。   Subsequently, the information of each “set unit price” F15 included in the pair of records extracted in step S6 is compared to determine whether the information matches, that is, whether the set unit price is the same (S7). In the example of FIG. 11, since the first corresponding record is the product code 1, the set unit price “80 yen” at the specified date and time and the set unit price “80 yen” at the same time on the previous day are to be compared.

ステップS7で「NO」判定の場合、ワークテーブルTb3の「未出力フラグ」F32に「0」を入力し(S8)、ステップS5の処理から繰り返し実行する。図11の例では、指定日時の商品コード3の設定単価と前日の同時刻の商品コード3の設定単価が一致しないので、商品コード3の「未出力フラグ」F32に「0」が登録される。   If “NO” is determined in the step S7, “0” is input to the “unoutput flag” F32 of the work table Tb3 (S8), and the process is repeatedly executed from the process of the step S5. In the example of FIG. 11, the set unit price of the product code 3 at the specified date and the set unit price of the product code 3 at the same time on the previous day do not match, so “0” is registered in the “unoutput flag” F32 of the product code 3. .

一方、ステップS7で「YES」判定の場合、ワークテーブルTb3の「未出力フラグ」F32に設定単価が変動しないことを示す「1」を入力し(S9)、ステップS5からの処理を繰り返す。図11の例では、指定日時の商品コード1及び商品コード2の設定単価と前日の同時刻の商品コード1及び商品コード2の設定単価がそれぞれ一致するので、商品コード1と商品コード2の「未出力フラグ」F32に「1」が登録される。   On the other hand, if “YES” is determined in step S7, “1” indicating that the set unit price does not fluctuate is input to the “unoutput flag” F32 of the work table Tb3 (S9), and the processing from step S5 is repeated. In the example of FIG. 11, the set unit prices of the product code 1 and the product code 2 at the specified date and the set unit price of the product code 1 and the product code 2 at the same time on the previous day are the same. “1” is registered in the “unoutput flag” F32.

以上にようにして該当する全てのレコードの「未出力フラグ」F32の欄に値が設定されると、ステップS5で「NO」判定となり、続くステップS104の処理に移行する。   As described above, when a value is set in the “unoutput flag” F32 field of all corresponding records, a “NO” determination is made in step S5, and the process proceeds to the subsequent step S104.

ステップS104の処理では、ワークテーブルTb3(図4参照)の「未出力フラグ」F32を対象にして「NULL」のレコードを検索し、この検索がヒットしたレコードの「未出力フラグ」F32に「0」を入力する。図11の例では、商品コード4が該当し、商品コード4の「未出力フラグ」F32に「0」が登録される。   In the process of step S104, a “NULL” record is searched for the “unoutput flag” F32 of the work table Tb3 (see FIG. 4), and “0” is set in the “unoutput flag” F32 of the record hit by this search. ". In the example of FIG. 11, the product code 4 corresponds, and “0” is registered in the “unoutput flag” F32 of the product code 4.

抽出したレコードの「未出力フラグ」F32へのフラグの入力が終わると、ワークテーブルTb3の「企画の期間(開始の日時)」F13に指定日時が設定されているレコードを「未出力フラグ」F32の登録内容に基づいて帳票出力し(S12)、本処理を終了する。例えば、「未出力フラグ」F32の登録内容が「1」のものを削除して登録内容が「0」のものだけ帳票出力して処理を終了する。   When the input of the flag to the “unoutput flag” F32 of the extracted record is completed, the record for which the specified date and time is set in the “planning period (start date and time)” F13 of the work table Tb3 is displayed as the “unoutput flag” F32. A form is output based on the registered contents (S12), and this process is terminated. For example, the registered contents of the “non-output flag” F32 “1” are deleted, only the registered contents “0” are output, and the process is terminated.

(第3の実施形態)
第3の実施形態では実施形態のストアサーバの構成において、帳票を再出力するための手段を更に設けたものについて説明する。
なお、実施形態のストアサーバの説明と重複する説明は適宜省略する。
(Third embodiment)
In the third embodiment, a description will be given of an arrangement in which the means for re-outputting a form is further provided in the configuration of the store server of the embodiment.
In addition, the description which overlaps with the description of the store server of embodiment is abbreviate | omitted suitably.

図12は、第3の実施形態のストアサーバに格納される予約テーブルのフィールドの構成図である。   FIG. 12 is a configuration diagram of fields of a reservation table stored in the store server according to the third embodiment.

同図に示すように、予約テーブルTb10のフィールドは、予約テーブルTb1の「商品コード」F11、「企画コード」F12、「企画の期間(開始の日時)」F13、「企画の期間(終了の日時)」F14、及び「設定単価」F15に加え、更に二つの「フラグ領域」F120、F121を備えている。同図においてその他の項目は省略している。   As shown in the figure, the fields of the reservation table Tb10 are “product code” F11, “plan code” F12, “plan period (start date and time)” F13, “plan period (end date and time) of the reservation table Tb1. ) ”F14 and“ set unit price ”F15, two“ flag areas ”F120 and F121 are further provided. Other items are omitted in the figure.

「フラグ領域」F120、F121は、帳票出力プログラムPの実行によりワークテーブルTb3の「未出力フラグ」F32に登録されたフラグを格納するために設けられている。「フラグ領域」F120は「企画の期間(開始の日時)」F13に対応し、「フラグ領域」F121は「企画の期間(終了の日時)」F14に対応する。   “Flag areas” F120 and F121 are provided for storing the flags registered in the “unoutput flag” F32 of the work table Tb3 by the execution of the form output program P. The “flag area” F120 corresponds to the “plan period (start date and time)” F13, and the “flag area” F121 corresponds to the “plan period (end date and time)” F14.

帳票出力プログラムPが実行され、図6のステップS12の処理を終えると、ワークテーブルTb3の「未出力フラグ」F32に登録された全てのフラグを予約テーブルTb10の対応する「フラグ領域」F120、F121にコピーして、処理を終える。   When the form output program P is executed and the processing in step S12 in FIG. 6 is completed, all the flags registered in the “unoutput flag” F32 of the work table Tb3 are displayed in the corresponding “flag areas” F120 and F121 of the reservation table Tb10. To finish the process.

図8を参照して具体的に説明する。
「商品コード」F11が「10」のレコードの場合、「企画コード」F12が「2」、「終了日」F14が「2月2日」、「未出力フラグ」F32が「0」である。従って、「商品コード」F11が「10」、「企画コード」F12が「2」、「終了日」F14が「2月2日」の、3つのキーに該当するレコードを予約テーブルTb10から抽出し、「企画の期間(終了の日時)」F14の「フラグ領域」F121に対応する位置に「未出力フラグ」F32の値「0」を埋め込む。そして、値「0」を埋め込んだデータを予約テーブルTb10に再び戻してレコードを更新する。
This will be specifically described with reference to FIG.
When the “product code” F11 is “10”, the “plan code” F12 is “2”, the “end date” F14 is “February 2”, and the “unoutput flag” F32 is “0”. Therefore, the records corresponding to the three keys “product code” F11 “10”, “plan code” F12 “2”, and “end date” F14 “February 2” are extracted from the reservation table Tb10. The value “0” of the “unoutput flag” F32 is embedded at the position corresponding to the “flag area” F121 of the “planning period (end date and time)” F14. Then, the data in which the value “0” is embedded is returned to the reservation table Tb10 to update the record.

図13は、第3の実施形態のストアサーバにおける帳票出力プログラムPのフローチャートである。
ステップS1及びステップS2の処理は実施形態の図6の説明の繰り返しになるため省略する。
FIG. 13 is a flowchart of the form output program P in the store server of the third embodiment.
The processing of step S1 and step S2 is omitted because it is a repetition of the description of FIG. 6 of the embodiment.

ステップS130において、予約テーブルTb10から「企画の終了の日時」F14欄が指定日の前日で且つ「フラグ領域」F121が「0」のレコードを抽出して、「区分」F31に「戻し」を設定し、「未出力フラグ」F32に「フラグ領域」F121の「0」を設定してワークテーブルTb3に格納する。   In step S130, a record is extracted from the reservation table Tb10 in which the “plan end date and time” F14 column is the day before the specified date and the “flag area” F121 is “0”, and “return” is set in the “category” F31. Then, “0” of the “flag area” F121 is set in the “unoutput flag” F32 and stored in the work table Tb3.

続くステップS140において、予約テーブルTb10から「企画の開始の日時」F13欄が指定日で且つ「フラグ領域」F120が「0」のレコードを抽出して、「区分」F31に「設定」を設定し、「未出力フラグ」F32に「フラグ領域」F120の「0」を設定してワークテーブルTb3に格納する。   In subsequent step S140, a record in which the “plan start date and time” F13 column is the specified date and the “flag area” F120 is “0” is extracted from the reservation table Tb10, and “setting” is set in the “category” F31. , “0” of the “flag area” F120 is set in the “unoutput flag” F32 and stored in the work table Tb3.

その後は、実施形態の図6と同様に帳票出力をして(S12)、処理を終了する。
以上のように、第3の実施形態では予約テーブルにフラグ領域を設けた。このことにより、一回目の帳票出力において算出された帳票出力が不要な商品データを予約テーブルに記憶させておくことができる。このため、日時を指定して帳票を出力した後、セッションを切るなどしてワークテーブル内のデータが削除された場合であっても、予約テーブルのフラグ領域を参照するだけで、出力不要な商品を除外して帳票を出力することができるようになる。
Thereafter, a form is output in the same manner as in FIG. 6 of the embodiment (S12), and the process is terminated.
As described above, in the third embodiment, the flag area is provided in the reservation table. As a result, product data that does not require form output calculated in the first form output can be stored in the reservation table. For this reason, even if the data in the work table is deleted after the session is output after specifying the date and time, the product that does not need to be output can be obtained It becomes possible to output a form excluding.

(第4の実施形態)
実施形態のストアサーバでは表示器46及びプリンタ47共に価格変動の無い商品は削除し、価格変動のある商品だけを出力するようにした。
第4の実施形態では表示器46とプリンタ47とで異なる出力方式のストアサーバについて説明する。
(Fourth embodiment)
In the store server of the embodiment, the products having no price fluctuation are deleted from both the display 46 and the printer 47, and only the products having the price fluctuation are output.
In the fourth embodiment, a store server of an output method different between the display 46 and the printer 47 will be described.

実施形態では帳票出力プログラムPのステップS11までの処理(図6参照)により、ワークテーブルTb3(図4参照)の「未出力フラグ」F32に「1」または「0」の値を設定した。   In the embodiment, a value of “1” or “0” is set in the “unoutput flag” F32 of the work table Tb3 (see FIG. 4) by the processing up to step S11 of the form output program P (see FIG. 6).

第4の実施形態ではステップS11に続くステップS12の出力処理において、表示器46に対する帳票出力とプリンタ47に対する帳票出力とで異なる処理を行う。
先ず、プリンタ47に対する帳票出力では、CPUは、ワークテーブルTb3において「未出力フラグ」F32の値「0」のレコードの全てを抽出し、それらを所定のレイアウトに配置してなる帳票データをプリンタ47に送信する。プリンタ47は、CPUから受け取ったデータをプリント用紙に印字し、帳票として出力する。
In the fourth embodiment, in the output process of step S12 following step S11, different processes are performed for the form output to the display unit 46 and the form output to the printer 47.
First, in the form output to the printer 47, the CPU extracts all the records of the value “0” of the “unoutput flag” F32 in the work table Tb3, and forms the form data formed by arranging them in a predetermined layout. Send to. The printer 47 prints the data received from the CPU on print paper and outputs it as a form.

一方、表示器46に対する帳票出力では、CPUは、ワークテーブルTb3に登録されている全レコードを抽出する。抽出したレコードの内で「未出力フラグ」F32の値「1」のレコードの表示範囲に視覚的に他のデータと区別可能な色を設定する。そして、価格変動の有る商品と価格変動の無い商品とを共に表示器46に出力し、それぞれを設定色により色分けして表示させる。例えば、基本色を白黒の2値とし、設定色を半透明の赤にすると、価格変動の無い商品の段に赤色の帯が表示される。   On the other hand, in the form output to the display unit 46, the CPU extracts all records registered in the work table Tb3. A color that can be visually distinguished from other data is set in the display range of the record of the value “1” of the “unoutput flag” F32 in the extracted records. Then, both the product with price fluctuation and the product without price fluctuation are output to the display unit 46, and each of them is displayed by being color-coded according to the set color. For example, if the basic color is black and white and the set color is semi-transparent red, a red band is displayed on the stage of the product with no price fluctuation.

図14は、表示器46とプリンタ47のそれぞれの帳票出力例である。
図14(a)は、表示器46に対する帳票出力例であり、図14(b)は、プリンタ47に対する帳票出力例である。
FIG. 14 is a form output example of each of the display 46 and the printer 47.
FIG. 14A shows an example of a form output to the display unit 46, and FIG. 14B shows an example of a form output to the printer 47.

図14(a)に示すように表示器46に対する帳票出力は、価格変動の無い商品を削除せずにそのまま残し、同図においては網掛けで示す半透明の赤色の帯140〜142を施した。
半透明であるため、価格の変動が無いものとしてどの商品が除外されたのか分かるようになっている。
As shown in FIG. 14 (a), the form output to the display unit 46 is left without deleting products without price fluctuation, and in the same figure, semi-transparent red bands 140 to 142 indicated by shading are applied. .
Because it is translucent, it is possible to know which products have been excluded as having no price fluctuation.

図14(b)に示すようにプリンタ47に対する帳票出力は、図14(a)において網掛けで示す価格変動の無い商品を完全に削除し、価格変動のあるつまりPOP広告の張替えが必要な商品のみを表示させるようにした。   As shown in FIG. 14 (b), the form output to the printer 47 is a product that completely deletes a product with no price fluctuation shown in shaded in FIG. 14 (a), and has a price fluctuation, that is, a product that requires replacement of a POP advertisement. Only to display.

なお、表示器46への帳票出力の例では、価格変動の無い商品に色を設定したがこの限りではない。この他にも対象領域を網掛けにしたり、又は対象領域の一部に所定の記号を施したりするなど、価格変動の無い商品と価格変動の有る商品とで視覚的に区別できるようにマークするマーク手段を備えていれば良い。   In the example of the form output to the display unit 46, the color is set for the product having no price fluctuation, but this is not the case. In addition to this, the target area is shaded, or a predetermined symbol is given to a part of the target area, so that it is visually distinguishable between products with no price fluctuation and those with price fluctuation. What is necessary is just to provide the marking means.

(第5の実施形態)
第4の実施形態では表示器46とプリンタ47とで帳票の異なる出力方式を採用した例を示した。
第5の実施形態では価格変動の無い商品を削除せずにマークする出力方式を表示器46とプリンタ47が共に採用した例を示す。
(Fifth embodiment)
In the fourth embodiment, an example in which the display 46 and the printer 47 adopt different output methods for the form is shown.
The fifth embodiment shows an example in which both the display 46 and the printer 47 adopt an output method for marking a product having no price fluctuation without deleting it.

図6のステップS12の出力処理において、表示器46に対する帳票出力では、CPUは、ワークテーブルTb3に登録されている全レコードを抽出する。抽出したレコードの内で「未出力フラグ」F32の値「1」のレコードの表示範囲に視覚的に他のデータと区別可能な色を設定する。そして、価格変動の有る商品と価格変動の無い商品とを共に表示器46に出力し、それぞれを設定色により色分けして表示させる。   In the output process of step S12 of FIG. 6, in the form output to the display unit 46, the CPU extracts all records registered in the work table Tb3. A color that can be visually distinguished from other data is set in the display range of the record of the value “1” of the “unoutput flag” F32 in the extracted records. Then, both the product with price fluctuation and the product without price fluctuation are output to the display unit 46, and each of them is displayed by being color-coded according to the set color.

また、プリンタ47に対する帳票出力では、表示器46に表示させているデータを流用して、プリンタ47へ帳票データを送信する。プリンタ47は、CPUから受け取ったデータをプリント用紙に印字し、帳票として出力する。   In the form output to the printer 47, the form data is transmitted to the printer 47 using the data displayed on the display unit 46. The printer 47 prints the data received from the CPU on print paper and outputs it as a form.

図15は、表示器46とプリンタ47のそれぞれの帳票出力例である。
図15(a)は、表示器46に対する帳票出力例であり、図14(a)に相当する。
図15(b)は、プリンタ47に対する帳票出力例である。
図15(b)に示すようにプリンタ47に対する帳票出力は、表示器46に対する帳票出力と同様に価格変動の無い商品を削除せずにそのまま残し、同図においては網掛けで示す赤色の帯150〜152を施した。
FIG. 15 is a form output example of each of the display 46 and the printer 47.
FIG. 15A is an example of a form output to the display 46, and corresponds to FIG.
FIG. 15B shows a form output example for the printer 47.
As shown in FIG. 15 (b), the form output to the printer 47 is left as it is without deleting the commodity having no price fluctuation as in the case of the form output to the display unit 46. In FIG. -152.

なお、赤色の帯は背景に使用され、文字が認識できるようになっているため、価格の変動が無いものとしてどの商品が除外されたのか分かるようになっている。   Since the red band is used as the background and the characters can be recognized, it is possible to know which products have been excluded as having no price fluctuation.

表示器46及びプリンタ47への帳票出力の例では、価格変動の無い商品に色を設定したがこの限りではない。この他にも対象領域を網掛けにしたり、又は対象領域の一部に所定の記号を施したりするなど、価格変動の無い商品と価格変動の有る商品とで視覚的に区別できるようにマークするマーク手段を備えていれば良い。   In the example of the form output to the display unit 46 and the printer 47, the color is set for the product having no price fluctuation, but this is not the case. In addition to this, the target area is shaded, or a predetermined symbol is given to a part of the target area, so that it is visually distinguishable between products with no price fluctuation and those with price fluctuation. What is necessary is just to provide the marking means.

以上のように、本実施形態では、POP広告の張替えの対象となる商品とPOP広告の張替えの対象とはならない商品とを自動で選別することができる。このため、POP広告の張替えを店員に指示するためのPOP広告着脱リストを、張替え対象ではない商品を削除して出力することができるようになる。   As described above, in this embodiment, it is possible to automatically select a product that is a target of POP advertisement replacement and a product that is not a target of POP advertisement replacement. For this reason, the POP advertisement attachment / detachment list for instructing the store clerk to replace the POP advertisement can be output by deleting the product that is not the replacement object.

本実施形態の情報処理装置で使用する各種プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供し、情報処理装置のFlashROMなどに読み込ませて実行してもよい。   Various programs used in the information processing apparatus of the present embodiment are files in an installable or executable format, such as a CD-ROM, a flexible disk (FD), a CD-R, and a DVD (Digital Versatile Disk). The program may be provided by being recorded on a readable recording medium, and may be read and executed by a flash ROM of an information processing apparatus.

また、当該プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。   Further, the program may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network.

以上の各実施形態において、情報処理装置およびそのプログラムについていくつかの構成を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   In each of the above embodiments, several configurations of the information processing apparatus and its program have been described. However, these embodiments are presented as examples, and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1 POSシステム
2 POS端末
3 LAN
4 ストアサーバ
40−1 表示器
40−2 プリンタ
41 制御部
42 バス
43 通信I/F
44 I/O機器制御部
45 キーボード
46 表示器
47 プリンタ
48 HDD
P 帳票出力プログラム
T 検索画面
Tb1 予約テーブル
Tb2 定番単価テーブル
Tb3 ワークテーブル
1 POS system 2 POS terminal 3 LAN
4 Store Server 40-1 Display 40-2 Printer 41 Control Unit 42 Bus 43 Communication I / F
44 I / O device control unit 45 Keyboard 46 Display 47 Printer 48 HDD
P Form output program T Search screen Tb1 Reservation table Tb2 Standard unit price table Tb3 Work table

特開2011−95956号公報JP 2011-95956 A

Claims (6)

商品の価格情報を示す広告の着脱予定日時を示す日付を入力する入力手段と、
商品毎に、企画期間の開始の日付及び終了の日付と、前記企画期間内及び前記企画期間の開始日前日における前記商品の価格情報と、を記憶する記憶手段と、
前記入力手段により入力された日付を前記企画期間の開始日または終了日とする商品を前記記憶手段が記憶する商品の中から検索して、検索された商品の前記日付における価格と当該日付の前日の前記商品の価格とが異なることを条件として、前記日付における、前記広告の着脱リストを生成する着脱リスト生成手段と、
前記着脱リストを出力する出力手段と、
を備えることを特徴とする情報処理装置。
An input means for inputting a date indicating an estimated attachment date / time of the advertisement indicating the price information of the product ,
Storage means for storing the start date and end date of the planning period, and the price information of the product in the planning period and the day before the starting date of the planning period, for each product;
Search for a product having the date input by the input means as the start date or end date of the planning period from the products stored in the storage means, and the price of the searched product on the date and the previous day of the date as the condition price and have different items from, in the date, the detachable list generating means for generating a detachable previous list Kihiro WARNING,
An output means for outputting the attachment / detachment list;
An information processing apparatus comprising:
前記記憶手段は、時間帯別に商品の価格情報を記憶し、
前記着脱リスト生成手段は、前記記憶手段が記憶した時間帯別の前記価格情報に基づいて、前記商品の内、前記入力手段によって入力された、前記広告の着脱予定日の着脱時刻における前記商品の価格情報と前記着脱予定日の前日における同時刻の価格情報とが同一の価格を示す商品を除外して、前記商品の着脱リストを生成し、
前記出力手段は、広告の前記着脱予定日の前記着脱時刻ごとの前記着脱リストを出力する、
ことを特徴とする請求項1記載の情報処理装置。
The storage means stores product price information for each time zone,
The attachment / detachment list generating means is configured to store the product at the attachment / detachment time on the scheduled attachment / detachment date of the advertisement, which is input by the input means , out of the products, based on the price information stored by the storage unit. Excluding products whose price information and price information at the same time on the previous day of the scheduled date of attachment / detachment show the same price, generate a detachment list of the product,
The output means outputs the attachment / detachment list for each attachment / detachment time of the scheduled attachment / detachment date of the advertisement;
The information processing apparatus according to claim 1.
前記記憶手段は、前記着脱リスト生成手段により前記着脱リストから除外された商品を前記着脱予定日に対応付けて記憶するフラグ領域を備え、
前記出力手段は、前記フラグ領域の、前記着脱予定日に対応付けて記憶された商品を除いて、前記着脱予定日ごとの着脱リストを出力する、
ことを特徴とする請求項1記載の情報処理装置。
The storage means includes a flag area for storing products that are excluded from the attachment / detachment list by the attachment / detachment list generation means in association with the scheduled attachment / detachment date,
The output means outputs an attachment / detachment list for each scheduled attachment / detachment date, except for products stored in association with the scheduled attachment / detachment date in the flag area.
The information processing apparatus according to claim 1.
前記出力手段は、
広告の着脱予定日ごとの着脱リストを表示する表示手段と、
広告の着脱予定日ごとの着脱リストを印字する印字手段と、
を備え、
前記着脱リスト生成手段は、
前記商品の内、一つの商品内で着脱予定日の前日の価格情報と該着脱予定日の価格情報とが同一の価格を示す商品を除外して、前記印字手段に印字される着脱リストを生成し、
且つ、前記商品の内、一つの商品内で着脱予定日の前日の価格情報と該着脱予定日の価格情報とが同一の価格を示す商品に、視覚的に区別されるマークを施して前記表示手段に表示される着脱リストを生成する、
ことを特徴とする請求項1記載の情報処理装置。
The output means includes
Display means for displaying an attachment / detachment list for each scheduled attachment / detachment date of the advertisement;
A printing means for printing a detachment list for each scheduled date of detaching the advertisement;
With
The attach / detach list generating means includes:
Generate a detachment list to be printed on the printing means, excluding products in which the price information on the day before the scheduled date of attachment and detachment and the price information on the scheduled date of attachment / detachment have the same price in one product And
In addition, among the products, the display is performed by visually distinguishing the product in which the price information on the day before the scheduled date of attachment / detachment and the price information on the scheduled date of attachment / detachment are the same price in the product. Create a detachable list to be displayed on the means,
The information processing apparatus according to claim 1.
前記着脱リスト生成手段は、さらに、前記商品の内、一つの商品内で、当該商品の価格情報を示す広告の前記日付の前日の価格情報と該日付の価格情報とが同一の価格を示す商品がマークされた、前記日付における前記広告の着脱リストを生成する
ことを特徴とする請求項1記載の情報処理装置。
The detachable list generation unit may further among the products, one in the trade, goods and the previous day price information and 該日with price information of the date of the advertisement that shows the price information of the product indicates the same price There have been marked, to produce a detachable list of the advertisement in the date,
The information processing apparatus according to claim 1 .
商品の価格情報を示す広告の着脱リストの作成を行う情報処理装置を制御するコンピュータを、
商品の価格情報を示す前記広告の着脱予定日時を示す日付を入力する入力手段と、
商品毎に、企画期間の開始の日付及び終了の日付と、前記企画期間内及び前記企画期間の開始日前日における前記商品の価格情報と、を記憶する記憶手段と、
前記入力手段により入力された日付を前記企画期間の開始日または終了日とする商品を前記記憶手段が記憶する商品の中から検索して、検索された商品の前記日付における価格と当該日付の前日の前記商品の価格とが異なることを条件として、前記日付における、前記広告の着脱リストを生成する着脱リスト生成手段と、
広告の着脱予定日ごとの前記着脱リストを出力する出力手段と、
として機能させるためのプログラム。
A computer that controls an information processing apparatus that creates an attachment / detachment list of advertisements indicating product price information,
Input means for inputting a date indicating a scheduled date and time for attaching and detaching the advertisement indicating the price information of the product ;
Storage means for storing the start date and end date of the planning period, and the price information of the product in the planning period and the day before the starting date of the planning period, for each product;
Search for a product having the date input by the input means as the start date or end date of the planning period from the products stored in the storage means, and the price of the searched product on the date and the previous day of the date as the condition price and have different items from, in the date, the detachable list generating means for generating a detachable previous list Kihiro WARNING,
An output means for outputting the attachment / detachment list for each scheduled attachment / detachment date of the advertisement;
Program to function as.
JP2014035940A 2014-02-26 2014-02-26 Information processing apparatus and program Expired - Fee Related JP6263046B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014035940A JP6263046B2 (en) 2014-02-26 2014-02-26 Information processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014035940A JP6263046B2 (en) 2014-02-26 2014-02-26 Information processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2015162023A JP2015162023A (en) 2015-09-07
JP6263046B2 true JP6263046B2 (en) 2018-01-17

Family

ID=54185093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014035940A Expired - Fee Related JP6263046B2 (en) 2014-02-26 2014-02-26 Information processing apparatus and program

Country Status (1)

Country Link
JP (1) JP6263046B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019064926A1 (en) * 2017-09-29 2019-04-04 日本電気株式会社 Information processing device, information processing method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02162492A (en) * 1988-12-15 1990-06-22 Sanyo Electric Co Ltd Pos system
JP5125445B2 (en) * 2007-11-26 2013-01-23 株式会社寺岡精工 Printing system

Also Published As

Publication number Publication date
JP2015162023A (en) 2015-09-07

Similar Documents

Publication Publication Date Title
JP5194052B2 (en) Electronic shelf label system
JP6822166B2 (en) Advertising support programs, devices, and methods
CN101996057A (en) Printer, printing system, control method and program for printer
JP5631352B2 (en) Coordinate list providing system and program
JP2018130860A (en) Label issuing device
JP6263046B2 (en) Information processing apparatus and program
CN108280054B (en) Task execution control device, task execution control method, and recording medium
JP4492565B2 (en) POP printing system
CN109278422A (en) Printer and control method, terminal device
JP2017058879A (en) Inventory tag output device and inventory tag output system
JP5407239B2 (en) Server device, electronic shelf label device, and program
JP2014052678A (en) Information processing device and program
JP2010072849A (en) Server device and program
JP6131398B1 (en) Management apparatus, management method, program, and non-transitory computer-readable information recording medium
JP6115599B2 (en) Display control device, display device, and program
JP5272124B2 (en) Data input device and data input method to print item of print format in price tag printer
JP5815582B2 (en) Product ordering device and program
JP4399296B2 (en) DTP data editing system, DTP data editing method, and DTP data editing program
JP5801982B1 (en) Message management apparatus, message management method, recording medium, and program
JP5815583B2 (en) Information processing apparatus and program
JP7090878B2 (en) Image processing programs, computer-readable recording media, image processing methods and image processing equipment
JP2015090672A (en) Information processor and program
JP5729447B2 (en) Display control device, electronic shelf label device, and program
JP6128156B2 (en) Display control device, electronic shelf label device, and program
JP2019215642A (en) Bulletin management system and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20160201

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160418

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171023

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: 20171128

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171215

R150 Certificate of patent or registration of utility model

Ref document number: 6263046

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees