JP3001324B2 - Product sales data processing device - Google Patents

Product sales data processing device

Info

Publication number
JP3001324B2
JP3001324B2 JP7792392A JP7792392A JP3001324B2 JP 3001324 B2 JP3001324 B2 JP 3001324B2 JP 7792392 A JP7792392 A JP 7792392A JP 7792392 A JP7792392 A JP 7792392A JP 3001324 B2 JP3001324 B2 JP 3001324B2
Authority
JP
Japan
Prior art keywords
product
sales
set group
established
group number
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
JP7792392A
Other languages
Japanese (ja)
Other versions
JPH05282557A (en
Inventor
基資 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP7792392A priority Critical patent/JP3001324B2/en
Publication of JPH05282557A publication Critical patent/JPH05282557A/en
Application granted granted Critical
Publication of JP3001324B2 publication Critical patent/JP3001324B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、セット販売される商品
の登録を行う商品販売データ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a merchandise sales data processor for registering merchandise to be sold as a set.

【0002】[0002]

【従来の技術】従来のこの種の商品販売データ処理装置
としては、同一のセット販売グループ番号を持つ商品の
登録個数が予め設定された個数になったときセット販売
登録処理を行う形式のものと、登録された同一のセット
販売グループ番号を持つ商品で予め設定されたシーケン
スが成立したときセット販売登録処理を行う形式のもの
とがあった。(特開昭63−149797号公報等参
照)
2. Description of the Related Art A conventional product sales data processing apparatus of this type includes a type in which a set sales registration process is performed when the number of registered products having the same set sales group number reaches a preset number. There is a type in which a set sales registration process is performed when a preset sequence is established for products having the same registered set sales group number. (See JP-A-63-149797)

【0003】[0003]

【発明が解決しようとする課題】ところで、セット販売
の方法の1つとして、セット販売対象の商品をグループ
分けし、各グループ毎に予め決められた個数が買上げら
れるとセット販売が成立したとして値引する方法が考え
られる。例えば、セット販売対象の商品A,B,Cの中
で2点の買上げがあり、かつセット販売対象の商品D,
Eの中で1点の買上げがあるとセット販売が成立したと
するものである。従って、[A,A,D]や[B,C,
E]等ではセット販売が成立するが、[A,D,E]や
[A,B,C]ではセット販売が不成立となる。
By the way, as one of the set selling methods, products to be sold in a set are divided into groups, and when a predetermined number is purchased for each group, it is determined that the set sale has been established. There is a method of pulling. For example, there are two purchases among the set-targeted products A, B, and C, and the set-targeted products D,
It is assumed that a set sale is established if one point is purchased in E. Therefore, [A, A, D] and [B, C,
E] and the like, a set sale is established, but in [A, D, E] and [A, B, C], the set sale is not established.

【0004】しかしながら、従来の商品販売データ処理
装置では上記のようなセット販売方法を処理することは
できなかった。すなわち、同一のセット販売グループ番
号を持つ商品の登録個数が予め設定された個数になった
ときセット販売が成立したとする従来装置では、商品
A,B,C,D,Eを同一グループと設定すれば[A,
A,D]や[B,C,E]でセット販売が成立するが、
[A,D,E]や[A,B,C]でもセット販売が成立
してしまう不具合がある。また、商品A,B,Cを1つ
のグループとして2点の買上げがあった場合にセット成
立とし、商品D,Eを別のグループとして1点の買上げ
があった場合にセット成立とすることも考えられるが、
この場合には例えば商品Aを2点買上げただけでもセッ
ト販売が成立して値引が行われる不具合がある。
[0004] However, the conventional product sales data processing apparatus cannot process the set sales method as described above. In other words, in the conventional apparatus that the set sale is established when the registered number of products having the same set sales group number reaches a preset number, the products A, B, C, D, and E are set as the same group. Then [A,
A, D] and [B, C, E] are sold as a set,
[A, D, E] and [A, B, C] have a problem that set sale is established. Also, a set may be established when two items are purchased as products A, B and C as one group, and a set may be established when one item is purchased as products D and E as another group. It is possible,
In this case, for example, there is a problem that a set sale is established and a discount is performed even if only two items of the product A are purchased.

【0005】一方、登録された同一のセット販売グルー
プ番号を持つ商品で予め設定されたシーケンスが成立し
たときセット販売が成立したと判定する従来装置では、
商品A,B,C,D,Eにシーケンス「1」〜「3」を
割り当てることになる。従って、例えば商品A,Bをシ
ーケンス「1」とし、商品Cをシーケンス「2」とし、
商品D,Eをシーケンス「3」とすれば[B,C,E]
はセット販売が成立するが、[A,A,D]ではセット
販売が不成立となる不具合がある。ほかに、どのような
組み合わせで各商品にシーケンスを割当てても、所望の
セット販売を実現することはできない。
On the other hand, in a conventional apparatus which determines that a set sale has been established when a preset sequence is established for a product having the same registered set sale group number,
The sequences “1” to “3” are assigned to the products A, B, C, D, and E. Therefore, for example, the products A and B are set to the sequence “1”, the product C is set to the sequence “2”,
If goods D and E are sequence "3", [B, C, E]
Although the set sale is established, the set sale is not established in [A, A, D]. In addition, a desired set sale cannot be realized even if the sequence is assigned to each product in any combination.

【0006】そこで本発明は、セット販売対象の商品を
グループ分けし、各グループ毎に予め決められた個数が
買い上げられた場合にセット販売が成立したとして自動
的に値引を処理できる商品販売データ処理装置を提供し
ようとするものである。
[0006] Therefore, the present invention is to classify merchandise to be sold in a set, and to automatically process a discount when a predetermined number of units are purchased for each group, assuming that the set sale has been established. It is intended to provide a processing device.

【0007】[0007]

【課題を解決するための手段】本発明は、各商品の商品
コードに対応して少なくとも単価を記憶した商品テーブ
ルを有し、入力手段により1取引として販売される各商
品の商品コードが入力される毎にその入力商品コードに
対応する単価を商品テーブルから読出して販売登録処理
し、締め手段により1取引として販売される全商品の登
録終了が宣言されるとこの1取引として販売される全商
品の合計金額を算出して表示出力する商品販売データ処
理装置において、複数種類のセットグループをそれぞれ
特定するセットグループ番号別にセット成立個数及びセ
ット販売価格を記憶するセットグループテーブルと、セ
ット販売対象の各商品の商品コードに対応してその商品
が属するセットグループのセットグループ番号を記憶す
るセットグループ番号記憶部とを設ける。また、入力手
段により1取引として販売される各商品の商品コードが
入力される毎にセットグループ番号記憶部にその商品コ
ードに対応してセットグループ番号が記憶されているか
判断し、セットグループ番号が記憶されていると判断さ
れた商品の販売個数をセットグループ番号別に累計する
グループ別販売個数累計手段を設ける。そして、セット
グループ番号別に累計された販売個数とセットグループ
テーブルに記憶された同一セットグループ番号の成立個
数とをそれぞれ比較して販売個数が成立個数以上のセッ
トグループ番号のセットグループをセット成立と判定す
る。そして、締め手段により1取引として販売される全
商品の登録終了が宣言されたとき、2種類以上のセット
グループがセット成立と判定されるとセットグループテ
ーブルにそのセット成立と判定された各セットグループ
のセットグループ番号にそれぞれ対応して記憶された各
セット販売価格に基づいて1取引として販売される全商
品の合計金額を値引処理するようにしたものである。
According to the present invention, there is provided a product table storing at least a unit price corresponding to a product code of each product, and a product code of each product sold as one transaction is inputted by input means. Every time the unit price corresponding to the input product code is read from the product table, sales registration processing is performed, and when the closing of all products sold as one transaction is declared by the closing means, all products sold as one transaction A set group table that stores the number of set sets and set sales prices for each set group number that specifies a plurality of types of set groups, and a set sales table for each set sales target. A set group that stores the set group number of the set group to which the product belongs in accordance with the product code of the product Providing a No. storage unit. Further, each time the product code of each product sold as one transaction is input by the input means, it is determined whether the set group number is stored in the set group number storage unit corresponding to the product code, and the set group number is determined. There is provided a group-by-group sales quantity accumulating means for accumulating the sales quantities of the products judged to be stored for each set group number. Then, by comparing the sales quantity accumulated for each set group number with the established number of the same set group number stored in the set group table, it is determined that the set group having the set group number whose sold quantity is equal to or greater than the established number is set. I do. When the closing means declares the end of registration of all products sold as one transaction, when it is determined that two or more types of set groups are established, each set group determined to be established is set in the set group table. The total amount of all commodities sold as one transaction is discounted based on each set selling price stored in correspondence with the set group number.

【0008】[0008]

【作用】このような構成の本発明であれば、入力手段に
より1取引として販売される各商品の商品コードが入力
される毎に、セットグループ番号記憶部にその商品コー
ドに対応してセットグループ番号が記憶されているか判
断され、記憶されている場合にはその商品の販売個数が
グループ別販売個数累計手段によりセットグループ番号
別に累計される。そして、セットグループ番号別に累計
された販売個数とセットグループテーブルに記憶された
同一セットグループ番号の成立個数とがそれぞれ比較さ
れ、販売個数が成立個数以上のセットグループ番号のセ
ットグループがセット成立と判定される。
According to the present invention having such a configuration, each time a product code of each product sold as one transaction is inputted by the input means, the set group number is stored in the set group number storage section in correspondence with the product code. It is determined whether or not the number is stored. If the number is stored, the sales quantity of the product is accumulated for each set group number by the sales quantity accumulation means for each group. Then, the sales quantity accumulated for each set group number is compared with the established number of the same set group number stored in the set group table, respectively, and it is determined that the set group of the set group number whose sales quantity is equal to or greater than the established number is established. Is done.

【0009】こうして、締め手段により1取引として販
売される全商品の登録終了が宣言されたとき、2種類以
上のセットグループのセットが成立していると、その各
セットグループのセットグループ番号にそれぞれ対応し
てセットグループテーブルに記憶された各セット販売価
格に基づいて1取引として販売される全商品の合計金額
が値引処理される。
In this way, when the end of registration of all products sold as one transaction is declared by the closing means, if a set of two or more types of set groups is established, the set group number of each set group is added to each set group number. Correspondingly, the total price of all commodities sold as one transaction is discounted based on each set selling price stored in the set group table.

【0010】[0010]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。なお、この実施例では本発明をPOS(販
売時点情報管理)ターミナルに適用した場合について述
べる。
An embodiment of the present invention will be described below with reference to the drawings. In this embodiment, a case will be described in which the present invention is applied to a point-of-sale (POS) terminal.

【0011】図1はPOSターミナルの構成を示すブロ
ック図である。このPOSターミナルは、制御部本体を
構成するCPU(中央処理装置)1、このCPU1が実
行するプログラム等が予め格納されるROM(リード・
オンリ・メモリ)2、上記CPU1が処理するデータを
格納するための各種メモリエリアが形成されるRAM
(ランダム・アクセス・メモリ)3、日時を計時する時
計回路4、伝送路を介して接続されるホストコンピュー
タとの間でデータの送受信を行う通信インタフェース5
の他、I/Oポート6、キーボードコントローラ7、表
示コントローラ8、プリンタコントローラ9、スキャナ
インタフェース10を有し、これらをバスライン11で
電気的に接続している。
FIG. 1 is a block diagram showing the configuration of the POS terminal. This POS terminal has a CPU (Central Processing Unit) 1 that constitutes a control unit main body, and a ROM (Read / Write) in which programs and the like executed by the CPU 1 are stored in advance.
Only memory) 2, RAM in which various memory areas for storing data to be processed by the CPU 1 are formed.
(Random access memory) 3, clock circuit 4 for measuring the date and time, communication interface 5 for transmitting and receiving data to and from a host computer connected via a transmission line
In addition, it has an I / O port 6, a keyboard controller 7, a display controller 8, a printer controller 9, and a scanner interface 10, and these are electrically connected by a bus line 11.

【0012】また、このPOSターミナルは、置数キ
ー,コードキー,小計キー,締めキー,クリアキー等の
各種キーが配設されたキーボード12、商品の名称や金
額等を表示するための表示器13、レシート印字等を行
うプリンタ14、商品ラベルに印刷された商品コードを
光学的に読取るスキャナ15、「登録」「点検」「精
算」「設定」等の各種業務モードを切換えるモードスイ
ッチ16、ドロワを開放させるドロワ開放装置17を有
する。前記キーボード12とスキャナ15はそれぞれ商
品コードの入力手段を構成する。
The POS terminal has a keyboard 12 on which various keys such as a numeric key, a code key, a subtotal key, a closing key, and a clear key are arranged, and a display for displaying a product name and a price. 13, a printer 14 for printing receipts, etc., a scanner 15 for optically reading product codes printed on product labels, a mode switch 16 for switching various business modes such as "registration", "inspection", "payment", "setting", a drawer And a drawer opening device 17 for opening the drawer. The keyboard 12 and the scanner 15 each constitute a product code input unit.

【0013】前記キーボード12はキーボートコントロ
ーラ7に接続され、前記表示器13は表示コントローラ
8に接続され、前記プリンタ14はプリンタコントロー
ラ9に接続され、前記スキャナ15はスキャナインタフ
ェース10に接続される。また、モードスイッチ16及
びドロワ開放装置17はI/Oポート6にそれぞれ接続
されている。
The keyboard 12 is connected to the keyboard controller 7, the display 13 is connected to the display controller 8, the printer 14 is connected to the printer controller 9, and the scanner 15 is connected to the scanner interface 10. The mode switch 16 and the drawer opening device 17 are connected to the I / O port 6, respectively.

【0014】図2は前記RAM3に形成される主要なメ
モリエリアを示している。図示するように、RAM3は
商品テーブル31、セットグループテーブル32、セッ
トテーブル33、セット販売用ワークテーブル34、売
上金額合計器35、値引額合計器36、登録中フラグF
のフラグエリア37を有する。
FIG. 2 shows a main memory area formed in the RAM 3. As shown in the figure, the RAM 3 stores a product table 31, a set group table 32, a set table 33, a work table for set sales 34, a sales amount totalizer 35, a discount totalizer 36, and a registration flag F
Has a flag area 37.

【0015】前記商品テーブル31は、各商品の商品コ
ードに対応して名称、単価及びセットグループ番号(S
−GP)等の商品情報を設定記憶するとともに、売上点
数及び売上金額を商品別に累積記憶するための売上デー
タエリアを形成している。ここで、セットグループ番号
は複数種類のセットグループをそれぞれ特定する番号
で、セット販売対象の商品についてはその商品が属する
セットグループのセットグループ番号が設定され、セッ
ト販売対象外の商品についてはセットグループ番号=0
が設定される。ここに、商品テーブル31のセットグル
ープ番号エリアはセットグループ番号記憶部を構成す
る。
The product table 31 stores a name, a unit price, and a set group number (S
-GP), and forms and stores a sales data area for accumulating and storing sales information and sales amounts for each product. Here, the set group number is a number for specifying each of a plurality of types of set groups. For a set sale target product, the set group number of the set group to which the product belongs is set. For a product not included in the set sale target, the set group number is set. Number = 0
Is set. Here, the set group number area of the product table 31 constitutes a set group number storage unit.

【0016】前記セットグループテーブル32は、前記
セットグループ番号に対応して1セットの成立個数、セ
ット番号(S−No)及びセット販売成立時における販
売価格のセットグループ情報を設定記憶するものであ
る。ここで、セット番号はセット販売が成立する組合わ
せのセットグループに共通に付される番号である。
The set group table 32 sets and stores the set number of one set, the set number (S-No), and set group information of the selling price when the set sale is completed, corresponding to the set group number. . Here, the set number is a number commonly assigned to a set group of a combination for which a set sale is established.

【0017】前記セットテーブル33は、前記セット番
号に対応してセット販売の成立に必要なセットグループ
の成立数を設定記憶するものである。ここで、セットグ
ループ成立数はセット販売が成立するセットグループの
組合わせ数に相当する。
The set table 33 is for setting and storing the number of set groups required for the establishment of a set sale corresponding to the set number. Here, the number of established set groups corresponds to the number of combinations of set groups for which set sales are established.

【0018】前記セット販売用ワークテーブル34は、
セット番号、セットグループ番号、成立個数、販売個
数、成立価格、販売金額及び成立フラグfで構成される
レコードを格納する複数のエリアを有する。
The set sale work table 34 includes:
It has a plurality of areas for storing a record composed of a set number, a set group number, the number of established items, the number of sold items, the established price, the sales amount, and the established flag f.

【0019】しかして、前記CPU1は、前記モードス
イッチ16により「登録」モードが選択されている状態
で、前記スキャナ15により商品ラベルに印刷された商
品コードが読み取られるか、前記キーボード12のコー
ドキー入力により商品コードが入力されると、図3に示
す商品登録業務を実行するようにプログラム制御されて
いる。
When the "registration" mode is selected by the mode switch 16, the CPU 1 reads the product code printed on the product label by the scanner 15 or checks the code key of the keyboard 12. When a product code is input by input, program control is performed so as to execute a product registration business shown in FIG.

【0020】すなわち、この商品登録業務を開始する
と、先ずステップST1としてフラグエリア47に登録
中フラグFがセット(1)されているか調べる。そし
て、セットされていない場合のみセットするとともに、
前記セット販売用ワークテーブル34及び各合計器3
5,36をクリアする。
That is, when the merchandise registration operation is started, it is first checked in step ST1 whether the registration flag F is set (1) in the flag area 47. And set only when not set,
The set sale work table 34 and each totalizer 3
Clear 5,36.

【0021】次に、ST2として前記商品テーブル31
を参照して入力された商品コードに対応する名称,単
価,セットグループ番号等の商品情報を読み出す。そし
て、ST3として読出したセットグループ番号が“0”
か否かを判断する。(判断手段)
Next, the product table 31 is set as ST2.
And reads out the product information such as the name, unit price, set group number, etc. corresponding to the product code inputted. Then, the set group number read as ST3 is "0".
It is determined whether or not. (Judgment means)

【0022】ここで、セットグループ番号が“0”の場
合には、セット販売対象外の商品の登録なので、ST4
として読出した単価を販売金額として前記売上金額合計
器35に加算する。また、ST5として前記商品テーブ
ル31の入力された商品コードに対応する売上点数エリ
ア及び売上金額エリアにそれぞれ販売個数“1”と前記
販売金額を加算する。さらに、ST6として表示器13
に名称と販売金額を表示させるとともに、プリンタ14
により名称,単価,販売個数,販売金額等の商品明細情
報をレシート印字して、この業務を終了する。(販売登
録処理手段) ST3でセットグループ番号が“0”以外の場合には、
ST7としてセットグループテーブル32を参照し、該
当セットグループ番号に対応する成立個数,セット番号
及び成立価格を読み出す。そして、ST8として前記セ
ット販売用ワークテーブル34を検索し、セット番号及
びセットグループ番号が同一のレコードが格納されてい
るか判断する。
If the set group number is "0", it means that a product not to be sold in a set is registered.
Is added to the sales amount totalizer 35 as the sales amount. In step ST5, the sales quantity "1" and the sales amount are added to the sales point area and the sales amount area corresponding to the input product code in the product table 31, respectively. Further, the display 13 is set as ST6.
Display the name and sales amount on the
Thus, the product details information such as the name, unit price, sales quantity, and sales price are printed out as a receipt, and this operation is completed. (Sales registration processing means) If the set group number is other than “0” in ST3,
As ST7, the set number, the set number, and the set price corresponding to the set group number are read out with reference to the set group table 32. In step ST8, the set sales work table 34 is searched to determine whether a record having the same set number and set group number is stored.

【0023】ここで、セット番号及びセットグループ番
号が同一のレコードが格納されていない場合には、ST
9として該当するセット番号、セットグループ番号、成
立個数、販売個数、成立価格、販売金額及び成立フラグ
f=0からなる1レコードをセット販売用ワークテーブ
ル34に格納して、ST10に進む。ST8でセット番
号及びセットグループ番号が同一のレコードが存在する
場合には、ST11としてそのレコードの成立フラグf
を調べる。そして、成立フラグfがリセット(0)され
ている場合には、ST12として同一レコードの売上点
数及び売上金額に登録商品の販売個数及び販売金額をそ
れぞれ加算して、ST10に進む。ここに、セット販売
用ワークテーブル34はグループ別販売個数累計手段を
構成する。ST10ではセット販売用ワークテーブル3
4に今回登録されたレコードの販売個数と成立個数とを
比較する。そして、販売個数が成立個数に一致している
場合には、このセットグループのセット成立を判定し
て、該当レコードの成立フラグfをセット(1)する。
販売個数が成立個数に達していない場合には該当レコー
ドの成立フラグfはリセットのままである。(セット成
立判定手段)その後、前記ST4,5,6の処理を実行
する。なお、ST11にて該当レコードの成立フラグf
が既にセットされている場合には、このセットグループ
のセットが既に成立しているので、直ちにST4,5,
6の処理に移行する。
If a record having the same set number and set group number is not stored, ST
A record consisting of the set number, the set group number, the number of pieces, the number of pieces sold, the piece price, the sale price, and the piece flag of f = 0 corresponding to 9 is stored in the set sale work table 34, and the process proceeds to ST10. If there is a record having the same set number and set group number in ST8, the establishment flag f of the record is set in ST11.
Find out. If the establishment flag f is reset (0), the sales quantity and sales amount of the registered product are added to the sales points and sales amount of the same record in ST12, and the process proceeds to ST10. Here, the set sales work table 34 constitutes a group-by-group sales quantity accumulation means. In ST10, set sales work table 3
4 compares the number of records sold and the number of records registered this time. Then, when the sold number matches the established number, it is determined that the set of this set group is established, and the established flag f of the record is set (1).
If the sales quantity has not reached the established quantity, the established flag f of the corresponding record remains reset. (Set establishment determination means) Thereafter, the processing of ST4, 5, and 6 is executed. In ST11, the establishment flag f of the corresponding record
Is already set, the set of this set group has already been established, so that ST4, 5,
The process proceeds to step 6.

【0024】また、前記CPU1は、前記モードスイッ
チ16により「登録」モードが選択されている状態で、
前記キーボード12の締めキーがキー入力されて1取引
の登録終了が指示されると、図4に示す締め入力業務を
実行するようにプログラム制御されている。
The CPU 1 operates in a state where the “registration” mode is selected by the mode switch 16.
When the closing key of the keyboard 12 is input by a key to instruct the end of the registration of one transaction, the program is controlled to execute the closing input operation shown in FIG.

【0025】すなわち、この締め入力業務を開始する
と、先ずST13としてフラグエリア47に登録中フラ
グFがセット(1)されているか調べる。そして、リセ
ット(0)されている場合には商品の登録がないのに登
録終了が指示されたので、エラーとする。
That is, when the closing input operation is started, first, it is checked in step ST13 whether the registering flag F is set (1) in the flag area 47. If reset (0) has been made, it is determined that an error has occurred since the end of registration has been instructed even though there has been no product registration.

【0026】ST13で登録中フラグFがセットされて
いる場合には、ST14としてセット販売用ワークテー
ブル34にデータが格納されているか調べる。そして、
格納されていない場合にはセット販売対象の商品の買上
げがない取引の終了指示なので、ST15として売上金
額合計器35の内容Aを支払金額として表示器12に表
示させるとともに、プリンタ14によりレシートに印字
出力させる。また、ST16として上記レシートを発行
するとともに、ドロワ開放装置17に駆動信号を送出し
てドロワを開放させる。しかる後、ST17として登録
中フラグFをリセット(0)して、この業務を終了す
る。
If the registering flag F is set in ST13, it is checked whether data is stored in the set-sale work table 34 in ST14. And
If it is not stored, it is an instruction to end the transaction in which the set target product is not purchased, so that the content A of the sales amount totalizer 35 is displayed on the display 12 as the payment amount in ST15, and printed on the receipt by the printer 14. Output. In step ST16, the receipt is issued, and a drive signal is sent to the drawer opening device 17 to open the drawer. Thereafter, in ST17, the registration flag F is reset (0), and the job is completed.

【0027】ST14でセット販売用ワークテーブル3
4にデータが格納されている場合には、セット販売対象
の商品の買上げがあった取引の終了指示なので、ST1
8として該ワークテーブル34を参照し、セット番号別
に成立フラグfがセット(1)されているレコード数c
を計数する。
At ST14, set sales work table 3
If the data is stored in ST4, it is an instruction to end the transaction in which the set sale target product has been purchased.
8, the number c of records in which the establishment flag f is set (1) for each set number with reference to the work table 34
Is counted.

【0028】次に、ST19として上記レコード数cが
セットテーブル33に設定された該当セット番号のグル
ープ成立数に一致しているか調べる。そして、一致して
いる場合には該当セット番号が共通に付されたセットグ
ループの組合わせによるセット販売の成立を判定し、S
T20としてそのセット販売成立の対象となったレコー
ドの販売金額合計値から成立価格合計値を減算して値引
額を求め、値引額合計器36に加算する。レコード数c
とグループ成立数とが一致するセット番号が複数存在す
る場合には、それぞれについてST20の処理を実行す
る。その後、ST21として売上金額合計器35の内容
Aから値引額合計器36の内容を減算して支払金額を求
める。(値引処理手段) 次に、このST21で求められた支払金額を利用して、
前記ST15,16,17の処理を実行する。なお、S
T19でセット成立のグループ数cがセットテーブル3
3に設定されたグループ成立数に一致するセット番号が
1つも存在しない場合には、該当取引でのセット販売不
成立を判定して、直ちに前記ST15,16,17の処
理を実行する。
Next, in ST19, it is checked whether or not the number of records c matches the number of established groups of the corresponding set number set in the set table 33. If they match, it is determined whether a set sale is established by a combination of set groups to which the corresponding set number is commonly assigned, and S
At T20, the discounted price is obtained by subtracting the established price total value from the sales price total value of the record for which the set sale has been established, and is added to the discount totalizer 36. Number of records c
If there are a plurality of set numbers in which the number and the number of established groups match, the process of ST20 is executed for each of them. Thereafter, as ST21, the content of the discount totalizer 36 is subtracted from the content A of the sales totalizer 35 to determine the payment amount. (Discount processing means) Next, using the payment amount obtained in this ST21,
The processing of ST15, 16, 17 is executed. Note that S
The number c of groups that have been set at T19 is set table 3
If there is no set number that matches the number of group establishments set in No. 3, it is determined that the set sale is not established in the corresponding transaction, and the processes of ST15, ST16, and ST17 are immediately executed.

【0029】このような構成の本実施例においては、セ
ット販売対象の商品をグループ分けし、各グループ毎に
予め決められた個数が買上げられるとセット販売が成立
したとして値引する運用を処理可能である。
In the present embodiment having such a configuration, it is possible to process an operation in which the products to be sold in sets are divided into groups, and if a predetermined number is purchased for each group, it is determined that the set sales have been established and a discount is made. It is.

【0030】例えば、単価220円のハンバーガーと単
価230円のチーズバーガーと単価240円のチキンバ
ーガーとをセットグループ“1”と分類し、単価160
円のフライドポテトと単価160円のアップルパイとを
セットグループ“2”と分類する。そして、セットグル
ープ“1”に属する商品を2個とセットグループ“2”
に属する商品を1個買い上げた場合に、セットグループ
“1”に属する商品は2個400円で、セットグループ
“2”に属する商品は1個150円で値引販売するもの
と仮定する。
For example, a hamburger with a unit price of 220 yen, a cheese burger with a unit price of 230 yen, and a chicken burger with a unit price of 240 yen are classified into a set group "1", and the unit price is 160.
The French fries and the apple pie with a unit price of 160 yen are classified into a set group “2”. Then, two products belonging to the set group “1” and the set group “2”
It is assumed that, when one product belonging to the set is purchased, two products belonging to the set group “1” are discounted for 400 yen and one product belonging to the set group “2” is discounted for 150 yen.

【0031】そうすると、図4に示すように、商品ファ
イル31には、ハンバーガー,チーズバーガー,チキン
バーガーにそれぞれ対応するセットグループ番号として
“1”が予め設定され、フライドポテト,アップルパイ
にそれぞれ対応するセットグループ番号として“2”が
予め設定される。
Then, as shown in FIG. 4, "1" is preset in the product file 31 as a set group number corresponding to each of hamburger, cheeseburger, and chicken burger, and corresponds to french fries and apple pie, respectively. “2” is set in advance as the set group number.

【0032】また、セットグループテーブル32には、
セットグループ番号“1”に対応して成立個数“2”、
セット番号“1”、成立価格“400”がそれぞれ設定
され、セットグループ番号“2”に対応して成立個数
“1”、セット番号“1”、成立価格“150”がそれ
ぞれ設定される。さらに、セットテーブル33には、セ
ット番号“1”に対応してグループ成立数“2”が設定
される。
In the set group table 32,
The set number “2” corresponding to the set group number “1”,
A set number “1” and an established price “400” are respectively set, and an established number “1”, a set number “1”, and an established price “150” are respectively set corresponding to the set group number “2”. Further, in the set table 33, the group formation number “2” is set corresponding to the set number “1”.

【0033】この状態で、キャッシャが先ず商品コード
入力手段によりハンバーガーの商品コードを入力する
と、該ハンバーガーはセット販売対象の商品なので、セ
ット販売用ワークテーブル34にセット番号“1”、セ
ットグループ番号“1”、成立個数“2”、販売個数
“1”、成立価格“400”、販売金額“220”、成
立フラグf=0のレコードが格納される。また、売上金
額合計器35のデータAは“220”になる。
In this state, when the cashier first inputs the product code of the hamburger using the product code input means, the hamburger is a product to be sold as a set, so the set number "1" and the set group number " Records of “1”, “2”, “1”, “1”, “400”, “220”, and “f = 0” are stored. The data A of the sales amount totaling device 35 is "220".

【0034】次に、キャッシャがチーズバーガーの商品
コードを入力すると、該チーズバーガーもセット販売対
象の商品でありかつハンバーガーとセット番号及びセッ
トグループ番号が共通なので、セット販売用ワークテー
ブル34のセット番号“1”及びセットグループ番号
“1”のレコードの販売個数が“2”、販売金額が“4
50”に加算更新される。これにより、該当レコードの
販売個数と成立個数が一致するので、該当レコードの成
立フラグfが“1”にセットされる。また、売上金額合
計器35のデータAは“450”になる。
Next, when the cashier inputs the product code of the cheeseburger, the cheeseburger is also a product to be sold as a set, and the set number and the set group number are common to the hamburger. The sales quantity of the record of “1” and the set group number “1” is “2”, and the sales amount is “4”.
The updated number is added to "50". As a result, the number of sales and the number of records of the corresponding record coincide with each other, so that the formation flag f of the relevant record is set to "1". It becomes “450”.

【0035】次に、キャッシャがアップルパイの商品コ
ードを入力すると、該アップルパイもセット販売対象の
商品であるので、セット販売用ワークテーブル34にセ
ット番号“1”、セットグループ番号“2”、成立個数
“1”、販売個数“1”、成立価格“150”、販売金
額“160”のレコードが格納される。このとき、該当
レコードの販売個数と成立個数が一致するので、該当レ
コードの成立フラグfが“1”にセットされる。また、
売上金額合計器35のデータAは“610”になる。
Next, when the cashier inputs the product code of the apple pie, since the apple pie is also a product to be sold as a set, the set number "1", the set group number "2", Records of the number of completed units “1”, the number of sold units “1”, the established price “150”, and the sales amount “160” are stored. At this time, since the sales quantity of the corresponding record matches the established quantity, the established flag f of the applicable record is set to “1”. Also,
The data A of the sales amount totaling device 35 is "610".

【0036】次に、キャッシャがホットコーヒー(単価
120円)の商品コードを入力すると、該ホットコーヒ
ーはセット販売対象外の商品なのでセット販売用ワーク
テーブル34の内容は変化せず、売上金額合計器35の
データが“730”になる。
Next, when the cashier inputs the product code of the hot coffee (unit price of 120 yen), the contents of the set sales work table 34 do not change because the hot coffee is a product not covered by the set sales, and the sales amount totalizer is set. The data of 35 becomes “730”.

【0037】しかる後、キャッシャが締めキーをキー入
力して1取引の登録終了を指示すると、セット販売用ワ
ークテーブル34に格納されているセット番号“1”の
レコードのなかで成立フラグfがセットされているレコ
ードの数が計数される。この場合、成立フラグfがセッ
ト状態のレコード数は“2”であり、セットテーブル3
3に設定されたセット番号“1”に対応するグループ成
立数に一致するので、セット番号“1”に属するセット
グループ“1”及びセットグループ“2”のセット販売
が成立していると判断される。
Thereafter, when the cashier inputs the closing key and instructs the end of the registration of one transaction, the establishment flag f is set in the record of the set number "1" stored in the set sale work table 34. The number of records being counted is counted. In this case, the number of records for which the establishment flag f is set is “2”, and the set table 3
Since it matches the number of group establishments corresponding to the set number “1” set to 3, it is determined that the set sales of the set group “1” and the set group “2” belonging to the set number “1” have been established. You.

【0038】そして、セットグループ“1”に分類され
た販売商品の合計額“450”からセット成立価格“4
00”を減額した金額“50”と、セットグループ
“2”に分類された販売商品の合計額“160”からセ
ット成立価格“150”を減額した金額“10”とが値
引額として値引額合計器36で加算される。
Then, the set price “4” is calculated from the total amount “450” of the sales products classified into the set group “1”.
The total amount of the discount “50” and the amount “10” obtained by subtracting the set price “150” from the total amount “160” of the sales products classified into the set group “2” as the discount amount are the total discount amount. The sum is added by the unit 36.

【0039】しかして、売上金額合計器35のデータ
“730”から値引額合計器36のデータ“60”が値
引されて当該取引の支払い金額“670”が算出され、
表示器13に表示される。
Then, the data "60" of the discount totalizer 36 is discounted from the data "730" of the sales totalizer 35, and the payment amount "670" of the transaction is calculated.
It is displayed on the display 13.

【0040】一方、前記例においてハンバーガーの代り
にフライドポテトの登録があった場合を仮定すると、セ
ット販売用ワークテーブル34には、セット番号
“1”,セットグループ番号“1”,成立個数“2”,
販売個数“1”,成立価格“400”,販売金額“23
0”,成立フラグf=0のレコードと、セット番号
“1”,セットグループ番号“2”、成立個数“1”,
販売個数“1”,成立価格“150”,販売金額“16
0”,成立フラグf=1のレコードとが格納される。
On the other hand, assuming that french fries are registered instead of hamburgers in the above example, the set sales work table 34 contains a set number "1", a set group number "1", and a number "2". ”,
Sales quantity “1”, established price “400”, sales price “23”
0, the record of the establishment flag f = 0, the set number “1”, the set group number “2”, the established number “1”,
Sales quantity “1”, established price “150”, sales price “16”
0 ", the record with the establishment flag f = 1.

【0041】従って、この場合は成立フラグfがセット
状態のレコード数は“1”であり、セットテーブル33
に設定されたセット番号“1”に対応するグループ成立
数に一致しないので、セット番号“1”に属するセット
グループ“1”及びセットグループ“2”のセット販売
が成立していないと判断されて、値引処理は行われな
い。
Accordingly, in this case, the number of records in which the establishment flag f is set is “1”, and the set table 33
Does not match the number of established groups corresponding to the set number “1” set in the set number “1”, it is determined that the set sales of the set group “1” and the set group “2” belonging to the set number “1” are not established. , No discount processing is performed.

【0042】なお、本発明は前記実施例に限定されるも
のではなく、単体の電子式キャッシュレジスタに適用す
る等、本発明の要旨を逸脱しない範囲で種々変形実施可
能であるのは勿論である。
It should be noted that the present invention is not limited to the above-described embodiment, but various modifications can be made without departing from the spirit of the present invention, such as application to a single electronic cash register. .

【0043】[0043]

【発明の効果】以上詳述したように本発明によれば、セ
ット販売対象の商品を複数種類のセットグループにグル
ープ分けし、1取引において2以上のセットグループで
それぞれ決められた個数が買上げられた場合にのみセッ
ト販売が成立したとして値引処理する販売方法を容易に
実現でき、セット販売の運用を拡張できる商品販売デー
タ処理装置を提供できる。
As described above in detail, according to the present invention, the products to be sold in sets are grouped into a plurality of types of set groups, and the number determined in each of two or more set groups in one transaction is purchased. Only when this is the case, it is possible to easily realize a sales method of performing discount processing on the assumption that a set sale has been established, and to provide a merchandise sales data processing apparatus capable of extending the set sale operation.

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

【図1】本発明の一実施例であるPOSターミナルの構
成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a POS terminal according to an embodiment of the present invention.

【図2】同実施例におけるRAMの主要なメモリ構成を
示す図。
FIG. 2 is an exemplary view showing a main memory configuration of a RAM in the embodiment.

【図3】同実施例におけるCPUの商品登録業務を示す
流れ図。
FIG. 3 is a flowchart showing a commodity registration operation of a CPU in the embodiment.

【図4】同実施例におけるCPUの締め入力業務を示す
流れ図。
FIG. 4 is a flowchart showing a closing input operation of a CPU in the embodiment.

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

1…CPU、2…ROM、3…RAM、12…キーボー
ド、13…表示器、14…プリンタ、15…スキャナ、
31…商品ファイル、32…セットグループテーブル、
33…セットテーブル、34…セット販売用ワークテー
ブル。
1 CPU, 2 ROM, 3 RAM, 12 keyboard, 13 display, 14 printer, 15 scanner,
31: product file, 32: set group table,
33: Set table, 34: Work table for set sale.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各商品の商品コードに対応して少なくと
も単価を記憶した商品テーブルを有し、入力手段により
1取引として販売される各商品の商品コードが入力され
る毎にその入力商品コードに対応する単価を前記商品テ
ーブルから読出して販売登録処理し、締め手段により1
取引として販売される全商品の登録終了が宣言されると
この1取引として販売される全商品の合計金額を算出し
て表示出力する商品販売データ処理装置において、 複数種類のセットグループをそれぞれ特定するセットグ
ループ番号別にセット成立個数及びセット販売価格を記
憶するセットグループテーブルと、 セット販売対象の各商品の商品コードに対応してその商
品が属するセットグループのセットグループ番号を記憶
するセットグループ番号記憶部と、 前記入力手段により1取引として販売される各商品の商
品コードが入力される毎に前記セットグループ番号記憶
部にその商品コードに対応してセットグループ番号が記
憶されているか判断する判断手段と、 1取引として販売される各商品のうち前記判断手段によ
りセットグループ番号が記憶されていると判断された商
品の販売個数をセットグループ番号別に累計するグルー
プ別販売個数累計手段と、 このグループ別販売個数累計手段によりセットグループ
番号別に累計された販売個数と前記セットグループテー
ブルに記憶された同一セットグループ番号の成立個数と
をそれぞれ比較して販売個数が成立個数以上のセットグ
ループ番号のセットグループをセット成立と判定するセ
ット成立判定手段と、 前記締め手段により1取引として販売される全商品の登
録終了が宣言されたとき前記セット成立判定手段により
2種類以上のセットグループがセット成立と判定される
と前記セットグループテーブルにそのセット成立と判定
された各セットグループのセットグループ番号にそれぞ
れ対応して記憶された各セット販売価格に基づいて前記
1取引として販売される全商品の合計金額を値引処理す
る値引処理手段と、 を具備したことを特徴とする商品販売データ処理装置。
1. A product table storing at least a unit price corresponding to a product code of each product. Each time a product code of each product sold as one transaction is input by an input means, the input product code is added to the input product code. The corresponding unit price is read from the product table and sales registration processing is performed.
When the registration end of all products sold as a transaction is declared, a plurality of types of set groups are respectively specified in a product sales data processing device that calculates and displays and outputs the total amount of all products sold as one transaction. A set group table that stores the number of set sets and set selling prices for each set group number, and a set group number storage unit that stores the set group number of the set group to which the product belongs in accordance with the product code of each product to be sold in the set Determining means for determining whether a set group number is stored in the set group number storage unit corresponding to the product code each time a product code of each product sold as one transaction is input by the input means; The set group number of each product sold as one transaction is determined by the determination means. Means for accumulating the sales numbers of the products for which it has been determined that the products have been stored, for each set group number, and the sales numbers for each set group number accumulated by the group-based sales quantity accumulation means, and the set group table. Set establishment determining means for comparing each set number with the same set group number stored in the set with a set group number whose sales quantity is equal to or greater than the set number, and determining that the set is established. When the end of registration of all products to be set is declared, when the set establishment determining unit determines that two or more types of set groups are established, the set group of each set group determined to be established is set in the set group table. Based on each set sales price stored corresponding to each Merchandise sales data processing apparatus for a discount processing means for discount process the total amount of all goods sold as the 1 transaction have, by comprising the features.
JP7792392A 1992-03-31 1992-03-31 Product sales data processing device Expired - Fee Related JP3001324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7792392A JP3001324B2 (en) 1992-03-31 1992-03-31 Product sales data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7792392A JP3001324B2 (en) 1992-03-31 1992-03-31 Product sales data processing device

Publications (2)

Publication Number Publication Date
JPH05282557A JPH05282557A (en) 1993-10-29
JP3001324B2 true JP3001324B2 (en) 2000-01-24

Family

ID=13647611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7792392A Expired - Fee Related JP3001324B2 (en) 1992-03-31 1992-03-31 Product sales data processing device

Country Status (1)

Country Link
JP (1) JP3001324B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0476695A (en) * 1990-07-13 1992-03-11 Casio Comput Co Ltd Sales data processor

Also Published As

Publication number Publication date
JPH05282557A (en) 1993-10-29

Similar Documents

Publication Publication Date Title
JP2584546B2 (en) Product sales data processing device
JPH08329350A (en) Article sales registration data processor
JP2000172957A (en) Commodity sales registering data processor
JP2003044932A (en) Sales data processor
JP2001076260A (en) Commodity sales registration data processor
JPH06215270A (en) Commodity sales data processor
JP3001324B2 (en) Product sales data processing device
JPH08147563A (en) Method for preparing receipt and device therefor
JP2021131712A (en) Commodity sale data processing device and program
JPH09212742A (en) Transaction processor
JP2952118B2 (en) Credit processing equipment
JP2003067850A (en) Device for processing merchandise sales registration data
JPH10241049A (en) Accounting device
JPH11339129A (en) Product sales registration data processor
JP3118104B2 (en) Product sales registration data processing device
JP2898425B2 (en) Point of sale information management terminal
JPH0710468Y2 (en) Sales data processor
JP3090572B2 (en) Product sales registration data processing device
JPH0636234B2 (en) Product sales data processing device
JPH04284599A (en) Data display method for cash register
JP2933183B2 (en) Sales aggregation device
JPH05204938A (en) Commodity sales data processor
JPH11259768A (en) Commodity sale registration data processor
JP2912757B2 (en) Product sales data processing device
JPH02291070A (en) Credit transaction data management system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees