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
JP6148977B2 - Merchandise sales data processing apparatus and display control program - Google Patents
[go: Go Back, main page]

JP6148977B2 - Merchandise sales data processing apparatus and display control program - Google Patents

Merchandise sales data processing apparatus and display control program Download PDF

Info

Publication number
JP6148977B2
JP6148977B2 JP2013264643A JP2013264643A JP6148977B2 JP 6148977 B2 JP6148977 B2 JP 6148977B2 JP 2013264643 A JP2013264643 A JP 2013264643A JP 2013264643 A JP2013264643 A JP 2013264643A JP 6148977 B2 JP6148977 B2 JP 6148977B2
Authority
JP
Japan
Prior art keywords
product
sales data
data
registered
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013264643A
Other languages
Japanese (ja)
Other versions
JP2015121903A (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 JP2013264643A priority Critical patent/JP6148977B2/en
Publication of JP2015121903A publication Critical patent/JP2015121903A/en
Application granted granted Critical
Publication of JP6148977B2 publication Critical patent/JP6148977B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

本発明の実施形態は、POS(Point Of Sales)端末、電子式キャッシュレジスタ等の商品販売データ処理装置及びその表示制御プログラムに関する。   Embodiments described herein relate generally to a merchandise sales data processing apparatus such as a POS (Point Of Sales) terminal and an electronic cash register, and a display control program thereof.

カレントエリア、明細エリア及び合計エリアに区分された登録画面をディスプレイに表示する商品販売データ処理装置がある。カレントエリアには、販売登録された最新の商品情報として商品名、単価、販売点数、販売金額等が表示される。明細エリアには、1客が購入する商品の登録開始から決済完了までの1商取引において、販売登録された各商品の商品名、単価、販売点数、販売金額等が一覧表示される。合計エリアには、1商取引として販売登録された各商品の合計点数、合計金額等が表示される。このため、明細エリアのサイズは、他のカレントエリアや合計エリアと比較して大きい。しかし、そのサイズにも限界がある。そこで、商品販売データ処理装置のコントローラは、販売登録された順に商品情報を明細エリアに表示し、明細エリアがフルになると、古い商品情報から順に消去して最新の商品情報を追加するという表示制御を行う。   There is a merchandise sales data processing apparatus that displays a registration screen divided into a current area, a detail area, and a total area on a display. In the current area, the product name, unit price, number of sales, sales price, etc. are displayed as the latest product information registered for sale. The detail area displays a list of product names, unit prices, sales points, sales amounts, etc. of each product registered for sale in one commercial transaction from the start of registration of products purchased by one customer to completion of settlement. In the total area, the total score, total amount, etc. of each product registered for sale as one commercial transaction are displayed. For this reason, the size of the detail area is larger than other current areas and total areas. However, its size is also limited. Therefore, the controller of the merchandise sales data processing apparatus displays the merchandise information in the detail area in the order of sale registration, and when the detail area becomes full, it deletes the old merchandise information in order and adds the latest merchandise information. I do.

しかし、このような表示制御では、同じ商品であっても異なるタイミングで販売登録された場合には、商品情報が明細エリアに別々に表示される。このため、例えば1商取引の登録途中で同一商品の販売点数を確認する場合、ユーザは、明細エリアから対象となる商品情報を抽出して合算する必要がある。しかも、明細エリアがフルになっていた場合には、明細エリアから消去された商品情報の中に対象となる商品が含まれているか確認しなければならない。このため、同一商品が異なるタイミングで販売登録された場合に販売点数や販売金額等の販売情報の確認に手間と時間を要していた。   However, in such display control, even if the same product is sold and registered at different timings, the product information is displayed separately in the detail area. For this reason, for example, when confirming the number of sales of the same product during the registration of one commercial transaction, the user needs to extract target product information from the detail area and add them up. In addition, when the detail area is full, it is necessary to confirm whether the target product is included in the product information erased from the detail area. For this reason, when the same product is registered for sale at different timings, it takes time and effort to confirm the sales information such as the number of sales points and the sales amount.

特開2011−227938号公報JP 2011-227938 A

一実施形態が解決しようとする課題は、同一商品が異なるタイミングで販売登録された場合でも、その商品に係る販売情報を容易に確認できる商品販売データ処理装置を提供しようとするものである。   A problem to be solved by an embodiment is to provide a product sales data processing apparatus that can easily check sales information related to a product even when the same product is registered for sale at different timings.

一実施形態において、商品販売データ処理装置は、入力デバイスと、記憶デバイスと、表示デバイスと、処理手段と、制御手段とを備える。入力デバイスは、商品販売に関わるデータの入力を受け付ける。記憶デバイスは、最新の商品販売データを格納するカレント領域と1商取引として売り上げる商品販売データを登録する明細領域とを有する。表示デバイスは、1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する。処理手段は、入力デバイスを介してデータが入力される毎にそのデータを基に商品販売データを作成する。そして処理手段は、作成された最新の商品販売データをカレント領域に格納させるとともに、この最新の商品販売データの前にカレント領域に格納されていた直前の商品販売データの商品と同一商品の商品販売データが明細領域に登録されているか否かを検索する。その結果、登録されていない場合には、処理手段は、直前の商品販売データを明細領域に登録させる。これに対し、登録されている場合には、処理手段は、その登録済の商品販売データと直前の商品販売データとをマージした商品販売データを明細領域に登録させて、登録済の商品販売データを削除する。制御手段は、明細領域に登録されている商品販売データにより表示デバイスに販売リストとともに、カレント領域に格納される商品販売データにより最新の売上商品の少なくとも品名及び金額を表示デバイスに表示させる。また制御手段は、直前の商品販売データの商品と同一商品の商品販売データが明細領域に登録されているとき、表示デバイスの最新の売上商品の少なくとも品名及び金額が表示される領域と隣接する領域に、マージした商品販売データの少なくとも品名及び金額を表示させる。 In one embodiment, the merchandise sales data processing apparatus includes an input device, a storage device, a display device, processing means, and control means. The input device accepts input of data related to product sales. The storage device has a current area for storing the latest merchandise sales data and a detail area for registering merchandise sales data sold as one commercial transaction. The display device displays a sales list including product names and amounts of product sales data sold as one commercial transaction. The processing means creates merchandise sales data based on the data each time data is input via the input device. The processing means stores the created latest product sales data in the current area, and sells the same product as the product of the immediately previous product sales data stored in the current area before the latest product sales data. Searches whether data is registered in the detail area. As a result, if not registered, the processing means registers the immediately preceding merchandise sales data in the detail area. On the other hand, if registered, the processing means registers the merchandise sales data obtained by merging the registered merchandise sales data and the previous merchandise sales data in the detail area, and the registered merchandise sales data. Is deleted. The control means causes the display device to display at least the product name and the price of the latest sales product based on the product sales data stored in the current area together with the sales list on the display device based on the product sales data registered in the detail area . In addition, when the product sales data of the same product as the product of the previous product sales data is registered in the detail area, the control means is an area adjacent to the area where at least the product name and the amount of the latest sales product of the display device are displayed. To display at least the product name and the amount of the merged product sales data .

POS端末の要部構成を示すブロック図。The block diagram which shows the principal part structure of a POS terminal. オペレータ用ディスプレイに表示される登録画面の一例を示す図。The figure which shows an example of the registration screen displayed on the display for operators. 客用ディスプレイに表示される登録画面の一例を示す図。The figure which shows an example of the registration screen displayed on a display for customers. RAMに形成される主要なメモリエリアを示す模式図。The schematic diagram which shows the main memory areas formed in RAM. 表示制御プログラムにしたがってCPUが実行する情報処理手順の要部を示す流れ図。The flowchart which shows the principal part of the information processing procedure which CPU performs according to a display control program. 値引処理の具体的手順を示す流れ図。The flowchart which shows the specific procedure of a discount process. 小計処理の具体的手順を示す流れ図。The flowchart which shows the specific procedure of a subtotal process. 明細リスト更新処理の具体的手順を示す流れ図。The flowchart which shows the specific procedure of a detail list update process. 客用ディスプレイに対する表示処理の具体的手順を示す流れ図。The flowchart which shows the specific procedure of the display process with respect to a display for customers. 登録数カウンタpが“0”のときの登録画面の表示例を示す模式図。The schematic diagram which shows the example of a display of a registration screen when the registration number counter p is "0". 登録数カウンタpが“1”のときの登録画面の表示例を示す模式図。The schematic diagram which shows the example of a display of a registration screen when the registration number counter p is "1". 登録数カウンタpが“5”のときの登録画面の表示例を示す模式図。The schematic diagram which shows the example of a display of a registration screen when the registration number counter p is "5". 登録数カウンタpが“6”のときの登録画面の表示例を示す模式図。The schematic diagram which shows the example of a display of a registration screen when the registration number counter p is "6". 登録数カウンタpが“7”のときの登録画面の表示例を示す模式図。The schematic diagram which shows the example of a display of a registration screen when the registration number counter p is "7". 他の実施形態における登録画面の表示例を示す模式図。The schematic diagram which shows the example of a display of the registration screen in other embodiment.

以下、商品販売データ処理装置の実施形態について、図面を用いて説明する。なお、この実施形態では、商品販売データ処理装置の一態様として、POS端末10を例示する。   Hereinafter, an embodiment of a merchandise sales data processing apparatus will be described with reference to the drawings. In this embodiment, the POS terminal 10 is illustrated as an aspect of the merchandise sales data processing apparatus.

図1は、POS端末10の要部構成を示すブロック図である。POS端末10は、CPU(Central Processing Unit)101、ROM(Read Only Memory)102、RAM(Random Access Memory)103、時計部104、通信インターフェース105、ドロワインターフェース106、キーボードコントローラ107、表示コントローラ108、表示コントローラ109、プリンタインターフェース110及びスキャナインターフェース111を搭載する。そしてPOS端末10は、これら搭載部品101〜111をアドレスバス,データバスなどのバスライン113に接続して、制御回路を構成する。   FIG. 1 is a block diagram showing a main configuration of the POS terminal 10. The POS terminal 10 includes a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a clock unit 104, a communication interface 105, a drawer interface 106, a keyboard controller 107, a display controller 108, a display A controller 109, a printer interface 110, and a scanner interface 111 are installed. The POS terminal 10 configures a control circuit by connecting these mounted components 101 to 111 to a bus line 113 such as an address bus or a data bus.

CPU101は、コンピュータの中枢部分に相当する。CPU101は、オペレーティングシステムやアプリケーションプログラムに従って、POS端末10としての各種の機能を実現するべく各部を制御する。   The CPU 101 corresponds to the central part of the computer. The CPU 101 controls each unit to implement various functions as the POS terminal 10 in accordance with the operating system and application programs.

ROM102は、上記コンピュータの主記憶部分に相当する。ROM102は、上記のオペレーティングシステムやアプリケーションプログラムを記憶する。ROM102は、CPU101が各部を制御するための処理を実行する上で必要なデータを記憶する場合もある。   The ROM 102 corresponds to the main storage portion of the computer. The ROM 102 stores the above operating system and application programs. The ROM 102 may store data necessary for the CPU 101 to execute processing for controlling each unit.

RAM103は、上記コンピュータの主記憶部分に相当する。RAM103は、CPU101が処理を実行する上で必要なデータを記憶する。またRAM103は、CPU101によって情報が適宜書き換えられるワークエリアとしても利用される。   The RAM 103 corresponds to the main storage portion of the computer. The RAM 103 stores data necessary for the CPU 101 to execute processing. The RAM 103 is also used as a work area where information is appropriately rewritten by the CPU 101.

時計部104は、現在の日付及び時刻を計時する。
通信インターフェース105は、LAN(Local Area Network)等のネットワークを介して接続される外部機器との間で行うデータ通信を司る。外部機器としては、他のPOS端末や上位サーバであるPOSサーバ(不図示)等が含まれる。
The clock unit 104 measures the current date and time.
The communication interface 105 manages data communication with an external device connected via a network such as a LAN (Local Area Network). Examples of the external device include other POS terminals and a POS server (not shown) that is a host server.

ドロワインターフェース106は、現金等を収容するためのドロワ20に対して開放信号を出力する。開放信号が出力されると、ドロワ20は開放動作し、キャッシャによる金銭の受け渡しが可能となる。なお、POS端末10は、ドロワ20の代わりに自動釣銭機を接続してもよい。その場合、ドロワインターフェース106は、釣銭データを自動釣銭機に出力する。釣銭データが出力されると、自動釣銭機は、そのデータに応じた釣銭を払い出す。   The drawer interface 106 outputs an opening signal to the drawer 20 for storing cash or the like. When the opening signal is output, the drawer 20 opens and money can be delivered by the cashier. The POS terminal 10 may be connected to an automatic change machine instead of the drawer 20. In that case, the drawer interface 106 outputs change data to the automatic change machine. When change data is output, the automatic change machine pays out change according to the data.

キーボードコントローラ107は、キーボード21を制御する。キーボード21は、販売点数、預り金額等の数値を置数するための置数キーの他、値引を指示する値引キー、小計を指示する小計キー、1商取引の登録締めを宣言する締めキー等の種々のファンクションキーを配設した専用のキーボードである。汎用のキーボードの任意のキーに、POS端末で必要な機能を割り付けたものであってもよい。キーボードコントローラ107は、キーボード21から操作キーに対応したキー信号を取り込み、CPU101に与える。   The keyboard controller 107 controls the keyboard 21. The keyboard 21 is a numeric key for entering numerical values such as the number of sales points, deposit amount, etc., a discount key for instructing discounts, a subtotal key for instructing subtotals, and a closing key for declaring registration closing of commercial transactions It is a dedicated keyboard provided with various function keys such as. A function necessary for a POS terminal may be assigned to an arbitrary key of a general-purpose keyboard. The keyboard controller 107 takes in a key signal corresponding to the operation key from the keyboard 21 and gives it to the CPU 101.

スキャナインターフェース111は、スキャナ25との間でデータ信号を授受する。スキャナ25は、商品に付されるコードシンボル(バーコード,二次元データコード等)を光学的に読み取り、そのコードデータをスキャナインターフェース111に出力する。スキャナインターフェース111は、スキャナ25から取り込んだコードデータをデコードし、デコードされたデータ、例えば商品コードをCPU101に与える。   The scanner interface 111 exchanges data signals with the scanner 25. The scanner 25 optically reads a code symbol (bar code, two-dimensional data code, etc.) attached to a product and outputs the code data to the scanner interface 111. The scanner interface 111 decodes the code data fetched from the scanner 25 and provides the decoded data, for example, a product code, to the CPU 101.

ここに、キーボード21及びスキャナ25は、商品販売に関わるデータの入力を受け付ける入力デバイスとして機能する。   Here, the keyboard 21 and the scanner 25 function as an input device that receives input of data related to product sales.

プリンタインターフェース110は、プリンタ24との間でデータ信号を授受する。プリンタ24は、レシート印字機能とジャーナル印字機能とを有する。すなわちプリンタ24は、プリンタインターフェース110からのデータ信号によりレシート用紙にレシートデータを印字し、ジャーナル用紙にジャーナルデータを印字する。レシートデータが印字されたレシート用紙は、カッタで切断されてレシートとして発行される。ジャーナルデータが印字されたジャーナル用紙は、POS端末10の内部で巻き取られる。なお、POS端末10が電子ジャーナル機能を有することにより、プリンタ24からジャーナル印字機能を無くしてもよい。   The printer interface 110 exchanges data signals with the printer 24. The printer 24 has a receipt printing function and a journal printing function. That is, the printer 24 prints the receipt data on the receipt paper in accordance with the data signal from the printer interface 110 and prints the journal data on the journal paper. The receipt paper on which the receipt data is printed is cut by a cutter and issued as a receipt. The journal paper on which the journal data is printed is taken up inside the POS terminal 10. It should be noted that the journal printing function may be eliminated from the printer 24 by providing the POS terminal 10 with the electronic journal function.

表示コントローラ108は、オペレータ用ディスプレイ22の表示を制御する。オペレータ用ディスプレイ22は、表示コントローラ108の制御によりPOS端末10のオペレータに対して販売登録された商品の品名,価格,合計金額,釣銭額等を表示する。   The display controller 108 controls the display on the operator display 22. The operator display 22 displays the product name, price, total amount, change amount, etc. of the products registered for sale to the operator of the POS terminal 10 under the control of the display controller 108.

表示コントローラ109は、客用ディスプレイ23の表示を制御する。客用ディスプレイ23は、表示コントローラ109の制御により会計を行う客に対して、販売登録された商品の品名,価格,合計金額,釣銭額等を表示する。   The display controller 109 controls display on the customer display 23. The customer display 23 displays the product name, price, total amount, change amount, etc. of the products registered for sale to the customer who performs accounting under the control of the display controller 109.

本実施形態において、オペレータ用ディスプレイ22は、例えば12インチの画面サイズを有するTFT(Thin Film Transistor)液晶ディスプレイである。客用ディスプレイ23は、オペレータ用ディスプレイ22より小型の例えば7インチの画面サイズを有するTFT液晶ディスプレイである。   In the present embodiment, the operator display 22 is a TFT (Thin Film Transistor) liquid crystal display having a screen size of 12 inches, for example. The customer display 23 is a TFT liquid crystal display having a screen size of, for example, 7 inches that is smaller than the operator display 22.

図2は、オペレータ用ディスプレイ22に表示される登録画面30の一例である。登録画面30は、カレントエリア31と明細エリア32と合計エリア33とに区分される。カレントエリア31には、販売登録された最新の商品販売データの商品名、単価、販売点数、販売金額及び値引額が表示される。明細エリア32には、1商取引として売り上げる商品販売データの商品名、単価、販売点数、販売金額、値引額等が一覧表示される。合計エリア33には、1商取引として売り上げる商品販売データの合計点数及び合計金額が表示される。   FIG. 2 is an example of a registration screen 30 displayed on the operator display 22. The registration screen 30 is divided into a current area 31, a detail area 32, and a total area 33. In the current area 31, the product name, unit price, number of sales points, sales amount and discount amount of the latest product sales data registered for sale are displayed. In the detail area 32, a list of product names, unit prices, sales points, sales amounts, discounts, etc. of the product sales data sold as one commercial transaction is displayed. In the total area 33, the total score and total amount of product sales data sold as one commercial transaction are displayed.

図3は、客用ディスプレイ23に表示される登録画面40の一例である。登録画面40は、6ライン分の商品エリアL1〜L6と、1ライン分の合計エリアL7とに区分される。商品エリアL1〜L6には、1商取引として売り上げる商品販売データの商品名、単価、販売点数、販売金額、値引額等が表示される。合計エリアL7には、1商取引として売り上げる商品販売データの合計点数及び合計金額が表示される。   FIG. 3 is an example of a registration screen 40 displayed on the customer display 23. The registration screen 40 is divided into six line product areas L1 to L6 and one line total area L7. In the product areas L1 to L6, the product name, unit price, number of sales points, sales amount, discount amount, etc. of the product sales data sold as one commercial transaction are displayed. In the total area L7, a total score and a total amount of product sales data sold as one commercial transaction are displayed.

ここに、オペレータ用ディスプレイ22及び客用ディスプレイ23は、1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する表示デバイスとして機能する。   Here, the operator display 22 and the customer display 23 function as a display device that displays a sales list including product names and amounts of product sales data sold as one commercial transaction.

上述した登録画面30,40をオペレータ用ディスプレイ22及び客用ディスプレイ23に表示させるために、POS端末10は、図4に示すメモリ領域LM,CM,TM,NM,FMをRAM103に形成する。   In order to display the registration screens 30 and 40 on the operator display 22 and the customer display 23, the POS terminal 10 forms the memory areas LM, CM, TM, NM, and FM shown in FIG.

メモリ領域LMは、1商取引として売り上げる商品販売データの商品コード、商品名、単価、販売点数、販売金額及び値引額の各項目からなるレコードを一連の番号順に登録する領域であり、以下ではリストメモリLMと称する。メモリ領域CMは、販売登録された最新の商品販売データの商品コード、商品名、単価、販売点数、販売金額及び値引額を格納する領域であり、以下ではカレントメモリCMと称する。メモリ領域TMは、1商取引として売り上げる商品販売データの合計点数TN及び合計金額TAを格納する領域であり、以下では合計メモリTMと称する。メモリ領域NMは、登録数カウンタpと制御カウンタqとを格納する領域であり、以下ではカウントメモリNMと称する。メモリ領域FMは、登録中フラグfを格納する領域であり、以下ではフラグメモリFMと称する。   The memory area LM is an area for registering records composed of items of product code, product name, unit price, sales point, sales amount and discount amount of product sales data sold as one commercial transaction in the order of a series of numbers. This is called LM. The memory area CM is an area for storing a product code, a product name, a unit price, a sales point, a sales amount, and a discount amount of the latest product sales data registered for sale, and is hereinafter referred to as a current memory CM. The memory area TM is an area for storing the total score TN and the total amount TA of the merchandise sales data sold as one commercial transaction, and is hereinafter referred to as a total memory TM. The memory area NM is an area for storing a registration number counter p and a control counter q, and is hereinafter referred to as a count memory NM. The memory area FM is an area for storing the registration flag f, and is hereinafter referred to as a flag memory FM.

ここに、RAM103は、最新の商品販売データを格納するカレント領域(カレントメモリCM)と1商取引として売り上げる商品販売データを登録する明細領域(リストメモリLM)とを有する記憶デバイスとして機能する。   Here, the RAM 103 functions as a storage device having a current area (current memory CM) for storing the latest merchandise sales data and a detail area (list memory LM) for registering merchandise sales data sold as one commercial transaction.

しかしてPOS端末10は、CPU101に以下の機能1〜3を実現させるためのプログラム、いわゆる表示制御プログラムを搭載する。
・機能1.入力デバイス(キーボード21またはスキャナ25)を介して、商品販売に関わるデータが入力される毎にそのデータを基に商品販売データを作成する機能。
Therefore, the POS terminal 10 is loaded with a program for causing the CPU 101 to realize the following functions 1 to 3, a so-called display control program.
Function 1. A function of creating merchandise sales data based on data related to merchandise sales every time data relating to merchandise sales is input via the input device (keyboard 21 or scanner 25).

・機能2.作成された最新の商品販売データをカレントメモリCMに格納させるとともに、この最新の商品販売データの前にカレントメモリCMに格納されていた直前の商品販売データの商品と同一商品の商品販売データがリストメモリLMに登録されているか否かを検索し、登録されていない場合には直前の商品販売データをリストメモリLMに格納させ、登録されている場合にはその登録済の商品販売データと直前の商品販売データとをマージした商品販売データをリストメモリLMに登録させて登録済の商品販売データを削除する機能。 Function 2. The latest product sales data created is stored in the current memory CM, and the product sales data of the same product as the previous product sales data stored in the current memory CM before this latest product sales data is listed. It is searched whether or not it is registered in the memory LM. If it is not registered, the immediately preceding product sales data is stored in the list memory LM. If it is registered, the registered product sales data and the immediately preceding product sales data are stored. A function of registering the product sales data merged with the product sales data in the list memory LM and deleting the registered product sales data.

・機能3.リストメモリLMに登録されている商品販売データにより、表示デバイス(オペレータ用ディスプレイ22または客用ディスプレイ23)に販売リストを表示させる機能。 Function 3. A function for displaying a sales list on a display device (operator display 22 or customer display 23) according to product sales data registered in the list memory LM.

表示制御プログラムは、ROM102に保存される。なお、POS端末10がコンピュータの補助記憶デバイスとして例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、ハードディスクドライブ、あるいはSSD(Solid State Drive)を搭載している場合、表示制御プログラムを補助記憶デバイスで保存してもよい。   The display control program is stored in the ROM 102. When the POS terminal 10 is equipped with, for example, an EEPROM (Electric Erasable Programmable Read-Only Memory), a hard disk drive, or an SSD (Solid State Drive) as an auxiliary storage device of the computer, the display control program is stored in the auxiliary storage device. May be.

図5は、上記表示制御プログラムにしたがってCPU101が実行する情報処理手順の要部を示す流れ図である。なお、図5に示すとともに以下に説明する処理の内容は一例であって、同様な結果を得ることが可能な様々な処理を適宜に利用できる。   FIG. 5 is a flowchart showing a main part of an information processing procedure executed by the CPU 101 in accordance with the display control program. Note that the contents of the process illustrated in FIG. 5 and described below are merely examples, and various processes capable of obtaining similar results can be used as appropriate.

先ず、CPU101は、データの入力を待ち受ける(Act1)。スキャナ25またはキーボード21からデータが入力された場合(Act1にてYES)、CPU101は、そのデータを解析する。そしてCPU101は、商品登録に係るデータが入力されたか否かを確認する(Act2)。   First, the CPU 101 waits for input of data (Act 1). When data is input from the scanner 25 or the keyboard 21 (YES in Act 1), the CPU 101 analyzes the data. Then, the CPU 101 confirms whether or not data relating to product registration has been input (Act 2).

商品に付されたバーコードがスキャナ25によって読み取られ、そのバーコードデータがスキャナインターフェース111を介して入力されると、CPU101は、商品登録に係るデータであると認識する(Act2にてYES)。CPU101は、フラグメモリFMの登録中フラグfを調べる(Act3)。登録中フラグfは、1商取引における最初の商品登録の際には“0”にリセットされており、2回目以降の商品登録の際には“1”にセットされている。   When the barcode attached to the product is read by the scanner 25 and the barcode data is input via the scanner interface 111, the CPU 101 recognizes that the data is related to the product registration (YES in Act 2). The CPU 101 checks the registering flag f in the flag memory FM (Act3). The registering flag f is reset to “0” at the time of the first product registration in one commercial transaction, and is set to “1” at the second and subsequent product registration.

登録中フラグfがリセットされている場合(Act3にてNO)、CPU101は、Act4及びAct5の処理を実行した後、Act6の処理に進む。登録中フラグfがセットされていた場合には(Act3にてYES)、CPU101は、Act4及びAct5の処理を実行することなくAct6の処理に進む。なお、Act4及びAct5の処理順序は、前後が逆になってもよい。   When the registering flag f is reset (NO in Act3), the CPU 101 proceeds to the process of Act6 after executing the processes of Act4 and Act5. When the registering flag f is set (YES in Act 3), the CPU 101 proceeds to the process of Act 6 without executing the processes of Act 4 and Act 5. Note that the processing order of Act4 and Act5 may be reversed.

Act4では、CPU101は、メモリおよび画面の初期化を行う。この初期化により、リストメモリLM、カレントメモリCM、合計メモリTMの各データがクリアされる。また、カウントメモリNMの登録数カウンタpと制御カウンタqとがいずれも“0”にリセットされる。さらに、オペレータ用ディスプレイ22及び客用ディスプレイ23の登録画面30,40が初期状態となる。すなわち登録画面30の場合、初期状態ではカレントエリア31と明細エリア32とがクリアされる。合計エリア33には、合計点数「0点」と合計金額「0円」とが表示される。一方、登録画面40の場合、初期状態では商品エリアL1〜L6がクリアされる。合計エリアL7には、合計点数「0点」と合計金額「0円」とが表示される。   In Act 4, the CPU 101 initializes the memory and the screen. By this initialization, each data of the list memory LM, the current memory CM, and the total memory TM is cleared. Also, both the registered number counter p and the control counter q in the count memory NM are reset to “0”. Furthermore, the registration screens 30 and 40 of the operator display 22 and the customer display 23 are in the initial state. That is, in the case of the registration screen 30, the current area 31 and the detail area 32 are cleared in the initial state. In the total area 33, the total score “0 points” and the total amount “0 yen” are displayed. On the other hand, in the case of the registration screen 40, the product areas L1 to L6 are cleared in the initial state. In the total area L7, the total score “0 points” and the total amount “0 yen” are displayed.

Act5では、CPU101は、登録中フラグfを“1”にセットする。この処理により、2回目以降の商品登録の際には登録中フラグfが“1”にセットされている。因みに、登録中フラグfは、例えば締めキーの入力により1商取引の登録締めが宣言されると、“0”にリセットされる。   In Act 5, the CPU 101 sets the registration flag f to “1”. With this processing, the registration flag f is set to “1” at the time of the second and subsequent product registration. Incidentally, the registration flag f is reset to “0” when the registration closing of one commercial transaction is declared, for example, by inputting the closing key.

Act6では、CPU101は、商品販売データを作成する。すなわちCPU101は、バーコードデータを解析して商品コードを取得し、さらに、この商品コードに関連付けられてPLU(Price Look Up)ファイルに設定されている商品名,単価等の商品情報を読み出す。PLUファイルは、事前にPOSサーバからRAM103にダウンロードされていてもよいし、POSサーバの記憶デバイスに保存されていてもよい。POSサーバに保存されている場合、CPU101は、通信インターフェース105を介してPOSサーバにアクセスして商品情報の問い合わせを行い、POSサーバから商品情報を受け取る。   In Act 6, the CPU 101 creates merchandise sales data. That is, the CPU 101 analyzes the barcode data to acquire a product code, and further reads product information such as a product name and a unit price associated with the product code and set in a PLU (Price Look Up) file. The PLU file may be downloaded from the POS server to the RAM 103 in advance, or may be stored in the storage device of the POS server. If stored in the POS server, the CPU 101 accesses the POS server via the communication interface 105 to inquire about the product information, and receives the product information from the POS server.

商品情報を取得したならば、CPU101は、単価に販売点数を乗算して販売金額を算出する。販売点数は、商品コードが入力される直前に、キーボード21の置数キーと乗算キーとによって乗数が入力されている場合にはその乗数であり、乗数が入力されていない場合には“1”である。かくしてCPU101は、商品コード、商品名,単価、販売点数及び販売金額からなる商品販売データを作成する。   When the product information is acquired, the CPU 101 calculates the sales amount by multiplying the unit price by the number of sales points. The sales score is a multiplier when a multiplier is input with the numeric keys and the multiplication key of the keyboard 21 immediately before the product code is input, and “1” when no multiplier is input. It is. Thus, the CPU 101 creates product sales data including the product code, product name, unit price, number of sales points, and sales price.

Act6の処理が終了すると、CPU101は、登録数カウンタpを調べる(Act7)。1商取引における最初の商品登録の際には、登録数カウンタpは“0”にリセットされている。   When the Act6 process is completed, the CPU 101 checks the registered number counter p (Act7). At the time of the first product registration in one commercial transaction, the registration number counter p is reset to “0”.

登録数カウンタpがリセットされている場合(Act7にてYES)、CPU101は、Act9〜Act13の処理を実行する。登録数カウンタpが“1”以上の場合には(Act7にてNO)、CPU101は、Act8の明細リスト更新処理を実行した後、Act9〜Act13の処理を実行する。なお、Act9〜Act11の各処理手順は、その順序が入れ替わってもよい。また、Act12,Act13の処理手順は、前後が逆になってもよい。明細リスト更新処理については、後述する。   When the registered number counter p is reset (YES in Act7), the CPU 101 executes the processes of Act9 to Act13. When the registered number counter p is “1” or more (NO in Act 7), the CPU 101 executes the process of Act 9 to Act 13 after executing the detail list update process of Act 8. Note that the order of the processing procedures of Act9 to Act11 may be changed. Also, the processing procedures of Act12 and Act13 may be reversed. Details list update processing will be described later.

Act9では、CPU101は、商品販売データに含まれる商品コード、商品名、単価、販売点数及び販売金額を、カレントメモリCMに格納させる。Act10では、CPU101は、合計メモリMNの合計点数TNに商品販売データの販売点数を加算する。Act11では、CPU101は、合計メモリMNの合計金額TAに商品販売データの販売金額を加算する。   In Act 9, the CPU 101 stores the product code, product name, unit price, number of sales points, and sales price included in the product sales data in the current memory CM. In Act 10, the CPU 101 adds the sales score of the product sales data to the total score TN of the total memory MN. In Act 11, the CPU 101 adds the sales amount of the product sales data to the total amount TA of the total memory MN.

Act12では、CPU101は、オペレータ用ディスプレイ22の登録画面30及び客用ディスプレイ23の登録画面40の表示内容を更新する。この表示内容を更新する処理、いわゆる表示処理については、後述する。Act13では、CPU101は、登録数カウンタpを“1”だけカウントアップする。   In Act 12, the CPU 101 updates the display contents of the registration screen 30 on the operator display 22 and the registration screen 40 on the customer display 23. The process of updating the display content, so-called display process will be described later. In Act 13, the CPU 101 increments the registration number counter p by “1”.

Act13の処理が終了すると、CPU21は、Act1の処理に戻る。すなわちCPU101は、次のデータ入力を待ち受ける。   When the process of Act13 ends, the CPU 21 returns to the process of Act1. That is, the CPU 101 waits for the next data input.

入力データが商品登録に係るデータでない場合(Act2にてNO)、CPU101は、入力データがキー操作による指示入力であるか否かを判断する(Act14,Act15)。入力データが値引キーの操作による値引指示であった場合(Act14にてYES)、CPU101は、図6の流れ図に示す手順の値引処理を実行する。   If the input data is not data related to product registration (NO in Act 2), CPU 101 determines whether or not the input data is an instruction input by key operation (Act 14 and Act 15). When the input data is a discount instruction by operating the discount key (YES in Act 14), the CPU 101 executes the discount process of the procedure shown in the flowchart of FIG.

すなわちCPU101は、登録中フラグfを調べる(Act21)。登録中フラグfがリセットされていた場合(Act21にてNO)、商品登録無しに値引キーが操作された誤操作なので、CPU101は、キー操作をエラーとする。   That is, the CPU 101 checks the registration flag f (Act 21). If the registration flag f has been reset (NO in Act 21), the CPU 101 determines that the key operation is an error because the discount key has been operated without product registration.

登録中フラグfがセットされていた場合には(Act21にてYES)、CPU101は、Act22、Act23、Act24の各処理を実行する。なお、Act22とAct23の処理の順序は、前後が逆になってもよい。   If the registering flag f is set (YES in Act 21), the CPU 101 executes each process of Act 22, Act 23, and Act 24. Note that the order of processing of Act22 and Act23 may be reversed.

Act22では、CPU101は、カレントメモリCMに値引額を格納する。Act23では、合計メモリTMの合計金額TAから値引額を減額する。値引額は、値引キーの入力直前に置数キーで置数された金額である。置数がない場合、値引額を0円とする。   In Act 22, the CPU 101 stores the discount amount in the current memory CM. In Act 23, the discount amount is reduced from the total amount TA of the total memory TM. The discount amount is an amount that has been entered with the numeric key immediately before the input of the discount key. If there is no number, the discount amount is 0 yen.

Act24では、CPU101は、オペレータ用ディスプレイ22の登録画面30及び客用ディスプレイ23の登録画面40の表示内容を更新する。   In Act 24, the CPU 101 updates the display contents of the registration screen 30 on the operator display 22 and the registration screen 40 on the customer display 23.

Act24の処理が終了すると、CPU21は、Act1の処理に戻る。すなわちCPU101は、次のデータ入力を待ち受ける。   When the processing of Act 24 is completed, the CPU 21 returns to the processing of Act1. That is, the CPU 101 waits for the next data input.

一方、入力データが小計キーの操作による小計指示であった場合(Act15にてYES)、CPU101は、図7の流れ図に示す手順の小計処理を実行する。   On the other hand, when the input data is a subtotal instruction by the operation of the subtotal key (YES in Act 15), CPU 101 executes the subtotal processing of the procedure shown in the flowchart of FIG.

すなわちCPU101は、登録中フラグfを調べる(Act31)。登録中フラグfがリセットされていた場合(Act31にてNO)、商品登録無しに小計キーが操作された誤操作なので、CPU101は、キー操作をエラーとする。   That is, the CPU 101 checks the registration flag f (Act 31). If the registering flag f has been reset (NO in Act 31), the CPU 101 determines that the key operation is an error because the subtotal key has been operated without product registration.

登録中フラグfがセットされていた場合には(Act31にてYES)、CPU101は、Act32、Act33の各処理を実行する。Act32では、後述する明細リスト更新処理を実行する。Act33では、CPU101は、オペレータ用ディスプレイ22の登録画面30及び客用ディスプレイ23の登録画面40の表示内容を更新する。   When the registering flag f is set (YES in Act 31), the CPU 101 executes each process of Act 32 and Act 33. In Act 32, a detail list update process described later is executed. In Act 33, the CPU 101 updates the display contents of the registration screen 30 on the operator display 22 and the registration screen 40 on the customer display 23.

Act33の処理が終了すると、CPU21は、Act1の処理に戻る。すなわちCPU101は、次のデータ入力を待ち受ける。   When the process of Act33 ends, the CPU 21 returns to the process of Act1. That is, the CPU 101 waits for the next data input.

図8は、Act8及びAct32にて実行される明細リスト更新処理の具体的手順を示す流れ図である。先ずCPU101は、カレントメモリCMのデータ(商品コード、商品名、単価、販売点数、販売金額、値引額)をリストメモリLMの番号p(pは登録数カウンタpの値)のエリアに格納させる(Act41)。   FIG. 8 is a flowchart showing a specific procedure of the detail list update process executed in Act8 and Act32. First, the CPU 101 stores the data (product code, product name, unit price, sales point, sales amount, discount amount) of the current memory CM in the area of the number p (p is the value of the registered number counter p) of the list memory LM ( Act 41).

次にCPU101は、登録数カウンタpが“1”であるか否かを判断する(Act42)。1商取引における2回目の商品登録に対する明細リスト更新処理のタイミングでは、登録数カウンタpが“1”である。この場合(Act42にてYES)、CPU101は、明細リスト更新処理を終了する。   Next, the CPU 101 determines whether or not the registration number counter p is “1” (Act 42). At the timing of the detail list update process for the second product registration in one commercial transaction, the registration number counter p is “1”. In this case (YES in Act 42), the CPU 101 ends the detail list update process.

登録数カウンタpが“1”でない、つまり“1”より大きい場合には(Act42にてNO)、CPU101は、Act43,Act44の処理を実行する。Act43では、CPU101は、カレントメモリCMから商品コードと単価とを検出する。Act44では、CPU101は、Act43の処理で検出した商品コードと単価とを検索キーとして、リストメモリLMの番号“1”から“p−1”までのレコード(番号、商品コード、商品名、単価、販売点数、販売金額、値引額)を検索する。そしてCPU101は、検索キーと商品コード及び単価が一致するレコードが存在するか否かを確認する(Act45)。存在する場合(Act45にてYES)、CPU101は、そのレコード(以下、同一商品レコードと称する)の値引額が“0”より大きいか否かを確認する(Act46)。   If the registered number counter p is not “1”, that is, greater than “1” (NO in Act 42), the CPU 101 executes the processes of Act 43 and Act 44. In Act 43, the CPU 101 detects the product code and the unit price from the current memory CM. In Act 44, the CPU 101 uses the product code and unit price detected in the process of Act 43 as search keys, and records (number, product code, product name, unit price, number) from the number “1” to “p−1” in the list memory LM. Search sales points, sales amount, discount amount). Then, the CPU 101 confirms whether or not there is a record whose search key matches the product code and the unit price (Act 45). If present (YES in Act 45), the CPU 101 confirms whether or not the discount amount of the record (hereinafter referred to as the same product record) is greater than “0” (Act 46).

値引額が“0”の場合(Act46にてNO)、CPU101は、同一商品レコードの販売点数と販売金額とを、リストメモリLMの番号pのエリアに格納された最新レコードの販売点数と販売金額とにそれぞれ加算する。すなわち、商品コード及び単価が一致する同一商品のレコードどうしをマージする(Act47)。   When the discount amount is “0” (NO in Act 46), the CPU 101 displays the sales score and sales price of the same product record as the sales score and sales price of the latest record stored in the number p area of the list memory LM. And add to each. That is, records of the same product with the same product code and unit price are merged (Act 47).

しかる後、CPU101は、リストメモリLMから同一商品レコードを削除する。そしてCPU101は、同一商品レコードの番号より大きい番号のレコードの番号を1ずつ小さい番号に変更する(Act48)。また、CPU101は、登録数カウンタpを“1”だけ減算する(Act49)。以上で、CPU101は、明細リスト更新処理を終了する。   Thereafter, the CPU 101 deletes the same product record from the list memory LM. Then, the CPU 101 changes the number of the record having a larger number than the number of the same product record by 1 to a smaller number (Act48). Further, the CPU 101 subtracts “1” from the registered number counter p (Act 49). As described above, the CPU 101 ends the detail list update process.

なお、リストメモリを検索した結果、同一商品レコードが存在しない場合(Act45にてNO)、あるいは同一商品レコードは存在するが(Act45にてYES)、そのレコードに値引額が設定されている場合には(Act46にてYES)、CPU101は、Act47〜Act49の処理を実行することなく、明細リスト更新処理を終了する。   As a result of searching the list memory, when the same product record does not exist (NO in Act 45) or when the same product record exists (YES in Act 45), a discount is set for the record. (YES in Act 46), the CPU 101 ends the detail list update process without executing the processes of Act 47 to Act 49.

ここに、表示制御プログラムにしたがって実行されるAct6〜Act8の処理は、処理手段を構成する。   Here, the processing of Act6 to Act8 executed according to the display control program constitutes processing means.

次に、Act12,Act24及びAct33の表示処理について説明する。はじめに、オペレータ用ディスプレイ22に対する表示処理について説明する。   Next, display processing of Act12, Act24, and Act33 will be described. First, display processing on the operator display 22 will be described.

Act12の表示処理では、CPU101は、カレントメモリCMに格納されている商品名、単価、販売点数、販売金額及び値引額の各データを登録画面30のカレントエリア31に表示させる。またCPU101は、リストメモリLMに格納されている各レコードの商品名、単価、販売点数、販売金額及び値引額の各データを、番号の小さい順に明細エリア32の画面上段から順に表示させる。さらにCPU101は、合計メモリTMの合計点数TNと合計金額TAとを、合計エリア33に表示させる。   In the Act 12 display process, the CPU 101 causes the current area 31 of the registration screen 30 to display the product name, unit price, sales point, sales amount, and discount data stored in the current memory CM. Further, the CPU 101 displays the product name, unit price, sales point, sales amount, and discount amount data of each record stored in the list memory LM in order from the top of the screen of the detail area 32 in ascending order of the number. Further, the CPU 101 causes the total area 33 to display the total score TN and the total amount TA of the total memory TM.

Act24の表示処理では、CPU101は、カレントメモリCMに格納された値引額をカレントエリア31に表示させる。また、合計エリア33の合計金額を、合計メモリTMの合計金額TAに変更する。   In the display process of Act 24, the CPU 101 displays the discount amount stored in the current memory CM in the current area 31. Further, the total amount of the total area 33 is changed to the total amount TA of the total memory TM.

Act33の表示処理では、CPU101は、リストメモリLMに格納されている各レコードの商品名、単価、販売点数、販売金額及び値引額の各データを、番号の小さい順に明細エリア32の画面上段から順に表示させる。またCPU101は、合計メモリTMの合計点数TNと合計金額TAとを、合計エリア33に表示させる。   In the display process of Act 33, the CPU 101 stores the data of the product name, unit price, sales point, sales price, and discount amount of each record stored in the list memory LM in order from the top of the screen of the detail area 32 in ascending order of the number. Display. Further, the CPU 101 displays the total score TN and the total amount TA of the total memory TM in the total area 33.

次に、客用ディスプレイ23に対する表示処理について、図9の流れ図を用いて説明する。この表示処理は、Act12、Act24及びAct33の各処理において共通である。   Next, display processing on the customer display 23 will be described with reference to the flowchart of FIG. This display process is common to the processes of Act12, Act24, and Act33.

Act12、Act24またはAct33にて表示処理に入ると、先ずCPU101は、登録数カウンタpが“5”を超えているか否かを確認する(Act51)。そして、登録数カウンタpが“5”以下の場合には(Act51にてNO)、CPU101は、Act52〜Act59の処理を実行する。   When the display process is entered in Act 12, Act 24 or Act 33, the CPU 101 first checks whether or not the registered number counter p exceeds “5” (Act 51). When the registered number counter p is “5” or less (NO in Act 51), the CPU 101 executes the processes of Act 52 to Act 59.

Act52では、CPU101は、登録数カウンタpに“1”を加算した値を終値Eとして算出する。Act53では、CPU101は、カウンタメモリNMの制御カウンタqを“0”にリセットする。なお、このAct52とAct53の処理の順序は、前後を入れ替えてもよい。   In Act 52, the CPU 101 calculates a value obtained by adding “1” to the registered number counter p as a closing price E. In Act 53, the CPU 101 resets the control counter q of the counter memory NM to “0”. Note that the order of the processing of Act 52 and Act 53 may be reversed.

Act54では、CPU101は、制御カウンタqを“1”だけカウントアップする。Act55では、CPU101は、制御カウンタqの値が終値Eに達したか否かを確認する。そして、達していない場合、CPU101は、Act56の処理に進み、達している場合には、Act57の処理に進む。   In Act 54, the CPU 101 increments the control counter q by “1”. In Act 55, the CPU 101 confirms whether or not the value of the control counter q has reached the final value E. If not reached, the CPU 101 proceeds to the process of Act 56. If reached, the process proceeds to the process of Act 57.

Act56では、CPU101は、リストメモリLMから番号q(qは制御カウンタqの値)のレコードを読み込む。そしてCPU101は、このレコードの商品名、単価、販売点数、販売金額及び値引額の各データを、登録画面40の商品エリアLq(qは制御カウンタqの値)に表示させる。なお、値引額が“0”の場合には、値引額の表示を省略する。しかる後、CPU101は、Act54の処理に戻る。   In Act 56, the CPU 101 reads the record of the number q (q is the value of the control counter q) from the list memory LM. Then, the CPU 101 displays the product name, unit price, number of sales points, sales amount, and discount amount data of this record in the product area Lq (q is the value of the control counter q) on the registration screen 40. When the discount amount is “0”, the display of the discount amount is omitted. Thereafter, the CPU 101 returns to the processing of Act 54.

Act57では、CPU101は、カレントメモリCMに格納された商品名、単価、販売点数、販売金額、値引額の各データを、登録画面40の商品エリアLq(qは制御カウンタqの値)に表示させる。なお、値引額が“0”の場合には、値引額の表示を省略する。   In Act 57, the CPU 101 displays the product name, unit price, number of sales points, sales price, and discount data stored in the current memory CM in the product area Lq (q is the value of the control counter q) on the registration screen 40. . When the discount amount is “0”, the display of the discount amount is omitted.

Act58では、CPU101は、商品エリアLqの背景を他の商品エリアL(q-1)〜L1の背景と異ならせる。例えばCPU101は、背景の色を変更する。もしくはCPU101は、商品エリアLqだけに所定のハッチングを施す。なお、背景色でなく、たとえば表示文字の色を変更して、商品エリアLqと他の商品エリアL(q-1)〜L1とを区別してもよい。   In Act 58, the CPU 101 makes the background of the product area Lq different from the background of the other product areas L (q-1) to L1. For example, the CPU 101 changes the background color. Alternatively, the CPU 101 performs predetermined hatching only on the product area Lq. Note that the product area Lq may be distinguished from the other product areas L (q−1) to L1 by changing the color of the display characters instead of the background color, for example.

Act59では、CPU101は、合計メモリTMの合計点数TNと合計金額TAとを、登録画面40の合計エリアL7に表示させる。   In Act 59, the CPU 101 displays the total score TN and the total amount TA of the total memory TM in the total area L7 of the registration screen 40.

一方、登録数カウンタpが“5”を超える場合には(Act51にてYES)、CPU101は、Act60〜Act66の処理を実行した後、前記Act59の処理を実行する。   On the other hand, when the registered number counter p exceeds “5” (YES in Act 51), the CPU 101 executes the processing of Act 59 after executing the processing of Act 60 to Act 66.

Act60では、CPU101は、リストメモリLMから番号“p-4”(pは登録数カウンタpの値)のレコードを読み込み、このレコードの商品名、単価、販売点数、販売金額、値引額の各データを、登録画面40の商品エリアL1に表示させる。   In Act 60, the CPU 101 reads the record of the number “p-4” (p is the value of the registered number counter p) from the list memory LM, and stores each data of the product name, unit price, sales point, sales amount, and discount amount of this record. Is displayed in the product area L1 of the registration screen 40.

Act61では、CPU101は、リストメモリLMから番号“p-3”(pは登録数カウンタpの値)のレコードを読み込み、このレコードの商品名、単価、販売点数、販売金額、値引額の各データを、登録画面40の商品エリアL2に表示させる。   In Act 61, the CPU 101 reads the record of the number “p-3” (p is the value of the registered number counter p) from the list memory LM, and stores each data of the product name, unit price, sales point, sales amount, and discount amount of this record. Is displayed in the product area L2 of the registration screen 40.

Act62では、CPU101は、リストメモリLMから番号“p-2”(pは登録数カウンタpの値)のレコードを読み込み、このレコードの商品名、単価、販売点数、販売金額、値引額の各データを、登録画面40の商品エリアL3に表示させる。   In Act 62, the CPU 101 reads the record of the number “p-2” (p is the value of the registration number counter p) from the list memory LM, and stores each data of the product name, unit price, sales point, sales amount, and discount amount of this record. Is displayed in the product area L3 of the registration screen 40.

Act63では、CPU101は、リストメモリLMから番号“p-1”(pは登録数カウンタpの値)のレコードを読み込み、このレコードの商品名、単価、販売点数、販売金額、値引額の各データを、登録画面40の商品エリアL4に表示させる。   In Act 63, the CPU 101 reads the record of the number “p-1” (p is the value of the registered number counter p) from the list memory LM, and stores each data of the product name, unit price, sales point, sales amount, and discount amount of this record. Is displayed in the product area L4 of the registration screen 40.

Act64では、CPU101は、リストメモリLMから番号“p”(pは登録数カウンタpの値)のレコードを読み込み、このレコードの商品名、単価、販売点数、販売金額、値引額の各データを、登録画面40の商品エリアL5に表示させる。   In Act 64, the CPU 101 reads the record of the number “p” (p is the value of the registered number counter p) from the list memory LM, and stores each data of the product name, unit price, sales point, sales amount, and discount amount of this record. It is displayed in the product area L5 of the registration screen 40.

Act65では、CPU101は、カレントメモリCMから商品名、単価、販売点数、販売金額、値引額の各データを読み込み、登録画面40の商品エリアL6に表示させる。なお、Act60〜Act65の各処理において、値引額が“0”の場合には、値引額の表示を省略する。   In Act 65, the CPU 101 reads the product name, unit price, number of sales points, sales amount, and discount amount data from the current memory CM and displays them in the product area L 6 of the registration screen 40. In each process of Act 60 to Act 65, when the discount amount is “0”, the display of the discount amount is omitted.

Act66では、CPU101は、商品エリアL6の背景を他の商品エリアL1〜L5の背景と異ならせる。例えばCPU101は、背景の色を変更する。もしくはCPU101は、商品エリアLqだけに所定のハッチングを施す。なお、背景色でなく、たとえば表示文字の色を変更して、商品エリアL6と他の商品エリアL1〜L5とを区別してもよい。   In Act 66, the CPU 101 makes the background of the product area L6 different from the background of the other product areas L1 to L5. For example, the CPU 101 changes the background color. Alternatively, the CPU 101 performs predetermined hatching only on the product area Lq. Note that the product area L6 may be distinguished from the other product areas L1 to L5 by changing, for example, the color of the display characters instead of the background color.

ここに、表示制御プログラムにしたがって実行されるAct51〜Ac66の処理は、制御手段を構成する。   Here, the processing of Act 51 to Ac 66 executed in accordance with the display control program constitutes a control means.

上述した表示処理により客用ディスプレイ23に表示される登録画面40の変遷例を、図10〜図14に示す。   10 to 14 show transition examples of the registration screen 40 displayed on the customer display 23 by the display processing described above.

図10は、1商取引における最初の商品登録として、単価100円の商品AAAが2点乗算登録されたときの登録画面40である。このとき、登録数カウンタpは“0”である。したがって、前記表示制御プログラムに従い、CPU101では、Act1,2,3,4,5,6,7,9,10,11,12,13の順に処理が実行される。その結果、Act9の処理において、商品AAAの販売データがカレントメモリCMに格納される。   FIG. 10 shows a registration screen 40 when the product AAA with a unit price of 100 yen is registered by two-point multiplication as the first product registration in one commercial transaction. At this time, the registration number counter p is “0”. Therefore, in accordance with the display control program, the CPU 101 executes processes in the order of Acts 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, and 13. As a result, the sales data of the product AAA is stored in the current memory CM in the process of Act9.

また、Act12の客用ディスプレイ23に対する表示処理では、Act51,52,53,54,55,57,58,59の順に処理が実行される。その結果、図10に示すように、登録画面40には、商品エリアL1に、商品AAAの商品名,単価(@100),販売点数(2点)及び販売金額(200円)が表示される。そして、この商品エリアL1の背景が、他の商品エリアL2〜L6と異なる表示となる。合計エリアL7には、合計点数(2点)と合計金額(200円)とが表示される。   In the display process on the customer display 23 of Act 12, the processes are executed in the order of Act 51, 52, 53, 54, 55, 57, 58, 59. As a result, as shown in FIG. 10, on the registration screen 40, the product name, the unit price (@ 100), the number of sales (2 points), and the sales amount (200 yen) of the product AAA are displayed in the product area L1. . And the background of this product area L1 becomes a display different from the other product areas L2-L6. In the total area L7, a total score (2 points) and a total amount (200 yen) are displayed.

図11は、1商取引における2回目の商品登録として、単価200円の商品BBBが1点登録されたときの表示例である。このとき、登録数カウンタpは“1”である。したがって、前記表示制御プログラムに従い、CPU101では、Act1,2,3,4,5,6,7,8,9,10,11,12,13の順に処理が実行される。その結果、Act8の処理(Act41の処理)において、カレントメモリCMに格納されていた商品AAAの販売データがリストメモリLMの番号“1”のエリアに転送される。そして、Act9の処理において、商品BBBの販売データがカレントメモリCMに格納される。   FIG. 11 is a display example when one item of product BBB having a unit price of 200 yen is registered as the second item registration in one commercial transaction. At this time, the registration number counter p is “1”. Therefore, according to the display control program, the CPU 101 executes processes in the order of Acts 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and 13. As a result, in Act 8 processing (Act 41 processing), the sales data of the product AAA stored in the current memory CM is transferred to the area of number “1” in the list memory LM. Then, in Act 9 processing, the sales data of the product BBB is stored in the current memory CM.

また、客用ディスプレイ23に対する表示処理では、Act51,52,53,54,55,56,54,55,57,58,59の順に処理が実行される。その結果、登録画面40には、商品エリアL2に、商品BBBの商品名,単価(@200),販売点数(1点)及び販売金額(200円)が表示される。商品エリアL1の表示内容は変わらない。ただし、商品エリアL1の背景は元に戻り、商品エリアL2の背景だけが他の商品エリアL1及びL3〜L6と異なる表示となる。合計エリアL7には、合計点数(3点)と合計金額(400円)とが表示される。   In the display process for the customer display 23, the processes are executed in the order of Acts 51, 52, 53, 54, 55, 56, 54, 55, 57, 58, 59. As a result, on the registration screen 40, the product name, the unit price (@ 200), the number of sales (1 point), and the sales amount (200 yen) of the product BBB are displayed in the product area L2. The display content of the product area L1 does not change. However, the background of the product area L1 returns to the original, and only the background of the product area L2 is displayed differently from the other product areas L1 and L3 to L6. In the total area L7, the total score (3 points) and the total amount (400 yen) are displayed.

図12は、1商取引における6回目の商品登録として、1回目と同一の商品AAAがさらに1点登録されたときの表示例である。なお、3回目の商品登録としては、単価300円の商品CCCが1点、30円値引されて登録され、4回目の商品登録としては、単価150円の商品DDDが4点乗算登録され、5回目の商品登録としては、単価250円の商品EEEが1点登録されている。すなわち、リストメモリLMの番号“1”〜“4”の各エリアには、商品AAA、商品BBB、商品CCC、商品DDDの各販売データが格納されている。また、カレントメモリCMには、商品EEEの販売データが格納されている。   FIG. 12 is a display example when the same product AAA as that in the first registration is further registered as the sixth product registration in one commercial transaction. In the third product registration, a product CCC with a unit price of 300 yen is registered with 1 point discounted by 30 yen, and as a fourth product registration, a product DDD with a unit price of 150 yen is registered with 4 points multiplication, As the fifth product registration, one product EEE having a unit price of 250 yen is registered. That is, the sales data of the product AAA, the product BBB, the product CCC, and the product DDD are stored in the areas of the numbers “1” to “4” of the list memory LM. The current memory CM stores sales data of the product EEE.

このとき、登録数カウンタpは“5”である。したがって、前記表示制御プログラムに従い、CPU101では、Act1,2,3,4,5,6,7,8,9,10,11,12,13の順に処理が実行される。その結果、Act8の処理(Act41の処理)において、カレントメモリCMに格納されていた商品EEEの販売データがリストメモリLMの番号“5”のエリアに転送される。このとき、商品EEEと同一商品の販売データはリストメモリLMに登録されていない。したがって、Act45の判断処理において“No”となり、明細リスト更新処理が終了する。そしてAct9の処理において、今回の商品AAAの販売データがカレントメモリCMに格納される。   At this time, the registration number counter p is “5”. Therefore, according to the display control program, the CPU 101 executes processes in the order of Acts 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and 13. As a result, in the Act 8 process (Act 41 process), the sales data of the product EEE stored in the current memory CM is transferred to the area “5” in the list memory LM. At this time, sales data of the same product as the product EEE is not registered in the list memory LM. Therefore, “No” is determined in the determination process of Act 45, and the detail list update process is terminated. In the process of Act9, the sales data of the current product AAA is stored in the current memory CM.

また、客用ディスプレイ23に対する表示処理では、Act51,52,53,54,55,56,54,55,56,54,55,56,54,55,56,54,55,56,54,55,57,58,59の順に処理が実行される。その結果、登録画面40には、商品エリアL5に、商品EEEの商品名,単価(@250),販売点数(1点)及び販売金額(250円)が表示され、商品エリアL6に、商品AAAの商品名,単価(@100),販売点数(1点)及び販売金額(100円)が表示される。また合計エリアL7には、合計点数(10点)と合計金額(1,620円)とが表示される。   In the display processing for the customer display 23, Acts 51, 52, 53, 54, 55, 56, 54, 55, 56, 54, 55, 56, 54, 55, 56, 54, 55, 56, 54, 55 , 57, 58, 59 are executed in this order. As a result, the registration screen 40 displays the product name, unit price (@ 250), the number of sales (1 point) and the sales price (250 yen) of the product EEE in the product area L5, and the product AAA in the product area L6. Product name, unit price (@ 100), number of sales points (1 point) and sales amount (100 yen) are displayed. In the total area L7, a total score (10 points) and a total amount (1,620 yen) are displayed.

図13は、1商取引における7回目の商品登録として、3回目と同一の商品CCCが、値引なしに1点登録されたときの表示例である。このとき、登録数カウンタpは“6”である。したがって、前記表示制御プログラムに従い、CPU101では、Act1,2,3,4,5,6,7,8,9,10,11,12,13の順に処理が実行される。そして、Act8の明細リスト更新処理では、先ず、Act41の処理において、カレントメモリCMに格納されていた商品AAAの販売データがリストメモリLMの番号“6”のエリアに転送される。次いで、Act43,44の処理において、商品AAAの商品コードと単価とでリストメモリLMが検索される。その結果、番号“1”のレコードが同一商品AAAのレコードとして検出される。そしてAct47の処理において、この番号“1”のレコードの販売点数(2点)と販売金額(200円)とが、番号“6”のレコードの販売点数(1点)と販売金額(100円)とにそれぞれ加算される。またAct48の処理において、番号“1”のレコードは削除され、番号“2”〜“6”の各レコードがそれぞれ番号“1”〜“5”のレコードにシフトされる。   FIG. 13 shows a display example when the same product CCC as the third time is registered without discount as the seventh time product registration in one commercial transaction. At this time, the registration number counter p is “6”. Therefore, according to the display control program, the CPU 101 executes processes in the order of Acts 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and 13. In the detail list update process of Act8, first, the sales data of the product AAA stored in the current memory CM in the process of Act41 is transferred to the area of the number “6” in the list memory LM. Next, in the processing of Acts 43 and 44, the list memory LM is searched with the product code and the unit price of the product AAA. As a result, the record with the number “1” is detected as the record of the same product AAA. In the process of Act 47, the sales point (2 points) and sales amount (200 yen) of the record with the number “1” are the sales point (1 point) and sales amount (100 yen) of the record with the number “6”. And are added respectively. In the process of Act 48, the record with the number “1” is deleted, and the records with the numbers “2” to “6” are shifted to the records with the numbers “1” to “5”, respectively.

その後、Act9の処理において、今回の商品CCCの販売データがカレントメモリCMに格納される。このとき、登録数カウンタpは、Act49の処理により“5”に変更されている。したがって、客用ディスプレイ23に対する表示処理では、図12のときと同じ手順で処理が実行される。その結果、登録画面40の商品エリアL1〜L4には商品BBB,商品CCC,商品DDD及び商品EEEの各データが表示される。また、商品エリアL5には、Act47の処理によってマージされた商品AAAの商品名,単価(@100),販売点数(3点)及び販売金額(300円)が表示される。さらに、商品エリアL6には、今回登録された商品CCCの商品名,単価(@300),販売点数(1点)及び販売金額(300円)が表示される。そして、商品エリアL6の背景だけが他の商品エリアL1〜L5と異なる表示となる。合計エリアL7には、合計点数(11点)と合計金額(1,920円)とが表示される。   Thereafter, in Act 9 processing, the sales data of the current product CCC is stored in the current memory CM. At this time, the registered number counter p is changed to “5” by the processing of Act 49. Therefore, in the display process for the customer display 23, the process is executed in the same procedure as in FIG. As a result, each data of the product BBB, the product CCC, the product DDD, and the product EEE is displayed in the product areas L1 to L4 of the registration screen 40. In the product area L5, the product name, the unit price (@ 100), the number of sales (3 points), and the sales price (300 yen) of the product AAA merged by the processing of Act 47 are displayed. Furthermore, in the product area L6, the product name, unit price (@ 300), number of sales (1 point), and sales price (300 yen) of the product CCC registered this time are displayed. Only the background of the product area L6 is displayed differently from the other product areas L1 to L5. In the total area L7, the total score (11 points) and the total amount (1,920 yen) are displayed.

図14は、1商取引における8回目の商品登録として、単価130円の商品FFFが、1点登録されたときの表示例である。このとき、登録数カウンタpは“6”である。したがって、前記表示制御プログラムに従い、CPU101では、Act1,2,3,4,5,6,7,8,9,10,11,12,13の順に処理が実行される。   FIG. 14 shows a display example when one item of product FFF having a unit price of 130 yen is registered as the eighth item registration in one commercial transaction. At this time, the registration number counter p is “6”. Therefore, according to the display control program, the CPU 101 executes processes in the order of Acts 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, and 13.

そして、Act8の明細リスト更新処理では、先ず、Act41の処理において、カレントメモリCMに格納されていた商品CCCの販売データがリストメモリLMの番号“6”のエリアに転送される。次いで、Act43,44の処理において、商品CCCの商品コードと単価とでリストメモリLMが検索される。その結果、番号“2”のレコードが同一商品CCCのレコードとして検出される。しかし、この番号“2”のレコードには値引額として30円が格納されている。したがって、Act47〜Act49の各処理は実行されない。すなわち、番号“2”のレコードは、同一商品のレコードである番号“6”のレコードにマージされない。   In the detail list update process of Act8, first, the sales data of the product CCC stored in the current memory CM in the process of Act41 is transferred to the area of number “6” in the list memory LM. Next, in the processing of Acts 43 and 44, the list memory LM is searched with the product code and the unit price of the product CCC. As a result, the record with the number “2” is detected as a record of the same product CCC. However, the record with the number “2” stores 30 yen as a discount amount. Therefore, the processes of Act 47 to Act 49 are not executed. That is, the record with the number “2” is not merged with the record with the number “6” that is a record of the same product.

その後、Act9の処理において、商品FFFの販売データがカレントメモリCMに格納される。このとき、登録数カウンタpは“6”のため、客用ディスプレイ23に対する表示処理では、Act51,60,61,62,63,64,65,66,59の順に処理が実行される。その結果、登録画面40の商品エリアL1〜L5には商品CCC,商品DDD,商品EEE,商品AAA及び商品CCCの各データが表示される。商品BBBのデータは、登録画面40から消去される。また、商品エリアL6には、商品FFFの商品名,単価(@130),販売点数(1点)及び販売金額(130円)が表示される。そして、商品エリアL6の背景だけが他の商品エリアL1〜L5と異なる表示となる。合計エリアL7には、合計点数(12点)と合計金額(2,050円)とが表示される。   Thereafter, in Act 9 processing, sales data of the product FFF is stored in the current memory CM. At this time, since the registered number counter p is “6”, in the display processing for the customer display 23, the processing is executed in the order of Act 51, 60, 61, 62, 63, 64, 65, 66, 59. As a result, in the product areas L1 to L5 of the registration screen 40, data of the product CCC, the product DDD, the product EEE, the product AAA, and the product CCC are displayed. The data of the product BBB is deleted from the registration screen 40. In the product area L6, the product name, unit price (@ 130), number of sales (1 point), and sales price (130 yen) of the product FFF are displayed. Only the background of the product area L6 is displayed differently from the other product areas L1 to L5. In the total area L7, a total score (12 points) and a total amount (2,050 yen) are displayed.

このように本実施形態によれば、1商取引の中で同一商品が異なるタイミングで販売登録された場合、同一商品の販売データがマージされて登録画面30,40に表示される。したがって、同一商品が異なるタイミングで販売登録されたとしても、キャッシャ及び客は、その商品の販売点数及び販売金額を即座に確認することができる。   As described above, according to the present embodiment, when the same product is registered for sale at different timings in one commercial transaction, the sales data of the same product is merged and displayed on the registration screens 30 and 40. Therefore, even if the same product is registered for sale at different timings, the cashier and the customer can immediately confirm the number of sales and the sales amount of the product.

ただし、同一商品であっても一方が値引されている場合には、同一商品の販売データはマージされない。したがって、マージされた販売データは、単価に販売点数を乗算して算出される金額が販売金額と一致するので、客が不審に感じることはない。   However, if one of the same products is discounted, the sales data of the same product is not merged. Accordingly, in the merged sales data, since the amount calculated by multiplying the unit price by the number of sales matches the sales amount, the customer does not feel suspicious.

また、客用ディスプレイ23において、マージされた販売データはカレントメモリCMの商品販売データが表示されるエリア、つまりは背景が異なる商品エリアの直ぐ上に表示される。多くの客は、カレントメモリCMに表示される最新の商品販売データを見て、誤りがないかを確認している。このため、商品販売データがマージされたことを客に意識させることができる。   In the customer display 23, the merged sales data is displayed immediately above the area where the product sales data of the current memory CM is displayed, that is, the product area having a different background. Many customers check the latest merchandise sales data displayed in the current memory CM to confirm that there are no errors. For this reason, the customer can be made aware that the product sales data has been merged.

なお、本発明は、前記実施形態に限定されるものではない。
図15は、他の実施形態における登録画面40の一表示例であり、前記実施形態の図13に対応している。図15に示すように、他の実施形態では、商品エリアL5に表示される商品AAAの販売データに、マージされたデータであることを強調するデータ“(2+1)”を表示させる。因みに、データ“(2+1)”は、販売点数が2点のデータと1点のデータとをマージしたことを示す。
The present invention is not limited to the above embodiment.
FIG. 15 is a display example of the registration screen 40 in another embodiment, and corresponds to FIG. 13 in the embodiment. As shown in FIG. 15, in another embodiment, data “(2 + 1)” that emphasizes the merged data is displayed in the sales data of the product AAA displayed in the product area L5. Incidentally, the data “(2 + 1)” indicates that data with two sales points and data with one point are merged.

このように、マージした商品販売データの少なくとも品名及び金額を他の商品販売データの少なくとも品名及び金額と異なる表示形態で表示させることによって、当該販売データがマージされたデータであることを客が容易に認識できる利点がある。   In this way, by displaying at least the product name and amount of the merged product sales data in a display form different from at least the product name and amount of other product sales data, the customer can easily determine that the sales data is merged data. Has a discernible advantage.

なお、上記異なる表示形態は、図15の例に限定されるものではない。例えば、マージした商品販売データの文字色を、マージしていない商品販売データの文字色と異ならせることによって、当該販売データがマージされたデータであることを知らしめてもよい。   The different display forms are not limited to the example of FIG. For example, the character color of the merged product sales data may be made different from the character color of the unmerged product sales data to notify that the sales data is merged data.

また、前記実施形態では、値引販売として販売金額から所定の金額を減額する金額値引を例示したが、値引販売の概念には、単価を一定の比率で割り引く割引による値引販売や、単価を別の単価に変更する単価変更による値引販売も含まれる。   Further, in the embodiment, the amount discount for reducing the predetermined amount from the sales amount is exemplified as the discount sales. However, the concept of the discount sales includes discount sales by discounting the unit price at a certain ratio, This includes discount sales by changing the unit price to a different unit price.

また、商品販売データ処理装置の譲渡は一般に、表示制御プログラム等のプログラムがROM102に記憶された状態にて行われる。しかしこれに限らず、コンピュータ装置が備える書き込み可能な記憶デバイスに、このコンピュータ装置とは個別に譲渡された表示制御プログラム等がユーザなどの操作に応じて書き込まれてもよい。表示制御プログラム等の譲渡は、リムーバブルな記録媒体に記録して、あるいはネットワークを介した通信により行うことができる。記録媒体は、CD−ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。また、プログラムのインストールやダウンロードにより得る機能は、装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。   Further, the merchandise sales data processing apparatus is generally transferred in a state where a program such as a display control program is stored in the ROM 102. However, the present invention is not limited to this, and a display control program or the like assigned separately from the computer apparatus may be written in a writable storage device included in the computer apparatus in response to an operation by a user or the like. The transfer of the display control program or the like can be performed by recording on a removable recording medium or by communication via a network. The recording medium may be in any form as long as it can store a program such as a CD-ROM or a memory card and can be read by the apparatus. Further, the function obtained by installing or downloading the program may be realized in cooperation with an OS (operating system) in the apparatus.

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]商品販売に関わるデータの入力を受け付ける入力デバイスと、最新の商品販売データを格納するカレント領域と1商取引として売り上げる商品販売データを登録する明細領域とを有する記憶デバイスと、前記1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する表示デバイスと、前記入力デバイスを介してデータが入力される毎にそのデータを基に商品販売データを作成し、この作成された最新の商品販売データを前記カレント領域に格納させるとともに、この最新の商品販売データの前に前記カレント領域に格納されていた直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているか否かを検索し、登録されていない場合には前記直前の商品販売データを前記明細領域に登録させ、登録されている場合にはその登録済の商品販売データと前記直前の商品販売データとをマージした商品販売データを前記明細領域に登録させて前記登録済の商品販売データを削除する処理手段と、前記明細領域に登録されている前記商品販売データにより前記表示デバイスに前記販売リストを表示させる制御手段と、を具備したことを特徴とする商品販売データ処理装置。
[2]前記制御手段は、前記販売リストとともに、前記カレント領域に格納される商品販売データにより最新の売上商品の少なくとも品名及び金額を前記表示デバイスに表示させることを特徴とする付記[1]記載の商品販売データ処理装置。
[3]前記直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているとき、前記制御手段は、前記表示デバイスの前記最新の売上商品の少なくとも品名及び金額が表示される領域と隣接する領域に、前記マージした商品販売データの少なくとも品名及び金額を表示させることを特徴とする付記[2]記載の商品販売データ処理装置。
[4]前記処理手段は、前記直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているが、少なくとも一方の商品が値引販売されている場合、マージしないことを特徴とする付記[1]乃至[3]のうちいずれか1に記載の商品販売データ処理装置。
[5]前記制御手段は、前記マージした商品販売データの少なくとも品名及び金額をマージしていない商品販売データの少なくとも品名及び金額と異なる表示形態で表示させることを特徴とする付記[1]乃至[4]のうちいずれか1に記載の商品販売データ処理装置。
[6]商品販売に関わるデータの入力を受け付ける入力デバイス、最新の商品販売データを格納するカレント領域と1商取引として売り上げる商品販売データを登録する明細領域とを有する記憶デバイス、及び、前記1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する表示デバイス、を備えた商品販売データ処理装置のコンピュータに、前記入力デバイスを介してデータが入力される毎にそのデータを基に商品販売データを作成する機能、前記作成された最新の商品販売データを前記カレント領域に格納させるとともに、この最新の商品販売データの前に前記カレント領域に格納されていた直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているか否かを検索し、登録されていない場合には前記直前の商品販売データを前記明細領域に登録させ、登録されている場合にはその登録済の商品販売データと前記直前の商品販売データとをマージした商品販売データを前記明細領域に登録させて前記登録済の商品販売データを削除する機能、及び、前記明細領域に登録されている前記商品販売データにより前記表示デバイスに前記販売リストを表示させる機能、を実現させるための表示制御プログラム。
In addition, although several embodiments of the present invention have been described, these embodiments are presented as examples 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.
Hereinafter, the invention described in the scope of claims of the present application will be appended.
[1] An input device that accepts input of data related to product sales, a storage device having a current area for storing the latest product sales data, and a detail area for registering product sales data sold as one commercial transaction, and the one commercial transaction A display device that displays a sales list including the product name and price of the product sales data to be sold, and each time data is input through the input device, product sales data is created based on the data, and this created latest The product sales data of the same product as the product of the previous product sales data stored in the current area before the latest product sales data is registered in the current area. If it is not registered, the immediately preceding product sales data is retrieved from the details. If registered, the registered product sales data is merged with the previous product sales data, and the registered product sales data is deleted by registering in the detail area. A merchandise sales data processing apparatus comprising: a processing unit configured to display the sales list on the display device based on the merchandise sales data registered in the specification area.
[2] The supplementary note [1], wherein the control means causes the display device to display at least the product name and the price of the latest sales product based on the product sales data stored in the current area together with the sales list. Product sales data processing equipment.
[3] When product sales data of the same product as the product of the immediately preceding product sales data is registered in the detail area, the control means displays at least the product name and the price of the latest sales product of the display device. The product sales data processing apparatus according to appendix [2], wherein at least a product name and an amount of the merged product sales data are displayed in an area adjacent to the area to be processed.
[4] The processing means does not merge when the product sales data of the same product as the product of the immediately previous product sales data is registered in the detail area, but at least one of the products is discounted. The product sales data processing device according to any one of supplementary notes [1] to [3], characterized by:
[5] The supplementary items [1] to [1], wherein the control unit displays at least the product name and the amount of the merged product sales data in a display form different from at least the product name and the amount of the product sales data not merged. 4]. The merchandise sales data processing apparatus according to any one of [4].
[6] An input device that accepts input of data related to product sales, a storage device having a current area for storing the latest product sales data, and a detail area for registering product sales data sold as one commercial transaction, and the one commercial transaction Each time data is input to the computer of the product sales data processing apparatus provided with a display device for displaying a sales list including the product name and price of the product sales data to be sold, the product is based on the data. A function for creating sales data, storing the created latest product sales data in the current area, and the product of the immediately preceding product sales data stored in the current area before the latest product sales data Search and register whether product sales data for the same product is registered in the detail area If not registered, the immediately preceding product sales data is registered in the detail area, and if registered, the registered product sales data and the immediately preceding product sales data are merged. A function for realizing the function of registering in the detail area and deleting the registered product sales data, and the function of displaying the sales list on the display device based on the product sales data registered in the detail area Display control program.

10…POS端末、21…キーボード、22…オペレータ用ディスプレイ、23…客用ディスプレイ、24…プリンタ、25…スキャナ、30,40…登録画面、LM…リストメモリ、CM…カレントメモリ、TM…合計メモリ、NM…カウンタメモリ、FM…フラグメモリ。   DESCRIPTION OF SYMBOLS 10 ... POS terminal, 21 ... Keyboard, 22 ... Display for operator, 23 ... Display for customer, 24 ... Printer, 25 ... Scanner, 30, 40 ... Registration screen, LM ... List memory, CM ... Current memory, TM ... Total memory NM: counter memory, FM: flag memory.

Claims (4)

商品販売に関わるデータの入力を受け付ける入力デバイスと、
最新の商品販売データを格納するカレント領域と1商取引として売り上げる商品販売データを登録する明細領域とを有する記憶デバイスと、
前記1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する表示デバイスと、
前記入力デバイスを介してデータが入力される毎にそのデータを基に商品販売データを作成し、この作成された最新の商品販売データを前記カレント領域に格納させるとともに、この最新の商品販売データの前に前記カレント領域に格納されていた直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているか否かを検索し、登録されていない場合には前記直前の商品販売データを前記明細領域に登録させ、登録されている場合にはその登録済の商品販売データと前記直前の商品販売データとをマージした商品販売データを前記明細領域に登録させて前記登録済の商品販売データを削除する処理手段と、
前記明細領域に登録されている前記商品販売データにより前記表示デバイスに前記販売リストとともに、前記カレント領域に格納される商品販売データにより最新の売上商品の少なくとも品名及び金額を前記表示デバイスに表示させ、かつ前記直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているとき、前記表示デバイスの前記最新の売上商品の少なくとも品名及び金額が表示される領域と隣接する領域に、前記マージした商品販売データの少なくとも品名及び金額を表示させる制御手段と、
を具備したことを特徴とする商品販売データ処理装置。
An input device that accepts data related to product sales;
A storage device having a current area for storing the latest merchandise sales data and a detail area for registering merchandise sales data sold as one commercial transaction;
A display device for displaying a sales list including product names and amounts of product sales data sold as one commercial transaction;
Each time data is input via the input device, product sales data is created based on the data, the latest product sales data created is stored in the current area, and the latest product sales data It searches whether or not the product sales data of the same product as the product of the immediately previous product sales data previously stored in the current area is registered in the detail area, and if it is not registered, the immediately preceding product Sales data is registered in the detail area, and if registered, product sales data obtained by merging the registered product sales data and the immediately preceding product sales data is registered in the detail area and the registered data is registered. Processing means for deleting product sales data;
With the product sales data registered in the specification area, together with the sales list on the display device, the product sales data stored in the current area causes the display device to display at least the name and price of the latest sales product, And when the product sales data of the same product as the product of the immediately preceding product sales data is registered in the detail area, an area adjacent to the area where at least the product name and the amount of the latest sales product of the display device are displayed Control means for displaying at least a product name and an amount of the merged product sales data ;
A product sales data processing apparatus characterized by comprising:
商品販売に関わるデータの入力を受け付ける入力デバイスと、
最新の商品販売データを格納するカレント領域と1商取引として売り上げる商品販売データを登録する明細領域とを有する記憶デバイスと、
前記1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する表示デバイスと、
前記入力デバイスを介してデータが入力される毎にそのデータを基に商品販売データを作成し、この作成された最新の商品販売データを前記カレント領域に格納させるとともに、この最新の商品販売データの前に前記カレント領域に格納されていた直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているか否かを検索し、登録されていない場合には前記直前の商品販売データを前記明細領域に登録させ、登録されている場合にはその登録済の商品販売データと前記直前の商品販売データとをマージした商品販売データを前記明細領域に登録させて前記登録済の商品販売データを削除する処理手段と、
前記明細領域に登録されている前記商品販売データにより前記表示デバイスに前記販売リストを表示させる制御手段と、
を具備し、
前記処理手段は、前記直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているが、少なくとも一方の商品が値引販売されている場合、マージしないことを特徴とする商品販売データ処理装置。
An input device that accepts data related to product sales;
A storage device having a current area for storing the latest merchandise sales data and a detail area for registering merchandise sales data sold as one commercial transaction;
A display device for displaying a sales list including product names and amounts of product sales data sold as one commercial transaction;
Each time data is input via the input device, product sales data is created based on the data, the latest product sales data created is stored in the current area, and the latest product sales data It searches whether or not the product sales data of the same product as the product of the immediately previous product sales data previously stored in the current area is registered in the detail area, and if it is not registered, the immediately preceding product Sales data is registered in the detail area, and if registered, product sales data obtained by merging the registered product sales data and the immediately preceding product sales data is registered in the detail area and the registered data is registered. Processing means for deleting product sales data;
Control means for displaying the sales list on the display device by the product sales data registered in the specification area;
Comprising
The processing means is characterized in that product sales data of the same product as the product of the immediately preceding product sales data is registered in the detail area, but does not merge when at least one product is sold at a discount. be that merchandise sales data processing apparatus.
商品販売に関わるデータの入力を受け付ける入力デバイスと、
最新の商品販売データを格納するカレント領域と1商取引として売り上げる商品販売データを登録する明細領域とを有する記憶デバイスと、
前記1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する表示デバイスと、
前記入力デバイスを介してデータが入力される毎にそのデータを基に商品販売データを作成し、この作成された最新の商品販売データを前記カレント領域に格納させるとともに、この最新の商品販売データの前に前記カレント領域に格納されていた直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているか否かを検索し、登録されていない場合には前記直前の商品販売データを前記明細領域に登録させ、登録されている場合にはその登録済の商品販売データと前記直前の商品販売データとをマージした商品販売データを前記明細領域に登録させて前記登録済の商品販売データを削除する処理手段と、
前記明細領域に登録されている前記商品販売データにより前記表示デバイスに前記販売リストを表示させる制御手段と、
を具備し、
前記制御手段は、前記マージした商品販売データの少なくとも品名及び金額をマージしていない商品販売データの少なくとも品名及び金額と異なる表示形態で表示させることを特徴とする商品販売データ処理装置。
An input device that accepts data related to product sales;
A storage device having a current area for storing the latest merchandise sales data and a detail area for registering merchandise sales data sold as one commercial transaction;
A display device for displaying a sales list including product names and amounts of product sales data sold as one commercial transaction;
Each time data is input via the input device, product sales data is created based on the data, the latest product sales data created is stored in the current area, and the latest product sales data It searches whether or not the product sales data of the same product as the product of the immediately previous product sales data previously stored in the current area is registered in the detail area, and if it is not registered, the immediately preceding product Sales data is registered in the detail area, and if registered, product sales data obtained by merging the registered product sales data and the immediately preceding product sales data is registered in the detail area and the registered data is registered. Processing means for deleting product sales data;
Control means for displaying the sales list on the display device by the product sales data registered in the specification area;
Comprising
Wherein, at least product name and amount goods you characterized by displaying a different at least Name and amount display form of the commodity sales data not to merge the sales data processing apparatus merchandise sales data the merge.
商品販売に関わるデータの入力を受け付ける入力デバイス、最新の商品販売データを格納するカレント領域と1商取引として売り上げる商品販売データを登録する明細領域とを有する記憶デバイス、及び、前記1商取引として売り上げる商品販売データの商品名及び金額を含む販売リストを表示する表示デバイス、を備えた商品販売データ処理装置のコンピュータに、
前記入力デバイスを介してデータが入力される毎にそのデータを基に商品販売データを作成する機能、
前記作成された最新の商品販売データを前記カレント領域に格納させるとともに、この最新の商品販売データの前に前記カレント領域に格納されていた直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているか否かを検索し、登録されていない場合には前記直前の商品販売データを前記明細領域に登録させ、登録されている場合にはその登録済の商品販売データと前記直前の商品販売データとをマージした商品販売データを前記明細領域に登録させて前記登録済の商品販売データを削除する機能、及び、
前記明細領域に登録されている前記商品販売データにより前記表示デバイスに前記販売リストとともに、前記カレント領域に格納される商品販売データにより最新の売上商品の少なくとも品名及び金額を前記表示デバイスに表示させ、かつ前記直前の商品販売データの商品と同一商品の商品販売データが前記明細領域に登録されているとき、前記表示デバイスの前記最新の売上商品の少なくとも品名及び金額が表示される領域と隣接する領域に、前記マージした商品販売データの少なくとも品名及び金額を表示させる機能、
を実現させるための表示制御プログラム。
An input device that accepts input of data related to merchandise sales, a storage device having a current area for storing the latest merchandise sales data, and a detail area for registering merchandise sales data sold as one commercial transaction, and merchandise sales sold as the one commercial transaction In the computer of the product sales data processing apparatus provided with a display device for displaying a sales list including the product name and amount of data,
A function of creating product sales data based on the data each time data is input via the input device;
The generated latest product sales data is stored in the current area, and the product sales data of the same product as the product of the immediately previous product sales data stored in the current area is stored before the latest product sales data. It is searched whether or not it is registered in the detail area, and if it is not registered, the immediately preceding product sales data is registered in the detail area. A function of registering product sales data merged with the immediately preceding product sales data in the detail area and deleting the registered product sales data; and
With the product sales data registered in the specification area, together with the sales list on the display device, the product sales data stored in the current area causes the display device to display at least the name and price of the latest sales product, And when the product sales data of the same product as the product of the immediately preceding product sales data is registered in the detail area, an area adjacent to the area where at least the product name and the amount of the latest sales product of the display device are displayed A function for displaying at least the product name and the amount of the merged product sales data ,
Display control program for realizing.
JP2013264643A 2013-12-20 2013-12-20 Merchandise sales data processing apparatus and display control program Active JP6148977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013264643A JP6148977B2 (en) 2013-12-20 2013-12-20 Merchandise sales data processing apparatus and display control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013264643A JP6148977B2 (en) 2013-12-20 2013-12-20 Merchandise sales data processing apparatus and display control program

Publications (2)

Publication Number Publication Date
JP2015121903A JP2015121903A (en) 2015-07-02
JP6148977B2 true JP6148977B2 (en) 2017-06-14

Family

ID=53533471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013264643A Active JP6148977B2 (en) 2013-12-20 2013-12-20 Merchandise sales data processing apparatus and display control program

Country Status (1)

Country Link
JP (1) JP6148977B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011227938A (en) * 2011-08-17 2011-11-10 Toshiba Tec Corp Merchandise sales data processor and control program thereof
JP2013250799A (en) * 2012-05-31 2013-12-12 Teraoka Seiko Co Ltd Pos register

Also Published As

Publication number Publication date
JP2015121903A (en) 2015-07-02

Similar Documents

Publication Publication Date Title
JP5496958B2 (en) Information processing apparatus and program
JP2015121940A (en) Commodity sales data processing device and commodity sales program
US20130151328A1 (en) Article sales data processing apparatus and sales data editing method
JP5523432B2 (en) Product sales data processing apparatus and program
JP3253241B2 (en) Product sales registration data processing device
JPS63303495A (en) Transaction processor
JP5371913B2 (en) Merchandise sales data processing apparatus and control program
JP5562913B2 (en) Merchandise sales data processing apparatus and receipt details search program
JPH08167077A (en) Article sale registration data processor
JP6148977B2 (en) Merchandise sales data processing apparatus and display control program
JP5764701B2 (en) Commerce processing apparatus and receipt details search program
JP6984857B2 (en) Product data processing equipment and programs
JP6568271B2 (en) Information processing apparatus and information processing program
JP2017139011A (en) Product sales data processing apparatus and program
JP7017706B2 (en) Product sales data processing equipment and programs
JP7088745B2 (en) Sales data processing equipment and programs
JP6730117B2 (en) Sales data processing device and program
JP6126039B2 (en) Product sales data processing apparatus and program
JP2019185829A (en) Information processing apparatus and information processing program
JP7219515B2 (en) Merchandise sales data processor and program
JP6382389B2 (en) Information processing apparatus and information processing program
JP6138198B2 (en) Commerce processing apparatus and receipt details search program
US20240119811A1 (en) Sales data processing apparatus and method
JP5544769B2 (en) Sales data processing apparatus and program
JP7401188B2 (en) Product sales data processing device and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161025

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170522

R150 Certificate of patent or registration of utility model

Ref document number: 6148977

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150