JPS62293494A - Electronic cash register - Google Patents

Electronic cash register

Info

Publication number
JPS62293494A
JPS62293494A JP13749086A JP13749086A JPS62293494A JP S62293494 A JPS62293494 A JP S62293494A JP 13749086 A JP13749086 A JP 13749086A JP 13749086 A JP13749086 A JP 13749086A JP S62293494 A JPS62293494 A JP S62293494A
Authority
JP
Japan
Prior art keywords
sales
data
group
item code
stored
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.)
Pending
Application number
JP13749086A
Other languages
Japanese (ja)
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
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP13749086A priority Critical patent/JPS62293494A/en
Publication of JPS62293494A publication Critical patent/JPS62293494A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 3、発明の詳細な説明 [産業上の利用分野] 本発明は売上集計ファイルに累積登録された各販売商品
の売上データを、全商品に対して又はグループ指定され
た商品に対して、予め定められた数のベストデータ又は
ワーストデータを選択して出力できる電子キャッシュレ
ジスタに関する。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] The present invention collects sales data of each sales product cumulatively registered in a sales summary file for all products or for a group specified. The present invention relates to an electronic cash register that can select and output a predetermined number of best data or worst data for a product.

[従来の技術] 電子キャッシュレジスタのなかには、内部記憶部にこの
売場で販売される全商品に対して、各商品を特定する品
目コード(商品コード)毎に、品名、単価等の商品デー
タおよび売上点数、売上金額等の各売上データを記憶す
る売上集計ファイルが形成されているものがある。この
ような電子キャッシュレジスタにおいて、例えば、キー
ボードから販売商品の品目コード、販売点数、販売金額
等をキー人力すると、入力された販売点数、販売金額は
売上集計ファイル内の該当品目コードに対応する売上点
数および売上金額に加算される。
[Prior Art] An electronic cash register stores product data such as product name, unit price, and sales for each item code (product code) that identifies each product in its internal storage for all products sold at this sales floor. Some products have a sales summary file that stores sales data such as points and sales amounts. In such an electronic cash register, for example, if you manually enter the item code, number of sales items, sales amount, etc. of a sales item from the keyboard, the input sales item number and sales amount will be calculated as the sales corresponding to the corresponding item code in the sales summary file. It will be added to the points and sales amount.

そして、点検業務又は精算業務実施時において、上記売
上集計ファイルに累積登録されている各商品毎の売上点
数および売上金額を点検レポート又は精算レポートとし
て印字出力させることが可能である。
Then, when performing inspection work or settlement work, it is possible to print out the number of sales items and sales amount for each product cumulatively registered in the sales summary file as an inspection report or settlement report.

さらに、このような売上集計ファイルを内蔵した電子キ
ャッシュレジスタのなかには、前記点検業務時又は精算
業務時において、前述した全部の商品に対する売上点数
や売上金額等の各売上データを点検レポート又は精算レ
ポートとして印字出力させるのみならず、売上点数又は
売上金額が大きい順又は小さい順に例えば10個の売上
データのみを品目コードや品名とともに印字出力するデ
ータ選択処理を実施できるものがある。このように、そ
の時点における商品の最もよく売れている商品群および
最も売れていない商品群を簡単に把握できるので、迅速
な販売計画および適確な在庫管理を実施することが可能
である。
Furthermore, some electronic cash registers with built-in sales tally files contain sales data such as the number of sales items and sales amounts for all the products mentioned above as an inspection report or a settlement report during the inspection or settlement operations. There is a data selection process that not only prints out, but also prints out, for example, only 10 pieces of sales data in descending order of sales items or sales amount, along with item codes and product names. In this way, it is possible to easily grasp the best-selling product group and the least-selling product group at that time, making it possible to carry out quick sales planning and accurate inventory management.

[発明が解決しようとする問題点] しかしながら、上記のように全商品に対するベストデー
タレポート又はワーストデータレポートを印字出力する
ような電子キャッシュレジスタにおいても次のような問
題があった。すなわち、多種類の商品を販売する商店に
とっては、各商品をいくつかのグループに分割して、そ
のグループ内でどの商品が良く売れるか又は売れないか
を把握する必要がある。しかし、上記のように全商品に
対するベストデータレポート又はワーストータレポート
に従って販売計画を立案すると、偏った種類の商品ばか
り揃えることになり、商店全体のバランスが取れなくな
る不都合があった。
[Problems to be Solved by the Invention] However, even in the electronic cash register that prints out the best data report or the worst data report for all products as described above, there are the following problems. That is, for a store that sells many types of products, it is necessary to divide each product into several groups and understand which products within each group sell well or poorly. However, if a sales plan is drawn up according to the best data report or the worst total report for all products as described above, there is a problem in that the store will have only a biased variety of products, making the store as a whole unbalanced.

本発明はこのような事情に基づいてなされたものであり
、その目的とするところは、全商品に対する予め定めら
れた数のベストデータ又はワーストデータを選択できる
とともに、指定されたグループ内のベストデータ又はワ
ーストデータを選択可能にすることによって、より詳細
な売れ行き状態を把握でき、よりち密な在庫管理と販売
計画を立案することができる電子キャッシュレジスタを
提供することにある。
The present invention has been made based on these circumstances, and its purpose is to enable selection of a predetermined number of best data or worst data for all products, and to select the best data within a specified group. Alternatively, by making it possible to select the worst data, it is possible to grasp the sales situation in more detail, and to provide an electronic cash register that allows more detailed inventory management and sales plans to be drawn up.

[問題点を解決するための手段] 本発明は、第1図に示すように、内部記憶部内に各販売
商品1毎にこの商品が属するグループのグループ番号2
および売上点数3.売上金額4等の各売上データを記憶
する売上集計ファイル5を設け、各商品の販売点数6お
よび販売金額7を売上集計ファイル5の該当商品に対応
する売上点数3および売上金額4に累積登録する電子キ
ャッシュレジスタにおいて、全売上データ選択手段8に
よって、売上集計ファイル5に記憶された全部の商品1
に対する売上データ3,4を大きい順又は小さい順に予
め定められた個数だけ選択し、また、グループ売上デー
タ選択手段9によって、売上集計ファイル5に記憶され
た各売上データ3,4のうち、予め指定されたグループ
2に属する各商品の売上データ3,4を大きい順又は小
さい順に予め定められた個数だけ選択する。そして、売
上データ出力手段10によって、各選択手段8,9にて
選択された各売上データ3,4を大きい順又は小さい順
に出力するようにしたものである。
[Means for Solving the Problems] As shown in FIG.
and sales score 3. A sales aggregation file 5 is provided to store each sales data such as sales amount 4, and the sales number 6 and sales amount 7 of each product are cumulatively registered in the sales number 3 and sales amount 4 corresponding to the corresponding product in the sales aggregation file 5. In the electronic cash register, all the products 1 stored in the sales total file 5 are selected by the total sales data selection means 8.
Select a predetermined number of sales data 3 and 4 for each item in ascending order or descending order, and use group sales data selection means 9 to select a predetermined number of sales data 3 and 4 stored in the sales summary file 5. A predetermined number of sales data 3 and 4 of each product belonging to the selected group 2 are selected in ascending order or descending order. Then, the sales data output means 10 outputs the sales data 3 and 4 selected by the selection means 8 and 9 in descending order or descending order.

[作用] このように構成された電子キャッシュレジスタにおいて
は、この電子キャッシュレジスタで販売された各商品の
販売点数および販売金額は売上集計ファイルの該当商品
の売上点数および売上金額に加算される。そして、全売
上データ選択手段によって、この売上集計ファイルに累
積登録された各売上データは大きい順又は小さい順に予
め定められた個数だけ選択される。また、外部からグル
ープ指定があれば、グループ売上データ選択手段によっ
て指定されたグループに属する各商品の売上データは大
きい順又は小さい順に予め定められた個数だけ選択され
る。そして、上記各選択手段にて選択された各売上デー
タが大きい順又は小さい順に出力される。したがって、
全商品に亘るベストデータ又はワーストデータおよび指
定されたグループ内のベストデータ又はワーストデータ
が迅速に得られる。
[Operation] In the electronic cash register configured as described above, the number of sales and sales amount of each product sold at the electronic cash register are added to the number of sales and sales amount of the corresponding product in the sales total file. Then, the total sales data selection means selects a predetermined number of each sales data cumulatively registered in the sales total file in ascending order or descending order. Further, if a group is designated from outside, the group sales data selection means selects a predetermined number of sales data of each product belonging to the designated group in ascending order or descending order. Then, the sales data selected by each of the selection means are output in descending order or ascending order. therefore,
Best data or worst data for all products and best data or worst data within a specified group can be quickly obtained.

[実施例] 以下本発明の一実施例を図面を用いて説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.

第2図は実施例の電子キャッシュレジスタを示す斜視図
であり、この実施例においては、レストランに設置され
る電子キャッシュレジスタを示す。
FIG. 2 is a perspective view showing an electronic cash register according to an embodiment, and in this embodiment, an electronic cash register installed in a restaurant is shown.

すなわち、筺体11の前面にキーボード12が設けられ
ており、筺体11の上部には販売商品(料理ンの品名、
販売金額1合計金額等を電光表示するキャッシャー用の
表示部13が設けられており、中間部および下部にそれ
ぞれレシート発行口14、現金を収納するドロワー15
が設けられている。
That is, a keyboard 12 is provided on the front surface of the housing 11, and on the top of the housing 11, there are products for sale (names of dishes,
A cashier's display section 13 is provided to display the total sales amount etc. electronically, and a receipt issuing port 14 and a drawer 15 for storing cash are provided in the middle and lower parts, respectively.
is provided.

さらに、筺体11の上面には客用の表示部16が取付け
られている。
Furthermore, a display section 16 for customers is attached to the top surface of the housing 11.

前記キャッシャー用の表示部13には、第3図(a)に
示すように、金額、販売点数(リピート)1品名/取引
種別をドツトパターン文字で電光表示する16桁の数字
1文字表示部と、登録。
As shown in FIG. 3(a), the cashier's display section 13 includes a 16-digit numeric one-character display section that electronically displays the price, number of items sold (repeat), product name/transaction type in dot pattern letters. ,Registration.

取消、エラー等のこの電子キャッシュレジスタの動作状
態を表示する多数のトライマークが設けられている。一
方、客用の表示部16には、第3図(b)に示すように
、金額を7セグメントで表示する8桁の数字表示部と複
数のトライマークが配置されている。
A number of try marks are provided to indicate the operating status of this electronic cash register, such as cancellations, errors, etc. On the other hand, as shown in FIG. 3(b), the customer display section 16 includes an 8-digit number display section that displays the amount in 7 segments and a plurality of try marks.

前記キーボード12には、第4図に示すように、1から
90までの各料理に対応したメニューキー18、販売点
数、預り金額等の数字データを置数する置数キー19.
−人の客に販売した料理(商品)の合計金額を算出する
預/現計キー20.小計額を算出する小計キー21等の
通常の販売登録用キーの他に、サービス料、税金を算出
するための奉/税キー22.ドロワー15内の現金を両
替するときに使用する替キー23等の各種ファンクショ
ンキーが配列されている。さらに、このキーボード12
に隣接して、鍵にて操作するフントロールキー24が配
設されている。
As shown in FIG. 4, the keyboard 12 includes menu keys 18 corresponding to each dish from 1 to 90, and number keys 19 for entering numerical data such as the number of items sold and the deposit amount.
- Deposit/cash key to calculate the total amount of food (products) sold to customers 20. In addition to normal sales registration keys such as the subtotal key 21 for calculating the subtotal amount, there is also a service/tax key 22 for calculating the service charge and tax. Various function keys such as an exchange key 23 used when exchanging cash in the drawer 15 are arranged. Furthermore, this keyboard 12
A foot roll key 24 operated by a key is arranged adjacent to the .

前記コントロールキー24は電源のオン・オフ制御を行
なうと共に、[登録] [点検] [精算][設定]等
の各業務を中央処理装置に指令して実行させるための制
御スイッチである。
The control key 24 is a control switch for controlling the power on/off and instructing the central processing unit to perform various operations such as [registration], [inspection], [accounting], and [setting].

第5図は電子キャッシュレジスタのブロック構成図であ
る。CPU (中央処理装置)25は、演算回路等を内
蔵し、キーボード12からの入力情報に基づいて各種の
演算処理を行なうと共に、アドレスバス26.データバ
ス27.制御線28を介して前記各業務のプログラム等
の固定データを記憶するROM29とキー人力された各
料理(商品)の販売点数や販売金額等を商品毎に累積登
録する売上集計ファイル等の可変データを記憶するRA
M30とを動作させる。また、コントロールキー24か
らの指令信号が入力されるコントロールキー入力回路3
1.キーボード12からのキー信号が入力されるキーボ
ード入力回路321表示部13.16へ表示信号を送出
する表示制御回路33、レシートへ販売料理(商品)の
販売点数や金額および点検、精算時の各種レポート等を
印字出力するドツトプリンタ34のプリンタ制御回路3
5がそれぞれデータバス27.制御線28を介してCP
U25に接続されている。
FIG. 5 is a block diagram of the electronic cash register. The CPU (Central Processing Unit) 25 has a built-in arithmetic circuit, etc., and performs various arithmetic processing based on input information from the keyboard 12, as well as the address bus 26. Data bus 27. A ROM 29 that stores fixed data such as programs for each of the above-mentioned operations is connected via a control line 28, and variable data such as a sales summary file that cumulatively registers the number of sales items and sales amount of each dish (product) manually inputted for each product. RA that remembers
Operate M30. Also, a control key input circuit 3 to which a command signal from the control key 24 is input.
1. A keyboard input circuit 321 receives key signals from the keyboard 12, a display control circuit 33 sends display signals to the display section 13.16, and a receipt displays the number of items sold (products), their prices, inspections, and various reports at the time of payment. Printer control circuit 3 of the dot printer 34 that prints out etc.
5 are data buses 27. CP via control line 28
Connected to U25.

なお、ドロワー15の開閉はプリンタ制御回路35にて
制御される。
Note that opening and closing of the drawer 15 is controlled by a printer control circuit 35.

前記RAM30内には第6図に示すように売上集計ファ
イルR1が形成されている。売上集計ファイルR1内に
は、このレストランで販売される全部の料理(商品)対
してその料理を特定する品目コード毎に、この料理が属
するグループのグループ番号2例えば値引、売切れ等の
特殊情報を示すステータス、品名(料理名)、単価等の
各商品データ、および売上点数、売上・金額等の各売上
データが記憶されていてる。この実施例においては、グ
ループは1〜5の5個のグループで形成されており、品
目コードは[00011から[00201までの連続し
た20個である。すなわち、このレストランでは20種
類の料理(商品)を提供(販売)する。
A sales summary file R1 is formed in the RAM 30 as shown in FIG. In the sales summary file R1, for each item code that identifies the dish for all dishes (products) sold at this restaurant, the group number 2 of the group to which this dish belongs, such as special information such as discount, sold out, etc. Each product data such as the status, product name (cooking name), unit price, etc., and each sales data such as the number of sales items, sales/amount, etc. are stored. In this example, the groups are formed by five groups numbered 1 to 5, and the item codes are 20 consecutive items from [00011 to [00201]. That is, this restaurant offers (sells) 20 types of dishes (products).

さらに、前記RAM30内には、第7図に示すように、
売上集計ファイルR1から読出された例えば5個の品目
コードを格納するワークメモリR2,売上集計ファイル
R1の品目コードAをカウントする品目コードカウンタ
R3,前記ワークメモリR2の各品目コードが格納され
る1〜5の各領域の領域番号Bをカウントする領域番号
カウンタR4,売上集計ファイルR1から新たに読出さ
れた一つの品目コードに対応するグループ番号。
Furthermore, in the RAM 30, as shown in FIG.
A work memory R2 that stores, for example, five item codes read from the sales total file R1, an item code counter R3 that counts the item code A of the sales total file R1, and a memory 1 that stores each item code of the work memory R2. A region number counter R4 counts the region number B of each region of 5 to 5, and a group number corresponding to one item code newly read from the sales summary file R1.

ステータラス9品名、単価、売上点数、売上金額の各デ
ータDAを格納する比較データメモリR5゜ワークメモ
リR2における領域番号カウンタR4のカウント値Bが
指定する領域番号Bの品目コードに対応する売上集計フ
ァイルR1の各データDBを格納する比較データメモリ
R6,同じくワークメモリR2の領域番号カウンタR4
のカウント値Bが指定する領域番号Bの品目コードAB
を格納する品目コードメモリR7,ベストデータ又はワ
ーストデータを記載したレポートを印字出力するグルー
プのグループ番号Gsを格納するグループ指定メモリR
8,前記ベストデータ又はワーストデータの選択数BM
を格納するデータ選択数メモリR9が形成されている。
Comparison data memory R5 stores each data DA of status 9 product name, unit price, number of sales items, and sales amount.Sales summary file corresponding to the item code of area number B specified by count value B of area number counter R4 in work memory R2 A comparison data memory R6 that stores each data DB of R1, and an area number counter R4 of the work memory R2 as well.
Item code AB of area number B specified by count value B of
Item code memory R7 that stores the item code memory R7, Group designation memory R that stores the group number Gs of the group for which the report containing the best data or the worst data is to be printed out.
8. Number of selections of the best data or worst data BM
A data selection number memory R9 is formed to store .

そして、通常の販売登録業務を行なった結果、売上集計
ファイルR1に各データが集計されたとする。この状態
で前記CPU25は第8図の点検処理を実行するように
プログラム構成されている。
Assume that as a result of performing normal sales registration work, each data item is totaled in the sales total file R1. In this state, the CPU 25 is programmed to execute the inspection process shown in FIG.

すなわち、流れ図が開始されると、コントロールキー2
4が[点検]業務モードに設定されていることが確認さ
れると、置数キー19と小計キー21の組合せキー操作
を待つ。そして、組合せキー操作が実施されると、置数
キー19にて置数された数字Xをグループ指定データで
あると判断して、その数字データを指定グループ番号c
ysとしてグループ指定メモリR8へ格納する。なお、
置数キー19で置数された数字データが[01であれば
、グループ指定はなかったものと見なし、全部の商品に
亘ってデータ選択処理を実行する。
That is, when the flowchart is started, control key 2 is pressed.
4 is confirmed to be set to the [inspection] business mode, the system waits for a combination key operation of the numeric key 19 and the subtotal key 21. When the combination key operation is performed, the number X entered using the number key 19 is determined to be group designation data, and the number
ys in the group designation memory R8. In addition,
If the numerical data entered using the number key 19 is [01], it is assumed that no group has been specified, and data selection processing is executed for all products.

続いて置数キー19と預/現計キー20の組合せキー操
作がなされると、置数された数字Yをベスト又はワース
トデータレポートとして印字出力するデータ数BMであ
ると判断してデータ選択数メモリR9へ格納する。以上
の初期条件設定処理が終了すると、Plにて第9図に示
すデータ選択処理を開始する。
Subsequently, when the combination key operation of the number key 19 and deposit/account key 20 is performed, the number Y entered is determined to be the number of data BM to be printed out as the best or worst data report, and the number of selected data is determined. Store in memory R9. When the above initial condition setting process is completed, data selection process shown in FIG. 9 is started at Pl.

なお、この実施例においては、比較する売上データを売
上点数とし、売上点数の多い順にデータを選択する場合
を示す。
In this embodiment, the sales data to be compared is the number of sales points, and the data are selected in descending order of the number of sales points.

第9図において、データ選択処理が開始されると、最初
にRAM30のワークメモリR2の各領域の品目コード
をOにクリアし、品目コードカウンタR3のカウント値
Aをクリアする。そして、P2にて品目コードカウンタ
R3のカウント値Aに1を加算し、加算後のカウント値
Aの示す品目コードおよびこの品目コードの前述した売
上点数。
In FIG. 9, when the data selection process is started, the item codes in each area of the work memory R2 of the RAM 30 are first cleared to O, and the count value A of the item code counter R3 is cleared. Then, at P2, 1 is added to the count value A of the item code counter R3, and the item code indicated by the added count value A and the aforementioned sales number of this item code are obtained.

売上金額を含む全部のデータを売上集計ファイルR1か
ら読出して比較データメモリR6へ格納する。そして、
格納した比較データメモリR6のデータDBの品目コー
ドが最終の品目コードA、を越えていないことを確認す
る。また、P3にてグループ指定が有ることを確認し、
比較データメモリR6に格納されたデータDBのグルー
プ番号Gが指定されたグループ番号aSであるか否かを
調べる。グループ番号Gが指定グループ番号aSと異な
れば、P2へ戻り、品目コードカウンタR3のカウント
値Aを1だけ増加して、次の品目コードのデータを読出
す。なお、グループ指定が無ければ、当然グループ番号
Gの比較検討を行なう必要ない。
All data including sales amounts are read from the sales total file R1 and stored in the comparison data memory R6. and,
It is confirmed that the item code in the data DB of the stored comparison data memory R6 does not exceed the final item code A. Also, confirm that there is a group specification in P3,
It is checked whether the group number G of the data DB stored in the comparison data memory R6 is the designated group number aS. If the group number G is different from the designated group number aS, the process returns to P2, the count value A of the item code counter R3 is incremented by 1, and the data of the next item code is read. Note that if there is no group designation, it is naturally unnecessary to compare and consider the group number G.

グループ番号Gが一致すると、ワークメモリR2の領域
を指定する領域番号カウンタR4のカウント値Bを初期
値1に設定する。そして、ワークメモリR2内のこの領
域番号Bの指定する領域へ比較データメモリR6のデー
タDBのうちの品目コードABを格納する。次に品目コ
ードカウンタR3のカウンカト値Aを1だけ増加し、増
加後の品目コードAの前述した全部のデータを売上集計
ファイルR1から読出してもう一つの比較データメモリ
R5へ格納する。
When the group numbers G match, the count value B of the area number counter R4, which specifies the area of the work memory R2, is set to the initial value 1. Then, the item code AB of the data DB of the comparison data memory R6 is stored in the area specified by this area number B in the work memory R2. Next, the count value A of the item code counter R3 is incremented by 1, and all the above-mentioned data of the increased item code A are read out from the sales total file R1 and stored in another comparison data memory R5.

P4にて、各比較データメモリR5,R6に格納された
各全データDA、DBのうちの各売上点数pA、pBを
取出して比較する。そして、P5にて売上点数PA+ 
 pBが等しい場合は、ワークメモリR2の一つ先の領
域番号B以降の各領域に格納された品目コードを一領域
ずつ下方ヘシフトさせる。また、P6にて新たに格納し
た比較データメモリR5の売上点数PAが先のワークメ
モリR2の領域番号Bの品目コードの売上点数PBより
大きい場合は、そのままワークメモリR2の領域番号B
以降の各領域に格納された品目コードを一領域ずつ下方
ヘシフトさせる。しかして、P7にて空になったワーク
メモリR2の領域番号Bの領域に先の比較データメモリ
R5に記憶されたデータDAの品目コードを格納する。
At P4, the sales numbers pA and pB of all the data DA and DB stored in the comparison data memories R5 and R6 are taken out and compared. Then, at P5, sales points PA+
If pB are equal, the item codes stored in each area starting from the next area number B in the work memory R2 are shifted downward one area at a time. In addition, if the sales number PA of the comparison data memory R5 newly stored in P6 is larger than the sales number PB of the item code of the area number B of the work memory R2, then the area number B of the work memory R2 is
The item codes stored in each subsequent area are shifted downward one area at a time. Therefore, the item code of the data DA stored in the comparison data memory R5 is stored in the area of area number B of the work memory R2 which has become empty at P7.

同時にこの品目コードを品目コードメモリR7へ格納す
る。
At the same time, this item code is stored in item code memory R7.

一方、P6にて比較データメモリR6の売上点数PBが
比較データメモリR5の売上点数PAより大きい場合は
、この新たに売上集計ファイルR1から読出された売上
点数PAの品目コードはワークメモリR2内の領域番号
Bより下の領域に格納する必要があるので、領域番号カ
ウンタR4のカウント値Bを1だけ増加し、増加後のカ
ウント値Bがデータ選択数メモリR9の選択数BMを越
えていないことを確認し、その後、ワークメモリR2の
領域番号Bの品目コードABを品目コードメモリR7へ
格納する。そして、P8にて品目コードメモリR7の品
目コードABを調べ、品目コードABがOでないとき、
すなわちワークメモリR2の次の領域に品目コードが格
納されていれば、その品目コードに対応する全データを
比較データメモリR6へ格納してP4へ戻る。そして、
売上点数PA、pBの比較を行なう。
On the other hand, if the sales number PB in the comparison data memory R6 is larger than the sales number PA in the comparison data memory R5 at P6, the item code of the sales number PA newly read from the sales total file R1 is stored in the work memory R2. Since it is necessary to store in the area below area number B, increase the count value B of area number counter R4 by 1, and make sure that the increased count value B does not exceed the selection number BM of the data selection number memory R9. After that, the item code AB of area number B in the work memory R2 is stored in the item code memory R7. Then, in P8, check the item code AB in the item code memory R7, and if the item code AB is not O,
That is, if the item code is stored in the next area of the work memory R2, all data corresponding to that item code is stored in the comparison data memory R6 and the process returns to P4. and,
Compare sales points PA and pB.

また、P8にて品目コードメモリR7の品目コードがO
の場合、すなわち、ワークメモリR2の次の領域に未だ
品目コードか格納されていなければ、P7へ進み、新た
に売上集計ファイルR1から読出されて比較データメモ
リR5に格納されているデータDAの品目コードをワー
クメモリR2の領域番号Bの領域および品目コードメモ
リR7へ格納する。以上の処理でワークメモリR2に対
する一つの品目コードの所定領域への格納処理を終了す
る。
Also, at P8, the item code in item code memory R7 is set to O.
In the case of , that is, if the item code is not yet stored in the next area of work memory R2, the process advances to P7 and the item code of data DA newly read from sales summary file R1 and stored in comparison data memory R5 is The code is stored in the area number B of work memory R2 and item code memory R7. With the above process, the process of storing one item code in the predetermined area in the work memory R2 is completed.

P9にて品目コードメモリR7の品目コードが0でない
ことを確認したのち、PIO以降の処理で品目コードカ
ウンタR3のカウント値Aを増加して売上集計ファイル
R1内から同一グループ番号Gに属する次の品目コード
の全データを読出して比較データメモリR5へ格納する
。pHにてワークメモリR2の領域番号Bの品目コード
に対応する全データDBを比較データメモリR6へ格納
する。そして、前述と同様にP4へ戻り、データDAの
売上点数PAとデータDBの売上点数PBとの比較を行
なう。
After confirming that the item code in the item code memory R7 is not 0 in P9, the count value A of the item code counter R3 is increased in the processing after PIO, and the next item code belonging to the same group number G from within the sales summary file R1 is All item code data is read out and stored in comparison data memory R5. At pH, all data DB corresponding to the item code of area number B in work memory R2 are stored in comparison data memory R6. Then, in the same manner as described above, the process returns to P4, and the sales number PA of the data DA is compared with the sales number PB of the data DB.

そして、P9にて売上集計ファイルR1から読出されて
比較データメモリR5へ格納され、さらにワークメモリ
R2の領域番号Bに格納された品目コードABがOにな
った場合は、売上集計ファイルR1の該当グループの全
品目コードの検索が終了したので、このデータ選択処理
を終了する。
Then, in P9, if the item code AB read from the sales summary file R1 and stored in the comparison data memory R5 and further stored in the area number B of the work memory R2 becomes O, the corresponding item code of the sales summary file R1 is Since the search for all item codes of the group has been completed, this data selection process is ended.

そして、第8図におけるPI3の印字出力処理を実行す
る。
Then, the printout process of PI3 in FIG. 8 is executed.

印字出力処理おいては、ワークメモリR2に格納された
8M個の品目コードと各品目コードに対応する各売上点
数1品名を1〜BMまでの順位とともにベストデータレ
ポートとして印字出力する。
In the printout process, the 8M item codes stored in the work memory R2 and the name of each item with the number of sales items corresponding to each item code are printed out as a best data report along with the ranking from 1 to BM.

このように構成された電子キャッシュレジスタにおいて
、例えば登録業務において売」二集計ファイルR1に第
6図に示すように各品目コードに対して売上点数および
売上金額が集計されたとする。
In the electronic cash register configured as described above, it is assumed that, for example, in the registration process, the number of sales items and the amount of sales are totaled for each item code in the sales total file R1 as shown in FIG.

そして、グループ1に属する各商品の売上点数を上から
5個まで選択して多い順に印字出力させる場合について
説明する。まず、第8図に示すように置数キー19で[
1]のグループ番号と[5コのデータ数を入力する。
Next, a case will be described in which the top five sales items of each product belonging to group 1 are selected and printed out in descending order. First, as shown in FIG.
Enter the group number of [1] and the number of data of [5].

すると、売上集計ファイルR1内のグループ番号1に対
応する品目コードが小さい順に順次読出されて第10図
(a)〜(h)に示すようにワークメモリR2の各領域
に順次格納されていく。すなわち、同図(a)において
先頭の品目コード[0001]が領域番号B−1の領域
に格納され、同図(b)において、この品目コード[0
0011の売」二点数2と次の品目コード[0002]
の売上点数4とが比較される。そして、品目コード[0
002]の売上点数の方が大きいので、品目コード[0
002]を品目コード[00011の上の領域へ格納す
る。同様に同一グループにおける次の品目コード[00
04]の売上点数8が先の売上点数2.4より大きいの
で、同図(C)に示すように、この品目コード[000
4]を先頭の領域へ格納して、先の品目コード[000
2]  [0001]を一領域ずつ下方へシフトさせる
Then, the item codes corresponding to group number 1 in the sales total file R1 are sequentially read out in ascending order and stored in each area of the work memory R2 as shown in FIGS. 10(a) to 10(h). That is, in Figure (a), the first item code [0001] is stored in the area with area number B-1, and in Figure (b), this item code [0001] is stored in the area with area number B-1.
0011 Sale” 2 items 2 and the next item code [0002]
The sales score of 4 is compared. And item code [0
002] has a larger sales number, so the item code [002] is larger.
002] is stored in the area above the item code [00011. Similarly, the next item code in the same group is [00
Since the sales score of 8 for [04] is greater than the previous sales score of 2.4, this item code [000
4] in the first area and save the previous item code [000
2] Shift [0001] downward one area at a time.

さらに、同図(d)においては、新たに読出した品目コ
ード[0005]の゛売上点数3は先に読出した各品目
コードの売上点数のうちで3番目に相当するので、ワー
クメモリR2の3番目の領域へ格納する。同様な手法に
て売上集計ファイルR1のグループ番号1の全部の品目
コードについて売上点数の大小を比較して多い順にワー
クメモリR2へ格納する。そして、最終的に同図(h)
の順次になる。なお、順位が6番目以降は、当然ワーク
メモリR2には格納されない。
Furthermore, in FIG. 3(d), the newly read item code [0005] has a sales number of 3, which corresponds to the third among the sales numbers of the previously read item codes, so the number of sales points in the work memory R2 is 3. Store in the th area. Using a similar method, the sales points of all item codes of group number 1 in the sales total file R1 are compared and stored in the work memory R2 in descending order. And finally the same figure (h)
The order is as follows. Incidentally, the sixth and subsequent rankings are naturally not stored in the work memory R2.

そして、上位5個の品目コードが選択されると、第11
図に示すように、上位5個の順位1品目コード、品名、
売上点数がレシートに印字出力されて、ベストデータレ
ポートとして発行される。
Then, when the top five item codes are selected, the 11th
As shown in the figure, the top five rankings include item code, item name,
The number of sales items is printed out on the receipt and issued as a best data report.

また、グループ指定せずに全部の売上点数に対するベス
トデータレポートを得る場合には、第8図の流れ図で、
グループ番号を[0コとしてキー操作すれば、第9図の
データ選択処理において、売上集計ファイルR1内の品
目コードがグループ番号に関係なく順番に読出されて大
小比較される。
In addition, if you want to obtain the best data report for all sales points without specifying a group, use the flowchart in Figure 8.
If the group number is set to [0] and a key is operated, in the data selection process shown in FIG. 9, the item codes in the sales total file R1 are read out in order regardless of the group number and compared in size.

したがって、第11図のベストデータレポートは全料理
(商品)に対するベストデータレポートとなる。
Therefore, the best data report in FIG. 11 is the best data report for all dishes (products).

このように全料理(商品)に対するベストデータレポー
トが得られるとともに、必要に応じて特定グループ内に
おけるベストデータレポートも簡単な操作で得ることが
可能である。したがって、どの各料理(商品)が良く売
れているかを即座に把握でき、より適切な在庫管理とよ
り迅速な販売計画を立案できる。
In this way, the best data report for all dishes (products) can be obtained, and if necessary, the best data report for a specific group can also be obtained with a simple operation. Therefore, it is possible to immediately know which dishes (products) are selling well, and it is possible to manage inventory more appropriately and formulate sales plans more quickly.

なお、実施例においては、良く売れるベストデータを選
択する場合を示したが、第9図の流れ図を修正すること
によって売れ行きの悪いワーストデータを選択すること
も可能である。またベストデータ又はワーストデータと
して選択されるデータ数も操作者がキーボードから任意
に指定できる。
In the embodiment, a case is shown in which the best data that sells well is selected, but it is also possible to select the worst data that sells poorly by modifying the flowchart of FIG. Furthermore, the number of data to be selected as the best data or the worst data can be arbitrarily specified by the operator using the keyboard.

さらに、実施例においては、レストランに設置された電
子キャッシュレジスタについて説明したが、一般商店に
設置される電子キャッシュレジスタに適用することは容
易である。
Further, in the embodiment, an electronic cash register installed in a restaurant has been described, but it is easy to apply the present invention to an electronic cash register installed in a general store.

[発明の効果コ 以上説明したように本発明によれば、全商品に対する予
め定められた数のベストデータ又はワーストデータを選
択できるとともに、指定されたグループ内のベストデー
タ又はワーストデータを選択可能にしている。したがっ
て、より詳細な売れ行き状態を把握でき、よりち密な在
庫管理とより迅速な販売計画を立案することができる。
[Effects of the Invention] As explained above, according to the present invention, it is possible to select a predetermined number of best data or worst data for all products, and it is also possible to select best data or worst data within a specified group. ing. Therefore, a more detailed sales status can be grasped, and more precise inventory management and a faster sales plan can be formulated.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の電子キャッシュレジスタを示す図、第
2図乃至第11図は本発明の一実施例に係わる電子キャ
ッシュレジスタを示すものであり、第2図は外観図、第
3図は表示部を示す図、第4図はキーボードのキー配置
図、第5図は概略構成を示すブロック図、第6図および
第7図は記憶部の主なメモリを示す図、第8図および第
9図は動作を示す流れ図、第10図は記憶部の記憶内容
の変化を示す図、第11図は指定されたグループにおけ
るベストデータレポートを示す図である。 12・・・キーボード、13.16・・・表示部、15
・・・ドロワー、18・・・メニューキー、19・・・
置数キー、19・・・小計キー、20・・・預/現計キ
ー、24・・・コントロールキー、25・・・CPU、
30・・・RAM、34・・・ドツトプリンタ、R1・
・・売上集計ファイル、R2・・・ワークメモリ、R3
・・・品目コードカウンタ、R4・・・領域番号カウン
タ、R5゜R6・・・比較データメモリ、R7・・・品
目コードメモリ、R8・・・グループ指定メモリ、R9
・・・データ選択数メモリ。 出願人代理人 弁理士 鈴江武彦 (a) (b) 第3図 第40 第S図 R2 第8図 (a)    (b)    (C)    (d) 
   (e)(+)     (9)    (h)第
10図 第11t3
FIG. 1 is a diagram showing an electronic cash register of the present invention, FIGS. 2 to 11 are diagrams showing an electronic cash register according to an embodiment of the present invention, FIG. 2 is an external view, and FIG. 3 is an external view. 4 is a diagram showing the keyboard key arrangement, FIG. 5 is a block diagram showing the schematic configuration, FIGS. 6 and 7 are diagrams showing the main memories of the storage section, and FIGS. 8 and 7 are diagrams showing the main memory of the storage section. FIG. 9 is a flowchart showing the operation, FIG. 10 is a diagram showing changes in the contents stored in the storage section, and FIG. 11 is a diagram showing the best data report in a designated group. 12...Keyboard, 13.16...Display section, 15
...Drawer, 18...Menu key, 19...
Number key, 19...Subtotal key, 20...Deposit/Cash total key, 24...Control key, 25...CPU,
30...RAM, 34...Dot printer, R1.
...Sales summary file, R2...Work memory, R3
...Item code counter, R4...Area number counter, R5゜R6...Comparison data memory, R7...Item code memory, R8...Group specification memory, R9
...Data selection number memory. Applicant's agent Patent attorney Takehiko Suzue (a) (b) Figure 3 Figure 40 Figure S R2 Figure 8 (a) (b) (C) (d)
(e) (+) (9) (h) Figure 10, Figure 11t3

Claims (1)

【特許請求の範囲】[Claims] 各販売商品毎にこの商品が属するグループのグループ番
号および売上点数、売上金額等の各売上データを記憶す
る売上集計フアイルを記憶部内に有し、入力された各商
品の販売点数および販売金額を前記売上集計フアイルの
該当商品に対応する売上点数および売上金額に累積登録
する電子キヤツシユレジスタにおいて、前記売上集計フ
アイルに記憶された全部の商品に対する売上データを大
きい順又は小さい順に予め定められた個数だけ選択する
全売上データ選択手段と、前記売上集計フアイルに記憶
された各売上データのうち、予め指定されたグループに
属する各商品の売上データを大きい順又は小さい順に予
め定められた個数だけ選択するグループ売上データ選択
手段と、上記各選択手段にて選択された各売上データを
大きい順又は小さい順に出力する売上データ出力手段と
を備えたことを特徴とする電子キヤツシユレジスタ。
For each sold product, the storage unit has a sales aggregation file that stores sales data such as the group number of the group to which this product belongs, the number of sales items, and the sales amount. In an electronic cash register that cumulatively registers the number of sales items and sales amount corresponding to the corresponding product in the sales summary file, a predetermined number of sales data for all products stored in the sales summary file are stored in ascending order or descending order. All sales data selection means to select, and a group for selecting a predetermined number of sales data of each product belonging to a prespecified group from among the sales data stored in the sales aggregation file in ascending order or descending order. An electronic cash register characterized by comprising: sales data selection means; and sales data output means for outputting the sales data selected by each of the selection means in ascending order or descending order.
JP13749086A 1986-06-13 1986-06-13 Electronic cash register Pending JPS62293494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13749086A JPS62293494A (en) 1986-06-13 1986-06-13 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13749086A JPS62293494A (en) 1986-06-13 1986-06-13 Electronic cash register

Publications (1)

Publication Number Publication Date
JPS62293494A true JPS62293494A (en) 1987-12-21

Family

ID=15199865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13749086A Pending JPS62293494A (en) 1986-06-13 1986-06-13 Electronic cash register

Country Status (1)

Country Link
JP (1) JPS62293494A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011003015A (en) * 2009-06-18 2011-01-06 Toshiba Tec Corp Output device and program
JP2012216243A (en) * 2012-08-01 2012-11-08 Toshiba Tec Corp Output device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011003015A (en) * 2009-06-18 2011-01-06 Toshiba Tec Corp Output device and program
JP2012216243A (en) * 2012-08-01 2012-11-08 Toshiba Tec Corp Output device and program

Similar Documents

Publication Publication Date Title
EP0028127B1 (en) Electronic cash register
JPH09212749A (en) Order entry system
JPS62293494A (en) Electronic cash register
JP2542692B2 (en) Product sales data processing device
JP2501476B2 (en) Credit processor
JPS62164195A (en) Pos terminal
JP2912757B2 (en) Product sales data processing device
JP2552378B2 (en) Product sales data processor
JP3036797B2 (en) Vending machine sales aggregation device
JPH05166071A (en) Merchandise sales data processing device
JPH0636233B2 (en) Sales registration processor
JPH03100893A (en) Goods sale data processor
JPS63153697A (en) Electronic cash register
JPS63165997A (en) Electronic cash register
JP4005455B2 (en) Product sales registration device
JP2523838B2 (en) Electronic cash register
JPH06348962A (en) Commodity sales data processor
JPS58146965A (en) Electronic type cash register
JPH0670831B2 (en) Electronic cash register
JPS616795A (en) Electronic type cash register
JPS613297A (en) Electronic type cash register
JPH0869572A (en) Merchandise sale register data processing device
JPS5821311B2 (en) electronic cash register
JPS6146595A (en) Electronic cashless register
JPS63184189A (en) Electronic type cash register