JPS63278194A - Trade processor - Google Patents

Trade processor

Info

Publication number
JPS63278194A
JPS63278194A JP11328787A JP11328787A JPS63278194A JP S63278194 A JPS63278194 A JP S63278194A JP 11328787 A JP11328787 A JP 11328787A JP 11328787 A JP11328787 A JP 11328787A JP S63278194 A JPS63278194 A JP S63278194A
Authority
JP
Japan
Prior art keywords
rank
unit price
data
key
code
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
JP11328787A
Other languages
Japanese (ja)
Other versions
JPH071513B2 (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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP62113287A priority Critical patent/JPH071513B2/en
Publication of JPS63278194A publication Critical patent/JPS63278194A/en
Publication of JPH071513B2 publication Critical patent/JPH071513B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は取引処理装置に関し、特に、商品について予
め定めるランク別に予め定める単価データを記憶したフ
ァイルを右し、そのランクを指定することにより、その
ランクのデータを当該ファイルから読出して登録するこ
とのできるような取引処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to a transaction processing device, and in particular, by storing a file storing predetermined unit price data for each predetermined rank of a product, and specifying the rank, The present invention relates to a transaction processing device that can read and register rank data from the file.

[従来の技術] 店舗で商品をまとめて販売するどきには、単品ごとに販
売するときとは異なる単価で販売することがある。また
、会員客については非会員客どは異なる単価で販売する
ことがある。このように、同じ商品でも異なる単価で販
売することのできるような取引処理装置が従来から知ら
れている。このような取引処理装置では、商品ごとにラ
ンク別に予め定める単価データを記憶したファイルが設
けられていて、商品コードが入力され、かつランクが指
定されることにより、特定γ−夕をファイルから読出し
て登録するようにしている。
[Prior Art] When products are sold in bulk at a store, they may be sold at a different unit price than when sold individually. Additionally, products may be sold at different unit prices for member customers and non-member customers. As described above, transaction processing devices that can sell the same product at different unit prices have been known for some time. In such a transaction processing device, a file is provided that stores unit price data predetermined by rank for each product, and by inputting a product code and specifying a rank, a specific γ-value can be read from the file. I am trying to register it.

1光明が解決しようとする問題点1 しかしなから、上述のごとくランク別の単価データを有
する商品を多数0録する場合には、σ録の都度ランクを
指定しなければならないので、登録処理の効率が低いと
いう問題点や入力ミスの生じるおそれが大きいという問
題点があった。
1 Problem that Komei tries to solve 1 However, as mentioned above, when registering a large number of products that have unit price data by rank, it is necessary to specify the rank for each σ record, so the registration process is difficult. There are problems with low efficiency and a high possibility of input errors.

それゆえに、この発明の主たる目的は、登録などの取引
処理に際して、ランクを1度指定してお【ノば、その取
引処理の間はランクを指定しなくてもそのランクの単価
データを自動的に読出すような取引処理装置を提供する
ことである。
Therefore, the main purpose of this invention is to specify a rank once during transaction processing such as registration; It is an object of the present invention to provide a transaction processing device that reads data on a transaction basis.

[問題点を解決するための手段] この発明の取引処理装置は、商品識別コードごとに予め
定めるランク別に予め定める単価データを記憶した記憶
手段と、該記憶手段におけるいずれかのランクをオペレ
ータが指示するだめの指示手段と、商品識別]−ドを入
力するための入力手段と、該入力手段によ−)で記憶手
段におけるいずれかのランクが指示されたことに応じて
、入り手段力日ら商品識別コードが入力されるごとに、
当該商品識別コードに対応する単価データを記憶手段の
当該ランクに対応する記憶領域から読出すように制tl
llする制御手段とを備えて構成される。
[Means for Solving the Problems] The transaction processing device of the present invention includes a storage means that stores predetermined unit price data for each predetermined rank for each product identification code, and an operator who specifies any rank in the storage means. an input means for inputting a product identification code; and an input means for inputting a product identification code; Each time a product identification code is entered,
The unit price data corresponding to the product identification code is read out from the storage area corresponding to the rank of the storage means.
ll control means.

[作用] この発明に係る取引装置は、いずれかのランクが指示さ
れた侵に、入力手段から商品識別コードが入力されるご
とに、当該商品識別コードに対応する単価データを記憶
手段の当該ランクに対応する記憶領域から読出すように
している。
[Operation] The transaction device according to the present invention stores the unit price data corresponding to the product identification code in the storage means for each rank designated by the product identification code from the input means. The data is read from the storage area corresponding to the data.

