JPH045235B2 - - Google Patents

Info

Publication number
JPH045235B2
JPH045235B2 JP57118811A JP11881182A JPH045235B2 JP H045235 B2 JPH045235 B2 JP H045235B2 JP 57118811 A JP57118811 A JP 57118811A JP 11881182 A JP11881182 A JP 11881182A JP H045235 B2 JPH045235 B2 JP H045235B2
Authority
JP
Japan
Prior art keywords
transaction
correction
amount
key
area
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 - Lifetime
Application number
JP57118811A
Other languages
Japanese (ja)
Other versions
JPS599770A (en
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 filed Critical
Priority to JP57118811A priority Critical patent/JPS599770A/en
Publication of JPS599770A publication Critical patent/JPS599770A/en
Publication of JPH045235B2 publication Critical patent/JPH045235B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

(イ) 産業上の利用分野 この発明は、商品部門に対しての金額や個数の
登録の他に、現金取引、クレジツト取引、金券取
引のように、複数の取引に対して、各取引ごとに
金額、回数を集計する機能を持つた電子式キヤツ
シユレジスタに関する。 (ロ) 従来の技術 最近の電子式キヤツシユレジスタは、取引キー
として、現金取引の他に、券売キー、クレジツト
キー等多くの取引キーが用意されている。 通常、オペレータは顧客の買上げ商品を見て、
商品登録し、顧客の希望する支払いに対応させて
取引キーを押下し、レシートを発行して取引処理
を終了する。 ところが、上述の取引処理の終了後、顧客の気
が変つて支払い方法を変更する場合、例えば、現
金取引から券売取引に、また、この逆の方法に変
更する場合がしばしばあつた。 この変更に対してオペレータは次の2つの方法
のいずれかで処理していた。 その1つは、取引の変更があつたことをメモし
ておき、閉店後、または精算時に、精算レポート
内の取引種別ごとの金額、回数を手計算で修正す
る。 他の1つは、一括訂正機能のある電子式キヤツ
シユレジスタでは、顧客の前で変更された取引に
対応するレシートを作成し、その後一括訂正モー
ドに切換え、取引変更前のレシートを見て、登録
し直す処理である。 しかし、後者の処理はキー操作が多くなること
もあり、現実的ではなく、前者の処理が採用され
るケースが多い。 そして、この場合、メモの紛失および手計算の
ミス等により、訂正に信頼性が低く、取引ごとの
正しい金額、回数の集計が把握できないことが多
い欠点を有する。 また、商品販売データの登録後に、支払いが現
金、金券、クレジツト等の取引種目の入力操作を
誤つた場合、これを補正する手段として、取引種
目の入力を全て取消して、取引種目の入力操作を
改めて行なうものがある(例えば、特開昭57−
771号公報)。 しかし、この方式によれば、取引種目の全てを
取消すので、取引種目が複数あつた場合、正常に
入力された取引種目をも取消して、改めて取引種
目の全ての入力操作を実行するため、操作が2度
手間となり、演算処理も複雑となる問題点を有す
る。 (ハ) 発明が解決しようとする課題 この発明は、上述のように、取引の変更があつ
たとき、変更があつた取引分のみを訂正すること
で、その訂正処理が簡単にでき、しかも、訂正を
チエツクして集計データの訂正が確実に行ない得
る機能を持つた電子式キヤツシユレジスタの提供
を目的とする。 (ニ) 課題を解決するための手段 この発明は、取引金額を入力する金額入力手段
と、取引種目を入力する複数の取引種目入力手段
と、これら各取引種目入力手段に対応して各取引
金額とその取引回数を集計した集計データを記憶
する記憶手段とを備え、上記取引種目入力手段の
操作ごとに該取引に対応する記憶手段に取引金
額、取引回数を集計制御する電子式キヤツシユレ
ジスタであつて、各取引の集計データを加算と減
算とに訂正する訂正+キー、訂正−キーと、上記
訂正+キー、訂正−キー、前記金額入力手段およ
び取引種目入力手段の入力に基づいて、前記記憶
手段の指定された取引種目の集計データを加算・
減算処理で訂正処理すると共に、上記加算・減算
処理の加算データと減算データとの一致を判定処
理する制御手段とを設けた電子式キヤツシユレジ
スタであることを特徴とする。 (ホ) 作用 この発明の電子式キヤツシユレジスタによれ
ば、制御手段が、訂正+キー、訂正−キー、金額
入力手段および取引種目入力手段の入力に基づい
て、変更の対象となる減算側の取引種目から訂正
分の集計データを減算すると共に、加算側の取引
種目に訂正分の集計データを加算して、記憶手段
の該当する取引種目の集計データの訂正処理を実
行し、また、加算・減算処理の加算データ分と減
算データ分との一致不一致を判定して、訂正処理
の正否を判定する。 (ヘ) 発明の効果 この発明によれば、取引の変更があつたとき、
訂正−キーにより変更前の取引の集計データ(減
算側集計データ)から取引分の集計データを減算
し、訂正+キーにより変更後の取引の集計データ
(加算側集計データ)にその取引分の集計データ
を加算処理するので、キーの訂正操作は変更のあ
つた取引種目のみの訂正入力操作であつて、変更
のない正常に入力されている取引分の集計データ
のやり直しや、その他商品部門やその部門の金額
等の訂正入力操作がないために、訂正操作が簡単
となり、しかも、演算処理も変更のあつた取引分
のみで簡単化され、さらに、減算データと加算デ
ータとの一致不一致を判定して正常に訂正処理が
できたかをチエツクするので、正確な取引の訂正
ができ、集計データの信頼性を向上させることが
できる。 (ト) 実施例 この発明の一実施例を以下図面に基づいて詳述
する。 図面は電子式キヤシユレジスタを示し、第1図
において、レジスタ1は取引種や部門などを入力
するキーボード2、入力された金額を表示する表
示器3、レシート4を発行するためのプリンタ5
を備えている。 第2図は上述のキーボード2を示し、モード切
換えスイツチ6は所定のキーによつて、電源切
り、登録モード、点検モード、精算モード、プリ
セツトモード、一括訂正モード等のモード切換え
を行ない、部門キー7は商品部門を入力し、テン
キー8は商品の金額を入力し、小計キー9は登録
の小計を入力する。 券売キー10および現金キー11は取引種目の
取引キーであつて、券売キー10は取引が金券で
あるとき入力し、現金キー11は取引が現金であ
るとき入力する。 訂正−キー12、訂正+キー13は取引種目が
現金から券売、またはこの逆の取引に変更された
とき、各取引の集計データを訂正するためのキー
であつて、訂正−キー12はデータを減算し、訂
正+キー13はデータを加算する。 第3図は制御回路を示し、CPU14はROM1
5に格納された制御プログラムに沿つて各回路装
置を制御し、キーボード2は前述の各種キーの入
力操作を行ない、表示器3は入力された金額を表
示し、プリンタ5は用紙に登録データ、小計デー
タ、取引データなどをプリントしてレシート4を
発行する。 RAM16は必要なデータの書込みや読出しを
行ない、エリアR1は置数レジスタであつて、テ
ンキー8で入力された置数データをストアし、エ
リアR2は訂正金額レジスタであつて、取引金額
を訂正するときその金額をストアする。エリアR
3は置数フラグFNであつて、置数されたときフ
ラグがセツトされ、エリアR4は訂正−フラグ
FCOR−であつて、訂正−キー12が入力された
ときフラグがセツトされ、エリアR5は訂正+フ
ラグFCOR+であつて、訂正+キー13が入力さ
れたときフラグがセツトされる。 エリアR6〜R10は部門登録エリアであつ
て、各部門のエリアには金額エリアと個数エリア
とを備え、入力された商品部門に対して金額と個
数とがストアされる。 エリアR11〜R14は集計エリアであつて、
エリアR11,R12は現金取引における金額お
よび個数をストアし、エリアR13,R14は券
売取引における金額および個数をストアする。 このように構成した電子式キヤツシユレジスタ
1は通常の登録ではモード切換えスイツチ6を登
録モードに設定して、登録操作を行なう。この操
作はテンキー8で商品の金額を入力し、ついて部
門キー7を入力することによつて1商品の登録が
入力でき、データはRAM16の商品部門に対応
するエリアR6〜R10に入力された金額と個数
1が加算されてストアされ、入力された金額は表
示器3に表示される。 そしてこのような入力操作が買上げられた各商
品に対して行なわれ、その後現金取引であれば現
金キー11を押下し、また券売取引であれば券売
キー10を押下すると、プリンタ5は取引データ
をプリントしてレシート4を発行して取引処理を
終了する。 なお、上述の登録操作は通常の操作である。 例えば、1万円の現金取引を1万円の券売取引
に変更された場合、下記の操作によつて集計デー
タは訂正される。 訂正−キー12 “10000”テンキー8 現金キー11 訂正+キー13 “10000”テンキー8 券売キー10 なお、券売取引から現金取引に変更された場合
は上述の操作の逆に行なわれる。すなわち現金キ
ー11と券売キー10との操作が逆に行なわれ
る。 上述の訂正操作を第4図を参照して説明する。 ステツプ21でCPU14はRAM16を制御して
エリアR2の訂正金額レジスタをクリアし、ステ
ツプ22でキー入力有りを判定すると、ステツプ23
でテンキー8かの判定を行ない、テンキー8の入
力であれば、ステツプ24でRAM16のエリアR
1の置数レジスタに置数データをストアし、ステ
ツプ25でエリアR3に置数フラグをセツトして、
ステツプ22にリターンする。 ステツプ26でCPU14が訂正−キー12の入力
を判定したときは、ステツプ27でRAM16を制
御し、エリアR4に訂正−フラグFCOR−をセツ
トして、ステツプ22にリターンし、ステツプ28で
訂正+キー13の入力が判定されたときは、ステ
ツプ29でRAM16のエリアR5に訂正+フラグ
FCOR+をセツトして、ステツプ22にリターンす
る。 ステツプ30でCPU14は現金キー11の入力
かを判定し、これが判定されたときは、ステツプ
31でRAM16のエリアR4を読出して、訂正−
フラグFCOR−がセツトされているかを判定し、
これが判定されるとステツプ32でRAM16のエ
リアR3を読出して、置数フラグFNがセツトさ
れているかを判定する。 上述のフラグFNが判定されると、現金取引を
他の取引(この場合券売取引)に訂正する入力で
あると判定する。もしフラグFNがセツトされて
いないときはエラーとして判定し、適宜のエラー
処理を行なう。 また上述の訂正処理は現金取引の集計データよ
りその取引分のデータを減算する処理であつて、
ステツプ33でCPU14はRAM16のエリアR1
1の現金売り金額を読出して、これよりエリアR
1の置数レジスタにストアされた金額値を減算し
てストアしなおし、ステツプ34でエリアR12の
現金売り個数を読出して、これより1取引分減算
してストアしなおし、ステツプ35でエリアR2の
訂正金額レジスタの金額値を読出して、これより
エリアR1の置数レジスタにストアされた金額値
を減算する。 なお、エリアR2の訂正金額レジスタの値が零
であるとき、上述の減算はエリアR1の置数レジ
スタの値を負の値としてストアされる。 前述のステツプ31で、訂正−フラグFCOR−が
判定されなかつたときは、CPU14はステツプ
36でRAM16のエリアR5を読出して、訂正+
フラグFCOR+がセツトされているかを判定す
る。 上述のフラグが判定されないときは通常の処理
(例えば登録処理)としてその処理を実行するが、
訂正+フラグFCOR+が判定されると、CPU1
4はステツプ37でRAM16のエリアR3を読出
して、置数フラグFNがセツトされているかを判
定する。 上述のフラグFNが判定されないときはエラー
として適宜のエラー処理を行ない、フラグFNが
判定されると、他の取引(この場合券売取引)か
ら現金取引に訂正する入力であると判定され、こ
の訂正処理は現金取引の集計データに他の取引分
のデータを加算する処理である。 すなわち、CPU14はステツプ38でRAM16
のエリアR11の現金売り金額を読出して、これ
にエリアR1の置数レジスタにストアされた金額
値を加算してストアしなおし、ステツプ39でエリ
アR12の現金売り個数を読出して、これに1取
引分を加算してストアしなおし、ステツプ40でエ
リアR2の訂正金額レジスタの金額値を読出し
て、これにエリアR1の置数レジスタにストアさ
れた金額値を加算してストアしなおす。 なお、エリアR2の訂正金額レジスタの値が負
の値であるときは、上述の加算は結果的に減算処
理となる。 前述のステツプ30で現金キー11の入力が判定
されないときは、ステツプ41でCPU14は券売
キー10の入力かを判定し、この判定がなされな
いときは、通常の処理(例えば登録処理)として
その処理を実行するが、券売キー10の入力が判
定されると、ステツプ42でCPU14はRAM16
のエリアR4を読出して、訂正−フラグFCOR−
がセツトされているかを判定し、これが判定され
るとステツプ43でRAM16のエリアR3を読出
して、置数フラグFNがセツトされているかを判
定する。 上述のフラグFNが判定されないときはエラー
として判定して適宜のエラー処理を行なうが、フ
ラグFNが判定されると、券売取引を他の取引
(この場合現金取引)に訂正する入力であると判
定し、訂正処理は券売取引の集計データよりその
取引分のデータを減算処理する。 すなわち、CPU14はステツプ44で、RAM1
6のエリアR13の券売り金額を読出して、これ
よりエリアR1の置数レジスタにストアされた金
額値を減算してストアしなおし、ステツプ45でエ
リアR14の券売り個数を読出して、これより1
取引分を減算してストアしなおし、ステツプ46で
エリアR2の訂正金額レジスタの金額値を読出し
て、これよりエリアR1の置数レジスタにストア
された金額値を減算する。 なお、エリアR2の訂正金額レジスタの値が零
であるとき、上述の減算はエリアR1の置数レジ
スタの値を負の値としてストアされる。 前述のステツプ42で、訂正−フラグFCOR−の
セツトが判定されなかつたときは、CPU14は
ステツプ47でRAM16のエリアR5を読出し、
訂正+フラグFCOR+がセツトされているかを判
定する。 上述のフラグが判定されないときは通常の処理
としてその処理を実行するが、訂正+フラグ
FCOR+が判定されると、CPU14はステツプ
48で、RAM16のエリアR3を読出して置数フ
ラグFNがセツトされているかを判定する。 上述のフラグFNが判定されないときはエラー
として適宜のエラー処理を行ない、フラグFNが
判定されると、他の取引(この場合現金取引)か
ら券売取引に訂正する入力であると判定され、こ
の訂正処理は券売取引の集計データに他の取引分
のデータを加算する処理である。 すなわち、CPU14はステツプ49でRAM16
のエリアR13の券売り金額を読出して、これに
エリアR1の置数レジスタにストアされた金額値
を加算してストアしなおし、ステツプ50でエリア
R14の券売り個数を読出して、これに1取引分
を加算してストアしなおし、ステツプ51でエリア
R2の訂正金額レジスタの金額値を読出して、こ
れにエリアR1の置数レジスタにストアされた金
額値を加算してストアしなおす。 なお、エリアR2の訂正金額レジスタの値が負
の値であるときは、上述の加算は結果的に減算処
理となる。 前述のステツプ35、40、46、51の内、1つのス
テツプが終了すると、ステツプ52でCPU14は
RAM16のエリアR3〜R5のフラグをクリア
し、ステツプ53でRAM16のエリアR2の訂正
金額レジスタにストアされている金額値を読出し
て、これが零であるかを判定する。 取引の変更を行なう場合、前述の例のように変
更前の取引より集計データを減算し、その後変更
後の取引の集計データに加算するので、変更前の
訂正処理では、現金取引から券売取引の変更の場
合、ステツプ35が終了し、逆の変更の場合、ステ
ツプ46が終了している。 そのために訂正金額レジスタは負の値の金額値
がストアされているため、ステツプ53の判定では
零が判定されず、ステツプ22にリターンされる。 さらに取引変更後の訂正処理では、現金取引か
ら券売取引の変更の場合、ステツプ35とステツプ
51が終了し、逆の変更の場合、ステツプ46とステ
ツプ40が終了している。 そのために訂正金額レジスタは正常に訂正処理
されたときは零となり、したがつてステツプ53の
判定は、減算金額と加算金額との一致不一致の比
較判定であつて、この比較判定が、すなわち、正
常に訂正されたか否かの判定となり、前述のよう
に零が判定されることによつて、両金額の一致が
判定されて、正常に訂正処理がされたものとし
て、訂正処理が終了される。
(b) Industrial Application Fields This invention is applicable to multiple transactions such as cash transactions, credit transactions, and gift certificate transactions, in addition to registering amounts and quantities in product departments. This invention relates to an electronic cash register that has the function of counting amounts and counts. (B) Prior Art Recent electronic cash registers have many transaction keys available as transaction keys, such as a ticket vending key and a credit key, in addition to cash transaction keys. Usually, the operator looks at the customer's purchased products and
The product is registered, the transaction key is pressed in accordance with the customer's desired payment, a receipt is issued, and the transaction process is completed. However, after the above-described transaction process has been completed, the customer often changes his or her mind and changes the payment method, for example, from a cash transaction to a ticket sales transaction, or vice versa. Operators handled this change in one of two ways. One way is to make a note of changes in transactions, and then manually correct the amounts and number of transactions for each type of transaction in the settlement report after closing or at the time of settlement. Another is that electronic cash registers with a bulk correction function create a receipt corresponding to the transaction that was changed in front of the customer, then switch to bulk correction mode, look at the receipt before the transaction was changed, and then This is a re-registration process. However, the latter process may require many key operations and is not practical, so the former process is often adopted. In this case, the reliability of corrections is low due to loss of memos and errors in manual calculations, and there are disadvantages in that it is often impossible to ascertain the correct amount and number of transactions. In addition, if you make a mistake in entering the transaction type (such as payment in cash, voucher, or credit card) after registering product sales data, as a way to correct this, you can cancel all input of the transaction type and re-enter the transaction type. There are things that need to be done anew (for example, JP-A-57-
Publication No. 771). However, according to this method, all transaction items are canceled, so if there are multiple transaction items, the successfully input transaction items are also canceled and all input operations for the transaction items are performed again. This has the problem that it requires two steps and the calculation process is complicated. (C) Problems to be Solved by the Invention As described above, this invention allows for easy correction processing by correcting only the changed transaction when a change occurs in the transaction. The purpose of the present invention is to provide an electronic cash register having a function of checking corrections and reliably correcting tabulated data. (d) Means for Solving the Problems This invention provides an amount input means for inputting a transaction amount, a plurality of transaction type input means for inputting a transaction type, and a method for inputting each transaction amount corresponding to each of these transaction type input means. and a storage means for storing aggregated data of the number of transactions, and controls the totalization of the transaction amount and number of transactions in the storage means corresponding to the transaction for each operation of the transaction type input means. a correction+ key and a correction-key for correcting the aggregated data of each transaction into additions and subtractions; Add aggregated data for specified transaction items in the storage means.
The present invention is characterized in that the electronic cash register is provided with a control means that performs correction processing by subtraction processing and also determines whether the added data and subtracted data in the addition/subtraction processing match. (e) Effect: According to the electronic cash register of the present invention, the control means controls the subtraction side to be changed based on inputs from the correction + key, correction - key, amount input means, and transaction type input means. The corrected aggregated data is subtracted from the transaction type, and the corrected aggregated data is added to the transaction type on the addition side, and the aggregated data of the corresponding transaction type in the storage means is corrected. It is determined whether the addition data and the subtraction data in the subtraction process match or not, and whether the correction process is correct or not is determined. (F) Effect of the invention According to this invention, when a transaction is changed,
The correction key is used to subtract the transaction aggregate data from the transaction aggregate data before the change (subtraction side aggregate data), and the correction + key is used to subtract the transaction aggregate data from the transaction aggregate data after the change (addition side aggregate data). Since the data is added, the key correction operation is a correction input operation only for the transaction type that has been changed, and it is necessary to redo the aggregated data for transactions that have not been changed and have been entered correctly, or for other product departments or other items. Since there is no correction input operation for departmental amounts, etc., correction operations are simplified, and calculation processing is also simplified by only processing the transactions that have been changed. Since the transaction is checked to see if the correction process has been carried out normally, the transaction can be corrected accurately and the reliability of the aggregated data can be improved. (g) Embodiment An embodiment of the present invention will be described in detail below based on the drawings. The drawing shows an electronic cash register, and in FIG. 1, a register 1 includes a keyboard 2 for inputting transaction type, department, etc., a display 3 for displaying the entered amount, and a printer 5 for issuing a receipt 4.
It is equipped with FIG. 2 shows the above-mentioned keyboard 2, and the mode changeover switch 6 is used to switch modes such as power off, registration mode, inspection mode, payment mode, preset mode, batch correction mode, etc. by pressing a predetermined key. Key 7 is used to input the product department, numeric keypad 8 is used to input the price of the product, and subtotal key 9 is used to input the registered subtotal. The ticket vending key 10 and the cash key 11 are transaction keys for transaction types, and the ticket vending key 10 is input when the transaction is a cash voucher, and the cash key 11 is input when the transaction is cash. The correction key 12 and correction key 13 are keys for correcting the total data of each transaction when the transaction type is changed from cash to ticket sales or vice versa. The correction + key 13 adds data. Figure 3 shows the control circuit, where the CPU 14 is the ROM 1
The keyboard 2 performs input operations using the various keys described above, the display 3 displays the entered amount, and the printer 5 prints the registered data on paper, Subtotal data, transaction data, etc. are printed and a receipt 4 is issued. RAM 16 writes and reads necessary data, area R1 is a number register and stores the number data entered with the numeric keypad 8, area R2 is a correction amount register and corrects the transaction amount. When that amount is stored. Area R
3 is a number flag FN, which is set when a number is set, and area R4 is a correction flag.
It is FCOR- and a flag is set when the correction-key 12 is input, and the area R5 is a correction+ flag FCOR+ and the flag is set when the correction+ key 13 is input. Areas R6 to R10 are department registration areas, and each department area includes an amount area and a number area, and the amount and number of items for the input product department are stored. Areas R11 to R14 are aggregation areas,
Areas R11 and R12 store the amount and number of cash transactions, and areas R13 and R14 store the amount and number of ticket sales transactions. In the electronic cash register 1 configured as described above, in normal registration, the mode changeover switch 6 is set to the registration mode and the registration operation is performed. In this operation, the registration of one product can be entered by inputting the amount of the product using the numeric keypad 8 and then inputting the department key 7, and the data is the amount entered in areas R6 to R10 corresponding to the product department of the RAM 16. and the number 1 are added and stored, and the input amount is displayed on the display 3. Then, such an input operation is performed for each purchased product, and then the cash key 11 is pressed in the case of a cash transaction, or the ticket sales key 10 is pressed in the case of a ticket sales transaction, and the printer 5 inputs the transaction data. The transaction process is completed by printing and issuing a receipt 4. Note that the above-mentioned registration operation is a normal operation. For example, if a cash transaction of 10,000 yen is changed to a ticket sales transaction of 10,000 yen, the aggregated data is corrected by the following operation. Correction - key 12 "10000" numeric keypad 8 Cash key 11 Correction + key 13 "10000" numeric keypad 8 Ticket sales key 10 Note that when a ticket sales transaction is changed to a cash transaction, the above-mentioned operation is performed in reverse. That is, the operations of the cash key 11 and the ticket vending key 10 are performed in reverse. The above correction operation will be explained with reference to FIG. At step 21, the CPU 14 controls the RAM 16 to clear the correction amount register in area R2, and when it determines that there is a key input at step 22, the CPU 14 controls the RAM 16 to clear the correction amount register in area R2.
If the input is from the numeric keypad 8, in step 24, the area R of RAM 16 is
Store the numeral data in the numeral register 1, set the numeral flag in area R3 at step 25,
Return to step 22. When the CPU 14 determines that the correction key 12 has been input in step 26, it controls the RAM 16 in step 27, sets the correction flag FCOR- in area R4, returns to step 22, and presses the correction key 12 in step 28. 13 is determined, in step 29 the correction + flag is stored in area R5 of RAM 16.
Set FCOR+ and return to step 22. At step 30, the CPU 14 determines whether the cash key 11 has been input, and when this is determined, the step
31, read out area R4 of RAM16 and make corrections.
Determine whether flag FCOR- is set,
When this is determined, the area R3 of the RAM 16 is read out in step 32, and it is determined whether the numeric flag FN is set. When the flag FN described above is determined, it is determined that the input is to correct the cash transaction to another transaction (in this case, a ticket sales transaction). If flag FN is not set, it is determined as an error and appropriate error processing is performed. In addition, the above-mentioned correction process is a process of subtracting the data of the transaction from the aggregate data of cash transactions,
At step 33, the CPU 14 accesses area R1 of RAM 16.
Read out the cash selling amount of 1, and from this, area R
The amount stored in the number register 1 is subtracted and stored again, the cash sales quantity of area R12 is read out in step 34, one transaction is subtracted from this and stored again, and the value of area R2 is stored in step 35. The amount value in the corrected amount register is read out, and the amount value stored in the number register in area R1 is subtracted from it. Note that when the value of the correction amount register in area R2 is zero, the above-mentioned subtraction is stored with the value of the number register in area R1 as a negative value. If the correction flag FCOR- is not determined in step 31 described above, the CPU 14 executes step 31.
36 reads area R5 of RAM16 and corrects +
Determine whether flag FCOR+ is set. If the above flag is not determined, the process is executed as normal processing (for example, registration processing), but
When correction + flag FCOR + is determined, CPU1
4, in step 37, the area R3 of the RAM 16 is read out to determine whether the number flag FN is set. If the flag FN mentioned above is not determined, it is treated as an error and appropriate error processing is performed. If the flag FN is determined, it is determined that the input is to be corrected from another transaction (in this case, a ticket sales transaction) to a cash transaction, and this correction is made. The process is a process of adding data for other transactions to the aggregate data of cash transactions. That is, the CPU 14 uses the RAM 16 in step 38.
Read out the cash sales amount in area R11, add the amount value stored in the number register in area R1 to this and store it again, read out the cash sales amount in area R12 in step 39, and add one transaction to this. Then, in step 40, the amount value in the corrected amount register in area R2 is read out, and the amount value stored in the number register in area R1 is added thereto and stored again. Note that when the value of the correction amount register in area R2 is a negative value, the above-mentioned addition ends up being a subtraction process. If the input of the cash key 11 is not determined in step 30 described above, the CPU 14 determines whether the input of the ticket vending key 10 is made in step 41. If this determination is not made, the process is carried out as normal processing (for example, registration processing). However, when it is determined that the ticket vending key 10 has been input, the CPU 14 loads the RAM 16 in step 42.
Read area R4 and correct - flag FCOR -
It is determined whether the numeral flag FN is set, and if this is determined, the area R3 of the RAM 16 is read out in step 43, and it is determined whether the numeral flag FN is set. If the flag FN mentioned above is not determined, it is determined as an error and appropriate error processing is performed, but if the flag FN is determined, it is determined that the input is to correct the ticket sales transaction to another transaction (in this case, a cash transaction). However, in the correction process, data for that transaction is subtracted from the aggregated data of ticket sales transactions. That is, the CPU 14 at step 44
The amount of tickets sold in area R13 in step 6 is read out, and the amount stored in the number register of area R1 is subtracted from this and stored again.In step 45, the number of tickets sold in area R14 is read out, and from this, 1
The transaction amount is subtracted and stored again, and in step 46, the amount value in the corrected amount register in area R2 is read out, and the amount value stored in the number register in area R1 is subtracted from this. Note that when the value of the correction amount register in area R2 is zero, the above-mentioned subtraction is stored with the value of the number register in area R1 as a negative value. If it is not determined in step 42 that the correction flag FCOR- has been set, the CPU 14 reads out area R5 of the RAM 16 in step 47.
Determine whether correction+flag FCOR+ is set. If the above flags are not determined, the process is executed as normal, but correction + flag
When FCOR+ is determined, the CPU 14 executes the step
At step 48, area R3 of the RAM 16 is read to determine whether the number flag FN is set. If the flag FN mentioned above is not determined, it is treated as an error and appropriate error processing is performed. If the flag FN is determined, it is determined that the input is to be corrected from another transaction (cash transaction in this case) to a ticket sales transaction, and this correction is made. The processing is a process of adding data for other transactions to the aggregated data of ticket sales transactions. In other words, the CPU 14 uses the RAM 16 in step 49.
The amount of tickets sold in area R13 is read out, and the amount value stored in the number register of area R1 is added to this and stored again.In step 50, the number of tickets sold in area R14 is read out, and one transaction is added to this. Then, in step 51, the amount value in the corrected amount register in area R2 is read out, and the amount value stored in the number register in area R1 is added thereto and stored again. Note that when the value of the correction amount register in area R2 is a negative value, the above-mentioned addition ends up being a subtraction process. When one of the aforementioned steps 35, 40, 46, and 51 is completed, the CPU 14 starts running at step 52.
The flags in areas R3 to R5 of the RAM 16 are cleared, and in step 53, the amount value stored in the corrected amount register in the area R2 of the RAM 16 is read out to determine whether it is zero. When changing a transaction, as in the example above, the aggregated data is subtracted from the transaction before the change, and then added to the aggregated data of the transaction after the change. Therefore, in the correction process before the change, the change from cash transaction to ticket sales transaction is subtracted from the transaction before the change. In the case of a change, step 35 has been completed; in the case of a reverse change, step 46 has been completed. Therefore, since a negative amount value is stored in the corrected amount register, zero is not determined in step 53, and the process returns to step 22. Furthermore, in the correction process after a transaction is changed, if the change is from a cash transaction to a ticket sales transaction, step 35 and step 35 are performed.
51 has been completed, and in the case of the reverse change, step 46 and step 40 have been completed. Therefore, the correction amount register becomes zero when the correction processing is normally performed. Therefore, the judgment in step 53 is a comparison judgment of whether the subtraction amount and the addition amount match or do not match. It is determined whether or not the amount has been corrected, and by determining zero as described above, it is determined that the two amounts match, and the correction process is terminated, assuming that the correction process has been successfully performed.

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

図面はこの発明の一実施例を示し、第1図は電
子式キヤツシユレジスタの斜視図、第2図はキー
ボードの平面図、第3図は制御回路ブロツク図、
第4図はフローチヤートである。 1……電子式キヤツシユレジスタ、2……キー
ボード、7……部門キー、8……テンキー、10
……券売キー、11……現金キー、12……訂正
−キー、13……訂正+キー、14……CPU、
16……RAM。
The drawings show one embodiment of the present invention; FIG. 1 is a perspective view of an electronic cash register, FIG. 2 is a plan view of a keyboard, and FIG. 3 is a control circuit block diagram.
Figure 4 is a flowchart. 1...Electronic cash register, 2...Keyboard, 7...Department key, 8...Numeric keypad, 10
...Ticket sales key, 11...Cash key, 12...Correction - key, 13...Correction + key, 14...CPU,
16...RAM.

Claims (1)

【特許請求の範囲】 1 取引金額を入力する金額入力手段と、取引種
目を入力する複数の取引種目入力手段と、これら
各取引種目入力手段に対応して各取引金額とその
取引回数を集計した集計データを記憶する記憶手
段とを備え、上記取引種目入力手段の操作ごとに
該取引に対応する記憶手段に取引金額、取引回数
を集計制御する電子式キヤツシユレジスタであつ
て、各取引の集計データを加算と減算とに訂正す
る訂正+キー、訂正−キーと、 上記訂正+キー、訂正−キー、前記金額入力手
段および取引種目入力手段の入力に基づいて、前
記記憶手段の指定された取引種目の集計データを
加算・減算処理で訂正処理すると共に、上記加
算・減算処理の加算データと減算データとの一致
を判定処理する制御手段とを設けた 電子式キヤツシユレジスタ。
[Scope of Claims] 1. An amount input means for inputting a transaction amount, a plurality of transaction type input means for inputting a transaction type, and aggregation of each transaction amount and the number of transactions corresponding to each of these transaction type input means. an electronic cash register comprising a storage means for storing aggregated data, and controlling the aggregation of the transaction amount and number of transactions in the storage means corresponding to the transaction for each operation of the transaction type input means; a correction+key and a correction-key for correcting data into additions and subtractions; An electronic cash register provided with a control means for correcting the aggregated data of an item by addition/subtraction processing and for determining whether the added data and subtracted data in the addition/subtraction processing match.
JP57118811A 1982-07-07 1982-07-07 Electronic cash register Granted JPS599770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57118811A JPS599770A (en) 1982-07-07 1982-07-07 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57118811A JPS599770A (en) 1982-07-07 1982-07-07 Electronic cash register

Publications (2)

Publication Number Publication Date
JPS599770A JPS599770A (en) 1984-01-19
JPH045235B2 true JPH045235B2 (en) 1992-01-30

Family

ID=14745713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57118811A Granted JPS599770A (en) 1982-07-07 1982-07-07 Electronic cash register

Country Status (1)

Country Link
JP (1) JPS599770A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57771A (en) * 1980-06-02 1982-01-05 Tokyo Electric Co Ltd Electronic cash register

Also Published As

Publication number Publication date
JPS599770A (en) 1984-01-19

Similar Documents

Publication Publication Date Title
JPH0696362A (en) Registration device
JPH045235B2 (en)
JPH0430295A (en) electronic cash register
JPH0261076B2 (en)
JPH01293498A (en) electronic cash register
JPH0211957B2 (en)
JPS60251497A (en) Electronic cash register
JP2528513B2 (en) Product sales data processing device
JPS63269291A (en) electronic cash register
JPH0353340Y2 (en)
JP2810427B2 (en) Electronic cash register
JPH0749593Y2 (en) Sales data processor
JPS5851305B2 (en) electronic cash register
JPS63225897A (en) Transaction processor
JP2000227980A (en) Electronic cash register
JPH034398A (en) Electronic cash register
JPH01293499A (en) Electronic cash register
JPS5833981B2 (en) electronic cash register
JPH01305498A (en) electronic cash register
JPH0628580A (en) Sales data processor
JPS62267896A (en) Electronic cash register
JPS63223896A (en) System of processing partial incoming money yet to be transacted
JPS62192896A (en) electronic cash register
JPS61276098A (en) electronic cash register
JPS62102391A (en) Electronic type cash register