JP3750361B2 - Sales data processing apparatus and recording medium - Google Patents

Sales data processing apparatus and recording medium Download PDF

Info

Publication number
JP3750361B2
JP3750361B2 JP21734098A JP21734098A JP3750361B2 JP 3750361 B2 JP3750361 B2 JP 3750361B2 JP 21734098 A JP21734098 A JP 21734098A JP 21734098 A JP21734098 A JP 21734098A JP 3750361 B2 JP3750361 B2 JP 3750361B2
Authority
JP
Japan
Prior art keywords
currency
sales data
sales
euro
function
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
JP21734098A
Other languages
Japanese (ja)
Other versions
JP2000048263A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP21734098A priority Critical patent/JP3750361B2/en
Publication of JP2000048263A publication Critical patent/JP2000048263A/en
Application granted granted Critical
Publication of JP3750361B2 publication Critical patent/JP3750361B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、売上データを処理する売上データ処理装置、及びそのような売上データ処理の動作をコンピュータに実行させる命令を含むプログラムを格納したコンピュータが読み取り可能な記録媒体に関する。
【0002】
【従来の技術】
電子式キャッシュレジスタやPOS(ポイントオブセールス)ターミナル等の売上データ処理装置が、各種店舗で使用されている。
このような売上データ処理装置は、一般に、その売上データ処理装置が使用される国の通貨のみを処理対象とするものであるが、自国通貨と外国通貨の変換レートを記憶しておき、外国通貨での支払いを可能とする通貨変換機能を備える売上データ処理装置も知られている。
【0003】
【発明が解決しようとする課題】
ところで、欧州においては、ヨーロッパ連合(EU)が1999年1月1日からユーロと呼称される単一通貨を導入しようとしている。これは、額面5から500まで7種類のユーロ紙幣と、さらに補助単位(1ユーロ=100セント)として1セントから2ユーロまで8種類の硬貨が用いられる。
【0004】
このユーロ通貨は、1999年1月1日に自国通貨から切り替えられるものではなく、経過措置として、2002年6月末までは、自国通貨とユーロ通貨の併用が認められている。
【0005】
従って、このようなユーロ通貨を導入する地域において使用される売上データ処理装置は、従来の単純な通貨変換機能だけでは不十分であり、自国通貨のみ、自国通貨とユーロ通貨の併用、ユーロ通貨のみという三種類の時期にそれぞれ対処可能なように売上データ処理機能を切り替えられると共に、上記両通貨の併用時に独特の処理機能を備えることが必要とされる。
【0006】
本発明の課題は、自国通貨のみ、自国通貨とユーロ通貨の併用、ユーロ通貨のみの三種類の時期それぞれに対処可能なように売上データ処理機能を切り替えられると共に、両通貨の併用時に独特の処理を行えるようにすることである。
【0007】
【課題を解決するための手段】
請求項1に記載の売上データ処理装置は、複数の通貨のうち、所定通貨による売上データの処理を指定する指定手段と、前記指定手段で指定される複数の通貨による売上データを記憶する合計器を一つの商品コードに対して複数設定する設定手段と、商品コードの入力に伴う商品の売上登録処理において、前記指定手段で指定されている所定通貨を判別し、入力された商品コードであって前記指定されている通貨に対応する合計器へ売上登録の演算を行う処理手段とを具備する。
【0008】
請求項3に記載の売上データ処理装置は、複数の通貨のうち、所定通貨による売上データの処理を指定する指定手段と、一つの商品コードに対する売上データを複数の通貨に対応して複数記憶する合計メモリと、一取引毎の売上データを記憶する一取引メモリと、前記指定手段によって通貨の指定が変更された際に、前記一取引メモリに記憶された売上データが0であるか否かを判別する判別手段と、前記指定手段で指定されている通貨を判別し、前記一取引メモリに記憶された売上データが0である場合に、前記指定手段による通貨の指定を有効にし、入力された商品コードに基づいて前記指定されている通貨に対応する合計器へ売上登録の演算を行う処理手段と、を具備する。
【0010】
【発明の実施の形態】
以下、本発明の一実施の形態を図1の(A)乃至図11の(B)を参照して説明する。
図1の(A)は、本発明の売上データ処理装置の一実施の形態としての電子式キャッシュレジスタの構成を示す図である。同図において、CPU10は、RAM12内にロードされている各種プログラムに従ってこの電子式キャッシュレジスタの全体動作を制御する中央演算装置である。記憶装置14は、オペレーティングシステムや各種アプリケーションプグラム、データファイル、文字フォントデータ等が予め格納されている記憶媒体16やその駆動系を有している。この記憶媒体16は固定的に設けたもの、もしくは着脱自在に装着可能なものであり、フロッピーディスク、ハードディスク、光ディスク、RAMカード等の磁気的・光学的記憶媒体、半導体メモリによって構成されている。また、記憶媒体16内のプログラムやデータは、必要に応じてCPU10の制御により、RAM12にロードされる。更に、CPU10は、通信回線18等を介して他の機器側から送信されてきたプログラム、データを受信して記憶媒体16に格納したり、他の機器側に設けられている記憶媒体に格納されているプログラム、データを通信回線18等を介して使用することもできる。
【0011】
CPU10には、その入出力周辺デバイスである入力装置20、表示装置22、印刷装置24、時計26、ドロア28がバスラインを介して接続されており、入出力プログラムに従ってCPU10はそれらの動作を制御する。
【0012】
入力装置20は、特に図示はしないが、金額データや売上個数等を置数するテンキー、商品登録時に操作される部門キー、PLU(プライス・ルック・アップ)キー、一取引分の登録を締める現金/預りキー等、通常備えられている各種のキーやモードスイッチが設けられている。モードスイッチは、その切り替え位置に応じて「REG(登録)」、「X(点検)」、「Z(清算)」等のモードを切り替えるもので、REGモードにセットされている状態においてCPU10は、入力装置20から入力された売上データを取り込んで表示装置22に表示出力させたり、印刷装置24に送ってレシート/ジャーナル印字させ、更にRAM12内の売上合計器の内容を更新する登録処理を行う。
【0013】
印刷装置24は、例えば2連装プリンタで、CPU10は売上データを登録する毎にレシート用、ジャーナル用のロール紙に対してレシート/ジャーナル印字を行うと共に一取引分の登録終了時に締め処理を行ってドロア28を開放させたり、レシート用紙を切断して売上明細レシートを発行する他、次の取引の準備としてレシート用紙の先頭部分に時計26によって得られた現在日付をヘッダデータとして印字する。
【0014】
図1の(B)は、上記RAM12の主要構成を示した図で、RAM12には各種のメモリ領域が割り当てられている。
ここで、売上データファイル12Aは、アイテム合計器12A1、ファイナライズ合計器12A2、インドロア合計器12A3等、各種の売上合計器を構成するもので、アイテム合計器12A1の内容は売上データが登録される毎に更新され、またファイナライズ合計器12A2の内容は一取引の登録時に現金売り、信用売り等の取引形態に応じて更新される。インドロア合計器12A3は、ドロア28内に収納されている現金の合計額を記憶しておくためのものである。
【0015】
また、設定データメモリ12Bは、自国通貨(以下、ローカル通貨と称する)とユーロ通貨の併用時に、どちらを主な通貨として管理するかを示す主体通貨情報を記憶する主体通貨記憶部12B1、つりを何れの通貨で支払うかを示すつり通貨情報を記憶するつり通貨記憶部12B2、ローカル通貨とユーロ通貨の変換レートを記憶する通貨変換レート記憶部12B3、ローカル通貨からローカル,ユーロ通貨併用への移行又は通貨併用からユーロ通貨への移行を行う切替日時を記憶するスケジューラ用メモリ12B4等の各種情報記憶部を含む。
【0016】
図2の(A)乃至(C)は上記アイテム合計器12A1のメモリ構成を示す図であり、図2の(D)乃至(F)は上記インドロア合計器12A3のメモリ構成を示す図である。アイテム合計器12A1は、商品毎に、「商品コード」、「単価」、「プログラム(PGM)」、「キャラクタ(Char)」、「件数」、「金額」を記憶する。ここで、「プログラム」とは4桁分等、各種の設定を示し、「キャラクタ」とは例えば図3の(A)に示すような「CHOCOLATE 」等の表示/印字する商品名等のデータである。また、「件数」とは売上個数を示し、「金額」は、この「件数」の値に「単価」の値を乗じた値となる。なお、この「件数」と「金額」については、図2の(A)及び(C)に示すように、ローカル通貨のみ又はユーロ通貨のみの場合は一組であるが、両通貨の併用時には、図2の(B)に示すようにローカル通貨用、ユーロ通貨用の二組が設けられることになる。同様に、インドロア合計器12A3も、ローカル通貨のみ又はユーロ通貨のみの場合は図2の(D)及び(F)に示すように一種類であるが、両通貨の併用時には、図2の(E)に示すようにローカル通貨用、ユーロ通貨用の二種類が設けられる。両通貨併用時のこれらアイテム合計器12A1及びインドロア合計器12A3における2つの合計器の順序は、主体通貨記憶部12B1に設定記憶された主体通貨がどちらであるかによって決まる。図2の(B)及び(E)は主体通貨がローカル通貨の場合を示している。
【0017】
図3の(A)及び(B)は、ローカル通貨のみ使用時及びユーロ通貨のみ使用時におけるレシートの印字例を示す図である。これらの図に示すように、西暦1999年1月1日の両通貨併用開始時までは、また、西暦2002年7月1日以降のユーロ通貨のみ許される時期においては、一種類の通貨でのみ処理すれば良いので、従来の電子式キャッシュレジスタと同様であり、よって、その説明は省略する。
【0018】
従って、本実施の形態では、一種類の通貨から二種類の通貨併用への移行時、あるいは二種類の通貨併用から一種類の通貨への移行時における切替動作と、二種類の通貨併用時に独特の動作について説明するものとする。
【0019】
まず、切替動作について、図4の(A)及び(B)のフローチャートを参照して説明する。ここで、これらのフローチャートに記述されている各機能を実現するためのプログラムは、CPU10が読み取り可能なプログラムコードの形態で記憶媒体16に記憶されており、その内容がRAM12にロードされている。なお、後述する実施の形態における他のフローチャートにおいても同様である。
【0020】
図4の(A)は、ローカル通貨とユーロ通貨の併用状態からユーロ通貨のみ使用する状態に、オペレータがマニュアル切替する場合の動作を示したフローチャートであり、特定のコマンド入力、例えばテンキーにより「01072002」と入力した後、<ST>釦、<CA>釦を入力することにより開始される。
【0021】
まず、RAM12の主体通貨記憶部12B1に記憶されている現在の主体通貨の設定がユーロであるかどうかを判別し(ステップS10)、ユーロである場合には、ステップS16に進んで、ユーロ変換処理サブルーチンを直ちに実行する。これに対して、ユーロでない場合つまりローカル通貨の設定になっている場合には、売上の合計器つまりアイテム合計器12A1におけるローカル及びユーロの合計器、並びにファイナライズ合計器12A2が0になっているかどうか確認し(ステップS12)、0であればステップS16に進んでユーロ変換処理サブルーチンを実行するが、0でない場合には、表示装置22及び印刷装置24によりエラーの表示及び印字を行って(ステップS14)、該切替処理を終了する。そして、上記ステップS10で主体通貨がユーロと判定された場合、及びローカル通貨設定でも売上の合計器が0であると判定された場合には、ユーロ変更処理サブルーチンを実行して(ステップS16)、この切替処理を終了する。
【0022】
また、図4の(B)は、ローカル通貨とユーロ通貨の併用状態からユーロ通貨のみ使用する状態に自動的にモード切替する場合の動作を示したフローチャートである。
【0023】
即ち、当該電子式キャッシュレジスタのパワーオン時に、まずモード切替が可能かどうか判断し(ステップS20)、モード切替可能な状態にない場合には、この切替処理をスキップして、次の処理へと進む。ここで、通常であれば、パワーオン直後はモード切替可能なものであるが、例えば印刷装置24で用紙詰まりを起こしたため一旦電源をオフして詰まった用紙を取り除いた後にパワーオンしたような場合や、ファイナライズ(締め)をし忘れてまだ合計器にデータが残っているような場合のように、当該電子式キャッシュレジスタの使用中には、モード切替が不可となっている。
【0024】
モード切替が可能な場合には、次に、RAM12のスケジューラ用メモリ12B4に、切替日時が設定記憶されているかどうか判断し(ステップS22)、記憶されていない場合にはこの切替処理をスキップして次の処理へと進むが、記憶されている場合には、時計26より現在の日付及び時間を獲得して(ステップS24)、現在の日時がスケジューラ用メモリ12B4に設定記憶されている切替日時を過ぎているかどうか判断する(ステップS26)。まだ、スケジューラ用メモリ12B4に設定記憶されている切替日時になっていない場合には、この切替処理をスキップして次の処理へと進む。なお、上記スケジューラ用メモリ12B4に記憶される切替日時は、当該電子式キャッシュレジスタの使用される店舗の営業形態に応じて任意に設定可能である。例えば、深夜営業の店舗では、切替日時である西暦2002年7月1日0時00分は営業中であるため、営業終了後の西暦2002年7月1日2時00分というように設定することができる。
【0025】
そして、上記ステップS26において現在の日時が切替日時を過ぎていると判断された場合には、前述したマニュアル切替の場合と同様に、まず、RAM12の主体通貨記憶部12B1に記憶されている現在の主体通貨の設定がユーロであるかどうかを判別し(ステップS10)、ユーロである場合には、ステップS16に進んで、ユーロ変換処理サブルーチンを直ちに実行する。これに対して、ユーロでない場合つまりローカル通貨の設定になっている場合には、売上の合計器が0になっているかどうか確認し(ステップS12)、0であればステップS16に進んでユーロ変換処理サブルーチンを実行する。一方、0でない場合には、前述のマニュアル切替のようなエラー表示及び印字は行うことなく、この切替処理を終了して、次の処理へと進む。そして、上記ステップS10で主体通貨がユーロと判定された場合、及びローカル通貨設定でも売上の合計器が0であると判定された場合には、ユーロ変更処理サブルーチンを実行して(ステップS16)、この切替処理を終了し、次の処理へと進む。
【0026】
図5の(A)は、上記ステップS16でのユーロ変更処理サブルーチンを示している。即ち、まず、主体通貨記憶部12B1に主体通貨情報としてユーロ通貨を設定記憶し(ステップS30)、また、つり通貨記憶部12B2につり通貨情報としてをユーロ通貨を設定記憶する(ステップS32)。次に、スケジューラ用メモリ12B4をリセットする(ステップS34)。その後、印字制御を変更する。即ち、ユーロ合計器の印字を無しにし(ステップS36)、ユーロとローカルの両方印字用の設定を主体通貨のみ印字される設定に変更する(ステップS38)。次に、アイテム合計器12A1のアロケーションをし直し(ステップS40)、各アイテムの単価を変更する(ステップS42)。そして、通貨変換レート記憶部12B3に通貨変換レート情報として0を設定して(ステップS44)、上位のルーチンに戻る。
【0027】
ここで、上記ステップS40でのアイテム合計器12A1の再アロケーションは、各商品(アイテム)毎のレコードを、図2の(B)に示すような二種類の合計器を含むものから図2の(C)に示すようなユーロのみの合計器を含むようなものにメモリ割り当てを変更する処理である。
【0028】
また、ステップS42での単価の変換処理は、ローカル通貨による単価をユーロ通貨による単価に変換する処理であり、図3の(B)に示すようにして行われる。即ち、各アイテムの単価に通貨変換レート記憶部12B3に設定記憶された通貨変換レートを乗じて得られた結果を、新しい単価としてアイテム合計器12A1に記憶する(ステップS50)。このとき、ユーロ通貨の最低額硬貨に合わせるために丸め処理が必要であれば(ステップS52)、丸めアルゴリズムにより各アイテムの単価を丸める(ステップS54)。
【0029】
以上のようにして、ローカル通貨とユーロ通貨の併用状態からユーロ通貨のみ使用する状態に切替られる。
なお、ローカル通貨のみ使用する状態からローカル通貨とユーロ通貨の併用状態に切替る処理は、以上の処理の逆を行えば良いので、ここではその説明は省略する。
【0030】
但し、上記ステップS40でのアイテム合計器12A1の再アロケーションについては、図2の(A)に示すようなレコードを図2の(B)に示すような二種類の合計器を含む形態に変換するものであるが、この場合は単純に再アロケーションすれば良いわけではない。即ち、アイテム合計器12A1は、RAM12の固定長のエリアに割り当てられているため、アイテム数が多い場合には、単純に再アロケーションを行うとその固定長のエリアから別の記憶部に割り当てられたメモリエリアに溢れて上書きしてしまい、そこに記憶されている内容を破壊してしまう。そこで、ローカル通貨のみ使用する状態から二種類の通貨の併用状態に切替る際には、このアイテム合計器12A1の再アロケーションは、図6の(A)に示すようにして行われる。
【0031】
即ち、まず、図6の(B)の上側に示すように、アイテム合計器12A1の使用容量(使用レコード数)を計算してそれをαとし(ステップS60)、また、未使用容量(未使用レコード数)を計算してそれをβとし(ステップS62)、更にその他の残りの容量(バイト数)を計算してそれをγする(ステップS64)。そして、上記βにローカル通貨の使用時のレコード長を乗じて更に上記γを加えた値と、上記αにローカル通貨とユーロ通貨の併用時におけるレコード長を乗じた値とを比較することで、再アロケーションしても溢れが生じないか判別し(ステップS66)、溢れが生じない場合にのみ、図6の(B)の下側に示すように、アイテム合計器12A1を再構築する(ステップS68)。一方、溢れが生じる場合には、印刷装置24によりエラー印字を行う(ステップS70)。従って、このエラー印字を見たオペレータは、不必要なアイテムのレコードを削除する等の必要な措置を取ることができる。
【0032】
次に、ローカル通貨とユーロ通貨の二種類併用時に独特の動作について説明する。
図7は、入力装置20の図示しないモードスイッチが「REG」の位置にセットされている登録モードにおいて、入力された売上データを登録処理するための動作を示したフローチャートである。
【0033】
即ち、まず、アイテム登録であるのかどうか判断し(ステップS100)、そうであれば、指定されたアイテムのレコードをアイテム合計器12A1よリサーチする(ステップS102)。そして、通貨の指定状態を判別して(ステップS104)、アイテム合計器12A1の上記サーチしたレコードにおけるその指定された通貨の合計器に演算を行う(ステップS106)。
【0034】
また、上記ステップS100においてアイテム登録でないと判断された場合には、ファイナライズ登録(締め)であるかどうか判断し(ステップS108)、そうであれば、通貨の指定状態を判別して(ステップS110)、ファイナライズ処理として、その指定された通貨のファイナライズ合計器12A2及びインドロア合計器12A3に演算を行う(ステップS112)。そして、印刷装置24によりレシートを印字して(ステップS114)、スリップの印字も必要であれば(ステップS116)、スリップの印字も行う(ステップS118)。
【0035】
上記ステップS112でのファイナライズ処理及びステップS114でのレシート印字処理は、図8に示すようにして行われる。
即ち、上記ステップS110で判別した、つり通貨記憶部12B2に設定記憶されているつり通貨の設定がユーロ通貨であり(ステップS130)、主体通貨記憶部12B1に設定記憶されている主体通貨の設定がユーロ通貨であれば(ステップS132)、図5の(B)に示すように表示装置22に主体通貨によるつり金額を表示する(ステップS134)。そして、図9の(A)又は(B)に示すように印刷装置24により主体通貨の記号である
【0036】
【数1】

Figure 0003750361
を付してつり金額を印字して(ステップS136)、主体通貨のインドロア合計器12A3から減算を行う(ステップS138)。なお、図9の(A)及び(B)では、簡単化のため、通貨変換レート記憶部12B3に設定記憶された通貨変換レートは、1フラン(F)=0.5ユーロであるものとし、全て現金払いであるものとする。ここで、図9の(A)は客が支払いをユーロ通貨で行った場合であり、(B)はローカル通貨(この場合はフラン)で行った場合を示している。
【0037】
また、つり通貨記憶部12B2に設定記憶されているつり通貨の設定がユーロ通貨であり(ステップS130)、主体通貨記憶部12B1に設定記憶されている主体通貨の設定がローカル通貨であれば(ステップS132)、図5の(C)に示すように表示装置22に主体でない通貨によるつり金額を、その通貨を示す文字(この場合は「E」)と共に表示する(ステップS140)。そして、図9の(C)又は(D)に示すように印刷装置24により主体でない通貨の記号(この場合は「C=」)を付して釣り金額を印字して(ステップS142)、主体でない通貨のインドロア合計器12A3から減算を行う(ステップS144)。
【0038】
一方、つり通貨記憶部12B2に設定記憶されているつり通貨の設定がローカル通貨であり(ステップS130)、主体通貨記憶部12B1に設定記憶されている主体通貨の設定がローカル通貨であれば(ステップS146)、図5の(D)に示すように表示装置22に主体通貨によるつり金額を表示する(ステップS148)。そして、図10の(A)又は(B)に示すように印刷装置24により主体通貨の記号(この場合は「F」)を付してつり金額を印字して(ステップS150)、主体通貨のインドロア合計器12A3から減算を行う(ステップS152)。
【0039】
また、つり通貨記憶部12B2に設定記憶されているつり通貨の設定がローカル通貨であり(ステップS130)、主体通貨記憶部12B1に設定記憶されている主体通貨の設定がユーロ通貨であれば(ステップS146)、図5の(E)に示すように表示装置22に主体でない通貨によるつり金額を、その通貨を示す文字(この場合は「L」)と共に表示する(ステップS154)。そして、図10の(C)又は(D)に示すように印刷装置24により主体でない通貨の記号(この場合は「F」)を付してつり金額を印字して(ステップS156)、主体でない通貨のインドロア合計器12A3から減算を行う(ステップS158)。
【0040】
これに対して、上記ステップS110で判別した、つり通貨記憶部12B2に設定記憶されているつり通貨の設定が、その都度、客が決める設定になっていた場合には(ステップS130)、客によるつり通貨の選択に応じた選択キーをオペレータが操作することで(ステップS160)、ユーロ通貨かローカル通貨かを判別する(ステップS162)。そして、ユーロ通貨であれば上記ステップS132からの処理が実行され、ローカル通貨であれば上記ステップS146からの処理が実行される。
【0041】
なお、上記ファイナライズ処理において、例えば図9の(A)及び(B)に示すように、客からの預り通貨がローカル通貨、ユーロ通貨の何れであるかによって、レシートの印字を変えているが、この預り通貨が何れであるかは、例えば入力装置20のテンキーによる預り金額の入力前に所定のキー、例えば<Euro>釦が操作されたかどうかにより判断する。即ち、預り金額が単に入力された場合には主体通貨によるものとし、預り金額の入力前に<Euro>釦が操作された場合には主体でない通貨によるものとする。
【0042】
また、このような<Euro>釦は、二種類の通貨併用時にしか利用されないため、ローカル通貨のみ又はユーロ通貨のみ使用している時期には、そのキー入力を無効にする必要がある。そこで、図11の(A)に示すように、<Euro>釦が押下されたとき、通貨変換レート記憶部12B3に設定記憶されている通貨変換レートが0かどうかを判別し(ステップS170)、0でなければ、主体でない通貨の金額入力及び小計表示、各種機能キーの入力を可とし(ステップS172)、0の場合には、エラーとしてユーロ変換入力登録やユーロ小計登録を不可とする(ステップS174)。
【0043】
また、上記ステップS118でのスリップ印字処理に関しては、電子式キャッシュレジスタの印字装置24以外の外部プリンタで印字することがある。この場合、ユーザが用意する外部プリンタが必ずしもユーロ記号「C=」を印字可能なものであるとは限らない。そこで、本実施の形態では、予めオペレータが外部プリンタに合わせて印字モードを設定しておき、その設定に従って、図11の(B)に示すようにしてスリップ印字を行うものとする。
【0044】
即ち、まず設定モードが英文字「EURO」印字するモードであった場合には(ステップS180)、「EURO」を金額シンボルとして金額印字用の印字データを作成し、それを外部プリンタに送信することで印字を行う(ステップS182)。
【0045】
また、ユーロ記号「C=」を印字するモードであった場合、つまり外部プリンタがユーロ記号を印字可能なものであった場合には(ステップS184)、外部プリンタにおけるそのユーロ記号を示すシンボルキャラクタコードを、金額シンボルとして、金額印字用の印字データを作成し、それを外部プリンタに送信することで印字を行う(ステップS186)。
【0046】
これに対して、オペレータが任意に設定した文字を印字するモードであった場合には(ステップS188)、外部プリンタにおけるその文字を示すシンボルキャラクタコードを、金額シンボルとして、金額印字用の印字データを作成し、それを外部プリンタに送信することで印字を行う(ステップS186)。
【0047】
そして、上記以外のモードであった場合には(ステップS188)、金額をローカル通貨に変換し、ローカル通貨のシンボルを金額シンボルとして金額印字用の印字データを作成し、それを外部プリンタに送信することで印字を行う(ステップS190)。
【0048】
なお、このような処理は、スリップ印字に限らず、表示器に出力する場合や、通信回線に出力する際のデータ内容の切り替え等にも適用可能である。
以上のようにして、一つの売上データ処理装置で、ローカル通貨のみ、ローカル通貨とユーロ通貨の併用、ユーロ通貨のみ、という三種類の状態を切り替えて売上データの処理を行うことが可能となる。
【0049】
なお、上記一実施の形態においては、簡単化のため、現金売りの場合についてのみ説明したが、信用売り等の通常の売上データ処理装置で可能な処理が行えることは勿論である。
【0050】
【発明の効果】
請求項1に記載の本発明によれば、指定される複数の通貨に対応して合計器が複数設定されるので、指定された通貨に基づく売上登録を対応する通貨の合計器に正確に演算して記憶させ、もって複数の通貨による売上登録を可能にすることができる。
請求項3に記載の本発明によれば、一取引の途中のデータがない場合、即ち顧客の一取引が終了した後に通貨の指定の変更を可能にしたので、一顧客の一取引内での複数の通貨による混在した登録を防止し、指定された通貨に基づく売上登録を対応する通貨の合計器に正確に演算して記憶させ、もって複数の通貨による売上登録を可能にすることができる。
【図面の簡単な説明】
【図1】(A)は本発明の売上データ処理装置の一実施の形態としての電子式キャッシュレジスタの構成を示す図であり、(B)はRAMの主要構成を示した図である。
【図2】(A)乃至(C)はそれぞれアイテム合計器のメモリ構成を示す図であり、(D)乃至(F)はそれぞれインドロア合計器のメモリ構成を示す図である。
【図3】(A)及び(B)はそれぞれローカル通貨のみ使用時及びユーロ通貨のみ使用時におけるレシートの印字例を示す図であり、(C)はローカル通貨による単価をユーロ通貨による単価に変換する単価変換処理のフローチャートである。
【図4】(A)はローカル通貨とユーロ通貨の併用状態からユーロ通貨のみ使用する状態にオペレータがマニュアル切替する場合の動作を示したフローチャートであり、(B)はローカル通貨とユーロ通貨の併用状態からユーロ通貨のみ使用する状態に自動的にモード切替する場合の動作を示したフローチャートである。
【図5】(A)はユーロ変更処理サブルーチンでの動作を示すフローチャートであり、(B)乃至(E)はそれぞれファイナライズ処理時の表示例を示す図である。
【図6】(A)はアイテム合計器の再アロケーション処理のフローチャートであり、(B)はアイテム合計器の再アロケーション処理を説明するためのアイテム合計器のメモリ構成を示す図である。
【図7】ローカル通貨とユーロ通貨の二種類併用時における売上データを登録処理するための動作を示したフローチャートである。
【図8】ファイナライズ処理及びレシート印字処理の詳細を示すフローチャートである。
【図9】(A)乃至(D)はそれぞれ印字されるレシートの例を示す図である。
【図10】(A)乃至(D)はそれぞれ印字されるレシートの例を示す図である。
【図11】(A)は<Euro>釦押下時の動作を説明するためのフローチャートであり、(B)はスリップ印字の動作フローチャートである。
【符号の説明】
10 CPU
12 RAM
12A 売上データファイル
12A1 アイテム合計器
12A2 ファイナライズ合計器
12A3 インドロア合計器
12B 設定データメモリ
12B1 主体通貨記憶部
12B2 つり通貨記憶部
12B3 通貨変換レート記憶部
12B4 スケジューラ用メモリ
14 記憶装置
16 記憶媒体
18 通信回線
20 入力装置
22 表示装置
24 印刷装置
26 時計
28 ドロア[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a sales data processing apparatus for processing sales data, and a computer-readable recording medium storing a program containing instructions for causing a computer to execute such sales data processing operations.
[0002]
[Prior art]
Sales data processing devices such as electronic cash registers and POS (Point of Sales) terminals are used in various stores.
Such a sales data processing device is generally intended for processing only the currency of the country in which the sales data processing device is used, but stores the conversion rate between the home currency and the foreign currency, and stores the foreign currency. There is also known a sales data processing apparatus having a currency conversion function that enables payment at the same time.
[0003]
[Problems to be solved by the invention]
By the way, in Europe, the European Union (EU) has been trying to introduce a single currency called the Euro since January 1, 1999. This uses seven types of euro bills with a face value of 5 to 500 and eight types of coins from 1 cent to 2 euros as an auxiliary unit (1 euro = 100 cents).
[0004]
This euro currency is not switched from the home currency on January 1, 1999, and as a transitional measure, the use of the home currency and the euro currency is permitted until the end of June 2002.
[0005]
Therefore, the sales data processing device used in the region where the euro currency is introduced is not sufficient with the conventional simple currency conversion function. Only the home currency, the combination of the home currency and the euro currency, the euro currency only The sales data processing function can be switched so that each of the three types of times can be dealt with, and a unique processing function is required when the two currencies are used together.
[0006]
The problem of the present invention is that the sales data processing function can be switched so as to be able to deal with each of three kinds of periods of the home currency only, the combination of the home currency and the euro currency, and the euro currency only, and a unique process when using both currencies It is to be able to do.
[0007]
[Means for Solving the Problems]
  Claim 1The sales data processing device described in 1 includes a designation unit that designates processing of sales data in a predetermined currency among a plurality of currencies, and a totalizer that stores sales data in a plurality of currencies designated by the designation unit. In the setting means for setting a plurality of product codes, and the product sales registration process associated with the input of the product code, the predetermined currency specified by the specifying means is determined, and the input product code is the specified And processing means for calculating sales registration to the totalizer corresponding to the currency.
[0008]
  The sales data processing device according to claim 3 stores a plurality of sales data corresponding to a plurality of currencies, and a designation unit that specifies processing of sales data in a predetermined currency among a plurality of currencies. A total memory, a transaction memory for storing sales data for each transaction, and whether or not the sales data stored in the transaction memory is 0 when the designation of the currency is changed by the designation means The determining means for determining and the currency specified by the specifying means are determined, and when the sales data stored in the one transaction memory is 0, the specification of the currency by the specifying means is validated and input Processing means for calculating sales registration to a totaling device corresponding to the designated currency based on a product code.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 1A to 11B.
FIG. 1A is a diagram showing a configuration of an electronic cash register as an embodiment of a sales data processing apparatus of the present invention. In the figure, a CPU 10 is a central processing unit that controls the overall operation of the electronic cash register according to various programs loaded in a RAM 12. The storage device 14 includes a storage medium 16 in which an operating system, various application programs, data files, character font data, and the like are stored in advance, and a drive system thereof. This storage medium 16 is fixedly provided or detachably mountable, and is constituted by a magnetic / optical storage medium such as a floppy disk, a hard disk, an optical disk, a RAM card, or a semiconductor memory. Further, programs and data in the storage medium 16 are loaded into the RAM 12 as required by the control of the CPU 10. Further, the CPU 10 receives a program and data transmitted from another device via the communication line 18 or the like and stores them in the storage medium 16 or is stored in a storage medium provided on the other device. The program and data can be used via the communication line 18 or the like.
[0011]
An input device 20, a display device 22, a printing device 24, a clock 26, and a drawer 28, which are input / output peripheral devices, are connected to the CPU 10 via a bus line, and the CPU 10 controls their operations according to an input / output program. To do.
[0012]
Although not specifically shown, the input device 20 is a numeric keypad for entering monetary data, sales quantity, etc., a department key operated at the time of product registration, a PLU (price look-up) key, and cash for closing registration for one transaction. Various keys and mode switches that are normally provided, such as a / deposit key, are provided. The mode switch switches modes such as “REG (registration)”, “X (inspection)”, and “Z (clearing)” according to the switching position. In the state where the REG mode is set, the CPU 10 The sales data input from the input device 20 is taken in and displayed on the display device 22, or sent to the printing device 24 for receipt / journal printing, and further a registration process for updating the contents of the sales total in the RAM 12 is performed.
[0013]
The printing device 24 is, for example, a dual printer, and the CPU 10 performs receipt / journal printing on receipt and journal roll paper each time sales data is registered, and performs a closing process at the end of registration for one transaction. In addition to releasing the drawer 28 and cutting the receipt paper to issue a sales detail receipt, the current date obtained by the clock 26 is printed as header data on the top of the receipt paper in preparation for the next transaction.
[0014]
FIG. 1B shows the main configuration of the RAM 12, and various memory areas are allocated to the RAM 12.
Here, the sales data file 12A constitutes various sales totals such as an item total 12A1, finalization total 12A2, Indore total 12A3, etc. The contents of the item total 12A1 are stored every time sales data is registered. In addition, the content of the finalize total 12A2 is updated according to the transaction form such as cash sale and credit sale when one transaction is registered. The indore total 12A3 is for storing the total amount of cash stored in the drawer 28.
[0015]
In addition, the setting data memory 12B includes a main currency storage unit 12B1 for storing main currency information indicating which is managed as a main currency when the home currency (hereinafter referred to as a local currency) and the euro currency are used together. A change currency storage unit 12B2 for storing the change currency information indicating which currency is to be paid, a currency conversion rate storage unit 12B3 for storing a conversion rate between the local currency and the euro currency, a transition from the local currency to the local / euro currency combination or Various information storage units such as a scheduler memory 12B4 for storing a switching date and time for switching from currency combination to euro currency are included.
[0016]
2A to 2C are diagrams illustrating the memory configuration of the item totalizer 12A1, and FIGS. 2D to 2F are diagrams illustrating the memory configuration of the indore summing unit 12A3. The item totalizer 12A1 stores “product code”, “unit price”, “program (PGM)”, “character (Char)”, “number of cases”, and “amount” for each product. Here, “program” indicates various settings such as four digits, and “character” is data such as a product name to be displayed / printed such as “CHOCOLATE” as shown in FIG. is there. “Number of cases” indicates the number of units sold, and “Amount” is a value obtained by multiplying the value of “Number of cases” by the value of “Unit price”. As shown in (A) and (C) of FIG. 2, the “number of cases” and “amount” are one set in the case of only the local currency or only the euro currency. As shown in FIG. 2B, two sets for local currency and euro currency are provided. Similarly, the Indore summing machine 12A3 is of one type as shown in FIGS. 2D and 2F when only the local currency or the euro currency is used, but when both currencies are used together, (E ), Two types for local currency and euro currency are provided. The order of the two totalizers in the item totalizer 12A1 and the Indore totalizer 12A3 when using both currencies is determined by the main currency set and stored in the main currency storage unit 12B1. 2B and 2E show a case where the main currency is a local currency.
[0017]
FIGS. 3A and 3B are diagrams showing a print example of a receipt when only the local currency is used and when only the euro currency is used. As shown in these figures, until the start of the combined use of both currencies on January 1, 1999, and only when one euro currency is permitted after July 1, 2002, only one kind of currency is available. The processing is the same as that of a conventional electronic cash register, and therefore the description thereof is omitted.
[0018]
Therefore, in this embodiment, the switching operation at the time of transition from one type of currency to the combination of two types of currency, or the transition from the combination of two types of currency to one type of currency, and the uniqueness at the time of combination of two types of currency The operation will be described.
[0019]
First, the switching operation will be described with reference to the flowcharts of FIGS. Here, a program for realizing each function described in these flowcharts is stored in the storage medium 16 in the form of a program code readable by the CPU 10, and the contents thereof are loaded into the RAM 12. The same applies to other flowcharts in the embodiments described later.
[0020]
FIG. 4A is a flowchart showing the operation when the operator manually switches from the combined use of the local currency and the euro currency to the state where only the euro currency is used, and “01072002” is input by a specific command input, for example, a numeric keypad. ”And then <ST> button and <CA> button.
[0021]
First, it is determined whether or not the current main currency setting stored in the main currency storage unit 12B1 of the RAM 12 is euro (step S10). If the current currency is euro, the process proceeds to step S16 and the euro conversion process is performed. Run the subroutine immediately. On the other hand, if it is not the euro, that is, if the local currency is set, whether or not the sales total, that is, the local and euro total in the item total 12A1, and the finalization total 12A2 are zero. Confirmation is made (step S12). If it is 0, the process proceeds to step S16 to execute the euro conversion processing subroutine. If it is not 0, an error is displayed and printed by the display device 22 and the printing device 24 (step S14). ), The switching process is terminated. If it is determined in step S10 that the main currency is euro, and if it is determined that the sales total is 0 even in the local currency setting, the euro change processing subroutine is executed (step S16), This switching process is terminated.
[0022]
FIG. 4B is a flowchart showing the operation when the mode is automatically switched from the combined state of the local currency and the euro currency to the state where only the euro currency is used.
[0023]
That is, when the electronic cash register is powered on, it is first determined whether or not the mode can be switched (step S20). If the mode is not switchable, the switching process is skipped and the next process is started. move on. Here, under normal circumstances, the mode can be switched immediately after power-on. However, for example, when a paper jam occurs in the printing device 24, the power is turned off and the jammed paper is removed and then the power is turned on. In addition, mode switching is not possible while the electronic cash register is in use, such as when the finalizing (tightening) is forgotten and data still remains in the totalizer.
[0024]
If the mode can be switched, it is next determined whether or not the switching date and time is set and stored in the scheduler memory 12B4 of the RAM 12 (step S22). If not, the switching process is skipped. The process proceeds to the next process. If it is stored, the current date and time are acquired from the clock 26 (step S24), and the current date and time is set and stored in the scheduler memory 12B4. It is determined whether it has passed (step S26). If the switching date and time set and stored in the scheduler memory 12B4 has not been reached, the switching process is skipped and the process proceeds to the next process. Note that the switching date and time stored in the scheduler memory 12B4 can be arbitrarily set in accordance with the business form of the store where the electronic cash register is used. For example, in a store that is open late at night, since the switching date and time is 7:00 on July 1, 2002, it is set to 2:00 on July 1, 2002 after the end of business. be able to.
[0025]
If it is determined in step S26 that the current date and time has passed the switching date and time, first, as in the case of manual switching described above, first, the current date stored in the main currency storage unit 12B1 of the RAM 12 is stored. It is determined whether or not the setting of the main currency is euro (step S10), and if it is euro, the process proceeds to step S16 to immediately execute the euro conversion processing subroutine. On the other hand, if it is not the euro, that is, if the local currency is set, it is confirmed whether the sales totalizer is 0 (step S12). Execute processing subroutine. On the other hand, if it is not 0, the error display and printing as in the above-described manual switching are not performed, the switching process is terminated, and the process proceeds to the next process. If it is determined in step S10 that the main currency is euro, and if it is determined that the sales total is 0 even in the local currency setting, the euro change processing subroutine is executed (step S16), This switching process is terminated, and the process proceeds to the next process.
[0026]
FIG. 5A shows the euro change processing subroutine in step S16. That is, first, euro currency is set and stored as the main currency information in the main currency storage unit 12B1 (step S30), and euro currency is set and stored as the change currency information in the change currency storage unit 12B2 (step S32). Next, the scheduler memory 12B4 is reset (step S34). Thereafter, the print control is changed. That is, the euro totalizer is not printed (step S36), and the setting for printing both euro and local is changed to a setting for printing only the main currency (step S38). Next, the item totalizer 12A1 is reassigned (step S40), and the unit price of each item is changed (step S42). Then, 0 is set as currency conversion rate information in the currency conversion rate storage unit 12B3 (step S44), and the process returns to the upper routine.
[0027]
Here, the re-allocation of the item totalizer 12A1 in the above step S40 is performed by changing the records for each product (item) from those including two types of totalizers as shown in FIG. This is a process for changing the memory allocation so as to include the euro-only total as shown in C).
[0028]
The unit price conversion process in step S42 is a process for converting the unit price in the local currency into the unit price in the euro currency, and is performed as shown in FIG. That is, the result obtained by multiplying the unit price of each item by the currency conversion rate set and stored in the currency conversion rate storage unit 12B3 is stored in the item totalizer 12A1 as a new unit price (step S50). At this time, if a rounding process is necessary to match the minimum euro coin (step S52), the unit price of each item is rounded by a rounding algorithm (step S54).
[0029]
As described above, the state is switched from the combined use of the local currency and the euro currency to the state using only the euro currency.
Note that the process of switching from the state in which only the local currency is used to the state in which the local currency and the euro currency are used together may be performed in the reverse of the above process, and the description thereof is omitted here.
[0030]
However, with regard to the re-allocation of the item totalizer 12A1 in step S40, the record as shown in FIG. 2A is converted into a form including two types of totalizer as shown in FIG. However, in this case, it is not necessary to simply reallocate. In other words, since the item totalizer 12A1 is allocated to a fixed-length area of the RAM 12, when the number of items is large, if re-allocation is simply performed, the area is allocated from the fixed-length area to another storage unit. Overflowing and overwriting the memory area will destroy the contents stored there. Therefore, when switching from a state in which only the local currency is used to a state in which two types of currencies are used together, the re-allocation of the item totalizer 12A1 is performed as shown in FIG.
[0031]
That is, first, as shown in the upper side of FIG. 6B, the used capacity (number of used records) of the item totalizer 12A1 is calculated and set as α (step S60), and the unused capacity (unused). The number of records) is calculated and set as β (step S62), and the remaining capacity (number of bytes) is calculated and γ is calculated (step S64). Then, by multiplying the above β by the record length when using the local currency and further adding the above γ, the above α is multiplied by the record length when using the local currency and the euro currency. It is determined whether or not overflow occurs even if re-allocation is performed (step S66). Only when overflow does not occur, the item totalizer 12A1 is reconstructed as shown on the lower side of FIG. 6B (step S68). ). On the other hand, if overflow occurs, error printing is performed by the printing device 24 (step S70). Therefore, the operator who sees this error printing can take necessary measures such as deleting a record of an unnecessary item.
[0032]
Next, a unique operation when two types of local currency and euro currency are used together will be described.
FIG. 7 is a flowchart showing an operation for registering input sales data in a registration mode in which a mode switch (not shown) of the input device 20 is set to the “REG” position.
[0033]
That is, first, it is determined whether or not the item is registered (step S100). If so, the record of the designated item is researched by the item totalizer 12A1 (step S102). Then, the designated state of the currency is discriminated (step S104), and an operation is performed on the designated currency totalizer in the searched record of the item totalizer 12A1 (step S106).
[0034]
If it is determined in step S100 that the item is not registered, it is determined whether the registration is finalization (tightening) (step S108). If so, the designated state of the currency is determined (step S110). As the finalization process, the finalization totalizer 12A2 and the Indore totalizer 12A3 of the designated currency are calculated (step S112). Then, a receipt is printed by the printing device 24 (step S114), and if slip printing is also necessary (step S116), slip printing is also performed (step S118).
[0035]
The finalizing process in step S112 and the receipt printing process in step S114 are performed as shown in FIG.
That is, the setting of the change currency determined and stored in the change currency storage unit 12B2 determined in step S110 is the euro currency (step S130), and the setting of the main currency stored in the main currency storage unit 12B1 is set. If it is the euro currency (step S132), the amount of change in the main currency is displayed on the display device 22 as shown in FIG. 5B (step S134). Then, as shown in (A) or (B) of FIG.
[0036]
[Expression 1]
Figure 0003750361
The amount of money is printed (step S136), and subtraction is performed from the main currency indore total 12A3 (step S138). 9A and 9B, for the sake of simplicity, the currency conversion rate set and stored in the currency conversion rate storage unit 12B3 is assumed to be 1 franc (F) = 0.5 euro. All are cash payments. Here, (A) of FIG. 9 shows a case where the customer pays in the euro currency, and (B) shows a case where the customer makes the payment in the local currency (in this case, franc).
[0037]
Also, if the setting of the change currency stored in the change currency storage unit 12B2 is the euro currency (step S130) and the setting of the main currency stored in the main currency storage unit 12B1 is a local currency (step S130) S132), as shown in FIG. 5C, the display device 22 displays the suspended amount in a currency that is not the subject, together with a character indicating the currency (in this case, “E”) (step S140). Then, as shown in (C) or (D) of FIG. 9, the fishing amount is printed by adding a non-main currency symbol (in this case, “C =”) by the printing device 24 (step S142). Subtraction is performed from the Indoor totalizer 12A3 of the currency that is not (step S144).
[0038]
On the other hand, if the setting of the change currency stored in the change currency storage unit 12B2 is a local currency (step S130), and the setting of the main currency stored in the main currency storage unit 12B1 is a local currency (step S130) S146), as shown in FIG. 5D, the amount of change in the main currency is displayed on the display device 22 (step S148). Then, as shown in FIG. 10 (A) or (B), the printing device 24 attaches the symbol of the main currency (in this case, “F”) and prints the suspended amount (step S150). Subtraction is performed from the indore total adder 12A3 (step S152).
[0039]
Also, if the setting of the change currency stored in the change currency storage unit 12B2 is the local currency (step S130), and the setting of the main currency stored in the main currency storage unit 12B1 is the euro currency (step S130) S146), as shown in FIG. 5E, the display device 22 displays the suspended amount in a currency that is not the main body, together with a character indicating the currency (in this case, “L”) (step S154). Then, as shown in (C) or (D) of FIG. 10, the printing device 24 attaches a non-subject currency symbol (in this case, “F”) and prints the suspended amount (step S 156), and is not the main subject. Subtraction is performed from the currency Indore total adder 12A3 (step S158).
[0040]
On the other hand, if the setting of the change currency determined and stored in the change currency storage unit 12B2 determined in step S110 is a setting determined by the customer each time (step S130), it is determined by the customer. When the operator operates a selection key corresponding to the selection of the hanging currency (step S160), it is determined whether the currency is the euro currency or the local currency (step S162). If the currency is euro, the process from step S132 is executed, and if it is a local currency, the process from step S146 is executed.
[0041]
In the finalizing process, as shown in FIGS. 9A and 9B, for example, the receipt print is changed depending on whether the currency deposited from the customer is the local currency or the euro currency. The deposit currency is determined, for example, based on whether or not a predetermined key, for example, the <Euro> button is operated before the deposit amount is input using the numeric keypad of the input device 20. That is, when the deposit amount is simply input, the currency is in the main currency, and when the <Euro> button is operated before the deposit amount is input, the currency is not the main currency.
[0042]
Further, such an <Euro> button is used only when two types of currencies are used together. Therefore, it is necessary to invalidate the key input when only the local currency or the euro currency is used. Therefore, as shown in FIG. 11A, when the <Euro> button is pressed, it is determined whether or not the currency conversion rate set and stored in the currency conversion rate storage unit 12B3 is 0 (step S170). If it is not 0, monetary amount input and subtotal display and input of various function keys are allowed (step S172). If it is 0, euro conversion input registration and euro subtotal registration are disabled (step S172). S174).
[0043]
The slip printing process in step S118 may be printed by an external printer other than the electronic cash register printing device 24. In this case, the external printer prepared by the user is not always capable of printing the euro symbol “C =”. Therefore, in this embodiment, it is assumed that the operator sets the print mode in advance according to the external printer, and performs slip printing as shown in FIG.
[0044]
That is, first, when the setting mode is a mode for printing English characters “EURO” (step S180), print data for money amount printing is created using “EURO” as a money amount symbol, and is transmitted to an external printer. Is printed (step S182).
[0045]
If the mode is a mode for printing the euro symbol “C =”, that is, if the external printer is capable of printing the euro symbol (step S184), the symbol character code indicating the euro symbol in the external printer. Is used as the amount symbol, and print data for amount printing is created and transmitted to an external printer for printing (step S186).
[0046]
On the other hand, when the mode is a mode for printing a character arbitrarily set by the operator (step S188), the symbol character code indicating the character in the external printer is used as a money symbol, and print data for money printing is provided. It is created and transmitted to an external printer for printing (step S186).
[0047]
If the mode is other than the above (step S188), the monetary amount is converted into the local currency, print data for monetary amount printing is created using the symbol of the local currency as the monetary symbol, and is transmitted to the external printer. Thus, printing is performed (step S190).
[0048]
Note that such processing is not limited to slip printing, but can be applied to output to a display, switching data contents when outputting to a communication line, and the like.
As described above, a single sales data processing device can process sales data by switching between three types of states: local currency only, combined use of local currency and euro currency, and euro currency only.
[0049]
In the above-described embodiment, for the sake of simplification, only the case of cash sales has been described. However, it is a matter of course that processing that can be performed by a normal sales data processing device such as credit sales can be performed.
[0050]
【The invention's effect】
  Claim 1According to the present invention,Multiple totalizers are set corresponding to multiple specified currencies, so sales registration based on the specified currency is accurately calculated and stored in the corresponding currency totalizer, and sales registration in multiple currencies is performed. Can be made possible.
  According to the third aspect of the present invention, since there is no data in the middle of one transaction, that is, since the designation of the currency can be changed after one customer's transaction is completed, It is possible to prevent mixed registration in a plurality of currencies, accurately calculate and store the sales registration based on the designated currency in the corresponding currency totalizer, thereby enabling the sales registration in a plurality of currencies.
[Brief description of the drawings]
FIG. 1A is a diagram showing a configuration of an electronic cash register as an embodiment of a sales data processing apparatus of the present invention, and FIG. 1B is a diagram showing a main configuration of a RAM.
FIGS. 2A to 2C are diagrams illustrating a memory configuration of an item totalizer, and FIGS. 2D to F are diagrams illustrating a memory configuration of an indore total.
FIGS. 3A and 3B are diagrams showing an example of printing a receipt when using only the local currency and using only the euro currency, respectively, and FIG. 3C is a conversion of the unit price in the local currency into the unit price in the euro currency. It is a flowchart of a unit price conversion process.
FIG. 4A is a flowchart showing an operation when an operator manually switches from a combined state of local currency and euro currency to a state of using only euro currency, and FIG. 4B is a combined flow of local currency and euro currency. It is the flowchart which showed the operation | movement in the case of switching mode automatically from the state to the state which uses only euro currency.
FIG. 5A is a flowchart illustrating an operation in a euro change processing subroutine, and FIGS. 5B to 5E are diagrams illustrating display examples during finalization processing, respectively.
6A is a flowchart of an item totalizer re-allocation process, and FIG. 6B is a diagram illustrating a memory configuration of the item total counter for explaining the item totalizer re-allocation process;
FIG. 7 is a flowchart showing an operation for registering sales data when two types of local currency and euro currency are used together.
FIG. 8 is a flowchart showing details of a finalizing process and a receipt printing process.
FIGS. 9A to 9D are diagrams showing examples of receipts printed. FIG.
FIGS. 10A to 10D are diagrams showing examples of receipts printed. FIG.
FIG. 11A is a flowchart for explaining an operation when the <Euro> button is pressed, and FIG. 11B is a flowchart for slip printing.
[Explanation of symbols]
10 CPU
12 RAM
12A Sales data file
12A1 item totalizer
12A2 Finalize total
12A3 Indore total
12B Setting data memory
12B1 Main currency storage
12B2 fishing currency storage
12B3 Currency conversion rate storage
12B4 scheduler memory
14 Storage device
16 storage media
18 Communication line
20 input devices
22 Display device
24 Printing device
26 Clock
28 Drawer

Claims (6)

複数の通貨のうち、所定通貨による売上データの処理を指定する指定手段と、
前記指定手段で指定される複数の通貨による売上データを記憶する合計器を一つの商品コードに対して複数設定する設定手段と、
商品コードの入力に伴う商品の売上登録処理において、前記指定手段で指定されている所定通貨を判別し、入力された商品コードであって前記指定されている通貨に対応する合計器へ売上登録の演算を行う処理手段と、
を具備することを特徴とする売上データ処理装置。
A designation means for designating processing of sales data in a predetermined currency among a plurality of currencies ,
Setting means for setting multiple to one commodity code a totalizer for storing sales data in several currencies designated by the designation unit,
In the sales registration process of the product accompanying the input of the product code, the predetermined currency specified by the specifying means is determined, and the sales registration of the input product code that corresponds to the specified currency is performed. Processing means for performing operations ;
A sales data processing apparatus comprising:
前記処理手段は、
各商品についての単価を記憶するメモリと、
前記指定手段によって別の通貨による売上データの処理を行う機能が指定された場合に、前記メモリに記憶された単価をこの別の通貨による単価に切り替える単価更新手段と、
該単価更新手段によって前記別の通貨に切り替えるときに、丸め処理を行う丸め処理手段と、
を含むことを特徴とする請求項1に記載の売上データ処理装置。
The processing means includes
A memory for storing the unit price for each product;
And Update cost means for switching when a function to process sales data according to another currency is specified, the unit price stored in the memory in the unit price by the different currency by said designating means,
Rounding processing means for performing rounding processing when switching to the other currency by the unit price update means;
The sales data processing apparatus according to claim 1, comprising:
複数の通貨のうち、所定通貨による売上データの処理を指定する指定手段と、
一つの商品コードに対する売上データを複数の通貨に対応して複数記憶する合計メモリと、
一取引毎の売上データを記憶する一取引メモリと、
前記指定手段によって通貨の指定が変更された際に、前記一取引メモリに記憶された売上データが0であるか否かを判別する判別手段と、
前記指定手段で指定されている通貨を判別し、前記一取引メモリに記憶された売上データが0である場合に、前記指定手段による通貨の指定を有効にし、入力された商品コードに基づいて前記指定されている通貨に対応する合計器へ売上登録の演算を行う処理手段と、
を具備することを特徴とする売上データ処理装置。
A designation means for designating processing of sales data in a predetermined currency among a plurality of currencies,
A total memory for storing a plurality of sales data for one product code corresponding to a plurality of currencies;
One transaction memory for storing sales data for each transaction;
A determination unit when the specified currency is changed, the sales data stored in the one transaction memory it is determined whether or not a 0 by the designation unit,
The currency designated by the designation means is determined, and when the sales data stored in the one transaction memory is 0, the designation of the currency by the designation means is validated, and based on the inputted product code Processing means for calculating sales registration to the totalizer corresponding to the designated currency;
A sales data processing apparatus comprising:
前記指定手段は、所定の切り替え時期に通貨を切り替える指定を行うタイマ指定手段を含むことを特徴とする請求項に記載の売上データ処理装置。 4. The sales data processing apparatus according to claim 3 , wherein the designating unit includes a timer designating unit that designates switching of currency at a predetermined switching time. コンピュータに対して、
複数の通貨のうち、所定通貨による売上データの処理を指定する機能と、
前記指定される複数の通貨による売上データを記憶する合計器を一つの商品コードに対して複数設定する機能と、
商品コードの入力に伴う商品の売上登録処理において、前記指定されている所定通貨を判別し、入力された商品コードであって前記指定されている通貨に対応する合計器へ売上登録の演算を行う機能と、
を実現させるためのプログラムを記憶した、コンピュータが読み取り可能な記録媒体。
Against the computer,
A function to specify processing of sales data in a predetermined currency among multiple currencies ,
A function of setting multiple to one commodity code a totalizer for storing sales data of a plurality of currencies the designated,
In the sales registration process of the product accompanying the input of the product code, the specified predetermined currency is determined, and the sales registration is calculated to the totalizer corresponding to the specified product and the specified currency. Function and
The computer-readable recording medium which memorize | stored the program for implement | achieving.
コンピュータに対して、Against the computer,
複数の通貨のうち、所定通貨による売上データの処理を指定する機能と、A function to specify processing of sales data in a predetermined currency among multiple currencies,
一つの商品コードに対する売上データを複数の通貨に対応して合計メモリへ複数記憶する機能と、A function of storing a plurality of sales data for one product code in a total memory corresponding to a plurality of currencies;
一取引毎の売上データを一取引メモリに記憶する機能と、A function for storing sales data for each transaction in one transaction memory;
前記指定する機能によって通貨の指定が変更された際に、前記一取引メモリに記憶された売上データが0であるか否かを判別する機能と、A function for determining whether the sales data stored in the one transaction memory is 0 or not when the designation of the currency is changed by the function to be designated;
前記指定されている通貨を判別し、前記一取引メモリに記憶された売上データが0である場合に、前記指定する機能による通貨の指定を有効にし、入力された商品コードに基づいて前記指定されている通貨に対応する合計器へ売上登録の演算を行う機能と、The designated currency is determined, and when the sales data stored in the one transaction memory is 0, the designation of the currency by the designated function is enabled, and the designated currency is specified based on the inputted commodity code. A function to calculate the sales registration to the totalizer corresponding to the current currency,
を実現させるためのプログラムを記憶した、コンピュータが読み取り可能な記録媒体。The computer-readable recording medium which memorize | stored the program for implement | achieving.
JP21734098A 1998-07-31 1998-07-31 Sales data processing apparatus and recording medium Expired - Lifetime JP3750361B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21734098A JP3750361B2 (en) 1998-07-31 1998-07-31 Sales data processing apparatus and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21734098A JP3750361B2 (en) 1998-07-31 1998-07-31 Sales data processing apparatus and recording medium

Publications (2)

Publication Number Publication Date
JP2000048263A JP2000048263A (en) 2000-02-18
JP3750361B2 true JP3750361B2 (en) 2006-03-01

Family

ID=16702651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21734098A Expired - Lifetime JP3750361B2 (en) 1998-07-31 1998-07-31 Sales data processing apparatus and recording medium

Country Status (1)

Country Link
JP (1) JP3750361B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6618155B2 (en) * 2018-02-13 2019-12-11 株式会社寺岡精工 Sales data processing apparatus and program
JP6844792B2 (en) * 2019-11-12 2021-03-17 株式会社寺岡精工 Sales data processing equipment, programs and sales data processing methods
JP2021077410A (en) * 2021-02-08 2021-05-20 株式会社寺岡精工 Sales data processing device, sales data processing system, program and sales data processing method

Also Published As

Publication number Publication date
JP2000048263A (en) 2000-02-18

Similar Documents

Publication Publication Date Title
JP2011123660A (en) Settlement terminal, pos terminal and control program for the same
JP3750361B2 (en) Sales data processing apparatus and recording medium
JP3297237B2 (en) Vending machine payment management device
JP2987287B2 (en) Cash register with automatic change machine
JP3889756B2 (en) Product sales data processing device
CA2065993C (en) Cash register capable of temporary-closing operation
JP3767797B2 (en) Product sales data processing device
JP7068722B2 (en) Product sales data processing system, registration device and program
JP7417249B2 (en) Product sales data processing device and program
JP3712859B2 (en) Product sales registration data processing device
JP3413552B2 (en) POS system
US20240087018A1 (en) Settlement apparatus and settlement method
JP5520976B2 (en) Cash management system, cash management apparatus and program thereof
JPH05101273A (en) Commodity sales register device
JP2573698B2 (en) Product sales data processing device
JP2004038710A (en) Adjustment method, recording medium having adjustment software, adjustment device, rewrite card processing method, recording medium having rewrite card processing software, and rewrite card processor
JP2002150324A (en) Commutation ticket issuing machine, change liquidation device, settlement processor, change processing system and change processing method
JPH0658705B2 (en) Electronic cash register
JP6791490B2 (en) Product sales data processing system and program
JPH083877B2 (en) Electronic cash register
JP2024072481A (en) Information processing device and program
JP2006120075A (en) Merchandise sales data processor
JP2022097554A (en) Commodity sales data processing system, registration device and program
JPS6145595Y2 (en)
JPS6411997B2 (en)

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051020

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051115

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051128

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081216

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091216

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101216

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101216

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111216

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111216

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121216

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121216

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131216

Year of fee payment: 8

EXPY Cancellation because of completion of term