[実施例1 第2図はこの発明の一実施例の取引処理装置としての電
子式キVツシコレジスタ(ECR)の電気的構成を示す
概略ブロック図であり、第3図は第2図に示すPLtJ
フ1イルの構成を示す図解図であり、第4図は第2図に
示ずキーボードの4−一装置を示す図であり、第5図は
第2図に示すメモリの記憶エリアを示す図解図である。
Embodiment 1 FIG. 2 is a schematic block diagram showing the electrical configuration of an electronic cash register (ECR) as a transaction processing device according to an embodiment of the present invention, and FIG.
FIG. 4 is an illustration showing a 4-1 device of the keyboard not shown in FIG. 2; FIG. 5 is an illustration showing the storage area of the memory shown in FIG. 2; It is a diagram.

次に、第2図ないし第5図を参照して、この発明の一実
施例の構成について説明する。
Next, the configuration of an embodiment of the present invention will be described with reference to FIGS. 2 to 5.

第2図において、FCRlにはCPU2が設()られる
。CPU2には、PLUファイル3.キーボード4.メ
モリ59表示器6およびプリンタ7が接続される。第3
図に示すように、P 1.、、 Uファイル30には、
PLUコード記憶エリア31とPl−4Uタイプフラグ
記憶エリア32とランク1記憶]ニリフ733どランク
2 F、2憶エリア3/lとランク3記憶エリア35と
が設けられる。上述の各エリアには、商品ごとにデータ
が記憶される。
In FIG. 2, a CPU 2 is installed in FCRl. CPU2 has PLU file 3. Keyboard 4. A memory 59, a display 6 and a printer 7 are connected. Third
As shown in the figure, P1. ,, U file 30 has
A PLU code storage area 31, a Pl-4U type flag storage area 32, and a rank 1 storage area] are provided. Data is stored in each of the above areas for each product.

P l−Uコード記憶−[リア31は商品の商品コード
(PLUコード)を記憶するエリアである。PtUタイ
プフラグ記憶エリア32はランク別の単価データを有す
る商品であるのが、または、単一の単価データを有する
商品であるのかを示すP l−Uタイプフラグを記憶す
るエリアである。たとえば、PLUタイプフラグが1で
あれば、ランク別の単価データを有する商品であること
を示し、0であれば、単一の単価データを有する商品で
あることを示す。ランク別の単価データを有づる商品で
は、それらの単価データはそれぞれランク1記憶エリア
33.ランク2記憶エリア34おにびランク3記憶エリ
ア35に記憶される。
P l-U code storage - [The rear 31 is an area for storing the product code (PLU code) of the product. The PtU type flag storage area 32 is an area for storing a PtU type flag indicating whether a product has rank-based unit price data or a product with single unit price data. For example, if the PLU type flag is 1, it indicates that the product has rank-based unit price data, and if it is 0, it indicates that the product has single unit price data. For products that have unit price data for each rank, those unit price data are stored in the rank 1 storage area 33. It is stored in the rank 2 storage area 34 and the rank 3 storage area 35.

第3図に示すptuファイルでは、ランク1記憶エリア
33には単品で販売されるときの単価デ一タが記憶され
、ランク2記憶エリア34にはランク1よりも低額の価
格データが記憶され、ランク3記憶エリア35には、ラ
ンク2よりもさらに低額の価格データが記憶されている
。ランク2記憶エリア34に記憶された価格データはた
とえばその店の会員である顧客に対して販売を行なうと
きに用いられ、ランク3記憶]−リア35に記憶された
価格データはたとえば大量の商品をまどめ買いする揚台
に適用される。ランク2またはランク3の価格データは
ランク1のそれぞれの商品の価格データに対して同一の
割引率を適用して算出したものでもよいが、商品ごとに
任意の割引率を適用して算出したものでもよい。単一の
単価データを有り−る商品については、その単価データ
はランク1記憶エリア33に記憶され、ランク2記憶エ
リア34およびランク3記憶エリア35にはそれぞれO
が記憶される。
In the ptu file shown in FIG. 3, the rank 1 storage area 33 stores unit price data when sold individually, the rank 2 storage area 34 stores price data lower than rank 1, The rank 3 storage area 35 stores price data that is even lower than that of rank 2. The price data stored in the rank 2 storage area 34 is used, for example, when selling to customers who are members of the store, and the price data stored in the rank 3 storage area 35 is used, for example, when selling a large number of products. Applies to the stage where Madome buys. Price data for rank 2 or rank 3 may be calculated by applying the same discount rate to the price data of each product in rank 1, but it may be calculated by applying an arbitrary discount rate to each product. But that's fine. For products that have single unit price data, that unit price data is stored in the rank 1 storage area 33, and the rank 2 storage area 34 and rank 3 storage area 35 are stored in the rank 1 storage area 33, respectively.
is memorized.

キーボード4には、第4図に示すように、テンキー7′
11とランクキー42と支払いキー43どPIUキー4
4とが設cノられる。テンキー41は取引処理をすると
きに、P L Uコードなどを入力するためのものであ
る。ランクキー42は第3図に示ずランク1記憶エリア
33ないしランク3記憶エリア35に対応するいずれか
のランクをオペレータが指示するためのものであり、ラ
ンク1を指示するためのM1キー45とランク2を指示
するためのM2キー46とランク3を指示するためのM
3キー47とを含む。支払いキー43は支払い処理を指
示するだめのものである。P L Uキー44はテンキ
ー41から入力されたデータが1つLUコードであるこ
とを指示するだめのものであり、テンキー41のキー人
力に続けて操作される。
The keyboard 4 has a numeric keypad 7' as shown in FIG.
11, rank key 42, payment key 43, PIU key 4
4 is established. The numeric keypad 41 is used to input a PLU code and the like when processing a transaction. The rank key 42 is not shown in FIG. 3 and is used by the operator to specify one of the ranks corresponding to the rank 1 storage area 33 to the rank 3 storage area 35. M2 key 46 for specifying rank 2 and M for specifying rank 3
3 keys 47. The payment key 43 is used to instruct payment processing. The PLU key 44 is used to indicate that one piece of data input from the numeric keypad 41 is an LU code, and is operated following the keystrokes of the numeric keypad 41 manually.

メモリ5には、後で説明でる第1図に示す−ようなフロ
ー図に基づ<CPU2の動作プログラムを記憶したエリ
アのほか、第5図に示すような記憶エリアを含む。第5
図において、記憶エリア50には、回数データバッファ
51とPLUタイプフラグLリア52とランク1単価バ
ッファ53とランク2単価バッファ54とランク3単価
バッファ55と取引全体用単価ランクエリア5Gと単品
用単価ランクエリア57ど単価ランクバッファ58と単
価バッファ59と登録有無フラグエリア6゜と売上げデ
ータ累計エリア61どが設けられる。
The memory 5 includes a storage area as shown in FIG. 5 in addition to an area storing an operating program for the CPU 2 based on a flowchart shown in FIG. 1 which will be explained later. Fifth
In the figure, the storage area 50 includes a number data buffer 51, a PLU type flag L rear 52, a rank 1 unit price buffer 53, a rank 2 unit price buffer 54, a rank 3 unit price buffer 55, a unit price rank area 5G for the entire transaction, and a unit price for a single item. A rank area 57, a unit price rank buffer 58, a unit price buffer 59, a registration flag area 6°, a sales data cumulative area 61, etc. are provided.

置数データバッファ51はテンキー41から入力された
データを記憶するためのエリアである。
The numeric data buffer 51 is an area for storing data input from the numeric keypad 41.

PLUタイプフラグエリア52には、PLUファイル3
0のPLUタイプフラグ記憶エリア32から続出された
PLUタイプフラグが記憶される。
The PLU type flag area 52 contains the PLU file 3.
The PLU type flags successively retrieved from the PLU type flag storage area 32 of 0 are stored.

ランク1単価バッファ53にはPLUファイル30のラ
ンク1記憶エリア33から読出された単価データが記憶
され、ランク2単価バッノア54には、P L Uファ
イル3oのランク2記憶エリア34から読出された単価
データが記憶され、ランク3単価バッファ55には、P
LUファイル30のランク3記憶エリア35から読出さ
れた単価データが記憶される。
The rank 1 unit price buffer 53 stores the unit price data read from the rank 1 storage area 33 of the PLU file 30, and the rank 2 unit price buffer 54 stores the unit price data read from the rank 2 storage area 34 of the PLU file 3o. The data is stored in the rank 3 unit price buffer 55.
The unit price data read from the rank 3 storage area 35 of the LU file 30 is stored.

取引全体用単価ランクエリア56には、1つの取引が開
始されてから終了するまでの間通用されるランクを示ず
符号が記憶される。単品用単価ランクエリア57には、
単品ごとに指定されたうツクを示す符号力臀己憶される
。単価ランクバッファ58には、CPU2によって今登
録処理されている商品についてのランクを示す旬号が記
憶される。
The entire transaction unit price rank area 56 stores a code indicating the rank that is used from the start to the end of one transaction. In the unit price rank area 57 for single item,
A code indicating the number of items specified for each item is memorized. The unit price rank buffer 58 stores a current issue indicating the rank of the product currently being registered by the CPU 2.

単価バッファ5つには、単価ランクバッフ158に記憶
しているランクを示す符号に基づいて、ランク1単価バ
ツノア53.ランク2単価バッファ54またはランク3
単価バッファ55から読出されたいずれかの単価データ
が記憶される。登録有無フラグエリア60には、登録処
理が行なわれたか否かを示す登録有無フラグが記憶され
る。この登録有無フラグはたとえば取引処理において、
1つの商品について登録が行なわれたとぎ、またはラン
クキー42のいずれかのキーが操作されたとき、1にセ
ットされ、支払い処理が行なわれたとき、0にリセット
−される。売上げデータ累計エリア61には、登録ごと
に単価バッファ5つに格納された金額データの累計額が
記憶される。
In the five unit price buffers, rank 1 unit price Batsuno 53. Rank 2 unit price buffer 54 or Rank 3
Any unit price data read from the unit price buffer 55 is stored. The registration presence/absence flag area 60 stores a registration presence/absence flag indicating whether or not registration processing has been performed. This registration flag is used, for example, in transaction processing.
It is set to 1 when one product is registered or when any of the rank keys 42 is operated, and is reset to 0 when payment processing is performed. The cumulative sales data area 61 stores the cumulative amount of the amount data stored in the five unit price buffers for each registration.

第6A図および第6B図はこの発明の一実施例のキー操
作を示す図であり、特に、第6Δ図はすべての商品が複
数の単価データを有する場合つまリラツク別の単価デー
タを右でる場合におりるキー操作を示し、第6B図は単
一の単価データを右する商品を含む場合にお(プるキー
操作を示す。次に、第6Δ図および第6B図を参照して
、キー操作の具体例について説明する。
FIGS. 6A and 6B are diagrams showing key operations in an embodiment of the present invention. In particular, FIG. 6Δ shows a case where all products have multiple unit price data, that is, a case where unit price data for each item is displayed. Figure 6B shows the key operation for pressing down when a product with single unit price data is included.Next, referring to Figure 6Δ and Figure 6B, A specific example of the operation will be explained.

第6A図(a )は登録するすべての商品をランク2の
単価で登録する場合を示づ−8この場合には、前回の取
引終了後、ランク2を指定するために、ランク2に対応
するM2キー46を操作し、続いて、テンキー711を
操作してPLUコードを入力し、続いて、P L Uキ
ー44を操作づる。そして、すべての商品についてPL
Uコードを入力した後、支払いキー43を操作して支払
い処理を行なう。
Figure 6A (a) shows the case where all the products to be registered are registered at the unit price of rank 2. The user operates the M2 key 46, then operates the numeric keypad 711 to input the PLU code, and then operates the PLU key 44. And PL for all products
After inputting the U code, the user operates the payment key 43 to perform payment processing.

この場合には、P L Uコードが101′″、゛20
1 ”および’301”であるそれぞれの商品はランク
2の単価データで登録される。
In this case, the PLU code is 101''', 20
1” and “301” are registered with rank 2 unit price data.

第6A図(1〕)は登録する商品の中に取引の初めに指
定したランク以外のランクで登録する商品が含まれる場
合を示づ−8この場合には、前回の取引終了後、まず、
ランク1を指定するために、ラツク1に対応するM1キ
ー45を操作する。次の商品のみをランク2の単価デー
タを用いて登録する揚台には、ランク2を指定するため
に、ランク2に対応するM2キー46を操作する。続い
て、テンキー41を操作してPLUコードたとえば” 
101°′を入力し、続いて、P l−Uキー44を操
作する。P L Uコード“101 ”の商品はランク
2の単価データで登録される。PLUコード“’ 10
1 ”の登録終了に応じて、ランク2は解除され、初期
設定されたランク1に自動的に復帰する。したがって、
次に入力されたP L Uコードたとえば“201°′
の商品については、ランク1の単価データが読出されて
登録される。続いて、次の商品のみをランク3の単価デ
ータを用いて登録する場合には、ランク3を指定するた
めに、ランク3に対応するM3キー47を操作づ−る。
Figure 6A (1) shows a case where the products to be registered include products to be registered with a rank other than the rank specified at the beginning of the transaction.
To specify rank 1, the M1 key 45 corresponding to rack 1 is operated. On the platform where only the next product is registered using rank 2 unit price data, the M2 key 46 corresponding to rank 2 is operated to specify rank 2. Next, operate the numeric keypad 41 to enter the PLU code, for example "
101°' and then operate the P l-U key 44. The product with the PLU code "101" is registered with rank 2 unit price data. PLU code "' 10
1”, rank 2 will be canceled and automatically return to the initially set rank 1. Therefore,
The next input PLU code, for example "201°'
Regarding the product, the unit price data of rank 1 is read and registered. Subsequently, if only the next product is to be registered using the unit price data of rank 3, the user operates the M3 key 47 corresponding to rank 3 in order to specify rank 3.

続いて、PIUコードたとえば’301”を入力し、P
 l−Uキー/1.4を操伯づる。P l−Uコード′
301°′の商品については、ランク3の単価データが
読出されて登録される。上述と同様にして、P 1.、
、 U ]−ド’301”の登録終了に応じて、ランク
3は解除され、初期設定されたランク1に自動的に復帰
する。したがって、次に入力されたPLUコードたとえ
ば″401 ”の商品については、ランク1の単価デー
タが読出されて登録される。克払いキー43が操作され
たことに応じて、支払い処理を行なう。このように、登
録処理の途中でも、ランクを指定するごとに、特定の商
品のみを初期設定したランク以外のランクで登録処理す
ることができるので、柔軟な運用を行なうことができる
Next, enter the PIU code, for example '301', and
Press l-U key/1.4. P l-U code'
For the item 301°', unit price data of rank 3 is read and registered. In the same manner as above, P1. ,
, U]-In response to the completion of registration of the code '301', rank 3 is canceled and automatically returns to the initially set rank 1. Therefore, for the product with the next input PLU code, for example '401', unit price data for rank 1 is read out and registered.Payment processing is performed in response to the operation of the payout key 43.In this way, even during the registration process, each time a rank is specified, Since it is possible to register only specific products with a rank other than the initially set rank, flexible operation can be performed.

第6B図において、PLUコード″’ 501 ”およ
び“601 ”の商品は単一の単価データを有する商品
であり、他の商品はランク別の単価データを有する。第
6B図(a)はランクを初期設定し、ランク別の単価デ
ータを有する商品について登録処理を行なった後、単一
の単価データを有する商品について登録処理を行なう場
合のキー操作を示し、第6B図は〈11)は単一の単価
データを有する商品について先に登録処理をした後、ラ
ンクを指定してランク別の単価データを右する商品につ
いて登録処理を行なうキー操作を示す。?!−なわち、
第6B図(a>では、ランク3を指定するために、ラン
ク3に対応するM3キー47を操作し、次に、各商品に
ついてそれぞれテンキー41を操作してPIUコードを
入)jするとともに、PLUキー44の操作を行なう。
In FIG. 6B, products with PLU codes "501" and "601" have single unit price data, and other products have rank-based unit price data. FIG. 6B(a) shows key operations when initializing ranks and performing registration processing for products having unit price data for each rank, and then performing registration processing for products having single unit price data. In FIG. 6B, <11) shows a key operation for first registering a product having single unit price data, and then specifying a rank and performing a registration process for a product with unit price data for each rank. ? ! -That is,
Fig. 6B (in a>, to specify rank 3, operate the M3 key 47 corresponding to rank 3, then operate the numeric keypad 41 for each product to enter the PIU code). Operate the PLU key 44.

P 1.− Uコードがたとえば′101″および″“
201 ”である商品はランク3の単価データで0録さ
れる。P L Uコードがたとえば“501 ”である
商品はその単一の単価データで登録される。
P1. - If the U code is e.g. '101'' and ``''
A product whose PLU code is "201" is registered as 0 with unit price data of rank 3. A product whose PLU code is, for example, "501" is registered with that single unit price data.

第6B図(a)に示すように、登録の途中において、単
一の単価データを有する商品について登録を行なう場合
には、ランク別の単価データを有する商品について登録
をする場合と同様であるので、両省を区別して操作する
必要がないため、操作が簡単である。
As shown in Figure 6B (a), when registering a product with single unit price data during registration, it is the same as when registering a product with rank-based unit price data. , it is easy to operate because there is no need to distinguish between the two ministries.

また、第6B図(b)では、単一の単価データを有する
商品のP L U−]−ドたとえば’ 501 ”を入
力し、PLtJキー44を操作した後、次に登録する商
品についてのみランク2を指定するために、ランク2に
対応するM2キー46を操作する。
In addition, in FIG. 6B(b), after inputting the PLU-]-code of a product having single unit price data, for example, '501' and operating the PLtJ key 44, the rank is determined only for the next product to be registered. In order to specify rank 2, the M2 key 46 corresponding to rank 2 is operated.

そして、その商品について商品コードの入力およびPI
Uキー7!I4の操作を行なう。これにより、PLUG
]−ドたとえば” 101 ”の商品はランク2の単価
データによって登録処理される。登録処理後ランク2の
指定は解除される。したかっ−C1P L Uコードた
とえば” 601 ”の商品は指定ランクによらず単一
の単価データで登録される。
Then, enter the product code and PI for that product.
U key 7! Perform operation I4. This allows PLUG
]-For example, the product numbered "101" is registered using rank 2 unit price data. After the registration process, the designation of rank 2 is canceled. Shitak-C1PLU For example, a product with the U code "601" is registered with single unit price data regardless of the designated rank.

第1図はこの発明の一実施例の動作を説明するためのフ
ロー図である。次に、第1図ないし第6B図を参照して
、この発明の一実施例について説明する。
FIG. 1 is a flow diagram for explaining the operation of an embodiment of the present invention. Next, an embodiment of the present invention will be described with reference to FIGS. 1 to 6B.

CPU2はステップ81(図示ではSlと略称する)に
J5いて、初期設定を行ない、メモリ5の登録有無フラ
グF、取引全体用単価ランクG1および単品用単価ラン
クG2をクリアする。ステップS2において、キー人力
があった場合には、ステップS3において、テンキー4
1が入力されたか否かを判別し、テンキー41が入力さ
れていなければ、ステップS6において、PLUキー4
4−14= が操作されたか否かを判別し、PLUキー44が操作さ
れていなければ、ステップ823において、ランクキー
42のいずれかのキーが操作されたか否かを判別し、い
ずれのランクキーも操作されていなければ、ステップS
28において、支払いキー43が操作されたか否かを判
別する。
The CPU 2 goes to step 81 (abbreviated as Sl in the figure) J5 to perform initial settings and clear the registration presence/absence flag F in the memory 5, the unit price rank G1 for the entire transaction, and the unit price rank G2 for the single item. In step S2, if there is human power to press the keys, in step S3, the numeric keypad 4
It is determined whether or not 1 has been input, and if the numeric keypad 41 has not been input, in step S6, the PLU key 4 is pressed.
4-14= It is determined whether or not the PLU key 44 has been operated, and if the PLU key 44 has not been operated, in step 823, it is determined whether or not any of the rank keys 42 has been operated, and any rank key is not operated, step S
At 28, it is determined whether the payment key 43 has been operated.

たとえば、第6A図(a>、(b)および第68図(a
>に示すように、取引の最初にランクキー42のいずれ
かのキーが操作された場合には、ステップS23におい
て、M1キー45〜M3キー47のうちのいずれかのキ
ーが操作されたことを判別するので、ステップ824〜
S27の動作に進み、たとえば、第6B図(b)に示す
ように、取引の最初にテンキー41が操作されて、P 
L Uコードが入力された場合には、ステップS3にお
いて、テンキー41が操作されたことを判別し、ステッ
プ84〜ステツプS5の動作に進む。
For example, Figure 6A (a>, (b) and Figure 68 (a)
> As shown in FIG. Since it is determined, step 824~
Proceeding to the operation of S27, for example, as shown in FIG. 6B (b), the numeric keypad 41 is operated at the beginning of the transaction and the
If the LU code has been input, it is determined in step S3 that the numeric keypad 41 has been operated, and the process proceeds to steps 84 to S5.

たとえば、最初にランクキー42のいずれかのキーが操
作された場合には、ステップS24において、登録有無
フラグFが0であるが否かを判別する。Fは当初Oであ
るので、ステップ825に進み、M1キー45〜M3キ
ー47に対応する符号1〜3を取引全体用単価ランク(
G1)エリア56にセットする。たとえば、第6A図(
b)に示すように、M1キー45が操作された場合には
、G1として1がセットされる。続いて、ステップS2
7では、セットされたG1の符号が表示器6に表示され
る。続いて、ステップ822では、登録有無フラグFが
1にセットされる。これは、第6Δ図(b)に示すよう
に、登録の途中でランクキー42のいずれかが操作され
た場合には、取引全体用単価ランクG1を■設定するの
ではなく、単品用単価ランクG2の設定を行なうためで
ある。
For example, when any of the rank keys 42 is operated for the first time, it is determined in step S24 whether the registration flag F is 0 or not. Since F is initially O, the process proceeds to step 825 and assigns the codes 1 to 3 corresponding to the M1 key 45 to M3 key 47 to the unit price rank for the entire transaction (
G1) Set in area 56. For example, in Figure 6A (
As shown in b), when the M1 key 45 is operated, 1 is set as G1. Next, step S2
7, the set G1 code is displayed on the display 6. Subsequently, in step 822, the registration flag F is set to 1. As shown in Fig. 6(b), if any of the rank keys 42 is operated during registration, instead of setting the unit price rank G1 for the entire transaction, the unit price rank for the single item is set. This is for setting G2.

したがって、第6A図(b)に示すように、M1キー4
5の操作に続(プて、M2キー46が操作された場合に
は、ステップS?Iにおいて、CPU22はFがOでな
いことを判別するので、ステップS26に進み、たどえ
ばM2キー46に対応する符号2を単品用単価ランク〈
G2)のエリア57にセットする。
Therefore, as shown in FIG. 6A(b), the M1 key 4
If the M2 key 46 is operated following the operation in step 5, the CPU 22 determines that F is not O in step S?I, so the process proceeds to step S26, and the M2 key 46 is pressed. The corresponding code 2 is the unit price rank for a single item.
Set it in area 57 of G2).

続いて、第6A図(b)に示すように、M2キー46の
操作に続いて、たとえばP L Uコード” 101 
”が入力サレ、続イテ、P L LJ −1= −44
が操作された場合には、ステップs3において、テンキ
ー41が操作されたことを判別し、ステップS4におい
て、入力された数字データたとえば“’ 101 ”を
置数データ〈△)のバッファ51に格納し、続いて、ス
テップs5において、その数字データを表示器6に表示
する。続いて、PLUキー44が操作された場合には、
ステップs6において、PLUキー44が操作されたこ
とを判別し、ステップS7において、同数データバッフ
ァに格納された置数データA@PLUコードとしてPL
Uファイル30をサーチする。そして、ステップS8に
おいて、同一のPLUコードが存在するか否かを判別し
、同一のPLUコードが存在しなければ、ステップ89
において、エラー処理を行なうが、同一のPLU]−ド
が存在する場合には、ステップS10に進む。
Next, as shown in FIG. 6A(b), following the operation of the M2 key 46, for example, the PLU code "101"
” is input, continue, P L LJ −1= −44
If has been operated, it is determined in step s3 that the numeric keypad 41 has been operated, and in step S4, the input numeric data, for example "'101", is stored in the buffer 51 of the numeric data <△). Then, in step s5, the numerical data is displayed on the display 6. Subsequently, when the PLU key 44 is operated,
In step s6, it is determined that the PLU key 44 has been operated, and in step S7, the PL code stored in the same number data buffer is converted into PL code.
Search for U file 30. Then, in step S8, it is determined whether or not the same PLU code exists, and if the same PLU code does not exist, step 89
Error processing is performed in step S10, but if the same PLU code exists, the process advances to step S10.

ステップS10では、見っがったPLUコードに対応す
るPLUタイプフラグおにびランク1゜ランク2ならび
にランク3のそれぞれの単価データを読出し、読出した
PLUタイプフラグをメモリ5のP L Uタイプフラ
グ(B)のエリア52に記憶し、ランク1の単価データ
をランク1単価(C1)のバッファ53に記憶し、ラン
ク2の単価データをランク2単価(C2)のバッファ5
4に記憶し、ランク3の単価データをランク3単価(C
3)のバッファ55に記憶する。
In step S10, the unit price data of the PLU type flag rank 1, rank 2, and rank 3 corresponding to the desired PLU code are read out, and the read PLU type flag is stored in the PLU type flag of the memory 5. (B), the unit price data of rank 1 is stored in the buffer 53 of rank 1 unit price (C1), and the unit price data of rank 2 is stored in the buffer 53 of rank 2 unit price (C2).
4 and store the unit price data of rank 3 as rank 3 unit price (C
3) is stored in the buffer 55.

続いて、ステップS11において、PLUタイプフラグ
(B)が1であるか否かを判別する。PL Uタイプフ
ラグ(B)が1であれば、ランク別の単価データが存在
するので、ステップ813またはステップS16に進む
が、P L Uタイプフラグ(B)がOであれば、単価
データはランク1に1つだけ存在しているので、ステッ
プ812に進み、単価ランク(D)のバッファ58に1
をセットする。
Subsequently, in step S11, it is determined whether the PLU type flag (B) is 1 or not. If the PLU type flag (B) is 1, unit price data for each rank exists, and the process proceeds to step 813 or step S16. However, if the PLU type flag (B) is O, the unit price data is for each rank. Since there is only one item in unit price rank (D), the process proceeds to step 812 and stores one item in the buffer 58 of unit price rank (D).
Set.

第6A図(b)の場合には、PLUコードパ101″が
入力された段階では、単品用単価ランク(G2)はOで
はないので、ステップ813からステップS14に進み
、単品用単価ランク(G2)の符号を単価ランク(D)
のバッファ58に記憶し、続いて、ステップS15にお
いて、単品用単価ランク(G2)を0にリセットする。
In the case of FIG. 6A (b), the unit price rank (G2) for a single item is not O at the stage when the PLU code par 101'' is input, so the process proceeds from step 813 to step S14, and the unit price rank (G2) for a single item is The sign of unit price rank (D)
Then, in step S15, the single item unit price rank (G2) is reset to 0.

これにより、単品用単価ランクは解除されるので、次に
、PLLIコードが入力された場合には、取引全体用単
価ランク(G1)の符号が単価ランク(D)のバッファ
58に記憶される。したがって、第6A図(b)に示す
ように、PLU−11−ド” 101 ”の次にPLU
コード’ 201 ”が入力された場合には、ステップ
86〜スデツプS11を経て、ステップ13およびステ
ップS16に進み、ステップ818において、単価ラン
ク(D>のバッファ58にはM1キー45に対応して、
符号1が記憶される。なお、ステップS16において、
G1が0であることを判別した場合には、ステップS1
7においてエラー処理を行なう。
As a result, the unit price rank for a single item is canceled, so when the PLLI code is input next time, the code of the unit price rank for the entire transaction (G1) is stored in the unit price rank (D) buffer 58. Therefore, as shown in FIG. 6A(b), the PLU
If the code '201' is input, the process goes through steps 86 to S11 to step 13 and step S16, and in step 818, in the buffer 58 of unit price rank (D>, corresponding to the M1 key 45,
The code 1 is stored. Note that in step S16,
If it is determined that G1 is 0, step S1
7, error processing is performed.

ステップ819では、単価ランク(D)の符号1〜3に
それぞれ対応するランク別の単価バッファ53ないし5
5の該当するエリアから単価データを読出し、単価(E
)のバッファ59に格納する。たとえば、単品用単価ラ
ンク(G2)が2′c′ある場合であって、pt−uコ
ード’ 101 ”が入力された場合には、第3図に示
ずランク2に対応する90円の単価データが単価バッフ
ァ5つにセットされる。また、たとえば取引全体用単価
ランク(G1)が1である場合であって、PLU71−
ド” 201 ”が入力された場合には、ランク1に対
応する200円の単価データが単価バッファ59にセッ
トされる。ステップS20では、売−トげデータ累31
エリア61にd3いて、単価データの累計演算を行ない
、ステップS21では、演算結果の表示および印字処理
を行イ1う。
In step 819, the unit price buffers 53 to 5 for each rank corresponding to the codes 1 to 3 of the unit price rank (D), respectively.
Read the unit price data from the area corresponding to 5 and enter the unit price (E
) is stored in the buffer 59 of For example, if the unit price rank (G2) for a single item is 2'c', and the pt-u code '101'' is input, the unit price of 90 yen corresponding to rank 2, which is not shown in Figure 3, will be displayed. Data is set in five unit price buffers.For example, if the unit price rank (G1) for the entire transaction is 1, and the PLU71-
When the code "201" is input, unit price data of 200 yen corresponding to rank 1 is set in the unit price buffer 59. In step S20, the cumulative sell-to-trade data 31
In area d3, unit price data is cumulatively calculated, and in step S21, the calculation results are displayed and printed.

すべての取引データが入力されて、支払いキー43が操
作された場合には、ステップ829において、支払い処
理を行ない、ステップ830にJ3いて、取引全体用単
価ランク(G1)および単品用単価ランク(G2)を0
にリセットし、続いてステップ331において、登録有
無フラグ(F)をOにリセットし、初期状態に戻る。
If all transaction data has been input and the payment key 43 has been operated, payment processing is performed in step 829, and the process proceeds to step 830, where the unit price rank for the entire transaction (G1) and the unit price rank for single item (G2) are processed. ) to 0
Then, in step 331, the registration flag (F) is reset to O to return to the initial state.

[発明の効果] 以上のように、この発明によれば、いずれかのランクが
指示された後に、入力手段から商品識別コードかが入力
されるごとに、当該商品識別コードに対応する単価デー
タを記憶手段の当該ランクに記憶する記憶領域から読出
すようにしたので、従来の取引処理装置のように、商品
識別コードの入力ごとにランクを指定する必要がないた
め、操作が容易になり処理効率が向上するとともに、入
力ミスが減少する。
[Effects of the Invention] As described above, according to the present invention, each time a product identification code is input from the input means after any rank is specified, unit price data corresponding to the product identification code is input. Since reading is performed from the storage area stored in the corresponding rank of the storage means, there is no need to specify the rank each time a product identification code is input, unlike in conventional transaction processing devices, which simplifies operation and improves processing efficiency. improves performance and reduces input errors.

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

第1図はこの発明の一実施例の動作を説明するためのフ
ロー図である。第2図はこの発明の一実施例の取引処理
装置としてのECRの電気的構成を示づ一概略ブロック
図である。第3図は第2図に示すP L LJファイル
の構成を示す図解図である。 第4図は第2図に示ザキーボードのキー配置を示す図で
ある。第5図は第2図に示すメモリの記憶エリアを示す
図解図である。第6A図および第6B図はこの発明の一
実施例の操作を示す図である。 図におイテ、1 はECR,2はcPU、3はPL U
ファイル、4はキーボード、5はメ〔す、6は表示器、
7はプリンタ、3oはPLUファイルの記憶エリア、3
1はPLUコード記憶エリア、32はP L Uタイプ
フラグ記憶エリア、33はランク1記憶エリア、34は
ランク2記憶■リア、35はランク3記憶エリア、41
はテンキー、42はランクキー、43は支払いキー、7
1.4はPLUキー、45はM1キー、46はM2キー
、47LtM3キー、51は置数データバッファ、52
はP L IJタイプフラグエリア、53はランク1単
価バッファ、54はランク2単価バッファ、55はラン
ク3単価バッファ、56は取引全体用単価ランクエリア
、57は単品用単価ランクエリア、58は単価ランクバ
ッファ、5つは単価バッファ、60は登録有無フラグ」
−リア、61は売上げデータ累削エリアを示す。
FIG. 1 is a flow diagram for explaining the operation of an embodiment of the present invention. FIG. 2 is a schematic block diagram showing the electrical configuration of an ECR as a transaction processing device according to an embodiment of the present invention. FIG. 3 is an illustrative diagram showing the structure of the PLLJ file shown in FIG. 2. FIG. 4 is a diagram showing the key arrangement of the keyboard shown in FIG. 2. FIG. 5 is an illustrative diagram showing a storage area of the memory shown in FIG. 2. 6A and 6B are diagrams illustrating the operation of one embodiment of the present invention. As shown in the figure, 1 is ECR, 2 is cPU, 3 is PLU
file, 4 is the keyboard, 5 is the message, 6 is the display,
7 is the printer, 3o is the PLU file storage area, 3
1 is the PLU code storage area, 32 is the PLU type flag storage area, 33 is the rank 1 storage area, 34 is the rank 2 storage area, 35 is the rank 3 storage area, 41
is the numeric keypad, 42 is the rank key, 43 is the payment key, 7
1.4 is the PLU key, 45 is the M1 key, 46 is the M2 key, 47 is the LtM3 key, 51 is the numeric data buffer, 52
is P L IJ type flag area, 53 is rank 1 unit price buffer, 54 is rank 2 unit price buffer, 55 is rank 3 unit price buffer, 56 is unit price rank area for entire transaction, 57 is unit price rank area for single item, 58 is unit price rank Buffer, 5 is unit price buffer, 60 is registration flag.”
-Rear, 61 indicates the sales data cumulative area.

Claims (1)

【特許請求の範囲】 商品識別コードごとに、予め定めるランク別に予め定め
る単価データを記憶した記憶手段、前記記憶手段におけ
るいずれかのランクをオペレータが指示するための指示
手段、 商品識別コードを入力するための入力手段、および 前記指示手段によって、前記記憶手段におけるいずれか
のランクが指示されたことに応じて、前記入力手段から
商品識別コードが入力されるごとに、当該商品識別コー
ドに対応する単価データを前記記憶手段の当該ランクに
対応する記憶領域から読出すように制御する制御手段を
備えた取引処理装置。
[Scope of Claims] Storage means storing predetermined unit price data for each predetermined rank for each product identification code, instruction means for an operator to specify any rank in the storage means, inputting the product identification code. and a unit price corresponding to the product identification code each time a product identification code is input from the input means in response to any rank in the storage means being specified by the input means and the instruction means. A transaction processing device comprising a control means for controlling data to be read from a storage area corresponding to the rank of the storage means.
JP62113287A 1987-05-08 1987-05-08 Transaction processor Expired - Fee Related JPH071513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62113287A JPH071513B2 (en) 1987-05-08 1987-05-08 Transaction processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62113287A JPH071513B2 (en) 1987-05-08 1987-05-08 Transaction processor

Publications (2)

Publication Number Publication Date
JPS63278194A true JPS63278194A (en) 1988-11-15
JPH071513B2 JPH071513B2 (en) 1995-01-11

Family

ID=14608354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62113287A Expired - Fee Related JPH071513B2 (en) 1987-05-08 1987-05-08 Transaction processor

Country Status (1)

Country Link
JP (1) JPH071513B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01111297A (en) * 1987-10-23 1989-04-27 Omron Tateisi Electron Co Electronic type cash register

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59121467A (en) * 1982-12-27 1984-07-13 Sharp Corp Cash register
JPS6269395A (en) * 1985-09-20 1987-03-30 カシオ計算機株式会社 Sales data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59121467A (en) * 1982-12-27 1984-07-13 Sharp Corp Cash register
JPS6269395A (en) * 1985-09-20 1987-03-30 カシオ計算機株式会社 Sales data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01111297A (en) * 1987-10-23 1989-04-27 Omron Tateisi Electron Co Electronic type cash register

Also Published As

Publication number Publication date
JPH071513B2 (en) 1995-01-11

Similar Documents

Publication Publication Date Title
JPS63303495A (en) Transaction processor
JPS63278194A (en) Trade processor
JP2533185B2 (en) Product sales data processing device
JPS62127998A (en) Electronic cash register
JPH0668794B2 (en) Electronic cash register
JP2918766B2 (en) Product sales data processing device
JPH0877256A (en) Discount management system
JP3472501B2 (en) Electronic cash register
JPS62164195A (en) Pos terminal
JPH1173468A (en) Commodity price changing system
JP2744870B2 (en) Product sales data processing device
JP2506098B2 (en) Transaction processor
JP2966237B2 (en) Product sales data processing device
JP2933183B2 (en) Sales aggregation device
JPS63220392A (en) Transaction processor
JPS63204395A (en) Transaction processor
JP2584549B2 (en) Product sales data processing device
JPH1159642A (en) Label issuing apparatus and article processor including the same
JPS61193296A (en) Input unit for electronic cash register
JPH10269456A (en) Merchandise sales registration data processor
JPH06111135A (en) Merchandise sales data processor
JPS63225897A (en) Transaction processor
JPH0214359A (en) Data processing unit
JPH06164673A (en) Communication control equipment
JPS62254294A (en) Electronic cash register

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees