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

JPH0636234B2 - Product sales data processing device - Google Patents

Product sales data processing device

Info

Publication number
JPH0636234B2
JPH0636234B2 JP27432586A JP27432586A JPH0636234B2 JP H0636234 B2 JPH0636234 B2 JP H0636234B2 JP 27432586 A JP27432586 A JP 27432586A JP 27432586 A JP27432586 A JP 27432586A JP H0636234 B2 JPH0636234 B2 JP H0636234B2
Authority
JP
Japan
Prior art keywords
sale
product
sales
amount
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.)
Expired - Fee Related
Application number
JP27432586A
Other languages
Japanese (ja)
Other versions
JPS63127397A (en
Inventor
稔 出口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Tec Corp
Original Assignee
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 JP27432586A priority Critical patent/JPH0636234B2/en
Publication of JPS63127397A publication Critical patent/JPS63127397A/en
Publication of JPH0636234B2 publication Critical patent/JPH0636234B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ミックス・アンド・マッチ(以下M&Mと略
称する)方式と称される単品毎のまとめ売り登録を行な
うのに好適な商品販売データ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is a product sales data suitable for performing bulk sale registration for each individual product called a mix and match (hereinafter abbreviated as M & M) system. Regarding a processing device.

[従来の技術] スーパーマーケットや小売店等では、指定商品を複数個
まとめて購入した場合に販売金額の値引を行なって客へ
のサービスをはかることがあり、この販売方法をM&M
方式と称している。従来のM&M方式は1個80円の商
品を3個200円で販売するというように同一部門,同
一価格のまとめ売りが一般的であったが、最近では、1
20円の炭酸飲料と100円の果汁飲料と90円の乳製
品とをいかなる組合せであっても3個270円で販売す
るというように異部門,異価格,異商品間でのまとめ売
りも行なわれるようになってきた。このような単価の異
なる複数種類の商品を所定個数買い上げたときまとめ売
り成立として値引するM&M方式を処理可能な従来の商
品販売データ処理装置は、RAM等の内部記憶部に合計
金額メモリを設けるとともに計算用バッファとして単品
単価,売上点数,売上金額,成立回数,成立個数,セッ
ト価格の各エリアを設けていた。
[Prior Art] In a supermarket or retail store, when a plurality of designated products are purchased in a lump sum, the sales amount may be discounted to provide services to customers.
It is called a method. In the conventional M & M system, one item was sold for 80 yen, and 3 items were sold for 200 yen.
We will also sell 20 yen carbonated drinks, 100 yen fruit juice drinks and 90 yen dairy products in any combination for 3 pieces at 270 yen, such as bulk selling between different departments, different prices, different products. Is starting to appear. A conventional product sales data processing device capable of processing the M & M method of discounting a plurality of kinds of products having different unit prices when a predetermined number of products are purchased as a mass sale is provided with a total amount memory in an internal storage unit such as a RAM. At the same time, areas for individual unit price, number of sales, amount of sales, number of establishments, number of establishments, and set price were provided as calculation buffers.

そして、制御部は商品の販売登録が行われると、その登
録商品の販売金額を合計金額メモリに加算するととも
に、登録商品がM&M指定商品か否かを判断する。ここ
で、M&M指定商品の1点目の登録の場合には、成立個
数エリア及びセット価格エリアに予め設定されたM&M
成立個数及びM&Mセット価格を格納する。また、登録
商品の単価を単品単価エリアに格納するとともに、販売
個数及び販売金額を売上個数エリア及び売上金額エリア
にそれぞれ格納する。一方、M&M指定商品の2点目以
降の登録の場合には単品単価エリアの内容を登録商品の
単価に更新するとともに登録商品の販売個数及び販売金
額を売上個数エリア及び売上金額エリアに加算処理す
る。そして、売上個数エリアの内容が成立個数エリアの
内容に一致したならばその時点でまとめ売り成立とし、
売上金額エリアの内容からセット価格エリアの内容を減
じて得た値引額を合計金額メモリから減じる。また、成
立回数エリアの内容を「+1」し、売上個数エリア及び
売上金額エリアを“0”クリアしていた。
Then, when the sale registration of the product is performed, the control unit adds the sales amount of the registered product to the total amount memory and determines whether the registered product is the M & M designated product. Here, in the case of the first registration of the M & M designated product, the M & M preset in the established number area and the set price area is set.
The number of established products and the price of M & M set are stored. Further, the unit price of the registered product is stored in the unit price area, and the sales quantity and the sales amount are respectively stored in the sales quantity area and the sales amount area. On the other hand, in the case of the second and subsequent registration of the M & M designated product, the content of the unit price area is updated to the unit price of the registered product, and the sales quantity and sales price of the registered product are added to the sales quantity area and the sales price area. . Then, if the contents of the sales quantity area match the contents of the established quantity area, it is determined that the collective sale is successful at that time,
The discount amount obtained by subtracting the contents of the set price area from the contents of the sales amount area is subtracted from the total amount memory. In addition, the contents of the number of times of establishment area is set to "+1", and the sales quantity area and the sales amount area are cleared to "0".

このため、M&M指定商品の登録順序によって値引額は
異なっていた。
Therefore, the discount amount differs depending on the registration order of the M & M designated products.

すなわち、前記例において客が120円の炭酸飲料を1
本(これをaとする)、100円の果汁飲料を1本(こ
れをbとする)、90円の乳製品を2個(これをc1,
c2とする)買い上げたとする。この場合、c1,c
2,b,aの順で登録したとすると、bを登録した時点
でまとめ売りが成立するので、値引額は280−270
=10円になる。これに対し、a,b,c1,c2の順
で登録したとすると、c1を登録した時点でまとめ売り
が成立し、値引額は310−270=40円となる。従
って、後者の方が前者の比べて30円多く値引きされた
ことになる。
That is, in the above example, one customer can purchase a carbonated drink of 120 yen.
Book (this is a), one 100 yen fruit juice drink (this is b), two 90 yen dairy products (this is c1,
c2) Suppose you have purchased. In this case, c1, c
If you register in the order of 2, b, a, the bundling will be completed when b is registered, so the discount amount is 280-270.
= 10 yen. On the other hand, if a, b, c1, and c2 are registered in this order, the bulk sale is completed when c1 is registered, and the discount amount is 310-270 = 40 yen. Therefore, the latter is discounted by 30 yen more than the former.

また制御部は、M&M指定商品の登録取消があると、先
ず単品単価エリアをチェックする。そして取消商品の単
価と同一の単価情報が格納されている場合には売上個数
エリアをチェックする。ここで、売上個数エリアの内容
が“0”でなければそのエリアを「−1」するととも
に、取消商品の単価を合計金額メモリ及び売上金額エリ
アから減じる。売上個数エリアの内容が“0”の場合に
は成立回数エリアをチェックし、“0”でないことを確
認した後「−1」するとともに、取消商品の単価を合計
金額メモリから減じる。さらに取消商品の単価にM&M
成立個数を乗じた結果からM&Mセット価格を減じてM
&M成立時に得られた値引額を推定し、その値引額を合
計金額メモリに加算処理していた。これに対し、単品単
価エリアに取消商品の単価と同一の単価情報が格納され
ていない場合には直ちに成立回数エリアをチェックし、
上記と同様に“0”でないことを確認した後「−1」す
るとともに、取消商品の単価を合計金額メモリから減
じ、さらに取消商品の単価にM&M成立個数を乗じた結
果からM&Mセット価格を減じてM&M成立時に得られ
た値引額を推定し、その値引額を合計金額メモリに加算
処理していた。
Further, when the registration of the M & M designated product is canceled, the control unit first checks the single product / single price area. If the same unit price information as the unit price of the canceled product is stored, the sales quantity area is checked. If the content of the sales quantity area is not "0", the area is set to "-1" and the unit price of the canceled product is subtracted from the total amount memory and the sales amount area. If the content of the sales quantity area is "0", the establishment frequency area is checked, and if it is not "0", "-1" is added and the unit price of the canceled product is subtracted from the total amount memory. In addition, the unit price of the canceled product is M & M
The M & M set price is subtracted from the result of multiplying the number of established products, and
The discount amount obtained when & M is established is estimated, and the discount amount is added to the total amount memory. On the other hand, if the same unit price information as the unit price of the canceled product is not stored in the single unit price area, immediately check the establishment frequency area,
After confirming that it is not "0" in the same manner as above, add "-1" and subtract the unit price of the canceled product from the total amount memory, and further subtract the M & M set price from the result of multiplying the unit price of the canceled product by the number of M & M completed. The discount amount obtained when M & M was established was estimated, and the discount amount was added to the total amount memory.

このため、一旦登録したM&M指定商品の登録取消を行
う場合には商品を取消すタイミングによって値引額が異
なることがあった。
Therefore, when the registration of the once-registered M & M designated product is canceled, the discount amount may differ depending on the timing of canceling the product.

すなわち、前記例において客が120円の炭酸飲料を2
本(これをa1,a2とする)、100円の果汁飲料を
1本(これをbとする)、90円の乳製品を1個(これ
をcとする)買い上げたとする。この場合、a1,a
2,b,cの順で登録し、その後bを取消したとする
と、先ずbを登録した時点でまとめ売りが成立するので
合計が270円となる。次いで、cを登録すると合計は
360円となる。その後bを取消すと合計は一旦260
円となり、さらに100×3−270=30円が加算さ
れて、290円となる。すなわち、a1,a2,cのま
とめ売りによって40円が値引されたことになる。これ
に対し、a1,a2,bの順で登録し、ここでbを取消
した後、cを登録したとすると、先ずbを登録した時点
でまとめ売りが成立するので合計が270円となり値引
額は70円である。次いで、bを取消すと合計は一旦1
70円となり、さらに100×3−270=30円が加
算されて、200円となる。その後cを登録すると再び
まとめ売りが成立するので合計額は270円となる。す
なわち、前と同様なまとめ売り商品の組み合わせでこの
場合は60円が値引されたことになる。
That is, in the above example, the customer purchases a carbonated drink of 120 yen for 2
It is assumed that a book (designated as a1 and a2), a 100 yen fruit juice beverage (designated as b), and a 90 yen dairy product (designated as c) are purchased. In this case, a1, a
If registration is made in the order of 2, b, and c, and then b is canceled, the total sale is completed at the time when b is first registered, and the total is 270 yen. Then, when c is registered, the total is 360 yen. Then cancel b and the total will be 260
It becomes a circle, and 100 × 3−270 = 30 yen is further added to obtain 290 yen. That is, 40 yen is discounted by the bulk sale of a1, a2, and c. On the other hand, if you register in the order of a1, a2, b, cancel b here, and then register c, the total sale will be established at the time when b is registered first, so the total will be 270 yen and the discount amount. Is 70 yen. Then, when b is canceled, the total becomes 1
It will be 70 yen, and 100 × 3-270 = 30 yen will be added to make 200 yen. After that, if c is registered, the collective sale will be established again, and the total amount will be 270 yen. That is, in this case, 60 yen is discounted for the same combination of bulk sale products as before.

[発明が解決しようとする問題点] 上述したように、従来の商品販売データ処理装置におい
ては、単価の異なる複数種類の商品を所定個数買い上げ
たときまとめ売り成立として値引するM&M方式の商品
販売を行なう場合、登録順序によって値引金額が異なっ
ていたので、客に対して公平性を欠き、サービス性は不
十分であった。また、一旦登録したM&M指定商品の登
録取消を行なった場合、商品を取消すタイミングによっ
ては値引額が異なることがあった。
[Problems to be Solved by the Invention] As described above, in the conventional product sales data processing device, when a predetermined number of plural kinds of products having different unit prices are purchased, the product sale of the M & M method is discounted as a successful sale. In this case, the discount amount was different depending on the registration order, which lacked fairness to the customers and the serviceability was insufficient. Further, when the registration of the registered M & M designated product is canceled, the discount amount may be different depending on the timing of canceling the product.

そこで、本発明は、単価の異なる複数種類の商品を所定
個数買い上げたときまとめ売り成立として値引するM&
M方式を採用する場合に、商品の登録順序によらず客に
とって最も好都合な値引を行なうことができ、サービス
性の向上をはかり得る商品販売データ処理装置を提供す
ることを目的とする。
Therefore, according to the present invention, when a plurality of types of products having different unit prices are purchased in a predetermined number, the discount is determined as a successful sale.
An object of the present invention is to provide a merchandise sales data processing device capable of offering the most convenient discount for customers regardless of the order of registration of merchandise and improving serviceability when adopting the M method.

また、本発明は、M&M指定商品の登録取消があって
も、取消すタイミングの違いで客にとって不利となるこ
とはなく、十分なサービスが可能な商品販売データ処理
装置を提供することを目的とする。
Another object of the present invention is to provide a merchandise sales data processing device capable of providing sufficient service without causing any disadvantage to the customer due to the difference in the timing of cancellation even if the M & M designated merchandise is deregistered. .

[問題点を解決するための手段] 本発明は、第1図に示す如く、各商品にそれぞれ付され
る単品コードに対応して少なくとも単価情報を記憶する
とともに当該単品がまとめ売り商品のとき該当するまと
め売り成立個数及びセット価格のまとめ売り情報を記憶
する単品情報ファイルFと、まとめ売り情報に対応して
単品コード,単価,数量,販売金額の各商品情報を複数
記憶するまとめ売り商品演算テーブルTと、1取引で販
売される商品の合計金額を記憶する合計金額メモリW
と、販売商品の単品コード及び販売数量を入力する入力
部Iと、この入力部Iを介して単品コード及び販売数量
が入力される毎にその単品コードで単品情報ファイルF
を検索し、その単品コードに対応してまとめ売り情報が
設定されているか否かを判断する商品判別手段Aと、こ
の判別手段Aによりまとめ売り情報未設定の単品コード
入力が確認されると、その単品コードに対応する単価情
報と入力された販売数量とから販売金額を算出して前記
合計金額メモリWに加算する通常商品登録手段Bと、判
別手段Aによりまとめ売り情報設定の単品コード入力が
確認されると、その単品コードに対応する単価情報と入
力された販売数量とから販売金額を算出して合計金額メ
モリWに加算するとともに、前記まとめ売り商品演算テ
ーブルTにその設定されたまとめ売り情報に対応して該
当販売商品の単品コード,単価,販売数量,販売金額を
単価の大きい順に格納するまとめ売り商品登録手段C
と、1取引の登録終了を指示する終了指示手段Jと、こ
の終了指示手段Jにより登録終了が指示入力されるとま
とめ売り商品演算テーブルTの先頭エリアから順に販売
数量,販売金額を加算して、販売数量加算値が対応する
まとめ売り成立個数に達すると販売金額加算値から対応
するセット価格を減じて値引額を算出するまとめ値引額
演算手段Dと、この演算手段Dにより算出された値引額
を前記合計金額メモリW内の合計金額から減じて総販売
金額を算出する値引処理手段Eとを設け、単価の異なる
複数種類のまとめ売り商品を所定個数買い上げたとき予
め設定されたセット価格で販売処理するようにしたもの
である。
[Means for Solving Problems] The present invention corresponds to the case where at least unit price information is stored in correspondence with a single product code attached to each product and the single product is a bundled product, as shown in FIG. A single product information file F that stores the bundled sales information of the number of bundled products sold and the set price, and a bundled product calculation table that stores a plurality of product information such as a product code, unit price, quantity, and sales amount corresponding to the bundled sales information. T and a total amount memory W that stores the total amount of products sold in one transaction
And an input section I for inputting a single-item code and a sales quantity of a sale product, and a single-item information file F with the single-piece code each time the single-piece code and the sales quantity are inputted through the input section I
And the product discriminating means A for judging whether or not the bulk sale information is set corresponding to the single product code, and when the discriminating means A confirms the input of the single product code for which the bulk sale information is not set, The normal product registration means B for calculating the sales amount from the unit price information corresponding to the individual product code and the input sales quantity and adding it to the total amount memory W, and the individual product code input of the collective selling information setting by the discriminating means A. When confirmed, the sales amount is calculated from the unit price information corresponding to the unit item code and the input sales amount and added to the total amount memory W, and the set sale item set in the bundle item sale table T. Collective sale product registration means C that stores the individual item code, unit price, sales quantity, and sales amount of the corresponding sale item in descending order of unit price corresponding to the information.
And an end instruction means J for instructing the end of registration of one transaction, and when the end instruction means J is instructed and input, the sales quantity and the sales amount are added in order from the top area of the batch sale product operation table T. , When the sales quantity addition value reaches the corresponding number of bundled sales completed, the corresponding discount price is calculated by subtracting the corresponding set price from the sales amount addition value, and the discount amount calculated by this calculation means D. And a discount processing means E for calculating the total sales amount by subtracting from the total amount in the total amount memory W, and when a predetermined number of a plurality of types of bundled sale products having different unit prices are purchased, a preset set price is set. It is designed to be sold.

また本発明は、上記手段に加えて、終了指示手段Jによ
り登録終了が指示入力されるより前にまとめ売り商品の
登録取消が指定されると、まとめ売り商品演算テーブル
Tからそのまとめ売り商品の単品コードに対応する販売
数量と販売金額とを取消個数分減算する取消処理手段F
を設けたものである。
In addition to the above-mentioned means, according to the present invention, when registration cancellation of a bulk sale product is designated before the end instruction means J inputs an instruction to end the registration, the bulk sale product operation table T indicates that the bulk sale product is to be registered. Cancellation processing means F for subtracting the sales quantity and sales price corresponding to the single item code by the number of cancellations
Is provided.

[作用] このような構成の本発明であれば、1取引で販売登録さ
れた全商品の単品コード及び販売数量を入力部から入力
すると、全商品の合計金額が合計金額メモリにて記憶さ
れる。また、まとめ売り商品演算テーブルには、全商品
のなかでまとめ売りに指定された商品の単品コード,単
価,販売数量及び販売金額が該当するまとめ売り情報に
対応して単価の大きい順に格納される。この状態で、1
取引の登録終了が指示されると、まとめ売り商品演算テ
ーブルの先頭エリアから順に販売数量,販売金額が加算
されて、販売数量加算値が対応するまとめ売り成立個数
に達すると販売金額加算値から対応するセット価格が減
じられて値引額が算出され、合計金額メモリ内の合計金
額からこの値引額が減じられて総販売金額が算出され
る。
[Operation] According to the present invention having such a configuration, when the unit code and the sales quantity of all the products registered for sale in one transaction are input from the input unit, the total amount of all the products is stored in the total amount memory. . Further, in the bundled-sale product calculation table, the unit-item code, unit price, sales quantity, and sales amount of the products designated for bundled sale among all the products are stored in descending order of unit price corresponding to the corresponding bundled-sale information. . 1 in this state
When the end of transaction registration is instructed, the sales quantity and sales price are added in order from the first area of the bundled product calculation table, and when the sales volume addition value reaches the corresponding bundled sales number, the sales amount addition value is used. The set price is reduced to calculate the discount amount, and the discount amount is subtracted from the total amount in the total amount memory to calculate the total sales amount.

また、登録終了が指示入力されるより前にまとめ売り商
品の登録取消が指定されると、まとめ売り商品演算テー
ブルからそのまとめ売り商品の単品コードに対応する販
売数量と販売金額とが取消個数分減算される。
Also, if registration cancellation of the bulk sale product is specified before the end of registration is instructed, the sales quantity and the sales amount corresponding to the individual product code of the bulk sale product are the same as the number of cancellations from the bulk sale product calculation table. Is subtracted.

[実施例] 以下、本発明の商品販売データ処理装置をPOSシステ
ムにおけるPOSターミナルに適用した一実施例を図面
を参照しながら説明する。
[Embodiment] An embodiment in which the product sales data processing device of the present invention is applied to a POS terminal in a POS system will be described below with reference to the drawings.

第2図は前記POSターミナルの構成を示すブロック図
である。同図において、1は中央処理装置(以下CPU
と略称する)であって、演算回路,メモリ制御回路等を
内蔵し、入力装置からの入力情報に基いて各種の演算処
理を行なうとともに、バスライン2,制御信号線3を介
して、各種業務モードを実行するための処理プログラム
等の固定データを記憶するリードオンリーメモリ(以下
ROMと略称する)4、販売金額,販売個数等の可変的
データを記憶するランダムアクセスメモリ(以下RAM
と略称する)5を動作させる。また、キーボード6から
のキー信号を入力するキーボード制御回路7、商品に設
けられたバーコードを読取るためのバーコードスキャナ
8からのバーコード情報を入力するバーコード制御回路
9、販売金額,合計金額等を表示する表示器10を駆動
して表示データに対応する文字等を表示させる表示制御
回路11、レシートおよびジャーナルに印字を行なうプ
リンタ12を駆動制御するとともに現金等を収納するた
めのドロワ13の開閉を制御するプリンタ・ドロワ制御
回路14、上位のファイルコントローラ15とのデータ
伝送を制御する伝送制御回路16が、前記バスライン2
および制御信号線3を介して前記CPU1に接続されて
いる。
FIG. 2 is a block diagram showing the structure of the POS terminal. In the figure, 1 is a central processing unit (hereinafter CPU)
Abbreviated as “), which incorporates an arithmetic circuit, a memory control circuit, and the like, performs various arithmetic processes based on input information from an input device, and performs various business operations via the bus line 2 and the control signal line 3. A read only memory (hereinafter abbreviated as ROM) 4 that stores fixed data such as a processing program for executing the mode, and a random access memory (hereinafter RAM that stores variable data such as sales amount and sales quantity).
5) is operated. Further, a keyboard control circuit 7 for inputting a key signal from the keyboard 6, a bar code control circuit 9 for inputting bar code information from a bar code scanner 8 for reading a bar code provided on a product, a sales amount, and a total amount of money. And a display control circuit 11 for driving characters and the like corresponding to display data and a printer 12 for printing receipts and journals, and a drawer 13 for storing cash and the like. The printer / drawer control circuit 14 for controlling opening / closing and the transmission control circuit 16 for controlling data transmission with the host file controller 15 are the bus line 2
Also, it is connected to the CPU 1 via a control signal line 3.

前記キーボード6には、第3図に示す如く、「0,0
0,1〜9」を置数するための置数キー21、販売商品
に設定されている部門コード「1〜15」を入力するた
めの部門キー22のほかに、小計キー23、預/現計キ
ー24、マイナスキー25等の各種ファンクションキー
が配置されている。また、26はコントロールキーであ
って、電源のオン/オフを制御するとともに、「登録」
「設定」「精算」等の各種業務モードの実行を前記CP
U1に指令するための制御スイッチとして機能する。
As shown in FIG. 3, the keyboard 6 has "0,0
In addition to the numeric key 21 for entering "0, 1-9", the department key 22 for entering the department code "1-15" set in the sale item, the subtotal key 23, the deposit / present Various function keys such as a total key 24 and a minus key 25 are arranged. In addition, reference numeral 26 is a control key, which controls on / off of the power supply and "register".
Execution of various business modes such as "Settings" and "Settlement" is executed in the CP
It functions as a control switch for instructing U1.

第4図(a)(b)は前記ファイルコントローラ15も
しくはRAM5内に形成される単品情報ファイルの構成
の一部を示す模式図である。この単品情報ファイルに
は、販売商品の単品毎に設定される単品コードに対応し
て、当該単品が属する部門コードおよびPLUコードな
どの属性コード,名称,単価等を記憶する設定領域の他
に、登録処理により当該単品の販売個数,販売金額が累
計される累計領域が形成されている。また、同図
(a),(b)に示す如く当該単品がまとめ売り商品で
あることを示すステータスが1バイトで形成され、ステ
ータス=0によりM&M方式のまとめ売り商品(以下M
&M商品と称する)であることを示し、ステータス=1
によりセット販売方式のまとめ売り商品(以下セット販
売商品と称する)であることを示している。ここで、M
&M方式とは単価の異なる複数種類のまとめ売り商品を
いかなる組合わせでもまとめて所定個数買い上げたとき
予め設定されたセット価格で販売するものであり、セッ
ト販売方式とはM&M方式において単品の個数まで指定
してまとめ売りを行なうものである。しかして、同図
(a)に示す如くM&M商品の単品情報ファイル31に
は、M&Mの組合せグループを示すM&Mナンバー、M
&M成立個数を示すセット個数、M&M成立時の販売金
額を示すセット価格をそれぞれ記憶するM&M商品情報
領域が形成されている。また、同図(b)に示す如くセ
ット販売商品の単品情報ファイル32には、セット販売
の組合せグループを示すセット販売ナンバー、セット販
売の種類を示すセット販売種類、セット販売のこの単品
における成立個数を示すセット個数、セット販売成立時
の販売金額を示すセット販売価格をそれぞれ記憶するセ
ット販売商品情報領域が形成されている。
FIGS. 4A and 4B are schematic views showing a part of the structure of the single product information file formed in the file controller 15 or the RAM 5. In addition to the setting area for storing the attribute code such as the department code and the PLU code to which the single item belongs, the name, the unit price, etc., corresponding to the single item code set for each single item of the sale item, By the registration process, a cumulative area is formed in which the number of sold single products and the sales amount are accumulated. Further, as shown in (a) and (b) of the figure, a status indicating that the single item is a bundled sale product is formed by 1 byte, and when the status is 0, the M & M type bundled sale product (hereinafter referred to as M
& M product), and status = 1
Indicates that the product is a batch sale product of a set sale system (hereinafter referred to as a set sale product). Where M
The & M method is a method of selling multiple types of bundled products with different unit prices in any combination together and selling at a preset set price. The set selling method is the number of single items in the M & M method. They are specified and sold collectively. Then, as shown in FIG. 7A, in the single item information file 31 of the M & M product, the M & M number and the M & M number indicating the combination group of M & M are set.
An M & M product information area for storing the number of sets indicating the number of established & M and the set price indicating the sales amount when M & M is established is formed. Further, as shown in FIG. 7B, the single item information file 32 of the set sale product includes a set sale number indicating a combination group of the set sale, a set sale type indicating the type of the set sale, and the number of set sales in this single item. A set sale product information area for storing the set number indicating the number of sets and the set sale price indicating the sale price when the set sale is completed are formed.

また、RAM5には、第5図に示す如く、M&M商品の
まとめ値引額を演算するまとめ売り商品演算テーブルと
してのM&M商品演算テーブル41、セット販売商品の
まとめ値引額を演算するためのセット販売商品演算テー
ブル42、単品登録内容を順次記憶するアイテムバッフ
ァ43のほかに、演算処理のスピードを早めるためのC
ALフラグ44、前記M&M商品演算テーブル41およ
びセット販売商品演算テーブル42の形成数をカウント
するM&Mカウンタ45およびセット販売カウンタ4
6、総まとめ値引額が格納される総まとめ値引額エリア
47、販売商品の販売金額が累計され合計金額が算出さ
れる合計金額メモリとしてのメインアイテマイザ47、
合計金額から総まとめ値引額を減算した総販売金額を格
納するNETアイテマイザ48などが形成されている。
Further, in the RAM 5, as shown in FIG. 5, an M & M product calculation table 41 as a bundled product calculation table for calculating a combined discount amount of M & M products, and a set sale product for calculating a combined discount amount of a set sale product. In addition to the calculation table 42 and the item buffer 43 that sequentially stores the contents of individual item registration, C for speeding up the calculation process
The AL flag 44, the M & M counter 45 and the set sales counter 4 which count the number of formations of the M & M product calculation table 41 and the set sales product calculation table 42.
6. A total summary discount area 47 for storing the total summary discount amount, a main itemizer 47 as a total price memory for calculating the total price by accumulating the sales prices of the sold products,
A NET itemizer 48 for storing the total sales amount obtained by subtracting the total discount amount from the total amount is formed.

上記M&M商品演算テーブル41には、M&M商品の単
品情報ファイル31から読出したM&Mナンバー,セッ
ト個数,セット価格をそれぞれ格納する領域と、前記C
ALフラグとほぼ同様の意味で使用されるフラグと、後
述するワーキングエリアの最終登録情報が格納されてい
るポインタを示すボトムポインタと、まとめ値引演算結
果の金額が格納されるまとめ値引額エリアとが形成さ
れ、さらに、該当M&Mナンバーが設定されたM&M商
品の単品コード,単価,数量,売上金額の情報を順次格
納し単価の大きい順にソートするワーキングエリアが形
成されている。
In the M & M product calculation table 41, areas for respectively storing the M & M number, the number of sets, and the set price read from the single product information file 31 of the M & M product, and the C
A flag that is used in a similar meaning to the AL flag, a bottom pointer that indicates a pointer that stores final registration information of a working area, which will be described later, and a summary discount amount area that stores the amount of the summary discount calculation result. Further, a working area is formed in which the information of the single item code, unit price, quantity, and sales amount of the M & M product for which the corresponding M & M number is set is sequentially stored and sorted in descending order of unit price.

一方、セット販売商品演算テーブル42には、セット販
売商品の単品情報ファイル32から読出したセット販売
ナンバー,セット販売種類,セット価格をそれぞれ格納
する領域と、前記CALフラグとほぼ同様の意味で使用
されるフラグと、後述するワーキングエリアの最終登録
情報が格納されているポインタを示すボトムポインタ
と、まとめ値引演算結果の金額が格納されるまとめ値引
額エリアとが形成され、さらに、該当セット販売ナンバ
ーが設定されたセット販売商品の単品コード,セット数
量,数量,売上金額の情報を順次格納するワーキングエ
リアが形成されている。
On the other hand, in the set sale item calculation table 42, areas for storing the set sale number, the set sale type, and the set price read from the single item information file 32 of the set sale item are used, and are used in the same meaning as the CAL flag. Flag, a bottom pointer indicating a pointer that stores the final registration information of the working area, which will be described later, and a summary discount amount area that stores the amount of the summary discount calculation result. A working area is formed for sequentially storing information such as the individual item code, set quantity, quantity, and sales amount of the set sale product for which the item is set.

また、アイテムバッファ43には単品登録情報を格納す
るためのワーキングエリアと、単品登録情報を格納すべ
きワーキングエリアのポインタを示すインプットポイン
タが形成されている。
Further, the item buffer 43 is formed with a working area for storing the single item registration information and an input pointer indicating a pointer of the working area for storing the single item registration information.

しかして、前記CPU1は所定の入力情報に応じて、前
記ROM4に記憶されている処理プログラムにより次の
第6図ないし第11図の手順にしたがって動作するよう
に構成されている。
Therefore, the CPU 1 is configured to operate according to the predetermined input information by the processing program stored in the ROM 4 according to the procedure of the following FIGS. 6 to 11.

第6図はバーコードスキャナ8によりバーコード化され
た単品コードを読取った場合の単品登録処理手順を示し
ている。なお、販売商品の単品登録方法は、1点のみ登
録の場合には単品コードの読取りのみを行ない、2点以
上登録する場合にはその販売数量を置数キー21で置数
した後単品コードの読取りを行なう。すなわち、バーコ
ードスキャナ8から単品コードが入力されると、この単
品コードに基いて単品情報ファイルを検索し、ST1と
して該当単品コードに対応するステータスに0または1
が設定されているか否か、つまりはまとめ売り商品かど
うかを判断する(商品判別手段)。そして、ステータス
に0または1のいずれかが設定されている場合には、S
T2としてステータス=1or0を判断する。ここで、ス
テータス=0の場合には当該単品がM&M商品であるの
で、M&M商品演算テーブル41のM&Mナンバーを検
索し、ST3として当該単品コードに対応するM&Mナ
ンバーが設定されたテーブルが存在するか否かを判断す
る。そして、存在する場合にはそのM&M商品演算テー
ブル41におけるワーキングエリア内の単品コードを検
索し、ST4として当該単品コードと同一のコードが格
納されているか否かを判断する。そして、格納されてい
る場合にはこの同一コードの数量エリア及び売上金額エ
リアに当該単品の販売数量(1)及び販売金額(単価)
を加算し、ST5としてCALフラグ44がセットされ
ていたならばリセットする。次に、ST6としてアイテ
ムバッファ43のインプットポインタが規定値に達して
いるか否かを判断し、達していなければインプットポイ
ンタの示すポイントに当該単品の単品情報ファイルの内
容を格納するとともにインプットポインタを「+1」更
新する。さらに、所定のPLUファイルあるいは部門フ
ァイルに商品販売データを登録処理するとともに、販売
金額をメインアイテマイザ48に加算する。また、名
称,販売金額等の情報を表示器10に表示すると同時に
プリンタ12によりレシートおよびジャーナルに印字し
て終了する。
FIG. 6 shows a single-item registration processing procedure when the bar-code scanner 8 reads a bar-coded single-item code. As for the method of registering a single item of a sold product, only the single item code is read when only one point is registered, and when two or more points are registered, the sales quantity is entered with the numeric key 21 and then the individual item code is registered. Read. That is, when a single item code is input from the bar code scanner 8, the single item information file is searched based on this single item code, and the status corresponding to the corresponding single item code is set to 0 or 1 as ST1.
Is set, that is, whether it is a bulk sale product (product determination means). If either 0 or 1 is set in the status, S
The status = 1 or 0 is determined as T2. Here, when the status = 0, the single item is an M & M product, so the M & M number of the M & M product calculation table 41 is searched, and is there a table in which the M & M number corresponding to the single product code is set as ST3? Determine whether or not. Then, if it exists, the M & M product operation table 41 is searched for a single product code in the working area, and it is determined in ST4 whether the same code as the single product code is stored. And, if stored, the sales quantity (1) and sales amount (unit price) of the single item in the quantity area and sales amount area of the same code.
Is added, and if the CAL flag 44 is set as ST5, it is reset. Next, in ST6, it is determined whether or not the input pointer of the item buffer 43 has reached the specified value. If not, the contents of the single item information file of the single item are stored at the point indicated by the input pointer and the input pointer is set to " +1 ”is updated. Further, the product sales data is registered in a predetermined PLU file or department file, and the sales amount is added to the main itemizer 48. Further, the information such as the name and the sales amount is displayed on the display device 10, and at the same time, the receipt is printed on the receipt and the journal by the printer 12, and the process is completed.

一方、ST4において、該当単品コードがM&M商品演
算テーブル41内に存在しなければ、ST7としてこの
テーブル41におけるボトムポインタの値からワーキン
グエリア内のデータ数が規定値に達しているか否かを判
断し、達している場合にはエラーとする。これに対し、
達していない場合にはこのワーキングエリア内に既に格
納されているデータの単価と当該単品の単価とを比較
し、単価が大きい順序になるようにエリア内をソートし
て、所定エリアに当該商品の単品コード,単価,数量,
売上金額を格納する。しかる後、ボトムポインタを+1
更新してST5に移行する。
On the other hand, if the corresponding single item code does not exist in the M & M product calculation table 41 in ST4, it is determined in ST7 whether the number of data in the working area has reached the specified value from the value of the bottom pointer in this table 41. , If it has reached, it is an error. In contrast,
If it has not reached, the unit price of the data already stored in this working area is compared with the unit price of the single item, and the areas are sorted so that the unit prices are in descending order, and the product is displayed in the predetermined area. Unit code, unit price, quantity,
Stores the sales amount. Then, set the bottom pointer to +1
Update and move to ST5.

また、ST3において、該当M&Mナンバーが設定され
たM&M商品演算テーブル41が存在しなければ、ST
8としてM&Mカウンタ45が規定値に達しているか否
かを判断し、達している場合はエラーとする。これに対
し、達していない場合にはRAM5内にM&M商品演算
テーブル41を形成するための領域を確保し、この領域
に当該単品コードに対応するM&Mナンバー,セット個
数,セット価格を設定したテーブル41を形成するとと
もにボトムポインタを初期化する。しかる後、M&Mカ
ウンタ45を+1更新してST7に移行する。(以上、
まとめ売り商品登録手段) また、ST2においてステータス=1の場合は、当該単
品がセット販売商品であるので、第7図に示すセット販
売処理に移行する。すなわち、セット販売商品演算テー
ブル42のセット販売ナンバーを検索し、ST9として
当該単品コードに対応するセット販売ナンバーが設定さ
れたテーブルが存在するか否かを判断する。そして、存
在する場合にはそのセット販売商品演算テーブル42に
おけるワーキングエリアの単品コードを検索し、ST1
0として当該単品コードと同一のコードが格納されてい
るか否かを判断する。そして、存在する場合にはこのワ
ーキングエリアにおいて数量,売上金額を累計し、ST
12としてCALフラグ44がセットされていたならば
リセットした後、登録処理として第6図におけるST6
以降の手順と同様の処理を実行する。
If there is no M & M product calculation table 41 in which the corresponding M & M number is set in ST3, ST
As 8, it is determined whether or not the M & M counter 45 has reached the specified value, and if it has reached the value, it is judged as an error. On the other hand, when the number has not reached, a table 41 in which an area for forming the M & M product operation table 41 is secured in the RAM 5 and the M & M number, the number of sets, and the set price corresponding to the individual product code are set in this area And the bottom pointer is initialized. After that, the M & M counter 45 is updated by +1 and the process proceeds to ST7. (that's all,
Collective sale product registration means) If the status is 1 in ST2, since the single item is a set sale product, the process proceeds to the set sale process shown in FIG. That is, the set sale number is searched for in the set sale item calculation table 42, and it is determined in ST9 whether or not there is a table in which the set sale number corresponding to the single item code is set. If it exists, the individual item code of the working area in the set sale item operation table 42 is searched, and ST1
It is determined whether or not the same code as the single item code is stored as 0. If it exists, the quantity and sales amount are accumulated in this working area, and ST
If the CAL flag 44 has been set as 12 then it is reset and then ST6 in FIG.
The same process as the following procedure is executed.

一方、ST10において、該当単品コードがセット販売
商品演算テーブル42内に存在しなければ、ST12と
してこのテーブル42におけるボトムポインタの値から
ワーキングエリア内のデータ数が規定値に達しているか
否かを判断し、達している場合にはエラーとする。これ
に対し、達していない場合にはボトムポインタの示す値
の次のポイントに当該商品の単品コード,セット数量,
数量,売上金額を格納する。しかる後、ボトムポインタ
を+1更新してST11に移行する。
On the other hand, in ST10, if the corresponding single item code does not exist in the set sale item operation table 42, it is determined in ST12 whether the number of data in the working area has reached the specified value from the value of the bottom pointer in this table 42. However, if it has reached, an error occurs. On the other hand, if the number has not reached, the item number, set quantity, and
Stores quantity and sales amount. After that, the bottom pointer is updated by +1 and the process proceeds to ST11.

また、ST9において、該当セット販売ナンバーが設定
されたセット販売商品演算テーブル42が存在しなけれ
ば、ST13としてセット販売カウンタ46が規定値に
達しているか否かを判断し、達している場合はエラーと
する。これに対し、達していない場合にはRAM5内に
セット販売商品演算テーブル42を形成するための領域
を確保し、この領域に当該単品コードに対応するセット
販売ナンバー,セット販売種類,セット価格を設定した
テーブル42を形成するとともにボトムポインタを初期
化する。しかる後、M&Mカウンタ45を+1更新して
ST12に移行する。第6図のST1において、当該単
品がまとめ売り商品でなければST6に移行し、それ以
後の単品登録処理を実行する(通常商品登録手段)。
Further, in ST9, if the set sale item operation table 42 in which the corresponding set sale number is set does not exist, it is determined in ST13 whether or not the set sale counter 46 has reached the specified value. And On the other hand, when the number has not reached, an area for forming the set sale item operation table 42 is secured in the RAM 5, and the set sale number, the set sale type, and the set price corresponding to the single item code are set in this area. The table 42 is formed and the bottom pointer is initialized. Then, the M & M counter 45 is updated by +1 and the process proceeds to ST12. In ST1 of FIG. 6, if the single item is not a bulk sale item, the process proceeds to ST6, and the subsequent single item registration process is executed (normal item registration means).

また、キーボード6により指定取消キーとして例えばマ
イナスキー25を入力後、置数キー21にて登録取消を
指定する商品の単品コードが入力された場合には第8図
に示す手順で動作する。すなわち、所定の指定取消キー
入力に応じてアイテムバッファ43内に順次格納された
単品情報を検索し、ST14として取消が指定された商
品の単品コードが格納されているか否かを判断する。そ
して、格納されていない場合にはエラーとし、格納され
ている場合にはアイテムバッファ43のインプットポイ
ンタの示すポインタに取消が指定された商品の単品情報
を再度格納すると同時にインプットポインタを「+1」
更新する。次に、ST15としてアイテムバッファ43
に再度格納された単品情報に基いて、当該商品がまとめ
売り商品か否か、すなわちステータスに0or1がセット
されているか否かを判断する。そして、ステータス=0
or1ならば、該当する演算テーブル41,42を検索
し、当該商品の単品コードに対応する数量および売上金
額の内容を取消分だけ減算する(取消処理手段)。ここ
で、ST16として数量が「0」になったか否かを判断
し、「0」となった場合にはこのワーキングエリアの内
容を消去してテーブルをソートするとともに、ボトムポ
インタを「−1」更新する。また、これによりボトムポ
インタが「0」となった場合には該当するカウンタ4
5,46の計数値をダウンさせる。
Further, when the minus key 25, for example, is input as the designated cancellation key on the keyboard 6 and then the single item code of the product for which registration cancellation is designated by the numeric keypad 21, the operation is performed according to the procedure shown in FIG. That is, the individual item information sequentially stored in the item buffer 43 in response to the input of a predetermined designated cancellation key is searched, and it is determined in ST14 whether the individual item code of the item for which cancellation is designated is stored. If it is not stored, an error occurs. If it is stored, the single item information of the product for which cancellation is designated is again stored in the pointer indicated by the input pointer of the item buffer 43, and at the same time the input pointer is set to "+1".
Update. Next, as ST15, the item buffer 43
Based on the single item information stored again, it is determined whether the product is a bulk sale product, that is, whether the status is set to 0 or 1. And status = 0
If it is or1, the corresponding calculation tables 41 and 42 are searched, and the contents of the quantity and the sales amount corresponding to the single item code of the product are subtracted by the cancellation amount (cancellation processing means). Here, in ST16, it is determined whether or not the quantity has become “0”, and if it has become “0”, the contents of this working area are erased to sort the table and the bottom pointer is set to “−1”. Update. Further, when the bottom pointer becomes "0" by this, the corresponding counter 4
The count value of 5,46 is decreased.

しかして、テーブルソート処理終了後、あるいは演算テ
ーブルの減算処理により数量が「0」とならない場合、
さらにはまとめ売り商品でない場合には、PLUファイ
ルまたは部門ファイルに対して所定の指定取消登録処理
を行ない、さらに、取消した商品の表示および印字処理
を行なった後、終了する。
Then, after the table sort process is completed, or when the quantity does not become "0" due to the subtraction process of the calculation table,
Furthermore, if the product is not a bulk sale product, a predetermined designated cancellation registration process is performed on the PLU file or department file, and the canceled product is displayed and printed, and then the process ends.

また、登録の締めを指令する終了指示手段としての小計
キー23または預/現計キー24が操作された場合には
第9図,第10図に示す手順で動作する。小計キー23
が操作された場合には、ST17としてCALフラグ4
4がセットされているか否かを判断し、リセットされて
いたならば第11図に示す演算処理を実行した後、RA
M5のNETアイテマイザ49の内容を表示器10に表
示して終了する。なお、ST17にてCALフラグ44
がセットされていたならば演算処理は行なわずにNET
アイテマイザ49の内容を表示する。
Further, when the subtotal key 23 or the deposit / cash total key 24 as the end instruction means for instructing the closing of the registration is operated, the operation is performed in the procedure shown in FIGS. 9 and 10. Subtotal key 23
Is operated, the CAL flag 4 is entered as ST17.
4 is set, and if it is reset, the arithmetic process shown in FIG. 11 is executed, and then RA
The contents of the M5 NET itemizer 49 are displayed on the display unit 10 and the process ends. In ST17, the CAL flag 44
If is set, NET is executed without performing arithmetic processing.
The contents of the itemizer 49 are displayed.

一方、預/現計キー24が操作された場合には、ST1
8としてCALフラグ44がセットされているか否かを
判断し、リセットされていたならば第11図に示す演算
処理を実行した後、RAM5の総まとめ値引額エリア4
7の内容をプリンタ12によりレシートに印字する。な
お、ST18にてCALフラグ44がセットされていた
ならば演算処理は行なわずに総まとめ値引額エリア47
の内容をレシートに印字する。その後、ST19とし
て、置数データの有無により預り締め処理か否かを判断
し、置数データが有る場合、つまり預り締め処理の場合
には釣銭演算を行ない、釣銭額を表示器10に表示する
とともにレシートに総販売金額,預り金額,釣銭額を印
字し、さらに所定の登録処理を行なった後、CALフラ
グ44のリセット,M&Mカウンタ45およびセット販
売カウンタ46のクリア,メインアイテマイザ48のク
リア,アイテムバッファ43とインプットポインタとの
初期化等の各種初期化を行ない、終了する。なお、預り
締め処理でない場合には総販売金額を表示器10に表示
するとともにレシートに印字した後、通常の登録処理お
よび各種情報の初期化に移行する。
On the other hand, if the deposit / cash total key 24 is operated, ST1
It is determined whether the CAL flag 44 is set as No. 8, and if it is reset, the arithmetic processing shown in FIG.
The contents of 7 are printed on the receipt by the printer 12. If the CAL flag 44 is set in ST18, the calculation processing is not performed and the total discount amount area 47 is set.
Print the contents of the on the receipt. After that, in ST19, it is determined whether or not the deposit closing process is performed based on the presence or absence of the register number data. If there is the register number data, that is, in the case of the deposit closing process, the change calculation is performed and the change amount is displayed on the display 10. At the same time, the total sales amount, the deposit amount, and the change amount are printed on the receipt, and after the predetermined registration processing is performed, the CAL flag 44 is reset, the M & M counter 45 and the set sales counter 46 are cleared, the main itemizer 48 is cleared, Various initializations such as the initialization of the item buffer 43 and the input pointer are performed, and the process ends. If it is not the custody process, the total sales amount is displayed on the display 10 and printed on the receipt, and then the normal registration process and initialization of various information are performed.

前記演算処理は第11図に示す手順で行なわれる。先
ず、ST20としてM&Mカウンタ45の値が「0」か
否かを判断し、「0」でない場合には設定されたM&M
ナンバーがA(初期値=1)のM&M商品演算テーブル
41を取出し、このテーブル41に設定されたセット個
数ずつワーキングエリア内の売上金額をポインタの小さ
い順に、すなわち単価の大きい順に加算する。そして、
セット個数ずつ売上金額を加算したならばその加算金額
からセット価格を減算し、その減算額をまとめ値引額と
してまとめ値引額エリアに格納する(まとめ値引額演算
手段)。以下、同様にM&MナンバーがA+1,A+
2,……のM&M商品演算テーブルを取出して、ワーキ
ングエリア内のデータがセット個数以上格納されている
ならばまとめ値引額を算出して格納する。
The arithmetic processing is performed according to the procedure shown in FIG. First, in ST20, it is determined whether or not the value of the M & M counter 45 is "0", and if it is not "0", the set M & M is set.
The M & M product calculation table 41 with the number A (initial value = 1) is taken out, and the sales amount in the working area is added by the set number set in the table 41 in the order of the pointer, that is, in the order of the unit price. And
If the sales amount is added for each set number, the set price is subtracted from the added amount, and the subtracted amount is stored as a collective discount amount in the collective discount amount area (summary discount amount calculation means). Similarly, the M & M numbers are A + 1 and A +.
2, the M & M product calculation table is taken out, and if the data in the working area is stored in the set number or more, the collective discount amount is calculated and stored.

しかして、ST21として全てのM&M商品演算テーブ
ル41に対してまとめ値引額演算処理が終了したなら
ば、ST22としてセット販売カウンタ46の値が
「0」か否かを判断する。そして、「0」でない場合に
は設定されたセット販売ナンバーがB(初期値=1)の
セット販売商品演算テーブル42を取出し、このテーブ
ル42に設定されたセット販売種類がワーキングエリア
内に格納されているならばその売上金額を加算する。そ
して、その加算金額からセット価格を減算し、その減算
額をまとめ値引額としてまとめ値引額エリアに格納す
る。以下、同様にセット販売ナンバーがB+1,B+
2,……のセット販売商品演算テーブル42を取出し
て、ワーキングエリア内のデータによりセット販売種類
の内容が成立しているならばまとめ値引額を算出して格
納する。
Then, in ST21, if the collective discount calculation processing is completed for all the M & M product calculation tables 41, it is determined in ST22 whether the value of the set sales counter 46 is "0". If the set sales number is not “0”, the set sales product calculation table 42 with the set set sales number B (initial value = 1) is taken out, and the set sales type set in this table 42 is stored in the working area. If so, add the sales amount. Then, the set price is subtracted from the added amount, and the subtracted amount is stored as a combined discount amount in the combined discount amount area. Similarly, set sales numbers are B + 1 and B +
2, the set sale product calculation table 42 is taken out, and if the contents of the set sale type are established from the data in the working area, the collective discount amount is calculated and stored.

しかして、ST23として全てのセット販売商品演算テ
ーブル42に対してまとめ値引額演算処理が終了したな
らば、各演算テーブル41,42のまとめ値引額エリア
の内容を総まとめ値引額エリア47に累計し、次に、登
録処理によって販売商品の販売金額が加算されて合計金
額が算出されているメインアイテマイザ48の内容と総
まとめ値引額エリア47との内容を減算し、その結果を
総販売金額としてNETアイテマイザ49に格納する
(値引処理手段)。その後、CALフラグ44をセット
して終了する。
Then, in ST23, when the collective discount amount calculation processing is completed for all the set sale item calculation tables 42, the contents of the combined discount amount areas of the calculation tables 41, 42 are accumulated in the total combined discount amount area 47. Next, the contents of the main itemizer 48 whose total amount is calculated by adding the sales amount of the sale item by the registration process and the contents of the total discount amount area 47 are subtracted, and the result is set as the total sales amount. It is stored in the NET itemizer 49 (discount processing means). After that, the CAL flag 44 is set and the process ends.

このように構成された本実施例の商品販売データ処理装
置においては、M&M商品に指定された単品の単品コー
ドが入力されると、この単品に対応するM&Mナンバ
ー,セット個数,セット価格を設定したM&M商品演算
テーブル41に単品コード,単価,数量,販売金額が格
納され、テーブル内では単価の大きい順になるようにデ
ータがソートされる。また、セット販売商品に指定され
た単品の単品コードが入力されると、この単品に対応す
るセット販売ナンバー,セット販売種類,セット価格を
設定したセット販売商品演算テーブル42に単品コー
ド,セット数量,数量,販売金額が格納される。しかし
て、小計キー23もしくは預/現計キー24が操作され
ると、各演算テーブル41,42にてまとめ値引演算が
行なわれる。すなわち、M&M商品演算テーブル41に
対してはワーキングエリア内のデータ数をポイントの小
さい順、つまり単価の大きい順に計数され、セット個数
が成立した時点でこれらデータの販売金額が加算され、
加算額からセット価格を減算することによりまとめ値引
額が算出される。セット販売商品演算テーブル42に対
してはワーキングエリア内のデータがポイントの小さい
順に取出され、セット販売種類が成立した時点でこれら
データの販売金額が加算され、加算額からセット価格を
減算することによりまとめ値引額が算出される。かくし
て、各演算テーブル41,42のまとめ値引額が総まと
め値引額エリア47に累計され、メインアイテマイザ4
8内の合計金額から総まとめ値引額を減算することによ
り総販売金額が算出されて、表示器10に表示される。
In the merchandise sales data processing apparatus of the present embodiment configured as described above, when the single item code of the single item designated as the M & M item is input, the M & M number, the number of sets, and the set price corresponding to the single item are set. The M & M product calculation table 41 stores a single product code, a unit price, a quantity, and a sales amount, and the data is sorted in the table in descending order of unit price. Further, when the single item code of the single item designated for the set sale item is input, the single item code, the set quantity, and the set item number are set in the set sale item operation table 42 in which the set sale number, the set sale type, and the set price corresponding to the single item are set. The quantity and sales amount are stored. Then, when the subtotal key 23 or the deposit / cash total key 24 is operated, the collective discount calculation is performed in each of the calculation tables 41 and 42. That is, in the M & M product calculation table 41, the number of data in the working area is counted in ascending order of points, that is, in the order of increasing unit price, and when the set number is established, the sales amount of these data is added,
The combined discount amount is calculated by subtracting the set price from the added amount. By extracting the data in the working area in ascending order of points from the set sale item calculation table 42, the sales amounts of these data are added when the set sale type is established, and the set price is subtracted from the added amount. A summary discount is calculated. Thus, the summary discount amount of each of the calculation tables 41 and 42 is accumulated in the total summary discount amount area 47, and the main itemizer 4
The total sales amount is calculated by subtracting the total discount amount from the total amount in 8, and displayed on the display unit 10.

このように、本実施例によれば、M&M商品演算テーブ
ル41には該当するM&M商品のデータが登録順序によ
らずに単価の大きい順に格納され、この格納順序にした
がってM&M商品としての値引条件が成立したか否かを
判断しているので、いかなる順序でM&M商品を登録し
ても合計金額の最も高いまとめ売り商品に対して値引さ
れる。したがって、客にとって最も都合のよい値引率で
取引が行なわれる。また、セット販売商品演算テーブル
42を形成し、セット販売商品に設定された条件が成立
したならば所定の値引きを行なうことができるので、ま
とめ売り商品の個数まで指定した取引が可能となる。
As described above, according to the present embodiment, the M & M product calculation table 41 stores the data of the corresponding M & M products in descending order of unit price regardless of the registration order, and according to this storage order, the discount condition as an M & M product. Since it is determined whether or not has been established, no matter which order the M & M items are registered, the discount is given to the bulk sale item having the highest total price. Therefore, the transaction is made at the discount rate that is most convenient for the customer. In addition, since the set sale item calculation table 42 is formed and a predetermined discount can be performed if the condition set for the set sale item is satisfied, it is possible to carry out a transaction designated up to the number of bundle sale items.

さらに、登録された単品の単品情報ファイルの内容をア
イテムバッファ43に蓄積し、まとめ売り商品の登録取
消が指定されたならば、このバッファ43から単品情報
ファイルの内容を読出して該当する演算テーブル41,
42のワークエリアの内容を訂正するようにしたので、
取消すタイミングにかかわらず正確に登録の取消を行な
うことができ、この取消によって値引額が変化すること
はない。したがって、客は安心して商品の取消を指定す
ることができる。
Further, the contents of the registered single-item information file are stored in the item buffer 43, and if the registration cancellation of the bulk sale item is designated, the contents of the single-item information file are read from this buffer 43 and the corresponding operation table 41 is read. ,
Since I am trying to correct the contents of the work area 42,
Registration can be canceled accurately regardless of the timing of cancellation, and the discount will not change due to this cancellation. Therefore, the customer can safely specify the cancellation of the product.

なお、本発明は前記実施例に限定されるものではない。
例えば、前記実施例ではアイテムバッファ43に単品情
報ファイルの内容を全て登録する場合を示したが、少な
くとも単品コードのみを登録し、登録取消指定時にはこ
のアイテムバッファ43から読出した単品コードに基い
て単品情報ファイルを検索し、取消処理を行なうように
してもよい。このほか、本発明の要旨を逸脱しない範囲
で種々変形実施可能であのは勿論である。
The present invention is not limited to the above embodiment.
For example, in the above embodiment, the case where all the contents of the single item information file are registered in the item buffer 43 is shown, but at least only the single item code is registered, and when the registration cancellation is designated, the single item code read from the item buffer 43 is used as the single item code. The information file may be searched and the cancellation processing may be performed. In addition, it goes without saying that various modifications can be made without departing from the scope of the present invention.

[発明の効果] 以上詳述したように本発明によれば、各商品にそれぞれ
付される単品コードに対応して少なくとも単価情報を記
憶するとともに当該単品がまとめ売り商品のとき該当す
るまとめ売り成立個数及びセット価格のまとめ売り情報
を記憶する単品情報ファイルと、まとめ売り情報に対応
して単品コード,単価,数量,販売金額の各商品情報を
複数記憶するまとめ売り商品演算テーブルと、1取引で
販売される商品の合計金額を記憶する合計金額メモリと
を設け、入力部を介して単品コード及び販売数量が入力
される毎にその単品コードで単品情報ファイルを検索
し、その単品コードに対応してまとめ売り情報が設定さ
れているか否かを判断する。そしてまとめ売り情報未設
定の単品コード入力が確認されると、その単品コードに
対応する単価情報と入力された販売数量とから販売金額
を算出して合計金額メモリに加算し、まとめ売り情報設
定の単品コード入力が確認されると、その単品コードに
対応する単価情報と入力された販売数量とから販売金額
を算出して合計金額メモリに加算するとともに、まとめ
売り商品演算テーブルにその設定されたまとめ売り情報
に対応して該当販売商品の単品コード,単価,販売数
量,販売金額を単価の大きい順に格納する。その後、1
取引の登録終了が指示入力されると、まとめ売り商品演
算テーブルの先頭エリアから順に販売数量,販売金額を
加算して、販売数量加算値が対応するまとめ売り成立個
数に達すると販売金額加算値から対応するセット価格を
減じて値引額を算出し、この値引額を合計金額メモリ内
の合計金額から減じて総販売金額を算出するようにして
いる。
[Effects of the Invention] As described in detail above, according to the present invention, at least unit price information is stored in correspondence with a single product code attached to each product, and when the single product is a bundled product, a corresponding bundled sale is established. In a single transaction, a single item information file that stores the bundled sale information of the number of pieces and the set price, and a bundled sale product calculation table that stores a plurality of item information such as a single item code, unit price, quantity, and sale price corresponding to the bundled sale information. A total price memory that stores the total price of the products to be sold is provided.Each time the individual product code and sales quantity are entered via the input section, the individual product information file is searched with that individual product code and the corresponding individual product code is handled. Then, it is determined whether or not the bulk sale information is set. Then, when the input of the single item code for which the collective sale information is not set is confirmed, the sales amount is calculated from the unit price information corresponding to the single item code and the input sales quantity, and added to the total amount memory, and the collective sale information setting When the input of the single item code is confirmed, the sales amount is calculated from the unit price information corresponding to the single item code and the input sales quantity and added to the total amount memory, and the set summary is set in the bundled product calculation table. Corresponding to the sales information, the unit code, unit price, sales quantity, and sales amount of the corresponding sales product are stored in descending order of unit price. Then 1
When the end of transaction registration is instructed and input, the sales quantity and sales price are added in order from the first area of the bundled sales product calculation table. The corresponding set price is subtracted to calculate the discount amount, and the discount amount is subtracted from the total amount in the total amount memory to calculate the total sales amount.

従って、単価の異なる複数種類の商品を所定個数買い上
げたときまとめ売り成立として値引するM&M方式を採
用する場合に、商品の登録順序によらず客にとって最も
好都合な値引を行なうことができ、サービス性の向上を
図り得る商品販売データ処理装置を提供できる。
Therefore, when the M & M method is adopted in which a plurality of types of products with different unit prices are purchased in a predetermined quantity when they are sold together, the discount can be most convenient for the customer regardless of the order in which the products are registered. A product sales data processing device capable of improving serviceability can be provided.

また、本発明は、まとめ売り商品の登録取消が指定され
たとき、まとめ売り商品演算テーブルから該当商品コー
ドに対応する数量と販売金額とを減算するようにしたの
で、M&M指定商品の登録取消があっても、客にとって
不利となることはなく、十分なサービスをはかり得ると
いう効果も奏する。
Further, according to the present invention, when the registration cancellation of the bulk sale product is designated, the quantity corresponding to the corresponding product code and the sales amount are subtracted from the bulk sale product operation table. Therefore, the registration cancellation of the M & M designated product can be performed. Even if there is, there is no disadvantage to the customer, and it is possible to provide sufficient service.

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

第1図は本発明の商品販売データ処理装置の機能構成を
示すブロック図、第2図ないし第11図は本発明の一実
施例を示す図であって、第2図は全体の構成を示すブロ
ック図、第3図はキーボードのキーマトリクスを示す模
式図、第4図(a)(b)は単品情報ファイルの構成を
示す模式図、第5図はRAMの主要部構成を示す模式
図、第6図ないし第11図はCPUの動作を説明するた
めの流れ図である。 1……CPU、4……ROM、5……RAM、6……キ
ーボード、8……バーコードスキャナ、10……表示
器、12……プリンタ、15……ファイルコントロー
ラ、21……置数キー、23……小計キー、24……預
/現計キー、25……マイナスキー、26……コントロ
ールキー、31,32……単品情報ファイル、41……
M&M商品演算テーブル、42……セット販売商品演算
テーブル、43……アイテムバッファ、47……総まと
め値引額エリア、48……メインアイテマイザ、49…
…NETアイテマイザ。
FIG. 1 is a block diagram showing a functional configuration of a product sales data processing device of the present invention, FIGS. 2 to 11 are diagrams showing an embodiment of the present invention, and FIG. 2 shows an overall configuration. A block diagram, FIG. 3 is a schematic diagram showing a key matrix of a keyboard, FIGS. 4 (a) and 4 (b) are schematic diagrams showing the configuration of a single-item information file, and FIG. 5 is a schematic diagram showing the main part configuration of a RAM. 6 to 11 are flowcharts for explaining the operation of the CPU. 1 ... CPU, 4 ... ROM, 5 ... RAM, 6 ... Keyboard, 8 ... Bar code scanner, 10 ... Display, 12 ... Printer, 15 ... File controller, 21 ... Numeric key , 23 ... Subtotal key, 24 ... Deposit / cash key, 25 ... Minus key, 26 ... Control key, 31, 32 ... Single item information file, 41 ...
M & M product calculation table, 42 ... Set sale product calculation table, 43 ... Item buffer, 47 ... Total discount amount area, 48 ... Main maintainer, 49 ...
… NET itemizer.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】単価の異なる複数種類のまとめ売り商品を
所定個数買い上げたとき予め設定されたセット価格で販
売処理する商品販売データ処理装置において、 各商品にそれぞれ付される単品コードに対応して少なく
とも単価情報を記憶するとともに当該単品が前記まとめ
売り商品のとき該当するまとめ売り成立個数及びセット
価格のまとめ売り情報を記憶する単品情報ファイルと、 前記まとめ売り情報に対応して単品コード,単価,数
量,販売金額の各商品情報を複数記憶するまとめ売り商
品演算テーブルと、 1取引で販売される商品の合計金額を記憶する合計金額
メモリと、 販売商品の前記単品コード及び販売数量を入力する入力
部と、 この入力部を介して前記単品コード及び販売数量が入力
される毎にその単品コードで前記単品情報ファイルを検
索し、その単品コードに対応してまとめ売り情報が設定
されているか否かを判断する商品判別手段と、 この判別手段によりまとめ売り情報未設定の単品コード
入力が確認されると、その単品コードに対応する単価情
報と入力された販売数量とから販売金額を算出して前記
合計金額メモリに加算する通常商品登録手段と、 前記判別手段によりまとめ売り情報設定の単品コード入
力が確認されると、その単品コードに対応する単価情報
と入力された販売数量とから販売金額を算出して前記合
計金額メモリに加算するとともに、前記まとめ売り商品
演算テーブルにその設定されたまとめ売り情報に対応し
て該当販売商品の単品コード,単価,販売数量,販売金
額を単価の大きい順に格納するまとめ売り商品登録手段
と、 1取引の登録終了を指示する終了指示手段と、 この終了指示手段により登録終了が指示入力されると前
記まとめ売り商品演算テーブルの先頭エリアから順に販
売数量,販売金額を加算して、販売数量加算値が対応す
るまとめ売り成立個数に達すると販売金額加算値から対
応するセット価格を減じて値引額を算出するまとめ値引
額演算手段と、 この演算手段により算出された値引額を前記合計金額メ
モリ内の合計金額から減じて総販売金額を算出する値引
処理手段と、 を具備したことを特徴とする商品販売データ処理装置。
1. A product sales data processing device for processing a plurality of types of bundled products having different unit prices at a preset set price when a predetermined number of products have been purchased, in correspondence with a single product code assigned to each product. A single item information file that stores at least unit price information and stores the bundled sale information of the number of bundled sale completed and the set price corresponding to the bundled sale item when the single item is the bundled sale product, and the unit item code, unit price corresponding to the bundled sale information, Collective sale product operation table that stores multiple items of product information such as quantity and sale amount, total amount memory that stores the total amount of items sold in one transaction, and input to enter the single item code and the sale amount of the sale item Section, and each time the unit code and the sales quantity are input via this input unit, the unit information is displayed with the unit code. The product discriminating means for searching the file and judging whether or not the bulk sale information is set corresponding to the single item code, and when the discriminating means confirms the input of the single item code for which the bulk sale information is not set, The normal product registration means for calculating the sales amount from the unit price information corresponding to the individual product code and the input sales quantity and adding it to the total amount memory, and the discriminating means confirms the single product code input of the collective sale information setting. And the sales amount calculated from the unit price information corresponding to the single item code and the input sales quantity and added to the total amount memory, and corresponding to the set sale information set in the sale product calculation table. And a unit sale item registration means for storing the unit item code, unit price, sales quantity, and sales amount of the corresponding sale item in descending order of unit price; A termination instruction means for instructing termination, and when registration termination is instructed and input by the termination instruction means, the sales quantity and the sales amount are sequentially added from the top area of the bulk sale product operation table, and the sales quantity addition value corresponds. When the number of sold units is reached, the discount amount is calculated by subtracting the corresponding set price from the sales amount added value to calculate the discount amount, and the discount amount calculated by this operating unit is calculated from the total amount in the total amount memory. A commodity sales data processing device comprising: a discount processing means for calculating the total sales amount by subtracting.
【請求項2】単価の異なる複数種類のまとめ売り商品を
所定個数買い上げたとき予め設定されたセット価格で販
売処理する商品販売データ処理装置において、 各商品にそれぞれ付される単品コードに対応して少なく
とも単価情報を記憶するとともに当該単品が前記まとめ
売り商品のとき該当するまとめ売り成立個数及びセット
価格のまとめ売り情報を記憶する単品情報ファイルと、 前記まとめ売り情報に対応して単品コード,単価,数
量,販売金額の各商品情報を複数記憶するまとめ売り商
品演算テーブルと、 1取引で販売される商品の合計金額を記憶する合計金額
メモリと、 販売商品の前記単品コード及び販売数量を入力する入力
部と、 この入力部を介して前記単品コード及び販売数量が入力
される毎にその単品コードで前記単品情報ファイルを検
索し、その単品コードに対応してまとめ売り情報が設定
されているか否かを判断する商品判別手段と、 この判別手段によりまとめ売り情報未設定の単品コード
入力が確認されると、その単品コードに対応する単価情
報と入力された販売数量とから販売金額を算出して前記
合計金額メモリに加算する通常商品登録手段と、 前記判別手段によりまとめ売り情報設定の単品コード入
力が確認されると、その単品コードに対応する単価情報
と入力された販売数量とから販売金額を算出して前記合
計金額メモリに加算するとともに、前記まとめ売り商品
演算テーブルにその設定されたまとめ売り情報に対応し
て該当販売商品の単品コード,単価,販売数量,販売金
額を単価の大きい順に格納するまとめ売り商品登録手段
と、 1取引の登録終了を指示する終了指示手段と、 この終了指示手段により登録終了が指示入力されると前
記まとめ売り商品演算テーブルの先頭エリアから順に販
売数量,販売金額を加算して、販売数量加算値が対応す
るまとめ売り成立個数に達すると販売金額加算値から対
応するセット価格を減じて値引額を算出するまとめ値引
額演算手段と、 この演算手段により算出された値引額を前記合計金額メ
モリ内の合計金額から減じて総販売金額を算出する値引
処理手段と、 前記終了指示手段により登録終了が指示入力されるより
前に前記まとめ売り商品の登録取消が指示されると、前
記まとめ売り商品演算テーブルからそのまとめ売り商品
の単品コードに対応する販売数量と販売金額とを取消個
数分減算する取消処理手段と、 を具備したことを特徴とする商品販売データ処理装置。
2. A product sales data processing device for processing a plurality of types of bundled products having different unit prices at a preset set price when a predetermined number of products have been purchased, corresponding to a single product code attached to each product. A single item information file that stores at least unit price information and stores the bundled sale information of the number of bundled sale completed and the set price corresponding to the bundled sale item when the single item is the bundled sale product, and the unit item code, unit price corresponding to the bundled sale information, Collective sale product operation table that stores multiple items of product information such as quantity and sale amount, total amount memory that stores the total amount of items sold in one transaction, and input to enter the single item code and the sale amount of the sale item Section, and each time the unit code and the sales quantity are input via this input unit, the unit information is displayed with the unit code. The product discriminating means for searching the file and judging whether or not the bulk sale information is set corresponding to the single item code, and when the discriminating means confirms the input of the single item code for which the bulk sale information is not set, The normal product registration means for calculating the sales amount from the unit price information corresponding to the individual product code and the input sales quantity and adding it to the total amount memory, and the discriminating means confirms the single product code input of the collective sale information setting. And the sales amount calculated from the unit price information corresponding to the single item code and the input sales quantity and added to the total amount memory, and corresponding to the set sale information set in the sale product calculation table. And a unit sale item registration means for storing the unit item code, unit price, sales quantity, and sales amount of the corresponding sale item in descending order of unit price; A termination instruction means for instructing termination, and when registration termination is instructed and input by the termination instruction means, the sales quantity and the sales amount are sequentially added from the top area of the bulk sale product operation table, and the sales quantity addition value corresponds. When the number of sold units is reached, the discount amount is calculated by subtracting the corresponding set price from the sales amount added value to calculate the discount amount, and the discount amount calculated by this operating unit is calculated from the total amount in the total amount memory. A discount processing means for calculating the total sales amount by subtracting, and a registration cancellation instruction of the bulk sale product before the end of registration instruction is input by the end instruction means, and the bulk sale product operation table A product sales characterized by comprising: a cancellation processing means for subtracting the sales quantity and the sales price corresponding to the individual product code of the bundled product by the cancellation quantity. Data processing equipment for sale.
JP27432586A 1986-11-18 1986-11-18 Product sales data processing device Expired - Fee Related JPH0636234B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27432586A JPH0636234B2 (en) 1986-11-18 1986-11-18 Product sales data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27432586A JPH0636234B2 (en) 1986-11-18 1986-11-18 Product sales data processing device

Publications (2)

Publication Number Publication Date
JPS63127397A JPS63127397A (en) 1988-05-31
JPH0636234B2 true JPH0636234B2 (en) 1994-05-11

Family

ID=17540081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27432586A Expired - Fee Related JPH0636234B2 (en) 1986-11-18 1986-11-18 Product sales data processing device

Country Status (1)

Country Link
JP (1) JPH0636234B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63143194U (en) * 1987-03-10 1988-09-21
JP2732970B2 (en) * 1991-10-30 1998-03-30 シャープ株式会社 Electronic cash register

Also Published As

Publication number Publication date
JPS63127397A (en) 1988-05-31

Similar Documents

Publication Publication Date Title
JP2584546B2 (en) Product sales data processing device
JPH06337988A (en) Pos terminal equipment
JP2001338345A (en) Two-screen input pos system and method for selecting and inputting commodities
JPH08329350A (en) Article sales registration data processor
JP2001076260A (en) Product sales registration data processing device
JP2975233B2 (en) Product sales data processing device
JPH08147563A (en) Receipt making method and apparatus therefor
JPH0636234B2 (en) Product sales data processing device
JP2001006051A (en) Product sales registration data processing device
JP2003067850A (en) Product sales registration data processing device
JPH0833957B2 (en) Product sales data processor
JP2502352B2 (en) Product sales data processing device
JP3001324B2 (en) Product sales data processing device
JP3116501B2 (en) Product data processing device
JPH0264897A (en) Product sales data processing device
JPH05334564A (en) Product sales data processor
JP2533155B2 (en) Electronic cash register
JPH0710468Y2 (en) Sales data processor
JPH0636233B2 (en) Sales registration processor
JPH04284599A (en) Data display method for cash register
JP2637066B2 (en) Product sales data processing device
JPH05204938A (en) Product sales data processor
JPH05166071A (en) Product sales data processor
JPS63188297A (en) Product sales data processing device
JP2001195664A (en) Product sales registration data processing device

Legal Events

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