JP2001014551A - Sales data processor and recording medium - Google Patents

Sales data processor and recording medium

Info

Publication number
JP2001014551A
JP2001014551A JP11181798A JP18179899A JP2001014551A JP 2001014551 A JP2001014551 A JP 2001014551A JP 11181798 A JP11181798 A JP 11181798A JP 18179899 A JP18179899 A JP 18179899A JP 2001014551 A JP2001014551 A JP 2001014551A
Authority
JP
Japan
Prior art keywords
unit price
sales data
data
price change
change data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11181798A
Other languages
Japanese (ja)
Other versions
JP3845737B2 (en
Inventor
Hidenori Otsuka
秀則 大塚
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP18179899A priority Critical patent/JP3845737B2/en
Publication of JP2001014551A publication Critical patent/JP2001014551A/en
Application granted granted Critical
Publication of JP3845737B2 publication Critical patent/JP3845737B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To produce a stepped price system which can not be dealt with a mix match. SOLUTION: A set discount table 12A where the unit price change data are previously set for each number of pieces to change every unit price in response to the number of pieces is prepared. A CPU 10 reads the unit price change data out of the table 12A in response to the unit price and the number of pieces which are registered by an input device 20. Then the CPU 10 acquires the sales data according to the read unit price change data and outputs the sales data to a display device 22 and a printer 24.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、売上データを処理
する売上データ処理装置、及びそのような売上データ処
理の動作をコンピュータに実行させる命令を含むプログ
ラムを格納したコンピュータが読み取り可能な記録媒体
に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a sales data processing apparatus for processing sales data, and a computer-readable recording medium storing a program including instructions for causing a computer to execute such sales data processing operation. .

【0002】[0002]

【従来の技術】電子式キャッシュレジスタやPOS(ポ
イントオブセールス)ターミナル等の売上データ処理装
置が、各種店舗で使用されている。
2. Description of the Related Art Sales data processing devices such as electronic cash registers and point-of-sale (POS) terminals are used in various stores.

【0003】このような従来のデータ処理装置において
は、個数処理における価格補正手段として、ミックスマ
ッチテーブルによる補正が広く行われている。
In such a conventional data processing apparatus, a correction using a mix match table is widely performed as a price correction means in the number processing.

【0004】このミックスマッチ価格補正は、単品毎の
リンク先ミックステーブル番号に基づいたフラグ及びカ
ウンタにより、規定個数に達したときに価格補正すると
いうものである。例えば、1個40円のものを3個購入
すると、100円とするような補正を行うものである。
[0004] This mix-match price correction is to correct the price when a specified number is reached, using a flag and a counter based on the link table number of the link destination for each product. For example, a correction is made such that if three pieces of 40 yen are purchased, 100 yen is purchased.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うなミックスマッチ価格補正方式では、ミックスマッチ
が有効となる個数よりも多く購入した場合、そのミック
スマッチ適用個数よりも多い分については、通常価格に
戻ってしまう。例えば、1個40円のものを4個購入す
ると、100円+40円で、合計140円となってしま
う。
However, in such a mix-match price correction method, if the number of purchases larger than the number for which the mix-match is valid is increased to the normal price for the number more than the number of mix-matches applied. I will return. For example, if one purchases four items of 40 yen each, the total is 140 yen at 100 yen + 40 yen.

【0006】また、購入数が増えていくに従って段階的
に値引額が変化するような価格補正は実現できていな
い。
Further, price correction in which the discount amount changes stepwise as the number of purchases increases cannot be realized.

【0007】本発明の課題は、ミックスマッチでは対応
できない段階的な価格体系を作成できるようにし、もっ
て、顧客サービス向上を図ることである。
[0007] An object of the present invention is to make it possible to create a step-by-step price system that cannot be handled by mix-matching, thereby improving customer service.

【0008】[0008]

【課題を解決するための手段】請求項1の発明の手段は
次の通りである。テーブルは、単価別に、その単価を個
数に応じて変えるための個数毎の単価変更データを予め
設定している。読み出し手段は、登録された単価と個数
に応じて、上記テーブルから単価変更データを読み出
す。売上データ算出出力手段は、上記読み出し手段によ
って読み出された単価変更データに基づいて売上データ
を求め、この求めた売上データを出力する。
Means of the present invention are as follows. In the table, unit price change data for each number for changing the unit price according to the number is set in advance for each unit price. The reading means reads the unit price change data from the table according to the registered unit price and the number. The sales data calculation output means obtains sales data based on the unit price change data read by the reading means, and outputs the obtained sales data.

【0009】また、請求項8の発明の手段は次の通りで
ある。コンピュータが読み取り可能な記録媒体は、以下
の機能をコンピュータに実現させるためのプログラムを
記憶する。第1の機能は、単価別に、その単価を個数に
応じて変えるための個数毎の単価変更データを予め設定
したテーブルから、登録された単価と個数に応じて、単
価変更データを読み出す機能である。第2の機能は、こ
の読み出し手段によって読み出された単価変更データに
基づいて売上データを求め、この求めた売上データを出
力する機能である。
The means of the invention according to claim 8 is as follows. The computer-readable recording medium stores a program for causing the computer to realize the following functions. The first function is a function of reading unit price change data according to a registered unit price and the number from a table in which unit price change data for each unit for changing the unit price according to the unit number is changed according to the number. . The second function is to obtain sales data based on the unit price change data read by the reading means, and to output the obtained sales data.

【0010】請求項1及び請求項8の発明の手段の作用
は次の通りである。単価別に、その単価を個数に応じて
変えるための個数毎の単価変更データを予め設定したテ
ーブルを持ち、登録された単価と個数に応じて売上デー
タを求めるようにしている。従って、ミックスマッチで
は対応できない段階的な価格体系を作成できるようにな
り、顧客サービス向上を図ることができる。
The operation of the means of the present invention is as follows. Each unit has a table in which unit price change data for each unit for changing the unit price according to the unit is set, and sales data is obtained according to the registered unit price and unit. Therefore, it is possible to create a step-by-step price system that cannot be handled by a mix match, and it is possible to improve customer service.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図1
の(A)乃至図9の(D)を参照して説明する。
FIG. 1 is a block diagram showing an embodiment of the present invention.
This will be described with reference to FIGS.

【0012】図1の(A)は、本発明の売上データ処理
装置の一実施の形態としての電子式キャッシュレジスタ
の構成を示す図である。同図において、CPU10は、
RAM12内にロードされている各種プログラムに従っ
てこの電子式キャッシュレジスタの全体動作を制御する
中央演算装置である。記憶装置14は、オペレーティン
グシステムや各種アプリケーションプグラム、データフ
ァイル、文字フォントデータ等が予め格納されている記
憶媒体16やその駆動系を有している。この記憶媒体1
6は固定的に設けたもの、もしくは着脱自在に装着可能
なものであり、フロッピーディスク、ハードディスク、
光ディスク、RAMカード等の磁気的・光学的記憶媒
体、半導体メモリによって構成されている。また、記憶
媒体16内のプログラムやデータは、必要に応じてCP
U10の制御により、RAM12にロードされる。更
に、CPU10は、通信回線18等を介して他の機器側
から送信されてきたプログラム、データを受信して記憶
媒体16に格納したり、他の機器側に設けられている記
憶媒体に格納されているプログラム、データを通信回線
18等を介して使用することもできる。
FIG. 1A is a diagram showing a configuration of an electronic cash register as an embodiment of a sales data processing device according to the present invention. Referring to FIG.
A central processing unit that controls the overall operation of the electronic cash register according to various programs loaded in the RAM 12. The storage device 14 includes a storage medium 16 in which an operating system, various application programs, data files, character font data, and the like are stored in advance, and a drive system thereof. This storage medium 1
Numeral 6 is a fixedly provided or detachably mountable floppy disk, hard disk,
It is composed of a magnetic / optical storage medium such as an optical disk and a RAM card, and a semiconductor memory. Further, programs and data in the storage medium 16 may be stored in a CP
It is loaded into the RAM 12 under the control of U10. Further, the CPU 10 receives programs and data transmitted from other devices via the communication line 18 or the like and stores them in the storage medium 16 or stored in a storage medium provided in other devices. The used programs and data can be used via the communication line 18 or the like.

【0013】CPU10には、その入出力周辺デバイス
である入力装置20、表示装置22、印刷装置24、ド
ロア26がバスラインを介して接続されており、入出力
プログラムに従ってCPU10はそれらの動作を制御す
る。
An input device 20, a display device 22, a printing device 24, and a drawer 26, which are input / output peripheral devices, are connected to the CPU 10 via a bus line. I do.

【0014】入力装置20は、特に図示はしないが、金
額データや売上個数等を置数するテンキー、商品登録時
に操作される部門キー、PLU(プライス・ルック・ア
ップ)キー、一取引分の登録を締める現金/預りキー
等、通常備えられている各種のキーやモードスイッチが
設けられている。モードスイッチは、その切り替え位置
に応じて「REG(登録)」、「X(点検)」、「Z
(清算)」等のモードを切り替えるもので、REGモー
ドにセットされている状態においてCPU10は、入力
装置20から入力された売上データを取り込んで表示装
置22に表示出力させたり、印刷装置24に送ってレシ
ート/ジャーナル印字させ、更にRAM12内の売上合
計器の内容を更新する登録処理を行う。
Although not shown, the input device 20 includes a numeric keypad for inputting amount data and the number of units sold, a department key operated at the time of product registration, a PLU (price look-up) key, and registration of one transaction. Various keys and a mode switch, which are usually provided, such as a cash / deposit key for closing the key, are provided. The mode switch is set to “REG (registered)”, “X (check)”, “Z” according to the switching position.
(Clearing) mode, and in the REG mode, the CPU 10 captures the sales data input from the input device 20 and causes the display device 22 to display and output the data, or sends the sales data to the printing device 24. Then, a registration process is performed to print the receipt / journal and further update the contents of the sales totalizer in the RAM 12.

【0015】印刷装置24は、例えば2連装プリンタ
で、CPU10は売上データを登録する毎にレシート
用、ジャーナル用のロール紙に対してレシート/ジャー
ナル印字を行うと共に一取引分の登録終了時に締め処理
を行ってドロア26を開放させたり、レシート用紙を切
断して売上明細レシートを発行する。
The printing device 24 is, for example, a two-unit printer. The CPU 10 prints a receipt / journal on roll paper for receipts and journals every time sales data is registered, and closes processing at the end of registration of one transaction. To open the drawer 26 or cut the receipt paper to issue a sales statement receipt.

【0016】図1の(B)は、上記RAM12の主要構
成を示した図であり、このRAM12には、セット割引
テーブル12A,PLUファイル12B,一時記憶メモ
リ12C,印字タイプ設定メモリ12D,ワークメモリ
12E,小計メモリ12F,等の各種のメモリ領域が割
り当てられている。
FIG. 1B is a diagram showing a main configuration of the RAM 12. The RAM 12 includes a set discount table 12A, a PLU file 12B, a temporary storage memory 12C, a print type setting memory 12D, and a work memory. Various memory areas, such as 12E and a subtotal memory 12F, are allocated.

【0017】ここで、セット割引テーブル12Aは、図
1の(C)に示すように、個数別に、補正金額を加味し
た単価別の割引テーブルを含むも。本実施の形態におい
ては、Aテーブル(単価100円テーブル)、Bテーブ
ル(単価120円テーブル)、Cテーブルテーブル(単
価170円テーブル)の3テーブルとし、それぞれ、1
0個までは段階的に割引かれるが、11個以上では一律
の割引率となるように設定している。
Here, as shown in FIG. 1C, the set discount table 12A includes a discount table for each unit and for each unit price taking into account the correction amount. In the present embodiment, there are three tables, A table (unit price table of 100 yen), B table (unit price of 120 yen table), and C table table (unit price of 170 yen table).
The discount is set in stages up to 0, but is set so that the discount rate is uniform for 11 or more.

【0018】また、PLUファイル12Bは、図2の
(A)に示すように、PLU番号(No.)毎のレコー
ドを含み、各レコードは、当該商品の商品名等のキャラ
クタ,単価,金額補正フラグ,合計器,テーブル番号
(No.)のフィールドを含む。ここで、金額補正フラ
グは、価格補正対象とする/しないを識別するためのも
であり、該フラグに「1」が書き込まれている場合は補
正対象とし、「1」が書き込まれている場合は補正対象
としないものとする。また、合計器は、当該アイテムの
購入個数と補正後の金額とを記憶するためのものであ
る。そして、テーブル番号は、上記セット割引テーブル
12Aの3個の割引テーブルの内の何れを用いるかを示
すものであり、このように、複数の商品を同一単価テー
ブルにリンクさせることで、割引テーブルを商品毎では
なく単価毎に持たせることが可能となり、テーブル容量
を小さくすることができる。
As shown in FIG. 2A, the PLU file 12B includes a record for each PLU number (No.), and each record includes a character such as a product name of the product, a unit price, and a price correction. A flag, a totalizer, and a table number (No.) field are included. Here, the money amount correction flag is for identifying whether or not the price is to be corrected. When "1" is written in the flag, the flag is to be corrected, and when "1" is written. Are not to be corrected. The totalizer is for storing the purchased number of the item and the corrected amount. The table number indicates which of the three discount tables in the set discount table 12A is to be used. In this way, by linking a plurality of products to the same unit price table, the discount table can be used. It is possible to provide each unit price instead of each product, and the table capacity can be reduced.

【0019】また、一時記憶メモリ12Cは、図2の
(B)に示すように、各割引テーブル及びPLU毎に、
今回の(つまり現在の)登録個数を一時的に記憶するた
めのものである。
As shown in FIG. 2B, the temporary storage memory 12C stores, for each discount table and each PLU,
This is to temporarily store the number of registrations this time (that is, the current).

【0020】印字タイプ設定メモリ12Dは、図2の
(C)に示すように、5個のフラグ領域を持ち、その内
の一つがユーザ設定により「1」にセットされるように
なっている。ここで、各フラグ領域は、図2の(D)に
示す5種類の印字タイプそれぞれに対応するものであ
る。即ち、上記のような単価と該当する個数毎に補正を
含む金額のテーブル(セット割引テーブル12A)を持
たせ、該当する商品が複数個購入されたときに、詳細は
後述するようにして該テーブルに該当する金額にて価格
補正を行い、その内容をレシート、ジャーナル等に印字
する場合には、図2の(D)に示すように複数の印字方
式が考えられる。これら印字方式のうち、エンドユーザ
に最も適した印字方式が取れるよう、この印字タイプ設
定メモリ12Dのフラグにより設定可能とし、選択され
た印字方式により印字出力ができるようにしている。こ
のフラグの設定は、例えば、入力装置20に設けられた
モードキー操作により当該電子式キャッシュレジスタを
設定モードにして、印字タイプを選択する画面を表示
し、これら〜の何れかを指定入力することで、この
印字タイプ設定メモリ12Dのフラグ内容が変更される
(指定のフラグが設定され、前のフラグがクリアされ
る)。なお、図2の(D)は、PLU番号001の商品
を3個購入し、且つ、一括印字方式にて印字した場合の
例を示している。
As shown in FIG. 2C, the print type setting memory 12D has five flag areas, one of which is set to "1" by user setting. Here, each flag area corresponds to each of the five print types shown in FIG. That is, a table (set discount table 12A) of the unit price and the amount including the correction for each corresponding number is provided, and when a plurality of corresponding products are purchased, the table will be described in detail later. When the price is corrected by the amount corresponding to (1) and the content is printed on a receipt, a journal or the like, a plurality of printing methods can be considered as shown in FIG. Of these printing methods, a setting in the print type setting memory 12D can be set so that a printing method most suitable for the end user can be obtained, and printing can be performed according to the selected printing method. The setting of this flag is performed, for example, by operating the mode key provided on the input device 20 to set the electronic cash register to the setting mode, displaying a screen for selecting a print type, and specifying and inputting any of these. Then, the contents of the flag in the print type setting memory 12D are changed (the designated flag is set and the previous flag is cleared). FIG. 2D shows an example in which three products with the PLU number 001 are purchased and printed by the batch printing method.

【0021】また、ワークメモリ12Eは、各種処理途
中で利用されるメモリ領域であり、小計メモリ12F
は、現在の小計を記憶しておく領域である。
The work memory 12E is a memory area used during various kinds of processing.
Is an area for storing the current subtotal.

【0022】次に、以上のような構成における動作を説
明する。図3は、入力装置20の図示しないモードスイ
ッチが「REG」の位置にセットされている登録モード
において、入力された売上データを登録処理するための
動作を示したフローチャートである。
Next, the operation of the above configuration will be described. FIG. 3 is a flowchart showing the operation for registering the input sales data in the registration mode in which the mode switch (not shown) of the input device 20 is set to the position of “REG”.

【0023】即ち、該登録モードに説体されると、入力
装置20待ちとなり(ステップS10)、何れかのキー
入力が有ると、まず、その入力キーがPLUキーか否か
を判別する(ステップS12)。
That is, when the registration mode is assumed, the input device 20 waits (step S10). If any key input is made, first, it is determined whether or not the input key is a PLU key (step S10). S12).

【0024】PLUキーが入力された場合には、そのP
LU番号のレコードがPLUファイル12Bに登録され
ているかどうかをサーチし(ステップS14)、登録さ
れていなければステップS18に進み、通常の登録処理
を行う。
When a PLU key is input, its P
It is searched whether or not the record of the LU number is registered in the PLU file 12B (step S14), and if not, the process proceeds to step S18 to perform a normal registration process.

【0025】また、PLUファイル12Bに登録されて
いる場合には、そのPLU番号のレコードの金額補正フ
ラグが「0」か否かを判別し(ステップS16)、その
金額補正フラグが「0」つまり補正無しの場合には、ス
テップS18に進んで通常の登録処理を行う。
If it is registered in the PLU file 12B, it is determined whether or not the amount correction flag of the record of the PLU number is "0" (step S16). If there is no correction, the process proceeds to step S18 to perform a normal registration process.

【0026】即ち、当該レコードの単価フィールドより
通常単価をピックアップし(ステップS18)、その単
価と個数とに従って小計メモリ12Fの内容を更新する
(ステップS20)。その後、当該PLU番号と個数を
一時記憶メモリ12Cに記憶する(ステップS22)。
そして、上記ピックアップした単価と一時記憶メモリ1
2Cに記憶した登録個数とにより、PLUファイル12
Bの対応するレコードの合計器に個数と金額を登録する
(ステップS24)。
That is, the normal unit price is picked up from the unit price field of the record (step S18), and the contents of the subtotal memory 12F are updated according to the unit price and the number (step S20). Thereafter, the PLU number and the number are stored in the temporary storage memory 12C (Step S22).
Then, the unit price picked up and the temporary storage memory 1
The PLU file 12 is determined based on the number of registrations stored in the 2C.
The number and the amount are registered in the totalizer of the record corresponding to B (step S24).

【0027】これに対して、上記ステップS16におい
て金額補正フラグが「1」であると判別された場合に
は、当該レコードのテーブル番号フィールドと一時記憶
メモリ12Cとを参照して、同一単価登録が既になされ
ているかどうかを判別する(ステップS26)。そし
て、同一単価登録が無い場合には、今回の単価と個数と
を用いて同一単価データとして一時記憶メモリ12Cに
記憶する(ステップS28)。即ち、テーブル番号と個
数とを新規に登録する。また、同一単価登録が有った場
合には、今回の単価及び個数を用いて、一時記憶メモリ
12Cに記憶されている同一単価データを更新する(ス
テップS30)。
On the other hand, if it is determined in step S16 that the amount correction flag is "1", the same unit price registration is performed by referring to the table number field of the record and the temporary storage memory 12C. It is determined whether or not it has already been performed (step S26). If the same unit price has not been registered, the unit price is stored in the temporary storage memory 12C as the same unit price data using the current unit price and the number (step S28). That is, the table number and the number are newly registered. If the same unit price has been registered, the same unit price data stored in the temporary storage memory 12C is updated using the current unit price and the number (step S30).

【0028】その後、今回の個数をチェックして(ステ
ップS32)、その個数でセット割引テーブル12Aを
サーチし(ステップS34)、補正された単価をピック
アップする(ステップS36)。そして、その補正され
た単価に従って小計メモリ12Fの内容を更新する(ス
テップS38)。その後、上記ステップS24に進み、
上記ピックアップした補正された単価と一時記憶メモリ
12Cに記憶した登録個数とにより、PLUファイル1
2Bの対応するレコードの合計器に個数と金額を登録す
る。
Thereafter, the current number is checked (step S32), the set discount table 12A is searched with the number (step S34), and the corrected unit price is picked up (step S36). Then, the contents of the subtotal memory 12F are updated according to the corrected unit price (step S38). Thereafter, the process proceeds to step S24,
The PLU file 1 is obtained based on the corrected unit price and the registered number stored in the temporary storage memory 12C.
The number and amount are registered in the totalizer of the corresponding record of 2B.

【0029】また、上記ステップS12において、PL
Uキー入力ではないと判別された場合には、一取引分の
登録を締める現金/預りキー入力であるかどうか判断す
る(ステップS40)。そして、現金/預りキー入力つ
まり締めが指示された場合には、詳細は後述するような
締め処理を行う(ステップS42)。また、締めでない
場合には、その入力されたキーに応じた処理を行う(ス
テップS44)。
In step S12, PL
If it is determined that the input is not the U key input, it is determined whether the input is a cash / deposit key input for closing the registration for one transaction (step S40). Then, when the cash / deposit key input, that is, the closing is instructed, a closing process described later in detail is performed (step S42). If the key is not tightened, a process corresponding to the input key is performed (step S44).

【0030】図4は、上記ステップS42における締め
処理の詳細を示すフローチャートである。
FIG. 4 is a flowchart showing details of the closing process in step S42.

【0031】即ち、まず、RAM12のワークメモリ1
2Eに設けたカウンタXを「1」に初期設定した後(ス
テップS50)、該カウンタXの値で示されるX番目の
一時記憶データを一時記憶メモリ12Cから読み出す
(ステップS52)。そして、その読み出したデータが
テーブルデータであるか否かを判別する(ステップS5
4)。ここで、テーブルデータであった場合には、印字
タイプ設定メモリ12Dを参照して印字タイプを判別し
(ステップS56)、詳細は後述するようにして、その
印字タイプに応じた出力を行う(ステップS58)。ま
た、テーブルデータではない即ちPLUデータであった
場合には、そのPLU番号に対応するキャラクタと単価
とをPLUファイル12Bから読み出して、それらをそ
のPLU番号と共に印字及び表示する(ステップS6
0)。
That is, first, the work memory 1 of the RAM 12
After initializing the counter X provided in 2E to "1" (step S50), the X-th temporary storage data indicated by the value of the counter X is read from the temporary storage memory 12C (step S52). Then, it is determined whether or not the read data is table data (step S5).
4). Here, if the data is table data, the print type is determined with reference to the print type setting memory 12D (step S56), and an output corresponding to the print type is performed as described in detail later (step S56). S58). If the data is not table data, that is, PLU data, the character and unit price corresponding to the PLU number are read from the PLU file 12B, and they are printed and displayed together with the PLU number (step S6).
0).

【0032】そして、これらステップS58又はステッ
プS60の実行後、上記カウンタXを「+1」し(ステ
ップS62)、一時記憶メモリ12CのX番目のレコー
ドにデータが有るかどうかを判別して(ステップS6
4)、まだデータが有れば上記ステップS52に戻って
上記の処理を繰り返す。
After execution of step S58 or step S60, the counter X is incremented by "1" (step S62), and it is determined whether or not there is data in the X-th record of the temporary storage memory 12C (step S6).
4) If there is still data, return to step S52 and repeat the above processing.

【0033】こうして一時記憶メモリ12Cに記憶され
た全てのデータについて処理が終了したならば、小計メ
モリ12Fに記憶されている小計を印字及び表示する
(ステップS66)。そしてその後、これら一時記憶メ
モリ12C,ワークメモリ12E,及び小計メモリ12
Fをクリアして(ステップS68)、上位のルーチンに
戻る。
When the processing has been completed for all data stored in the temporary storage memory 12C, the subtotal stored in the subtotal memory 12F is printed and displayed (step S66). Thereafter, the temporary storage memory 12C, the work memory 12E, and the subtotal memory 12
F is cleared (step S68), and the process returns to the higher-level routine.

【0034】また、上記ステップS58における印字タ
イプに応じた出力は、次のようにして行われる。
The output corresponding to the print type in step S58 is performed as follows.

【0035】まず、図2の(D)における印字タイプ
の印字を行う場合を、図5の(A)のフローチャートを
参照して説明する。
First, the case of performing printing of the print type in FIG. 2D will be described with reference to the flowchart of FIG.

【0036】即ち、まず、一時記憶メモリ12Cの該当
テーブルの今回登録個数を検索し、その個数mをワーク
メモリ12Eに記憶しておく(ステップS58A1)。
そして、この個数mが段階的な割引を行う個数の最大値
(図1の(C)の例では11個)以上であるかどうかを
判別する(ステップS58A2)。ここで、最大値以上
であった場合には、本実施の形態では50%OFFする
ので、1個の単価にその個数mを乗じた値を1/2した
金額を割引として印字及び表示して(ステップS58A
3)、上位のルーチンに戻る。これにより、例えば=1
1のとき、図5の(B)に示すような印字が行われる。
That is, first, the number registered this time in the corresponding table of the temporary storage memory 12C is searched, and the number m is stored in the work memory 12E (step S58A1).
Then, it is determined whether or not the number m is equal to or more than the maximum value (11 in the example of FIG. 1C) for performing the gradual discount (step S58A2). Here, if the value is equal to or more than the maximum value, 50% OFF is performed in the present embodiment, so that the price obtained by multiplying the value obtained by multiplying one unit price by the number m is printed and displayed as a discount. (Step S58A
3) Return to the upper routine. Thus, for example, = 1
At 1, printing is performed as shown in FIG.

【0037】これに対して、個数mが上記最大値よりも
小さいと判別された場合には、次に、ワークメモリ12
Eに設けたカウンタnを「1」に初期設定する(ステッ
プS58A4)。その後、このカウンタnの値で示され
るn個目のキャラクタ及び金額の印字及び表示を行う
(ステップS58A5)。この時、金額は、該当テーブ
ルの個数nの金額から該当テーブルの個数n−1の金額
を減算した値である。
On the other hand, if it is determined that the number m is smaller than the maximum value, then the work memory 12
The counter n provided in E is initialized to "1" (step S58A4). Thereafter, the n-th character and the amount indicated by the value of the counter n are printed and displayed (step S58A5). At this time, the money amount is a value obtained by subtracting the money amount of the corresponding table number n-1 from the money amount of the corresponding table number n.

【0038】そしてその後、上記カウンタnを「+1」
し(ステップS58A6)、その結果が上記個数mを越
えたか否かを判別する(ステップS58A7)。まだ越
えていなければ上記ステップS58A5に戻り、越えて
しまった場合には上位のルーチンに戻る。
Thereafter, the counter n is set to "+1".
Then, it is determined whether or not the result exceeds the number m (step S58A7). If not, the process returns to step S58A5, and if it has, the process returns to the upper routine.

【0039】このように動作することにより、例えば、
商品AAAについては、単価100円テーブルにより、
n=1のときはそのまま単価「¥100」が、n=2の
ときは180円−100円=「¥80」が、そして、n
=3のときは250円−180円=「¥70」が印字及
び表示されることになり、結果として、図2の(D)に
で示すような印字が行われる。
By operating as described above, for example,
For product AAA, the unit price is 100 yen,
When n = 1, the unit price is “$ 100” as it is, when n = 2, 180 yen−100 yen = “$ 80”, and n
When = 3, 250 yen−180 yen = “$ 70” is printed and displayed. As a result, printing as shown in FIG. 2D is performed.

【0040】また、図2の(D)における印字タイプ
の印字を行う場合は、図6に示すようになる。
FIG. 6 shows a case where printing of the print type shown in FIG. 2D is performed.

【0041】即ち、まず、一時記憶メモリ12Cの該当
テーブルの今回登録個数を検索し、その個数mをワーク
メモリ12Eに記憶しておく(ステップS58B1)。
そして、この個数mが段階的な割引を行う個数の最大値
(図1の(C)の例では11個)以上であるかどうかを
判別する(ステップS58B2)。ここで、最大値以上
であった場合には、本実施の形態では50%OFFする
ので、1個の単価にその個数mを乗じた値を1/2した
金額を割引として印字及び表示して(ステップS58B
3)、上位のルーチンに戻る。これにより、例えば=1
1のとき、図5の(B)に示すような印字が行われる。
That is, first, the number registered this time in the corresponding table of the temporary storage memory 12C is searched, and the number m is stored in the work memory 12E (step S58B1).
Then, it is determined whether or not the number m is equal to or more than the maximum value (11 in the example of FIG. 1C) for performing the gradual discount (step S58B2). Here, if the value is equal to or more than the maximum value, 50% OFF is performed in the present embodiment, so that the price obtained by multiplying the value obtained by multiplying one unit price by the number m is printed and displayed as a discount. (Step S58B
3) Return to the upper routine. Thus, for example, = 1
At 1, printing is performed as shown in FIG.

【0042】これに対して、個数mが上記最大値よりも
小さいと判別された場合には、次に、ワークメモリ12
Eに設けたカウンタnを「1」に初期設定する(ステッ
プS58B4)。その後、1個目のキャラクタ及び金額
の印字及び表示を行う(ステップS58B5)。この
時、金額は、該当テーブルの1個目の金額である。
On the other hand, if it is determined that the number m is smaller than the maximum value, then the work memory 12
The counter n provided in E is initialized to "1" (step S58B4). Thereafter, printing and display of the first character and the amount are performed (step S58B5). At this time, the amount is the first amount in the corresponding table.

【0043】その後、カウンタnの値が「1」であるか
否かを判別し(ステップS58B6)、そうであればス
テップS58B8に進む。これに対して、カウンタnの
値が「1」でない場合には、さらに、割引印字及び表示
を行う(ステップS58B7)。この時、割引金額は、
該当テーブルの個数nの金額から該当テーブルの個数n
−1の金額を減算した値を、該当テーブルの1個目の金
額から減算した値である。
Thereafter, it is determined whether or not the value of the counter n is "1" (step S58B6), and if so, the flow proceeds to step S58B8. On the other hand, if the value of the counter n is not “1”, further discount printing and display are performed (step S58B7). At this time, the discount amount is
From the price of the number n of the corresponding table to the number n of the corresponding table
This is a value obtained by subtracting the value obtained by subtracting the amount of −1 from the first amount of money in the corresponding table.

【0044】そしてその後、上記カウンタnを「+1」
し(ステップS58B8)、その結果が上記個数mを越
えたか否かを判別する(ステップS58B9)。まだ越
えていなければ上記ステップS58B5に戻り、越えて
しまった場合には上位のルーチンに戻る。
Thereafter, the counter n is set to "+1".
Then, it is determined whether or not the result exceeds the number m (step S58B9). If not, the process returns to step S58B5, and if it has, the process returns to the upper routine.

【0045】このように動作することにより、例えば、
商品AAAについては、単価100円テーブルにより、
n=1のときはそのまま単価「¥100」が、また、n
=2のときは、単価「¥100」と、100円−(18
0円−100円)=「¥20」の割引金額とが、そし
て、n=3のときは、単価「¥100」と、100円−
(250円−180円)=「¥30」の割引金額とが、
それぞれ印字及び表示されることになり、結果として、
図2の(D)にで示すような印字が行われる。
By operating as described above, for example,
For product AAA, the unit price is 100 yen,
When n = 1, the unit price is “$ 100”, and n
= 2, unit price “$ 100” and 100 yen− (18
0 yen-100 yen) = the discount amount of “$ 20”, and when n = 3, the unit price “$ 100” and 100 yen−
(250 yen-180 yen) = The discount amount of "$ 30"
Will be printed and displayed respectively, as a result,
Printing as shown in FIG. 2D is performed.

【0046】また、図2の(D)における印字タイプ
の印字を行う場合は、図7に示すようになる。
FIG. 7 shows a case where printing of the printing type shown in FIG. 2D is performed.

【0047】即ち、まず、一時記憶メモリ12Cの該当
テーブルの今回登録個数を検索し、その個数mをワーク
メモリ12Eに記憶しておく(ステップS58C1)。
そして、この個数mが段階的な割引を行う個数の最大値
(図1の(C)の例では11個)以上であるかどうかを
判別する(ステップS58C2)。ここで、最大値以上
であった場合には、本実施の形態では50%OFFする
ので、1個の単価にその個数mを乗じた値を1/2した
金額を割引として印字及び表示して(ステップS58C
3)、上位のルーチンに戻る。これにより、例えば=1
1のとき、図5の(B)に示すような印字が行われる。
That is, first, the number registered this time in the corresponding table of the temporary storage memory 12C is searched, and the number m is stored in the work memory 12E (step S58C1).
Then, it is determined whether or not the number m is equal to or more than the maximum value (11 in the example of FIG. 1C) for performing the gradual discount (step S58C2). Here, if the value is equal to or more than the maximum value, 50% OFF is performed in the present embodiment, so that the price obtained by multiplying the value obtained by multiplying one unit price by the number m is printed and displayed as a discount. (Step S58C
3) Return to the upper routine. Thus, for example, = 1
At 1, printing is performed as shown in FIG.

【0048】これに対して、個数mが上記最大値よりも
小さいと判別された場合には、次に、ワークメモリ12
Eに設けたカウンタnを「1」に初期設定する(ステッ
プS58C4)。その後、n個目のキャラクタ及び金額
の印字及び表示を行う(ステップS58C5)。この
時、金額は、該当テーブルの1個目の金額である。
On the other hand, if it is determined that the number m is smaller than the maximum value, then the work memory 12
The counter n provided in E is initialized to "1" (step S58C4). Thereafter, printing and display of the n-th character and the amount are performed (step S58C5). At this time, the amount is the first amount in the corresponding table.

【0049】そしてその後、上記カウンタnを「+1」
し(ステップS58C6)、その結果が上記個数mを越
えたか否かを判別する(ステップS58C7)。ここ
で、まだ個数mを越えていなければ、上記ステップS5
8C5に戻る。
Thereafter, the counter n is incremented by "+1".
Then, it is determined whether or not the result exceeds the number m (step S58C7). Here, if the number m has not been exceeded yet, the above step S5
Return to 8C5.

【0050】そして、カウンタnの値が個数mを越えて
しまった場合には、割引印字及び表示を行って(ステッ
プS58C8)、上位のルーチンに戻ることになる。な
お、上記割引印字及び表示における割引金額は、該当テ
ーブル1個目の金額を個数m倍した値から、該当テーブ
ルのm個目の金額を減算した値である。
If the value of the counter n exceeds the number m, discount printing and display are performed (step S58C8), and the routine returns to the upper routine. Note that the discount amount in the above-described discount printing and display is a value obtained by subtracting the m-th amount of the corresponding table from the value obtained by multiplying the amount of the first table by the number m.

【0051】このように動作することにより、例えば、
商品AAAについては、単価100円テーブルにより、
n=1乃至3のそれぞれで単価「¥100」が印字及び
表示された後、割引金額として100円×3−250円
=「¥50」が印字及び表示されることになり、結果と
して、図2の(D)にで示すような印字が行われる。
By operating in this manner, for example,
For product AAA, the unit price is 100 yen,
After the unit price “$ 100” is printed and displayed for each of n = 1 to 3, 100 yen × 3-250 yen = “$ 50” is printed and displayed as the discount amount. As a result, FIG. Printing as shown in FIG. 2D is performed.

【0052】また、図2の(D)における印字タイプ
の印字を行う場合は、図8の(A)に示すようになる。
When printing of the print type shown in FIG. 2D is performed, the result is as shown in FIG. 8A.

【0053】即ち、まず、一時記憶メモリ12Cの該当
テーブルの今回登録個数を検索し、その個数mをワーク
メモリ12Eに記憶しておく(ステップS58D1)。
そして、この個数mが段階的な割引を行う個数の最大値
(図1の(C)の例では11個)以上であるかどうかを
判別する(ステップS58D2)。ここで、最大値以上
であった場合には、本実施の形態では50%OFFする
ので、1個の単価にその個数mを乗じた値を1/2した
金額を割引として印字及び表示して(ステップS58D
3)、上位のルーチンに戻る。これにより、例えば=1
1のとき、図5の(B)に示すような印字が行われる。
That is, first, the number registered this time in the corresponding table of the temporary storage memory 12C is searched, and the number m is stored in the work memory 12E (step S58D1).
Then, it is determined whether or not the number m is equal to or more than the maximum value (11 in the example of FIG. 1C) for performing the gradual discount (step S58D2). Here, if the value is equal to or more than the maximum value, 50% OFF is performed in the present embodiment, so that the price obtained by multiplying the value obtained by multiplying one unit price by the number m is printed and displayed as a discount. (Step S58D
3) Return to the upper routine. Thus, for example, = 1
At 1, printing is performed as shown in FIG.

【0054】これに対して、個数mが上記最大値よりも
小さいと判別された場合には、乗算形式で個数と金額を
印字及び表示して(ステップS58D4)、上位のルー
チンに戻る。なおここで、上記乗算形式の印字及び表示
においては、個数は上記ワークメモリ12Eに記憶した
mであり、金額は該当テーブルのm個目の金額である。
On the other hand, if it is determined that the number m is smaller than the maximum value, the number and the amount are printed and displayed in a multiplication format (step S58D4), and the process returns to the upper routine. In the multiplication type printing and display, the number is m stored in the work memory 12E, and the amount is the m-th amount in the corresponding table.

【0055】このように動作することにより、例えば、
商品AAAについては、個数としての「3×」と金額と
して「¥250」とが印字及び表示されることになり、
図2の(D)にで示すような印字結果が得られる。
By operating in this manner, for example,
For the product AAA, “3 ×” as the number and “$ 250” as the amount are printed and displayed,
The printing result as shown in FIG. 2D is obtained.

【0056】また、図2の(D)における印字タイプ
の印字を行う場合は、図8の(B)に示すようになる。
When the printing of the printing type shown in FIG. 2D is performed, the printing is performed as shown in FIG. 8B.

【0057】即ち、まず、一時記憶メモリ12Cの該当
テーブルの今回登録個数を検索し、その個数mをワーク
メモリ12Eに記憶しておく(ステップS58E1)。
そして、この個数mが段階的な割引を行う個数の最大値
(図1の(C)の例では11個)以上であるかどうかを
判別する(ステップS58E2)。ここで、最大値以上
であった場合には、本実施の形態では50%OFFする
ので、1個の単価にその個数mを乗じた値を1/2した
金額を割引として印字及び表示して(ステップS58E
3)、上位のルーチンに戻る。これにより、例えば=1
1のとき、図5の(B)に示すような印字が行われる。
That is, first, the number registered this time in the corresponding table of the temporary storage memory 12C is searched, and the number m is stored in the work memory 12E (step S58E1).
Then, it is determined whether or not the number m is equal to or more than the maximum value (11 in the example of FIG. 1C) for performing the gradual discount (step S58E2). Here, if the value is equal to or more than the maximum value, 50% OFF is performed in the present embodiment, so that the price obtained by multiplying the value obtained by multiplying one unit price by the number m is printed and displayed as a discount. (Step S58E
3) Return to the upper routine. Thus, for example, = 1
At 1, printing is performed as shown in FIG.

【0058】これに対して、個数mが上記最大値よりも
小さいと判別された場合には、乗算形式で個数と金額を
印字及び表示し(ステップS58E4)、さらに、割引
金額の印字及び表示を行った後(ステップS58E
5)、上位のルーチンに戻る。なおここで、上記乗算形
式の印字及び表示においては、個数は上記ワークメモリ
12Eに記憶したmであり、金額は該当テーブルの1個
目の金額をm倍した値である。また、上記割引金額は、
該当テーブルの1個目の金額をm倍した値から該当テー
ブルm個目の金額を減じた値である。
On the other hand, if it is determined that the number m is smaller than the maximum value, the number and the amount are printed and displayed in a multiplication format (step S58E4), and the printing and display of the discount amount are performed. After performing (Step S58E
5) Return to the upper routine. Here, in the printing and display in the multiplication format, the number is m stored in the work memory 12E, and the amount is a value obtained by multiplying the first amount in the corresponding table by m. Also, the above discount amount is
This is a value obtained by subtracting the m-th amount of the corresponding table from the value obtained by multiplying the first amount of the corresponding table by m.

【0059】このように動作することにより、例えば、
商品AAAについては、単価「@100」と共に個数
「3×」と金額100円×3=「¥300」とが、ま
た、割引金額として100円×3−250円=「¥5
0」がそれぞれ印字及び表示されることになり、図2の
(D)にで示すような印字結果が得られる。
By operating as described above, for example,
For the product AAA, the unit price “$ 100” and the quantity “3 ×” and the amount of 100 yen × 3 = “$ 300”, and the discount amount of 100 yen × 3-250 yen = “$ 5”
"0" is printed and displayed, respectively, and a printing result as shown by (D) in FIG. 2 is obtained.

【0060】以上のように、本実施の形態においては、
個数に応じた補正金額をテーブルに持つことで、ミック
スマッチでは対応できない段階的な価格体系を作成でき
る。また、テーブルを商品毎ではなく、単価毎に持たせ
ることで、複数の商品を同一単価テーブルにリンクする
ことができるため、テーブル容量を小さくすることがで
きる。これらにより、顧客サービス向上が図れる。
As described above, in the present embodiment,
By providing a table with correction amounts according to the number of pieces, it is possible to create a step-by-step price system that cannot be handled by a mix match. In addition, by providing a table for each unit price, not for each product, a plurality of products can be linked to the same unit price table, so that the table capacity can be reduced. As a result, customer service can be improved.

【0061】また、金額補正フラグにより商品毎に価格
補正対象とする/しないが設定できるようにしているた
め、割引除外品の対応が可能となる。
Further, since it is possible to set whether or not to perform the price correction for each product by the amount correction flag, it is possible to deal with products excluded from discount.

【0062】なお、本発明は、上記実施の形態に限定さ
れるものではなく、種々の変形変更が可能なことは勿論
である。
The present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made.

【0063】例えば、個数に応じて変わる単価は、割り
増しも含む。
For example, a unit price that changes according to the number includes a surcharge.

【0064】また、割引金額は締め時に一括印字される
ものとしたが、登録毎に印字しても良い(印字タイフ゜を
除く)。
Although the discount amount is printed collectively at the time of closing, it may be printed every registration (excluding the print type).

【0065】さらに、商品の分類はPLUの他、部門、
品番であっても良く、また、それらの混在であっても良
い。
Further, the classification of the goods is not only PLU, but also division,
It may be a part number or a mixture of them.

【0066】また、ミックスマッチ的な割引をプラスし
ても良い。例えば、100円の商品AAAを1個(n
1)、120円の商品BBBを1個(n2)の合計2個
(n=n1+n2)の買上があった場合、セット割引テ
ーブル12AのA,Bテーブルより、合計金額はn1個
数金額(100円)+n2個数金額(120円)=22
0円となるが、このとき、安い方のテーブル(この場合
はAテーブル)を基に、n×安い方の1個の金額(2×
100円)−安い方のn個金額を割引金額(180円)
=20円を割引金額とすることができる。この場合は、
図9の(A)に示すような印字結果が得られる。
Further, a discount like a mix match may be added. For example, one commodity AAA for 100 yen (n
1) When one (B2) of the goods BBB of 120 yen is purchased in total (n = n1 + n2), the total amount is n1 pieces amount (100 yen) from the A and B tables of the set discount table 12A. ) + N2 quantity of money (120 yen) = 22
At this time, based on the cheaper table (A table in this case), nx one cheaper amount (2 ×
100 yen)-Discount price of the cheaper n items (180 yen)
= 20 yen can be the discount amount. in this case,
A printing result as shown in FIG. 9A is obtained.

【0067】また、セット割引テーブル12Aに記憶す
るのは、図9の(B)に示すように、個数に応じた割引
率であっても良い。即ち、例えば単価100円の商品を
3個買上げた場合は、100円×3個×0.83=24
9円となる。
Also, what is stored in the set discount table 12A may be a discount rate according to the number as shown in FIG. 9B. That is, for example, if three products with a unit price of 100 yen are purchased, 100 yen × 3 pieces × 0.83 = 24
It will be 9 yen.

【0068】また、PLUファイル12Bに点数割引の
指定がPLU別にプリセットされていたならば、何れか
一方(安い又は高い方)を選択自在としても良い(プリ
セット、キー指定、等々)。例えば、図9の(C)に示
すように、PLUファイル12Bにプリセットされてい
た場合、セット割引テーブル12Aは無視して260円
にする。
If designation of point discount is preset for each PLU in the PLU file 12B, either one (lower or higher) may be freely selectable (preset, key designation, etc.). For example, as shown in (C) of FIG. 9, when the preset discount is set in the PLU file 12B, the set discount table 12A is ignored and the price is set to 260 yen.

【0069】また、所定割引となる個数は、セット割引
テーブル12A(単価100円テーブル、単価120円
テーブル、…)の単価毎に異なっても良い。例えば、単
価100円テーブルは10個以上を50%OFF、単価
500円テーブルは5個以上を50%OFFというよう
にすることができる。また、割引率も変えても良い(例
えば、単価100円テーブルは前例と同じで、単価50
0円テーブルは5個以上30%OFFにする等)。
The number of the predetermined discount may be different for each unit price of the set discount table 12A (unit price 100 yen table, unit price 120 yen table,...). For example, in a unit price 100 yen table, 10 or more units can be set to 50% OFF, and in a unit price 500 yen table, five or more units can be set to 50% OFF. Also, the discount rate may be changed (for example, the unit price 100 yen table is the same as the previous example, and the unit price 50 yen).
For example, turn off 5 or more 0 yen tables by 30%).

【0070】また、セット割引テーブル12Aの割引率
は、個数単位に変えるのではなく、図9の(D)に示す
ように、個数範囲で変えるようにしても良い。
The discount rate of the set discount table 12A may be changed in the number range as shown in FIG.

【0071】[0071]

【発明の効果】本発明によれば、単価別に、その単価を
個数に応じて変えるための単価テーブルであるセット割
引テーブルを持ち、登録された単価と個数に応じて売上
データを求めるようにしているので、ミックスマッチで
は対応できない段階的な価格体系を作成できるようにな
る。
According to the present invention, a set discount table, which is a unit price table for changing the unit price according to the number of units, is obtained for each unit price, and sales data is obtained according to the registered unit price and the number of units. So that you can create a step-by-step pricing structure that mixmatch cannot handle.

【0072】従って、顧客サービス向上を図ることがで
きる。
Therefore, customer service can be improved.

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

【図1】(A)は本発明の売上データ処理装置の一実施
の形態としての電子式キャッシュレジスタの構成を示す
図、(B)はRAMの主要構成を示した図であり、
(C)はRAMに設けられたセット割引テーブルの構成
を示す図である。
FIG. 1A is a diagram showing a configuration of an electronic cash register as one embodiment of a sales data processing device of the present invention, and FIG. 1B is a diagram showing a main configuration of a RAM;
(C) is a diagram showing a configuration of a set discount table provided in the RAM.

【図2】(A)乃至(C)はそれぞれRAMに設けられ
たPLUファイル、一時記憶メモリ、及び印字タイプ設
定メモリの構成を示す図であり、(D)は5種類の印字
タイプを示す図である。
FIGS. 2A to 2C are diagrams each showing a configuration of a PLU file, a temporary storage memory, and a print type setting memory provided in a RAM, and FIG. 2D is a diagram showing five types of print types; It is.

【図3】登録モードにおける動作を説明するためのフロ
ーチャートである。
FIG. 3 is a flowchart illustrating an operation in a registration mode.

【図4】図3中の締め処理のフローチャートである。FIG. 4 is a flowchart of a closing process in FIG. 3;

【図5】(A)は図4中の印字タイプに応じた出力処理
を説明するための印字タイプの場合のフローチャート
を示しており、(B)は買上げ個数が所定の割引個数以
上の場合の印字例を示す図である。
FIG. 5A is a flowchart for explaining a print type according to the print type in FIG. 4, and FIG. 5B is a flowchart for a case where the purchased number is equal to or more than a predetermined discount number. FIG. 6 is a diagram illustrating a printing example.

【図6】図4中の印字タイプに応じた出力処理を説明す
るための印字タイプの場合のフローチャートを示す図
である。
FIG. 6 is a diagram illustrating a flowchart for a print type for explaining an output process corresponding to the print type in FIG. 4;

【図7】図4中の印字タイプに応じた出力処理を説明す
るための印字タイプの場合のフローチャートを示す図
である。
7 is a diagram illustrating a flowchart for a print type for explaining an output process corresponding to the print type in FIG. 4;

【図8】(A)及び(B)はそれぞれ図4中の印字タイ
プに応じた出力処理を説明するための印字タイプ及び
の場合のフローチャートを示す図である。
FIGS. 8A and 8B are flowcharts for explaining an output process corresponding to the print type in FIG. 4 for a print type and a print type, respectively.

【図9】(A)は変形例を説明するための印字例を示す
図、(B)は別の変形例を説明するためのセット割引テ
ーブルの構成を示す図、(C)はさらに別の変形例を説
明するためのPLUファイルの構成を示す図であり、
(D)は他の変形例を説明するためのセット割引テーブ
ルの構成を示す図である。
9A is a diagram illustrating a print example for describing a modification, FIG. 9B is a diagram illustrating a configuration of a set discount table for describing another modification, and FIG. FIG. 9 is a diagram showing a configuration of a PLU file for describing a modification;
(D) is a figure which shows the structure of the set discount table for demonstrating another modification.

【符号の説明】[Explanation of symbols]

10 CPU 12 RAM 12A セット割引テーブル 12B PLUファイル 12C 一時記憶メモリ 12D 印字タイプ設定メモリ 12E ワークメモリ 12F 小計メモリ 14 記憶装置 16 記憶媒体 18 通信回線 20 入力装置 22 表示装置 24 印刷装置 26 ドロア Reference Signs List 10 CPU 12 RAM 12A Set discount table 12B PLU file 12C Temporary storage memory 12D Print type setting memory 12E Work memory 12F Subtotal memory 14 Storage device 16 Storage medium 18 Communication line 20 Input device 22 Display device 24 Printing device 26 Drawer 26

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 単価別に、その単価を個数に応じて変え
るための個数毎の単価変更データを予め設定したテーブ
ルと、 登録された単価と個数に応じて、上記テーブルから単価
変更データを読み出す読み出し手段と、 この読み出し手段によって読み出された単価変更データ
に基づいて売上データを求め、この求めた売上データを
出力する売上データ算出出力手段と、 を具備することを特徴とする売上データ処理装置。
1. A table in which unit price change data for each unit for changing the unit price according to the unit number is read out, and unit price change data is read out from the table according to the registered unit price and number. Means for obtaining sales data based on the unit price change data read by the reading means, and outputting the obtained sales data.
【請求項2】 上記単価変更データは、変更された単価
であることを特徴とする請求項1に記載の売上データ処
理装置。
2. The sales data processing apparatus according to claim 1, wherein the unit price change data is a changed unit price.
【請求項3】 商品の分類に対応して、売上データと、
個数に応じて変えるための単価変更データをプリセット
した対象であるか否かを示すフラグと、を記憶する記憶
手段を更に具備し、 上記読み出し手段は、上記記憶手段に記憶されたフラグ
により当該商品が上記対象であるかどうかを判別し、上
記対象である場合に、上記テーブルから上記単価変更デ
ータを読み出すことを特徴とする請求項1に記載の売上
データ処理装置。
3. The sales data and the sales data,
And a flag indicating whether or not the unit price change data to be changed according to the number is preset. 2. The sales data processing apparatus according to claim 1, wherein it is determined whether or not is the target, and when the target is the target, the unit price change data is read from the table.
【請求項4】 上記売上データ算出出力手段は、プリセ
ットされた個数に応じて変わる単価変更データに基づい
て割引金額を求めることを特徴とする請求項1に記載の
売上データ処理装置。
4. The sales data processing device according to claim 1, wherein said sales data calculation output means obtains a discount amount based on unit price change data that changes according to a preset number.
【請求項5】 上記売上データ算出出力手段は、 割引金額を算出する割引金額算出手段と、 所定の指定により、割引金額の合計を印字出力するか、
もしくは、商品登録毎に割引金額を印字出力する印字出
力手段と、 を含むことを特徴とする請求項3に記載の売上データ処
理装置。
5. The sales data calculation and output means includes: a discount amount calculation means for calculating a discount amount;
4. The sales data processing device according to claim 3, further comprising: a print output unit that prints out a discount amount for each product registration.
【請求項6】 上記読み出し手段は、登録された単価に
基づき、プリセットされた個数毎の単価変更データを読
み出し、 上記売上データ算出出力手段は、その読み出された単価
変更データ毎に応じた単価を出力することを特徴とする
請求項3に記載の売上データ処理装置。
6. The reading means reads out unit price change data for each preset number based on the registered unit price, and the sales data calculation output means reads the unit price according to the read unit price change data. 4. The sales data processing device according to claim 3, wherein
【請求項7】 上記読み出し手段は、登録された個数が
所定個数までであれば、その個数に応じた単価変更デー
タを読み出し、 上記売上データ算出出力手段は、その読み出された単価
変更データに基づく単価で売上データを求め、その求め
た売上データを出力することを特徴とする請求項1に記
載の売上データ処理装置。
7. If the registered number is up to a predetermined number, the reading means reads out unit price change data corresponding to the number, and the sales data calculation output means outputs the unit price change data to the read unit price change data. 2. The sales data processing apparatus according to claim 1, wherein sales data is obtained at a unit price based on the sales data, and the obtained sales data is output.
【請求項8】 コンピュータに対して、 単価別に、その単価を個数に応じて変えるための個数毎
の単価変更データを予め設定したテーブルから、登録さ
れた単価と個数に応じて、単価変更データを読み出す機
能と、 この読み出し手段によって読み出された単価変更データ
に基づいて売上データを求め、この求めた売上データを
出力する機能と、 を実現させるためのプログラムを記憶した、コンピュー
タが読み取り可能な記録媒体。
8. A computer according to a registered unit price and the number of unit price change data from a table in which unit price change data for each unit for changing the unit price according to the unit number for each unit price is sent to the computer. A computer-readable record storing a program for realizing: a reading function; a function of obtaining sales data based on the unit price change data read by the reading means; and outputting the obtained sales data. Medium.
JP18179899A 1999-06-28 1999-06-28 Sales data processing apparatus and recording medium Expired - Fee Related JP3845737B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18179899A JP3845737B2 (en) 1999-06-28 1999-06-28 Sales data processing apparatus and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18179899A JP3845737B2 (en) 1999-06-28 1999-06-28 Sales data processing apparatus and recording medium

Publications (2)

Publication Number Publication Date
JP2001014551A true JP2001014551A (en) 2001-01-19
JP3845737B2 JP3845737B2 (en) 2006-11-15

Family

ID=16107053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18179899A Expired - Fee Related JP3845737B2 (en) 1999-06-28 1999-06-28 Sales data processing apparatus and recording medium

Country Status (1)

Country Link
JP (1) JP3845737B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016032030A1 (en) * 2014-08-29 2016-03-03 주식회사 프리캣 System and method for using discount rate raffle coupon
JP2021089762A (en) * 2021-02-12 2021-06-10 東芝テック株式会社 Information processor, system and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016032030A1 (en) * 2014-08-29 2016-03-03 주식회사 프리캣 System and method for using discount rate raffle coupon
JP2021089762A (en) * 2021-02-12 2021-06-10 東芝テック株式会社 Information processor, system and program

Also Published As

Publication number Publication date
JP3845737B2 (en) 2006-11-15

Similar Documents

Publication Publication Date Title
JP6767323B2 (en) Sales data processing equipment and programs
JP5361844B2 (en) Sales data processing apparatus and program
JP2001014551A (en) Sales data processor and recording medium
JPH03152693A (en) Sales data processor provided with discount processing mechanism
JPH09212742A (en) Transaction processor
JP2533185B2 (en) Product sales data processing device
JP5216742B2 (en) Product sales data processing apparatus, control program thereof, and product sales system
JP6805309B2 (en) Sales data processing equipment, sales data processing methods and programs
JP7001802B2 (en) Sales data processing equipment, sales data processing methods and programs
JP2002074516A (en) Apparatus for managing past purchase result and its program recording medium
JPH08147562A (en) Merchandise sales registration data processor
JP3065680B2 (en) Product sales data processing device
JP2002046315A (en) Image forming apparatus
JP2022019865A (en) Commodity sales data processing apparatus and program
KR0184569B1 (en) Ticket sale function method of cash register
JP2020113346A (en) Sales data processing device, selection key display method and program
JP2586356B2 (en) Sales data processing device
JPH02291070A (en) Credit transaction data management system
JPH0997386A (en) Sales registration device
JP2000020831A (en) Message outputting device and program recording medium
JPH0264897A (en) Commodity sale data processing device
JPH1125360A (en) Electronic cash register
JPS59197958A (en) Electronic cash register
JPH02204897A (en) Sales data processor
JPH07192172A (en) Commodity sales registration data processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060125

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060731

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100901

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110901

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120901

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130901

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees