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

JP5502838B2 - Product sales data processing apparatus and program - Google Patents

Product sales data processing apparatus and program Download PDF

Info

Publication number
JP5502838B2
JP5502838B2 JP2011259190A JP2011259190A JP5502838B2 JP 5502838 B2 JP5502838 B2 JP 5502838B2 JP 2011259190 A JP2011259190 A JP 2011259190A JP 2011259190 A JP2011259190 A JP 2011259190A JP 5502838 B2 JP5502838 B2 JP 5502838B2
Authority
JP
Japan
Prior art keywords
data
input
code
journal
data input
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
JP2011259190A
Other languages
Japanese (ja)
Other versions
JP2013114399A (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 JP2011259190A priority Critical patent/JP5502838B2/en
Publication of JP2013114399A publication Critical patent/JP2013114399A/en
Application granted granted Critical
Publication of JP5502838B2 publication Critical patent/JP5502838B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

本発明の実施形態は、商品販売データ処理装置およびプログラムに関する。   Embodiments described herein relate generally to a merchandise sales data processing apparatus and a program.

近年、POS端末等の商品販売データ処理装置の中には、HDD(Hard Disk Drive)装置を搭載し、商取引に係わるデータを基に処理される商品販売データや操作の種類を表す操作種類コード等を含むジャーナルデータをHDD装置の電子ジャーナルファイルに蓄積保存するようにしたものがある。   In recent years, commodity sales data processing devices such as POS terminals are equipped with HDD (Hard Disk Drive) devices, product sales data processed based on data related to commercial transactions, operation type codes representing operation types, etc. Is stored and saved in an electronic journal file of the HDD device.

この種の商品販売データ処理装置は、電子的に保存されたジャーナルデータを表示部に表示させて商取引の履歴を確認したり、レシート用紙に印字させてレシートを再発行させたりできる利点がある。ただしそのためには、電子ジャーナルファイルに保存された全てのジャーナルデータの中から所望するジャーナルデータを検索する必要がある。   This type of merchandise sales data processing apparatus has the advantage that electronically stored journal data can be displayed on the display unit to check the history of commercial transactions, or printed on receipt paper and reissued. However, for this purpose, it is necessary to search for desired journal data from all the journal data stored in the electronic journal file.

そこで従来、取引番号や取引時刻等の取引特定情報が検索条件として入力されると、電子ジャーナルファイルを検索してその取引特定情報によって特定されるジャーナルデータを抽出し、このジャーナルデータを表示部に表示させ、また、レシート用紙に印字出力することを可能にした商品販売データ処理装置がある。   Therefore, conventionally, when transaction identification information such as a transaction number and transaction time is input as a search condition, an electronic journal file is searched to extract journal data identified by the transaction identification information, and this journal data is displayed on the display unit. There is a merchandise sales data processing apparatus that can be displayed and printed on receipt paper.

しかしながら、従来技術においては、取引特定情報等の検索条件の入力については、手入力で行われており、検索条件の入力に時間がかかるという点でさらなる改良が求められていた。   However, in the prior art, the input of search conditions such as transaction specifying information is performed manually, and further improvement has been demanded in that it takes time to input the search conditions.

実施形態の商品販売データ処理装置は、商品に付されたコードシンボルを光学的に読み取るコード読取手段と、前記コード読取手段により読み取ったコードシンボルから得られる商品コードに基づく商取引に係る商品販売データを電子的に記録したジャーナルデータを構成する項目の中から、一商取引を特定可能な項目の所望データを入力するデータ入力手段と、前記データ入力手段により入力された所望データにより特定されるジャーナルデータを、ジャーナルデータを保持するジャーナルファイルから検索するデータ検索手段と、前記データ検索手段により検索されたジャーナルデータを出力するデータ出力手段と、を備え、前記データ入力手段は、前記コード読取手段からのデータ入力なのか、前記コード読取手段以外の入力部からのデータ入力なのかを、データとして入力された文字列の態様に応じて判断するとともに、前記コード読取手段により読み取ったコードシンボルから得られるコードを、所望のデータとして一商取引を特定可能な項目に対して入力する。 The product sales data processing apparatus of the embodiment includes a code reading unit that optically reads a code symbol attached to a product, and product sales data related to a commercial transaction based on a product code obtained from the code symbol read by the code reading unit. Data input means for inputting desired data of an item capable of specifying one commercial transaction among items constituting journal data electronically recorded, and journal data specified by the desired data input by the data input means A data search means for searching from a journal file holding journal data; and a data output means for outputting the journal data searched by the data search means, wherein the data input means includes data from the code reading means. Whether the input is from an input unit other than the code reading means Or over data input of the, as to determine in accordance with the embodiment of the input character string as data, the code obtained from the read code symbols by said code reading means, the identifiable items one transaction as the desired data In response.

実施形態のプログラムは、商品に付されたコードシンボルを光学的に読み取るコード読取手段により読み取ったコードシンボルから得られる商品コードに基づく商取引に係る商品販売データを電子的に記録したジャーナルデータを構成する項目の中から、一商取引を特定可能な項目の所望データを入力するデータ入力手段と、前記データ入力手段により入力された所望データにより特定されるジャーナルデータを、ジャーナルデータを保持するジャーナルファイルから検索するデータ検索手段と、前記データ検索手段により検索されたジャーナルデータを出力するデータ出力手段と、としてコンピュータを実行させ、前記データ入力手段は、前記コード読取手段からのデータ入力なのか、前記コード読取手段以外の入力部からのデータ入力なのかを、データとして入力された文字列の態様に応じて判断するとともに、前記コード読取手段により読み取ったコードシンボルから得られるコードを、所望のデータとして一商取引を特定可能な項目に対して入力する。 The program according to the embodiment constitutes journal data that electronically records product sales data related to a commercial transaction based on a product code obtained from a code symbol read by a code reading unit that optically reads a code symbol attached to a product. From the items, data input means for inputting desired data of an item that can specify one commercial transaction, and journal data specified by the desired data input by the data input means are searched from a journal file holding journal data. And a data output means for outputting journal data searched by the data search means, and the data input means is the data input from the code reading means or the code reading means Data input from other input means Or the, determination is made as according to an aspect of the input character string as data, the code obtained from the read code symbols by said code reading means, inputs for certain items that can be an commerce as desired data .

図1は、実施形態のPOS端末の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a POS terminal according to an embodiment. 図2は、電子ジャーナルファイルに保存されるデータのデータ構造の一例を示す模式図である。FIG. 2 is a schematic diagram illustrating an example of a data structure of data stored in the electronic journal file. 図3は、ジャーナルログ確認処理の流れを概略的に示すフローチャートである。FIG. 3 is a flowchart schematically showing the flow of the journal log confirmation process. 図4は、ジャーナルログ確認画面の一例を示す正面図である。FIG. 4 is a front view showing an example of a journal log confirmation screen. 図5は、検索条件設定処理の流れを概略的に示すフローチャートである。FIG. 5 is a flowchart schematically showing the flow of the search condition setting process.

以下、商品販売データ処理装置の一実施形態を、図面を用いて説明する。本実施形態は、商品販売データ処理装置としてPOS(Point Of Sales)端末を適用したものである。   Hereinafter, an embodiment of a merchandise sales data processing apparatus will be described with reference to the drawings. In this embodiment, a POS (Point Of Sales) terminal is applied as a product sales data processing apparatus.

図1は、実施形態におけるPOS端末1の構成を示すブロック図である。図1に示すように、POS端末1は、制御部本体としてCPU(Central Processing Unit)11を備えている。また、POS端末1は、後述するジャーナルログ確認処理プログラムなどのプログラム等及び固定的データが予め格納されたROM(Read Only Memory)12、商品販売データの登録処理等で必要な種々のデータメモリエリアが形成されるRAM(Random Access Memory)13、HDD(Hard Disk Drive)装置で構成された電子ジャーナルファイル14、現在の日付及び時刻を計時する時計部15、LAN(Local Area Network)等の通信回線を介して接続される上位コンピュータとのデータ通信を司る通信インターフェイス16を備えている。POS端末1は、CPU11と、ROM12,RAM13,電子ジャーナルファイル14,時計部15及び通信インターフェイス16とを、アドレスバス,データバス等のバスライン17で接続している。   FIG. 1 is a block diagram illustrating a configuration of a POS terminal 1 according to the embodiment. As shown in FIG. 1, the POS terminal 1 includes a CPU (Central Processing Unit) 11 as a control unit body. The POS terminal 1 includes a ROM (Read Only Memory) 12 in which a program such as a journal log confirmation processing program to be described later and fixed data are stored in advance, and various data memory areas necessary for registering merchandise sales data. A random access memory (RAM) 13, an electronic journal file 14 composed of an HDD (Hard Disk Drive) device, a clock unit 15 for measuring the current date and time, and a communication line such as a LAN (Local Area Network) There is provided a communication interface 16 for controlling data communication with a host computer connected via the network. In the POS terminal 1, a CPU 11, a ROM 12, a RAM 13, an electronic journal file 14, a clock unit 15, and a communication interface 16 are connected by a bus line 17 such as an address bus or a data bus.

また、POS端末1は、現金等を収容するためのドロワ18の他、入出力機器としてキーボード19,オペレータ用表示器20,客用表示器21,レシートプリンタ22及びスキャナ23を備えている。ドロワ18は、I/O(Input/Output)ポート24に接続されており、このI/Oポート24から出力される駆動信号に応じて開放動作するようになっている。   The POS terminal 1 includes a keyboard 18, an operator display 20, a customer display 21, a receipt printer 22, and a scanner 23 as input / output devices, in addition to a drawer 18 for storing cash and the like. The drawer 18 is connected to an I / O (Input / Output) port 24 and is opened according to a drive signal output from the I / O port 24.

キーボード19は、サインオンを行うための責任者キーの他、テンキー,部門キー,小計キー,預/現計キー,クリアキー,値引キー,割引キー等の商取引に係わるデータ等を入力するための各種キーを配設したもので、入力部として機能する。POS端末1は、キーボード19に対応してキーボードコントローラ25を備えており、キー操作に応じてキーボード19から出力されるキー信号をキーボードコントローラ25で入力処理するようになっている。   The keyboard 19 is used to input data related to commercial transactions such as a numeric keypad, a department key, a subtotal key, a deposit / cash key, a clear key, a discount key, a discount key, etc. in addition to a responsible key for sign-on. These keys are arranged and function as an input unit. The POS terminal 1 includes a keyboard controller 25 corresponding to the keyboard 19, and a key signal output from the keyboard 19 in response to a key operation is input by the keyboard controller 25.

オペレータ用表示器20は、入力部を介して入力された商取引に係わるデータを基に処理される商品販売データ等を表示するもので、キャッシャと称されるオペレータに対する表示部として機能する。本実施形態では、このオペレータ用表示器20として、ディスプレイ201の画面上にタッチパネルセンサ202を配したタッチパネルを使用している。そして、POS端末1は、ディスプレイ201に対応して表示コントローラ26を備えており、表示コントローラ26によりディスプレイ201の画面表示を制御する。また、POS端末1は、タッチパネルセンサ202に対応してI/Oポート27を備えており、ディスプレイ201の画面タッチ操作により変化するタッチパネルセンサ202の信号を当該I/Oポート27に入力するようになっている。   The operator display 20 displays product sales data and the like processed based on data relating to commercial transactions input via the input unit, and functions as a display unit for an operator called a cashier. In this embodiment, a touch panel in which a touch panel sensor 202 is arranged on the screen of the display 201 is used as the operator display 20. The POS terminal 1 includes a display controller 26 corresponding to the display 201, and the display controller 26 controls screen display on the display 201. In addition, the POS terminal 1 includes an I / O port 27 corresponding to the touch panel sensor 202, and inputs a signal of the touch panel sensor 202 that is changed by a screen touch operation of the display 201 to the I / O port 27. It has become.

客用表示器21は、買物客に対して商品販売データ等を表示するものである。POS端末1は、客用表示器21に対応して表示コントローラ28を備えており、表示コントローラ28により客用表示器21の画面表示を制御する。   The customer display 21 displays merchandise sales data and the like for the shopper. The POS terminal 1 includes a display controller 28 corresponding to the customer display 21, and the display controller 28 controls the screen display of the customer display 21.

レシートプリンタ22は、商品販売データを含む商取引の明細等をレシート用紙に印字しレシートを発行するものである。POS端末1は、レシートプリンタ22に対応してプリンタコントローラ29を備えており、プリンタコントローラ29によりレシートプリンタ22の印字動作を制御する。   The receipt printer 22 prints the details of commercial transactions including merchandise sales data on receipt paper and issues a receipt. The POS terminal 1 includes a printer controller 29 corresponding to the receipt printer 22, and the printing operation of the receipt printer 22 is controlled by the printer controller 29.

スキャナ23は、商品に付されたコードシンボルであるバーコード等を光学的に読み取るコード読取手段であって、キーボード19と同様に入力部として機能する。POS端末1は、スキャナ23に対応してスキャナコントローラ30を備えており、スキャニングされたバーコードデータを当該スキャナコントローラ30で入力処理するようになっている。   The scanner 23 is a code reading unit that optically reads a bar code or the like, which is a code symbol attached to a product, and functions as an input unit like the keyboard 19. The POS terminal 1 is provided with a scanner controller 30 corresponding to the scanner 23, and the scanned barcode data is input by the scanner controller 30.

POS端末1は、各I/Oポート24,27と各入出力機器のコントローラ25,26,28,29,30は、いずれもバスライン17に接続しており、バスライン17を介してCPU11とデータを授受する。   In the POS terminal 1, the I / O ports 24 and 27 and the controllers 25, 26, 28, 29, and 30 of the input / output devices are all connected to the bus line 17, and are connected to the CPU 11 via the bus line 17. Send and receive data.

また、POS端末1は、「登録」,「点検」,「精算」,「設定」等の各種業務モードを選択可能であり、手動操作によりいずれかの業務モードが選択されると、その実行をCPU11に指令するモードスイッチ31を設けている。モードスイッチ31は、I/Oポート24に接続されており、I/Oポート24を介してモードスイッチ31の信号がCPU11に与えられ、CPU11の動作を制御する。   The POS terminal 1 can select various business modes such as “registration”, “inspection”, “settlement”, and “setting”, and when any business mode is selected by manual operation, the execution is executed. A mode switch 31 for instructing the CPU 11 is provided. The mode switch 31 is connected to the I / O port 24, and the signal of the mode switch 31 is given to the CPU 11 via the I / O port 24 to control the operation of the CPU 11.

本実施形態では、モードスイッチ31の操作により、電子ジャーナルファイル14に保存されたジャーナルデータを確認するためのジャーナルログ確認モードを選択可能とする。   In the present embodiment, a journal log confirmation mode for confirming journal data stored in the electronic journal file 14 can be selected by operating the mode switch 31.

図2は、電子ジャーナルファイル14に保存されるデータのデータ構造の一例を示す模式図である。図2に示すように、電子ジャーナルファイル14には、スキャナ23により読み取ったコードシンボルから得られる商品コードに基づく商取引に係る商品販売データを電子的に記録したジャーナルデータが、1レコード毎に連続番号(以下、レコード番号と称する)RNo及び表示ポインタDPと対応付けられて保存されている。また、1枚のレシートへの全印字データに相当する1単位分のジャーナルデータや操作の種類を表す操作種類コードと、その次に発生した1単位分のジャーナルデータや操作種類コードとの間に、予め設定された区切マークのデータが挿入されている。   FIG. 2 is a schematic diagram illustrating an example of a data structure of data stored in the electronic journal file 14. As shown in FIG. 2, in the electronic journal file 14, journal data in which product sales data relating to a commercial transaction based on a product code obtained from a code symbol read by the scanner 23 is electronically recorded is a serial number for each record. It is stored in association with the RNo (hereinafter referred to as the record number) and the display pointer DP. Between one unit of journal data corresponding to all print data on one receipt and an operation type code indicating the type of operation, and the next generated one unit of journal data and operation type code. , Preset delimiter mark data is inserted.

次に、POS端末1におけるジャーナルログ確認処理について説明する。POS端末1のCPU11は、ROM12に記憶されたジャーナルログ確認処理プログラムとの協働により各種の機能部(データ入力手段111、データ検索手段112、データ出力手段113等)を実現し、ジャーナルログ確認処理を実行する。   Next, journal log confirmation processing in the POS terminal 1 will be described. The CPU 11 of the POS terminal 1 realizes various functional units (data input means 111, data search means 112, data output means 113, etc.) in cooperation with a journal log confirmation processing program stored in the ROM 12, and confirms journal logs. Execute the process.

ここで、図3はジャーナルログ確認処理の流れを概略的に示すフローチャートである。この処理は、モードスイッチ31が切替え操作されてジャーナルログ確認モードが選択されたことに応じて実行される。   FIG. 3 is a flowchart schematically showing the flow of the journal log confirmation process. This process is executed in response to the switching operation of the mode switch 31 and the selection of the journal log confirmation mode.

先ず、CPU11は、オペレータ用表示器20(ディスプレイ201)に、ジャーナルログ確認画面を表示させる(ステップS1)。   First, the CPU 11 displays a journal log confirmation screen on the operator display 20 (display 201) (step S1).

図4は、ジャーナルログ確認画面40の一例を示す正面図である。図4に示すように、ジャーナルログ確認画面40には、ジャーナルデータを構成する項目の中から一商取引を特定可能な項目の所望データを検索条件として入力する検索条件入力エリア41と、検索結果を一覧表示する検索結果一覧表示エリア42と、検索結果一覧表示エリア42において指定された一の検索結果についてのジャーナルデータを表示するジャーナルデータ表示エリア43と、が設けられている。   FIG. 4 is a front view showing an example of the journal log confirmation screen 40. As shown in FIG. 4, in the journal log confirmation screen 40, a search condition input area 41 for inputting desired data of an item that can specify one commercial transaction from items constituting journal data as a search condition, and a search result are displayed. A search result list display area 42 for displaying a list, and a journal data display area 43 for displaying journal data for one search result specified in the search result list display area 42 are provided.

ジャーナルログ確認画面40の検索条件入力エリア41には、「当日」「過日」「DVD」のいずれかを検索対象として選択させる検索対象選択エリア51と、検索対象のPOS端末1に設定されたレジ番号を入力するレジ番号入力エリア52と、検索対象の商取引が発生した営業日時を入力する検索日時入力エリア53と、「全取引」「通常」「返品」「レジマイナス」「クレジット」のいずれかを取引条件として選択させる取引条件選択エリア54と、取引番号を入力する取引番号エリア55と、責任者番号を入力する責任者番号エリア56と、検索対象となる文字列を入力する文字列入力エリア57と、が設けられている。   In the search condition input area 41 of the journal log confirmation screen 40, a search target selection area 51 for selecting any one of “current day”, “overnight”, and “DVD” as a search target and the POS terminal 1 to be searched are set. A cash register number input area 52 for inputting a cash register number, a search date input area 53 for inputting a business date and time when a business transaction to be searched has occurred, and “all transactions”, “normal”, “returned goods”, “registration minus”, and “credit” A transaction condition selection area 54 for selecting the transaction number, a transaction number area 55 for inputting a transaction number, a person-in-charge number area 56 for inputting a person-in-charge number, and a character string input for inputting a character string to be searched. An area 57 is provided.

ジャーナルログ確認画面40の検索結果一覧表示エリア42には、検索条件入力エリア41において入力または設定された検索条件に応じて電子ジャーナルファイル14に保存されたジャーナルデータを検索した結果が一覧表示される。   The search result list display area 42 of the journal log confirmation screen 40 displays a list of search results of journal data stored in the electronic journal file 14 in accordance with the search condition input or set in the search condition input area 41. .

ジャーナルログ確認画面40のジャーナルデータ表示エリア43には、電子ジャーナルファイル14に保存されているジャーナルデータが表示されている。ジャーナルデータ表示エリア43は、複数X行分のジャーナル1ラインデータを表示可能なサイズが確保されている。   In the journal data display area 43 of the journal log confirmation screen 40, journal data stored in the electronic journal file 14 is displayed. In the journal data display area 43, a size capable of displaying one line of journal data for a plurality of X rows is secured.

また、図4に示すように、ジャーナルログ確認画面40には、検索終了を指令する終了ボタン44と、帳票出力を指示するための帳票出力ボタン45と、戻るボタン46と、検索条件入力エリア41における検索条件の入力の確定を指示するための確定ボタン47と、が配設されている。   As shown in FIG. 4, the journal log confirmation screen 40 has an end button 44 for instructing the end of search, a form output button 45 for instructing to output a form, a return button 46, and a search condition input area 41. And a confirmation button 47 for instructing the confirmation of the input of the search condition.

次に、CPU11(データ入力手段111)は、ジャーナルログ確認画面40の検索条件入力エリア41からの所望のジャーナルデータを検索するための検索条件を設定する検索条件設定処理を実行する(ステップS2)。   Next, the CPU 11 (data input unit 111) executes a search condition setting process for setting a search condition for searching for desired journal data from the search condition input area 41 of the journal log confirmation screen 40 (step S2). .

図5は、検索条件設定処理の流れを概略的に示すフローチャートである。図5に示すように、CPU11(データ入力手段111)は、検索条件入力エリア41に表示された各エリア51,52,53,54,55,56,57のいずれかにおける検索条件の入力または選択(ステップS21〜27)、または確定ボタン47の入力(ステップS28)に待機する。   FIG. 5 is a flowchart schematically showing the flow of the search condition setting process. As shown in FIG. 5, the CPU 11 (data input unit 111) inputs or selects a search condition in any of the areas 51, 52, 53, 54, 55, 56, 57 displayed in the search condition input area 41. (Steps S21 to 27) or the input of the confirmation button 47 (Step S28).

キーボード19の操作によって検索対象選択エリア51において「当日」「過日」「DVD」のいずれかが検索対象として選択された場合(ステップS21;Yes)、CPU11は、キーボード19の操作によって選択されたいずれかの検索対象を検索条件としてRAM13に記憶する(ステップS29)。   When any one of “current day”, “overnight”, and “DVD” is selected as a search target in the search target selection area 51 by the operation of the keyboard 19 (step S21; Yes), the CPU 11 is selected by the operation of the keyboard 19 One of the search targets is stored in the RAM 13 as a search condition (step S29).

キーボード19の操作によってカーソルが位置付けられてレジ番号入力エリア52がフォーカスされている場合(ステップS22;Yes)、CPU11は、キーボード19の操作によってレジ番号入力エリア52に入力されたレジ番号を検索条件としてRAM13に記憶する(ステップS30)。   When the cursor is positioned by the operation of the keyboard 19 and the cash register number input area 52 is focused (step S22; Yes), the CPU 11 searches for the cash register number input to the cash register number input area 52 by the keyboard 19 operation. Is stored in the RAM 13 (step S30).

キーボード19の操作によってカーソルが位置付けられて検索日時入力エリア53がフォーカスされている場合(ステップS23;Yes)、CPU11は、キーボード19の操作によって検索日時入力エリア53に入力された検索日時を検索条件としてRAM13に記憶する(ステップS31)。   When the cursor is positioned by the operation of the keyboard 19 and the search date / time input area 53 is focused (step S23; Yes), the CPU 11 uses the search date / time input to the search date / time input area 53 by the operation of the keyboard 19 as a search condition. Is stored in the RAM 13 (step S31).

キーボード19の操作によって取引条件選択エリア54において「全取引」「通常」「返品」「レジマイナス」「クレジット」のいずれかが検索対象として選択された場合(ステップS24;Yes)、CPU11は、キーボード19の操作によって選択されたいずれかの検索対象を検索条件としてRAM13に記憶する(ステップS32)。   When any of “all transactions”, “normal”, “returned goods”, “residence minus”, and “credit” is selected as a search target in the transaction condition selection area 54 by operating the keyboard 19 (step S24; Yes), the CPU 11 Any search object selected by the operation of 19 is stored in the RAM 13 as a search condition (step S32).

キーボード19の操作によってカーソルが位置付けられて取引番号エリア55がフォーカスされている場合(ステップS25;Yes)、CPU11は、キーボード19の操作によって取引番号エリア55に入力された取引番号を検索条件としてRAM13に記憶する(ステップS33)。   When the cursor is positioned by the operation of the keyboard 19 and the transaction number area 55 is focused (step S25; Yes), the CPU 11 uses the transaction number input to the transaction number area 55 by the operation of the keyboard 19 as a search condition. (Step S33).

キーボード19の操作によってカーソルが位置付けられて責任者番号エリア56がフォーカスされている場合(ステップS26;Yes)、CPU11は、キーボード19の操作によって責任者番号エリア56に入力された責任者番号を検索条件としてRAM13に記憶する(ステップS34)。   When the cursor is positioned by the operation of the keyboard 19 and the responsible person number area 56 is focused (step S26; Yes), the CPU 11 searches for the responsible person number input in the responsible person number area 56 by the operation of the keyboard 19. The condition is stored in the RAM 13 (step S34).

キーボード19の操作によってカーソルが位置付けられて文字列入力エリア57がフォーカスされている場合(ステップS27;Yes)、CPU11は、スキャナ23からのスキャニングまたはキーボード19の操作によって文字列入力エリア57に入力された文字列を検索条件としてRAM13に記憶する(ステップS35)。   When the cursor is positioned by the operation of the keyboard 19 and the character string input area 57 is focused (step S27; Yes), the CPU 11 is input to the character string input area 57 by the scanning from the scanner 23 or the operation of the keyboard 19. The character string thus stored is stored in the RAM 13 as a search condition (step S35).

その後、検索条件入力エリア41に表示された各エリア51,52,53,54,55,56,57のいずれかにおける検索条件の入力または選択後(ステップS21〜27)、キーボード19の操作によって確定ボタン47の入力があった場合(ステップS28;Yes)、CPU11は、文字列入力エリア57に対する文字列の入力があるか否かを判定する(ステップS36)。   Thereafter, after inputting or selecting a search condition in any of the areas 51, 52, 53, 54, 55, 56, and 57 displayed in the search condition input area 41 (steps S21 to S27), it is determined by operating the keyboard 19. When there is an input from the button 47 (step S28; Yes), the CPU 11 determines whether or not there is a character string input to the character string input area 57 (step S36).

文字列入力エリア57に対する文字列の入力があると判定した場合(ステップS36;Yes)、CPU11は、文字列入力エリア57の文字列がスキャナ23から入力された文字列であるか否かを判定する(ステップS37)。   When it is determined that there is a character string input to the character string input area 57 (step S36; Yes), the CPU 11 determines whether or not the character string in the character string input area 57 is a character string input from the scanner 23. (Step S37).

ここで、文字列入力エリア57の文字列がスキャナ23から入力された文字列であるか否かの判定手法について説明する。本実施形態においては、文字列入力エリア57の文字列の中に半角のA〜Z、半角の0〜9以外が入っていた場合は、スキャナ23からの入力以外(すなわち、キーボード19の操作による入力)と判断する。一方、文字列入力エリア57の文字列が全て半角のA〜Z、半角の0〜9だった場合は、バーコードをスキャンした可能性があるため、入力された文字列をバーコード変換関数に通す。バーコード変換関数は、スキャナ23からの入力の場合に先頭に付される制御コードを取り除くものである。   Here, a method for determining whether or not the character string in the character string input area 57 is a character string input from the scanner 23 will be described. In the present embodiment, when the character string in the character string input area 57 includes characters other than half-width characters A to Z and half-width characters 0 to 9, the characters other than the input from the scanner 23 (that is, depending on the operation of the keyboard 19). Input). On the other hand, if all the character strings in the character string input area 57 are half-width characters A to Z and half-width characters 0 to 9, there is a possibility that the barcode has been scanned. Pass through. The bar code conversion function removes a control code added to the head in the case of input from the scanner 23.

このようなバーコード変換関数の変換結果が「正常」だった場合は、スキャナ23からの入力である、と判定する。一方、バーコード変換関数の変換結果が「異常」の場合は、スキャナ23からの入力ではない(すなわち、キーボード19の操作による入力)、と判定する。ここで、バーコード変換関数の変換結果が「異常」の場合とは、未定義コード、C/Dエラー、入力桁数オーバー、などの場合である。   When the conversion result of such a barcode conversion function is “normal”, it is determined that the input is from the scanner 23. On the other hand, when the conversion result of the barcode conversion function is “abnormal”, it is determined that the input is not from the scanner 23 (that is, input by operating the keyboard 19). Here, the case where the conversion result of the barcode conversion function is “abnormal” is a case where an undefined code, a C / D error, an excessive number of input digits, or the like.

なお、スキャナ23から入力されるコードとしては、商品に付されたバーコードに含まれる商品コード、社員章に付されたバーコードに含まれる従業員コード等が挙げられる。   The code input from the scanner 23 includes a product code included in a barcode attached to a product, an employee code included in a barcode attached to an employee chapter, and the like.

文字列入力エリア57の文字列がスキャナ23から入力された文字列であると判定した場合(ステップS37;Yes)、CPU11は、文字列入力エリア57に表示されている文字列をバーコード変換関数の変換結果に変更するとともに(ステップS38)、RAM13に記憶されている文字列をバーコード変換関数の変換結果に変更する(ステップS39)。   When it is determined that the character string in the character string input area 57 is a character string input from the scanner 23 (step S37; Yes), the CPU 11 converts the character string displayed in the character string input area 57 into a barcode conversion function. (Step S38) and the character string stored in the RAM 13 is changed to the conversion result of the barcode conversion function (step S39).

一方、文字列入力エリア57の文字列がスキャナ23から入力された文字列でないと判定した場合(ステップS37;No)、文字列入力エリア57に表示されている文字列やRAM13に記憶されている文字列はそのままである。   On the other hand, when it is determined that the character string in the character string input area 57 is not the character string input from the scanner 23 (step S37; No), the character string displayed in the character string input area 57 or stored in the RAM 13 is stored. The string is left as is.

以上の処理により、ステップS2におけるジャーナルデータを検索するための検索条件を設定する検索条件設定処理が終了する。   With the above process, the search condition setting process for setting the search condition for searching the journal data in step S2 ends.

図3に戻り、CPU11(データ検索手段112)は、RAM13に記憶されている検索条件に基づいて電子ジャーナルファイル14に保存されたジャーナルデータを検索し(ステップS3)、CPU11(データ出力手段113)は、検索したジャーナルデータを検索結果一覧表示エリア42に表示するとともに(ステップS4)、検索結果一覧表示エリア42において一番上に表示されているジャーナルデータをジャーナルデータ表示エリア43に表示する(ステップS5)。   Returning to FIG. 3, the CPU 11 (data search means 112) searches the journal data stored in the electronic journal file 14 based on the search conditions stored in the RAM 13 (step S3), and the CPU 11 (data output means 113). Displays the searched journal data in the search result list display area 42 (step S4), and displays the journal data displayed at the top in the search result list display area 42 in the journal data display area 43 (step S4). S5).

図4に示す例では、検索対象選択エリア51で「当日」が選択され、検索日時入力エリア53で営業日時が指定され、取引条件選択エリア54で「全取引」が選択された場合において、レジ番号入力エリア52に「1234」というレジ番号と、検索日時入力エリア53に「2008/5/13 17:22〜2008/5/13 17:23」という営業日時とが入力されて検索条件が生成された場合、検索条件と一致するジャーナルデータが電子ジャーナルファイル14から検索され、その検索されたジャーナルデータが検索結果一覧表示エリア42に表示される。   In the example shown in FIG. 4, when “current day” is selected in the search target selection area 51, the business date and time is specified in the search date and time input area 53, and “all transactions” is selected in the transaction condition selection area 54, The registration number “1234” is input to the number input area 52 and the business date and time “2008/5/13 17:22 to 2008/5/13 17:23” are input to the search date and time input area 53 to generate a search condition. When the search is performed, journal data that matches the search condition is searched from the electronic journal file 14, and the searched journal data is displayed in the search result list display area 42.

続いて、CPU11は、検索結果一覧表示エリア42に表示されたジャーナルデータから一のジャーナルデータが指定されると(ステップS6;Yes)、ステップS5に戻り、ジャーナルデータ表示エリア43に表示されているジャーナルデータを当該指定されたジャーナルデータに変更する。   Subsequently, when one journal data is designated from the journal data displayed in the search result list display area 42 (step S6; Yes), the CPU 11 returns to step S5 and is displayed in the journal data display area 43. Change the journal data to the specified journal data.

また、CPU11は、帳票出力ボタン45が操作されると(ステップS7;Yes)、ジャーナルデータ表示エリア43に表示されているジャーナルデータにかかる帳票出力をレシートプリンタ22に対して指示する(ステップS8)。   Further, when the form output button 45 is operated (step S7; Yes), the CPU 11 instructs the receipt printer 22 to output the form related to the journal data displayed in the journal data display area 43 (step S8). .

さらに、CPU11は、終了ボタン44が操作されると(ステップS9;Yes)、ジャーナルログ確認画面40を閉じ、この処理を終了する。   Further, when the end button 44 is operated (step S9; Yes), the CPU 11 closes the journal log confirmation screen 40 and ends this process.

このように本実施形態によれば、スキャナ23により読み取ったコードシンボルから得られる商品コードに基づく商取引に係る商品販売データを電子的に記録したジャーナルデータを構成する項目の中から、一商取引を特定可能な項目の所望データを入力するデータ入力手段は、スキャナ23により読み取ったコードシンボルから得られるコードを、所望のデータとして一商取引を特定可能な項目に対して入力するようにしたことにより、顧客からの問い合わせ時(電話などで手元にレシートが無い時)、コード入力の手間を省き、確認作業時間を短縮することができるので、ジャーナルログ検索のスピードアップを図ることができるとともに、入力ミスの削減を図ることができる。   As described above, according to the present embodiment, one commercial transaction is identified from items constituting journal data in which product sales data relating to a commercial transaction based on the product code obtained from the code symbol read by the scanner 23 is electronically recorded. The data input means for inputting the desired data of possible items inputs the code obtained from the code symbol read by the scanner 23 to the item that can specify one commercial transaction as the desired data. Can save time for code entry and reduce the time required for confirmation when making inquiries from customers (when there is no receipt on the phone, etc.), speeding up journal log searches and reducing input errors. Reduction can be achieved.

なお、本実施形態の携帯端末であるPOS端末1で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed in the POS terminal 1 which is a portable terminal of the present embodiment is a file in an installable format or an executable format, and is a CD-ROM, flexible disk (FD), CD-R, DVD (Digital Versatile It may be configured to be recorded on a computer-readable recording medium such as a disk).

さらに、本実施形態の携帯端末であるPOS端末1で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のPOS端末1で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the POS terminal 1, which is a portable terminal of the present embodiment, may be configured to be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. . Further, the program executed by the POS terminal 1 of the present embodiment may be provided or distributed via a network such as the Internet.

本実施形態のPOS端末1で実行されるプログラムは、上述した各部(データ入力手段111、データ検索手段112、データ出力手段113)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROMから制御プログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、データ入力手段111、データ検索手段112、データ出力手段113が主記憶装置上に生成されるようになっている。   The program executed by the POS terminal 1 of the present embodiment has a module configuration including the above-described units (data input unit 111, data search unit 112, and data output unit 113). As actual hardware, a CPU ( The processor) reads out the control program from the ROM and executes it, so that the above-described units are loaded on the main storage device, and the data input means 111, the data search means 112, and the data output means 113 are generated on the main storage device. It has become.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1 商品販売データ処理装置
23 コード読取手段
111 データ入力手段
112 データ検索手段
113 データ出力手段
DESCRIPTION OF SYMBOLS 1 Merchandise sales data processing apparatus 23 Code reading means 111 Data input means 112 Data search means 113 Data output means

特開2003−132434号公報JP 2003-132434 A

Claims (5)

商品に付されたコードシンボルを光学的に読み取るコード読取手段と、
前記コード読取手段により読み取ったコードシンボルから得られる商品コードに基づく商取引に係る商品販売データを電子的に記録したジャーナルデータを構成する項目の中から、一商取引を特定可能な項目の所望データを入力するデータ入力手段と、
前記データ入力手段により入力された所望データにより特定されるジャーナルデータを、ジャーナルデータを保持するジャーナルファイルから検索するデータ検索手段と、
前記データ検索手段により検索されたジャーナルデータを出力するデータ出力手段と、
を備え、
前記データ入力手段は、前記コード読取手段からのデータ入力なのか、前記コード読取手段以外の入力部からのデータ入力なのかを、データとして入力された文字列の態様に応じて判断するとともに、前記コード読取手段により読み取ったコードシンボルから得られるコードを、所望のデータとして一商取引を特定可能な項目に対して入力する、
ことを特徴とする商品販売データ処理装置。
Code reading means for optically reading a code symbol attached to a product;
Enter the desired data of the item that can specify one commercial transaction from the items that constitute the journal data electronically recording the product sales data related to the commercial transaction based on the product code obtained from the code symbol read by the code reading means Data input means,
Data search means for searching journal data specified by the desired data input by the data input means from a journal file holding journal data;
Data output means for outputting journal data searched by the data search means;
With
The data input means determines whether the data input from the code reading means or the data input from an input unit other than the code reading means according to the character string input as data, and The code obtained from the code symbol read by the code reading means is input as desired data to an item that can specify one commercial transaction.
A product sales data processing apparatus characterized by that.
前記データ入力手段は、前記コード読取手段により読み取ったコードシンボルから得られるコードに付された制御コードを取り除く変換処理を実行する、
ことを特徴とする請求項1記載の商品販売データ処理装置。
The data input means executes a conversion process for removing a control code attached to a code obtained from a code symbol read by the code reading means;
The merchandise sales data processing apparatus according to claim 1.
前記データ入力手段は、データとして入力された文字列の中に半角のA〜Z、半角の0〜9以外の文字が入っていた場合に、前記コード読取手段以外の入力部からのデータ入力と判断する、
ことを特徴とする請求項1または2記載の商品販売データ処理装置。
The data input means includes data input from an input unit other than the code reading means when characters other than half-width characters A to Z and half-width characters 0 to 9 are included in the character string inputted as data. to decide,
3. The merchandise sales data processing apparatus according to claim 1, wherein
前記データ入力手段は、データとして入力された文字列が半角のA〜Z、半角の0〜9のみの文字で構成されており、かつ、制御コードを取り除いた結果としてコードが正常である場合に、前記コード読取手段からのデータ入力と判断する、
ことを特徴とする請求項1または2記載の商品販売データ処理装置。
The data input means includes a case where a character string input as data is composed of only half-width characters A to Z and half-width characters 0 to 9 and the code is normal as a result of removing the control code. , Determining data input from the code reading means;
3. The merchandise sales data processing apparatus according to claim 1, wherein
商品に付されたコードシンボルを光学的に読み取るコード読取手段により読み取ったコードシンボルから得られる商品コードに基づく商取引に係る商品販売データを電子的に記録したジャーナルデータを構成する項目の中から、一商取引を特定可能な項目の所望データを入力するデータ入力手段と、
前記データ入力手段により入力された所望データにより特定されるジャーナルデータを、ジャーナルデータを保持するジャーナルファイルから検索するデータ検索手段と、
前記データ検索手段により検索されたジャーナルデータを出力するデータ出力手段と、
としてコンピュータを実行させ、
前記データ入力手段は、前記コード読取手段からのデータ入力なのか、前記コード読取手段以外の入力部からのデータ入力なのかを、データとして入力された文字列の態様に応じて判断するとともに、前記コード読取手段により読み取ったコードシンボルから得られるコードを、所望のデータとして一商取引を特定可能な項目に対して入力する、
ことを特徴とするプログラム。
One of the items constituting the journal data electronically recording the product sales data related to the commercial transaction based on the product code obtained from the code symbol read by the code reading means for optically reading the code symbol attached to the product. A data input means for inputting desired data of an item capable of specifying a commercial transaction;
Data search means for searching journal data specified by the desired data input by the data input means from a journal file holding journal data;
Data output means for outputting journal data searched by the data search means;
And run the computer as
The data input means determines whether the data input from the code reading means or the data input from an input unit other than the code reading means according to the character string input as data, and The code obtained from the code symbol read by the code reading means is input as desired data to an item that can specify one commercial transaction.
A program characterized by that.
JP2011259190A 2011-11-28 2011-11-28 Product sales data processing apparatus and program Expired - Fee Related JP5502838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011259190A JP5502838B2 (en) 2011-11-28 2011-11-28 Product sales data processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011259190A JP5502838B2 (en) 2011-11-28 2011-11-28 Product sales data processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2013114399A JP2013114399A (en) 2013-06-10
JP5502838B2 true JP5502838B2 (en) 2014-05-28

Family

ID=48709904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011259190A Expired - Fee Related JP5502838B2 (en) 2011-11-28 2011-11-28 Product sales data processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5502838B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020071555A (en) * 2018-10-30 2020-05-07 カシオ計算機株式会社 Information processor and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002329257A (en) * 2001-04-27 2002-11-15 Toshiba Tec Corp Product sales data processing device and coupon
JP3926353B2 (en) * 2004-07-30 2007-06-06 東芝テック株式会社 Product sales data processing device

Also Published As

Publication number Publication date
JP2013114399A (en) 2013-06-10

Similar Documents

Publication Publication Date Title
JP5826801B2 (en) Product recognition apparatus and product recognition program
US20110055031A1 (en) Registration terminal, settlement terminal, transaction content changing method, and commodity sales processing apparatus
JP4109644B2 (en) Money registration apparatus, money registration system, display control program for money registration apparatus, and computer-readable recording medium recording the program
JP5523432B2 (en) Product sales data processing apparatus and program
JP5663258B2 (en) Product sales data processing device
JP6390250B2 (en) Product sales data processing system, product data processing device and program
JP5502838B2 (en) Product sales data processing apparatus and program
JP6346338B2 (en) Product sales data processing apparatus and program
JP2024038481A (en) Product sales data processing device and program
JP7121783B2 (en) Payment processing device, its control program, and payment processing method
US20220129879A1 (en) Payment apparatus and receipt data creation method
US20220129939A1 (en) Commodity registration apparatus and commodity registration method
JP6262119B2 (en) Sales data processing apparatus and program
JP4150350B2 (en) POS terminal, quantity correction method, quantity correction program, and computer-readable recording medium recording the program
JP5551128B2 (en) Product sales data processing apparatus and product sales data processing method
JP6568271B2 (en) Information processing apparatus and information processing program
US20200387882A1 (en) Commodity sales data processing apparatus, control method therefor, and display control method thereof
JP6730117B2 (en) Sales data processing device and program
JP2020161193A (en) Sales data processor and program
JP2004206372A (en) Pos register
JP2014006774A (en) Commodity sales data processing device
JP6126039B2 (en) Product sales data processing apparatus and program
JP5748715B2 (en) Code symbol reader and program
JP6888069B2 (en) Display control device and control program
JP5133303B2 (en) Product sales data processing device, program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140131

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: 20140304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140313

R150 Certificate of patent or registration of utility model

Ref document number: 5502838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees