JPH0259895A - Article sales data processor - Google Patents

Article sales data processor

Info

Publication number
JPH0259895A
JPH0259895A JP21139388A JP21139388A JPH0259895A JP H0259895 A JPH0259895 A JP H0259895A JP 21139388 A JP21139388 A JP 21139388A JP 21139388 A JP21139388 A JP 21139388A JP H0259895 A JPH0259895 A JP H0259895A
Authority
JP
Japan
Prior art keywords
single item
item
report
data
printing
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.)
Pending
Application number
JP21139388A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Sato
充弘 佐藤
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
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP21139388A priority Critical patent/JPH0259895A/en
Publication of JPH0259895A publication Critical patent/JPH0259895A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a printing time and save a receipt from in a shop where many articles are handled by allowing print items per article to be freely set on a user side as to various single-article reports. CONSTITUTION:Selection information indicating whether or not data on each single article in a single-article table needs to be printed corresponding to a single-article report is set in a print selection table before the output of a single article. Therefore, when the printing-out of the single-article report is commanded in inspection or reckoning mode, the selection information corresponding to the single-article report is read out of the printing selection table and necessary print items are read out of the single-article table by articles according to the read selection information and printed out as single-article reports. Consequently, print items per article in various single-article reports can freely be set on the user side, the printing time is shortened in the shop where many articles are handled, and the receipt form is saved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、単品登録機能を有する商品販売データ処理装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a product sales data processing device having a single item registration function.

[従来の技術] 例えば複数台の電子式キャッシュレジスタと1台のファ
イルコントローラとを伝送回線でインライン接続してな
るPO3(販売時点情報管理)システムにおいては、一
般に、ファイルコントローラに、各商品の単品コードに
対応してその商品の単価1名称等の単品設定データを記
憶するとともにその商品の売上げデータを記憶する単品
テーブルが形成されている。そして、登録業務モードに
おいて、ある電子式キャッシュレジスタにて販売商品の
単品コードが入力されると、当該レジスタからファイル
コントローラに単品設定データの問合わせが行なわれ、
前記単品テーブルから入力単品コードに対応する単品設
定データが読出されて問合わせのあったレジスタへ返信
される。単品設定データを受信したレジスタではその単
品設定データから販売データを得、この販売データをレ
シートに印字出力する。また、上記販売データはファイ
ルコントローラへ送信され、売上げデータとして前記単
品テーブルに該当単品コード別に累積登録される。
[Prior Art] For example, in a PO3 (point of sale) system in which multiple electronic cash registers and one file controller are connected in-line through a transmission line, the file controller generally A single item table is formed that stores single item setting data such as unit price and name of the item in correspondence with the code, and also stores sales data of the item. Then, in the registration business mode, when the single item code of a sales product is entered at a certain electronic cash register, the register makes an inquiry to the file controller for the single item setting data,
Single item setting data corresponding to the input single item code is read from the single item table and sent back to the register that made the inquiry. The register that receives the single item setting data obtains sales data from the single item setting data, and prints out this sales data on a receipt. Further, the sales data is transmitted to the file controller and cumulatively registered as sales data in the single item table for each corresponding item code.

このような単品登録機能を有する商品販売ブタ処理装置
においては、単品テーブルに記憶された商品毎の各デー
タに基いてそれぞれ所定の印字フォーマツ“トで各種単
品レポートを印字出力できるようになっており、商品毎
のデータ管理に大いに役立っている。
In a product sales pig processing device having such a single item registration function, it is possible to print out various single item reports in a predetermined printing format based on the data for each product stored in the single item table. , which is extremely useful for data management for each product.

第11図は単品売上げレポートの一印字例を示しており
、第12図は単品設定レポートの一印字例を示している
。図示するように、両レポートとも、現在の年月日1.
レシート番号2.レポート名称3および「点検」モード
であるか(X)「精算」モードであるか(Z)を示す記
号4を印字した後、商品毎にそのレポートに必要な各デ
ータを複数行に亙って印字するようになっている。ここ
で、第11図の単品売上げレポートにおいては、1商品
につき7行分の印字エリアを確保し、1行目には名称5
を、2行目にはリンク部門コード6と単品コード7とを
、3行目には通常売上げ点数8と通常売上げ金額9とを
、4行目には在庫数量10と通常単価11とを、5行目
には値引回数12と値引合計金額13とを、6行目には
特売売上げ点数14と特売売上げ金額15とを、7行目
には特売単価16をそれぞれ印字出力している。
FIG. 11 shows a printed example of a single item sales report, and FIG. 12 shows a printed example of a single item setting report. As shown in the figure, both reports have the current date 1.
Receipt number 2. After printing the report name 3 and symbol 4 indicating whether it is in “inspection” mode (X) or “checkout” mode (Z), write each data necessary for the report for each product on multiple lines. It is designed to be printed. Here, in the single item sales report shown in Figure 11, a printing area of 7 lines is secured for each product, and the first line has the name 5.
, the second line shows the link department code 6 and the single item code 7, the third line shows the normal sales number 8 and the normal sales amount 9, and the fourth line shows the inventory quantity 10 and the normal unit price 11. The fifth line prints out the number of discounts 12 and the total discount amount 13, the sixth line prints the number of sale points 14 and the sale sales amount 15, and the seventh line prints the sale unit price 16. .

一方、第12図の単品設定レポートにおいては、1商品
につき10行分の印字エリアを確保し、1行目から7行
目までは前記単品売上げレポートと同様のデータを印字
出力し、8行目から10行目にかけては各種の設定ステ
ータス17.18゜19.20を印字出力している。
On the other hand, in the single item setting report shown in Figure 12, a print area of 10 lines is secured for each product, and the same data as the single item sales report is printed out from the 1st line to the 7th line, and the 8th line From line 1 to line 10, various setting statuses of 17.18° and 19.20 are printed out.

ところで、一般に、各種単品レポートの印字フォーマッ
トは予め製造者側で設定されており、ユーザ側で自由に
変更できるものではながった。そして、ユーザが単品レ
ポートによるデータ管理を精度よく行なえるように各種
レポートの1商品に対する印字項目は多種となり、第1
1図や第12図に示すように1商品につき多数行に亙っ
て印字が行なわれるのがほとんどであった。
Incidentally, in general, the printing format of various single item reports is set in advance by the manufacturer, and it is no longer possible for the user to freely change it. In order to enable users to accurately manage data using single-item reports, various types of items can be printed for one product in various reports.
As shown in FIGS. 1 and 12, in most cases, printing is performed over multiple lines for each product.

[発明が解決しようとする課題] しかるに、各種単品レポートにおける1商品当りの印字
行が多数行に亙ると、多くの商品を取扱っている店では
各種単品レポートが長くなり、印字に膨大な時間を要す
る。このため、ユーザ側においては、適宜任意の単品レ
ポートに対して1商品につき必要最少銀の項目のみを印
字させて印字時間の短縮およびレシート用紙の節約をは
がりたい要望があるが、従来のこの種商品販売データに
おいては印字フォーマットが予め製造者側で設定されて
いるため、特定の印字項目のみを選択して印字させるこ
とはできなかった。
[Problems to be Solved by the Invention] However, if the number of lines printed per product in various single-item reports extends to many lines, the various single-item reports become long in stores that handle many products, and it takes a huge amount of time to print them. It takes. For this reason, there is a desire on the user side to print only the minimum amount of silver required for each item in any single item report, thereby shortening printing time and saving receipt paper. Since the printing format for specific product sales data is set in advance by the manufacturer, it is not possible to select and print only specific printing items.

そこで本発明は、各種単品レポートにおける1商品当り
の印字項目をユーザ側で自由に設定でき、たとえ多数の
商品を取扱う店であっても印字時間の短縮およびレシー
ト用紙の節約をはかり得る商品販売データ処理装置を提
供しようとするものである。
Therefore, the present invention enables the user to freely set the printing items for each product in various single-item reports, and enables product sales data that can shorten printing time and save receipt paper even in stores that handle a large number of products. The purpose is to provide a processing device.

[課題を解決するための手段] 本発明は、各商品の単品コードに対応してその商品の単
価1名称等の単品設定データを記憶するとともにその商
品の売上げデータを記憶する単品テーブルを有し、登録
業務モードにおいて販売商品の単品コードが入力される
と単品テーブルがら該当する単品設定データを読出して
販売データを得、この販売データを単品テーブルに該当
単品コード別に累積登録し、かつ点検または精算業務モ
ードにおいて単品テーブルに記憶された商品毎の各デー
タに基いて各種単品レポートを印字出力する商品販売デ
ータ処理装置において、各種単品レポートに対応して単
品テーブルにおける商品毎の各データに対して必要な印
字項目か否かの選択情報を記憶する印字選択テーブルと
、この印字選択テーブルに単品レポート別に選択情報を
設定する選択情報設定手段と、点検または精算モードに
おいていずれか1つの単品レポートの印字出力が指令さ
れると印字選択テーブルから該当単品レポートに対応す
る選択情報を読出す選択情報読出し手段と、この選択情
報読出し手段により読出された選択情報に基いて単品テ
ーブルから商品毎に必要印字項目を読出し該当単品レポ
ートとして印字出力するレポート出力制御手段とを備え
たものであ置であれば、ある単品レポートの出力前に、
印字選択テーブルにそのレポートに対応して単品テーブ
ルにおける単品毎の各データに対して必要な印字項目か
否かの選択情報を設定することにより、点ゆまたは精算
モードにおいて当該単品レポートの印字出力を指令する
と、印字選択テーブルから当該単品レポートに対応する
選択情報が読出され、この読出された選択情報に基いて
単品テーブルから商品毎に必要印字項目が読出され、該
当単品レポートとして印字出力される。
[Means for Solving the Problems] The present invention has a single item table that stores single item setting data such as unit price and name of each item in correspondence with the single item code of each item, and also stores sales data of the item. , When the single item code of a sales product is input in registration business mode, the corresponding single item setting data is read from the single item table to obtain sales data, this sales data is cumulatively registered in the single item table for each applicable single item code, and inspection or settlement is performed. In a product sales data processing device that prints out various single item reports based on the data for each product stored in the single item table in business mode, it is necessary for each data for each item in the single item table to correspond to the various single item reports. a printing selection table that stores selection information on whether or not to print items; a selection information setting means that sets selection information for each individual report in the printing selection table; and printout of any one of the individual reports in the inspection or payment mode. A selection information reading means reads selection information corresponding to the corresponding single item report from the printing selection table when commanded, and necessary printing items are selected for each product from the single item table based on the selection information read by the selection information reading means. If the device is equipped with a report output control means that reads and prints out the corresponding single item report, before outputting a certain single item report,
By setting the selection information of whether or not the printing item is necessary for each item data in the single item table in correspondence with the report in the print selection table, the printout of the single item report can be performed in the point pouring or checkout mode. When the command is given, selection information corresponding to the single item report is read from the print selection table, and based on the read selection information, necessary printing items are read for each product from the single item table and printed out as the corresponding single item report.

[実施例] 以下、本発明をPOSシステムに適用した一実施例につ
いて図面を参照しながら説明する。
[Embodiment] Hereinafter, an embodiment in which the present invention is applied to a POS system will be described with reference to the drawings.

第1図はPOSシステムの概略構成を示す模式図であっ
て、店の事務所等に設置された1台のファイルコントロ
ーラ(FC)21に、店内の各売場に設置された複数台
のPOSターミナル(TM)22が伝送回線23を介し
て閉ループ状にインライン接続されており、さらに、上
記ファイルコントローラ21には電話回線24を介して
本店の管理事務所等に設置された上位のホストコンピュ
ータ(IC)25がオンライン接続されている。また、
各POSターミナル22のうち1台がマスターターミナ
ル(M  T M ) 22−rに設定されており、残
りがサテライトターミナル(S−TM)22−2に設定
されている。ここで、サテライトターミナル22−2は
主に売場での売上げ登録を行なうものであり、マスター
ターミナル22.、Iはサテライトとしての機能以外に
前記ファイルコントローラ21を制御して各ターミナル
22での売上げを集計し、レポート発行を行なったりす
るものである。
Figure 1 is a schematic diagram showing the general configuration of a POS system, in which one file controller (FC) 21 installed in a store office, etc., and multiple POS terminals installed in each sales floor in the store. (TM) 22 is connected inline in a closed loop via a transmission line 23, and the file controller 21 is connected via a telephone line 24 to an upper host computer (IC) installed in the management office of the head office, etc. ) 25 is connected online. Also,
One of each POS terminal 22 is set as a master terminal (MTM) 22-r, and the rest are set as satellite terminals (S-TM) 22-2. Here, the satellite terminal 22-2 is mainly used to register sales at the sales floor, and the master terminal 22-2 is used mainly for registering sales at the sales floor. , I controls the file controller 21, totals sales at each terminal 22, and issues reports in addition to functioning as a satellite.

第2図は前記ファイルコントローラ21のブロック構成
図である。図示するように、ファイルコントローラ21
は、制御部本体としてのCPU(中央処理装置)31、
プログラムなどの固定的データを記憶するROM32、
各商品の単品コードに対応してその商品の単価1名称等
の単品設定データを記憶するとともにその単品の売上げ
データを記憶する単品テーブル33aが形成されたRA
M33、現在の年月日時分秒を計時する時計回路34、
前記伝送回線23を介して各ターミナル22との間で行
なわれるデータ伝送を制御する伝送制御回路35、およ
び前記電話回線24を介してホストコンピュータ25と
の間で行なわれるデータ通信を制御する伝送制御回路3
6などから構成されている。
FIG. 2 is a block diagram of the file controller 21. As shown in FIG. As shown in the figure, the file controller 21
is a CPU (central processing unit) 31 as a control unit main body,
ROM32 that stores fixed data such as programs;
An RA in which a single item table 33a is formed that stores single item setting data such as unit price and name of each item corresponding to the single item code of each item, and also stores sales data of that single item.
M33, clock circuit 34 that measures the current year, month, day, hour, minute, and second;
a transmission control circuit 35 that controls data transmission between each terminal 22 via the transmission line 23; and a transmission control circuit 35 that controls data communication between the host computer 25 and the telephone line 24. circuit 3
It consists of 6 etc.

上記単品テーブル33aは、第3図に示すように、1商
品につき1行16バイトのメモリエリアを5行確保し、
そのメモリエリア内に当該商品の単品コード、リンク部
門9名称1通常単価、特売単価およびステータス1〜4
等の単品設定データを記憶する領域と、当該商品の売上
げ金額、売上げ点数、在庫数量、特売売上げ金額、特売
売上げ点数、値引合計金額および値引回数等の単品売上
げデータを記憶する領域とを割付けた構成となっている
As shown in FIG. 3, the single item table 33a secures 5 rows of memory area of 16 bytes per row for each product.
In the memory area, the single item code of the product, link department 9 name 1 regular unit price, special sale unit price, and status 1 to 4
An area for storing single item setting data such as, and an area for storing single item sales data such as the sales amount, number of items sold, inventory quantity, sale sales amount, number of sale items, discount total amount, and number of discounts for the item. It has an assigned configuration.

第4図は前記POSターミナル22のブロック構成図で
あって、制御部本体としてのCPU41は演算回路、メ
モリ制御回路等を内蔵し、入力データに基いて各種の演
算処理を行なうとともに、プログラムなどの固定的デー
タを記憶するROM42と、販売データを例えば部門別
に集計する部門登録ファイルなど売上げ登録に必要なメ
モリが形成されたRAM43’とを制御する。また、「
登録」 「点検」 「精算」 「設定」等の各種業務モ
ードを選択してその実行をCPU41に指令するための
モードスイッチ44からの指令信号を入力するI10ボ
ート45、前記伝送回線46を介してファイルコントロ
ーラ21との間で行なわれるデータ伝送を制御する伝送
制御回路46、現金等を収納するためのドロワ47のド
ロワ開放装置48やレシートなどに印字を行なうプリン
タ49のプリンタ駆動回路50に駆動信号を出力するI
10ボート51、各商品の売上げ登録等に使用されるキ
ーボード52からのキー信号を入力処理するキーボード
回路53、登録商品の販売データなどを表示するための
表示器54を駆動制御する表示制御回路55、各商品の
バーコード化された単品コードを読取るためのバーコー
ドスキャナ56からの読取り信号を入力処理するスキャ
ナ制御回路57などが前記CPU41に接続されている
FIG. 4 is a block diagram of the POS terminal 22. The CPU 41, which serves as the main body of the control unit, has a built-in arithmetic circuit, memory control circuit, etc., and performs various arithmetic processes based on input data, as well as programs, etc. It controls a ROM 42 that stores fixed data and a RAM 43' in which memories necessary for sales registration, such as a department registration file that aggregates sales data by department, are formed. Also,"
The I10 boat 45 inputs a command signal from the mode switch 44 for selecting various business modes such as "registration", "inspection", "settlement", "setting", etc. and instructing the CPU 41 to execute them, via the transmission line 46. A drive signal is sent to a transmission control circuit 46 that controls data transmission with the file controller 21, a drawer opening device 48 of a drawer 47 for storing cash, etc., and a printer drive circuit 50 of a printer 49 that prints on receipts, etc. I outputs
10 board 51, a keyboard circuit 53 that inputs and processes key signals from a keyboard 52 used for registering sales of each product, etc., and a display control circuit 55 that drives and controls a display 54 for displaying sales data of registered products, etc. , a scanner control circuit 57 for inputting and processing a reading signal from a barcode scanner 56 for reading the barcoded single item code of each product, etc. are connected to the CPU 41.

そして、前記キーボード52には、第5図に示すように
、ro OJ  rOJ〜「9」の置数キー61のほか
に、小計キー62、現計キー63、クリアキー64、取
消キー65、日付キー66、乗算キー67、#キー68
、両替キー69、などの各種ファンクションキーが配設
されている。
As shown in FIG. 5, the keyboard 52 has, in addition to the number keys 61 for ro OJ rOJ to "9", a subtotal key 62, a current total key 63, a clear key 64, a cancel key 65, and a date key 61. key 66, multiplication key 67, # key 68
, an exchange key 69, and various other function keys are provided.

また、マスターターミナル22−IのRAM43には、
前述した売上げ登録に必要なメモリ以外に、第6図に示
す印字項目テーブル70と、第7図に示す印字選択テー
ブル80とが形成されている。
In addition, in the RAM 43 of the master terminal 22-I,
In addition to the memory necessary for the sales registration described above, a print item table 70 shown in FIG. 6 and a print selection table 80 shown in FIG. 7 are formed.

印字項目テーブル70は、各種単品レポートに印字され
る単品テーブル33a内の1商品のデータについて印字
行別に印字項目を割付けるためのテーブルであり、印字
行を指定するデータA−Jに対応して単品テーブル33
aにおける該当印字項目のデータが記憶されたメモリエ
リアを指定するデータが予め設定される。なお、このデ
ータ設定は製造者側で行なっており、本実施例では従来
の第11図および第12図に示した単品売上げレポート
および単品設定レポートの印字フォーマットに依存する
ものとする。すなわち、1行目Aに名称を割付け、2行
目Bにリンク部門と単品コードとを割付ける。同様に、
3行目Cに通常売上げ点数と通常売上げ金額とを、4行
目りに在庫数量と通常単価とを、5行目Bに値引回数と
値引合計金額とを、6行目Fに特売売上げ点数と特売売
上げ金額とを、7行目Gに特売単価を、8行目Hにステ
ータス4を、9行目■にステータス1と2とを、10行
行目にステータス3をそれぞれ割付ける。
The printing item table 70 is a table for allocating printing items for each printing line for data of one product in the single item table 33a printed on various single item reports, and corresponds to data A-J specifying printing lines. Single table 33
Data specifying the memory area in which the data of the corresponding print item in a is stored is set in advance. Note that this data setting is performed by the manufacturer, and this embodiment relies on the printing format of the conventional single item sales report and single item setting report shown in FIGS. 11 and 12. That is, the name is assigned to the first line A, and the link department and single item code are assigned to the second line B. Similarly,
The 3rd line C shows the number of regular sales items and the normal sales amount, the 4th line shows the inventory quantity and the regular unit price, the 5th line B shows the number of discounts and the total discount amount, and the 6th line F shows the special sale. Assign the number of sales points and sale sales amount, the sale unit price to the 7th line G, status 4 to the 8th line H, status 1 and 2 to the 9th line ■, and status 3 to the 10th line. .

印字選択テーブル80は、各種単品レポートの指定コー
ドに対応して、上記印字項目テーブル70によって印字
行別に割付けられた印字項目のデータをそのレポートで
印字するか否かを示す印字選択フラグ(印字する:1.
印字しない二〇)を設定記憶するものであり、印字選択
フラグは1単品レポートに対して2バイトで構成される
The print selection table 80 includes print selection flags (print selection flags) indicating whether or not the data of the print items assigned to each print line by the print item table 70 is to be printed in the report, corresponding to the specification codes of various single item reports. :1.
This is used to set and store the setting (20) not to print, and the print selection flag consists of 2 bytes for one single item report.

そして、第1バイトの8ビツトのうち上位から7ビツト
目までがそれぞれ印字行A−Gの印字項目に対する印字
選択フラグとして使用され、再下位の8ビツト目は第2
バイトを使用するか否かを識別するフラグとして使用さ
れる。そして、第2バイトにおいては上位3ビツトがそ
れぞれ印字行H−Jの印字項目に対する印字選択フラグ
として使用され、他は未使用となる。
Of the 8 bits of the first byte, the 7th bit from the top is used as the print selection flag for the print item in print lines A to G, and the 8th bit from the bottom is used as the second bit.
Used as a flag to identify whether to use bytes. In the second byte, the upper three bits are used as print selection flags for the print items of print lines H-J, and the others are unused.

しかして、上記印字選択テーブル80における各印字選
択フラグの設定業務は、マスターターミナル22−1に
おいてモードスイッチ44により「設定」モードが選択
された状態で、第8図に示す流れ図にしたがって行なわ
れる。す、なわち、マスターターミナル22−1のCP
U41はキーボード52からキーデータが入力されると
そのときの業務モードを調べ、「設定」モードであると
キーデータを判読する。そして、キーデータが印字選択
テーブル80の設定を示すデータ(例えば置数キー61
にて「92」を置数後に日付キー67の入力)であると
すると、ST(ステップ)1としてレポートの種類を指
定するコードが入力されるのを待つ。そして、例えば置
数キー61にて置数後に#キー68が入力されるとレポ
ートの種類を指定するコードが置数によって入力された
と認識し、印字選択テーブル80における該当コードの
レポートに対応する全印字選択フラグを0“にリセット
する。
The setting of each print selection flag in the print selection table 80 is performed in accordance with the flowchart shown in FIG. 8 with the "setting" mode selected by the mode switch 44 in the master terminal 22-1. That is, the CP of master terminal 22-1
When key data is input from the keyboard 52, U41 checks the current business mode and interprets the key data as being in the "setting" mode. Then, the key data is data indicating the settings of the print selection table 80 (for example, the numeric key 61
If "92" is entered and then the date key 67 is input), then in ST (step) 1, a code specifying the type of report is input. For example, when the # key 68 is input after entering a number using the numeric key 61, it is recognized that a code specifying the type of report has been input by the numeric key, and all the codes corresponding to the report with the corresponding code in the print selection table 80 are Reset the print selection flag to 0".

次いで、ST2として当該レポートに対してどの印字項
目を選択するかを示す印字選択データが人力されるのを
待つ。ここで、印字選択データは、先ず印字行A−Gに
対応する各印字項目の印字選択フラグを構成する第1バ
イトに対して選択印字項目のフラグとなるビットを指定
するデータであり、例えば印字行Aの印字項目「名称」
と印字行Cの印字項目「売上げ点数、売上げ金額」とを
選択する場合には印字選択データは[13]となる。
Next, in ST2, the process waits for the manual input of print selection data indicating which print items to select for the report. Here, the print selection data is data that first specifies a bit serving as a flag of the selected print item for the first byte that constitutes the print selection flag of each print item corresponding to print lines A to G. Printed item “Name” on line A
When selecting the print item "Number of sales points, sales amount" in print line C, the print selection data becomes [13].

したがって、ST2にて例えば置数キー61にて置数後
に両替キー69が人力されると印字選択データが置数に
よって入力されたと認識し、STIのコード人力により
全て“0“にリセットされた第1バイトの印字選択フラ
グのうち、印字選択データに対応するフラグを“1″に
セットし、他を“O″に保持する。次に、第1バイトの
8ビツト目が°1”か“O゛かを判断する。8ビツト目
が“0”の場合は第2バイトを使用しないのでST3に
進む。これに対し、8ビツト目が“1”の場合には第2
バイトを使用するので、次の印字選択データが入力され
るのを待つ。ここで、例えば・置数キー61にて置数後
に両替キー69が入力されると印字選択データが置数に
よって入力されたと認識し、STIのコード入力により
全て′0”にリセットされた第2バイトの印字選択フラ
グのうち、印字選択データに対応するフラグを“1”に
セットし、他を“0″に保持する。しかる後、ST3に
進む。
Therefore, in ST2, for example, when the exchange key 69 is input manually after entering a number using the numeric key 61, it is recognized that the print selection data has been input using the numeric entry, and the STI code is manually reset to "0". Among the 1-byte print selection flags, the flag corresponding to the print selection data is set to "1" and the others are held to "O". Next, it is determined whether the 8th bit of the first byte is 1 or 0. If the 8th bit is "0", the second byte is not used and the process proceeds to ST3. On the other hand, if the 8th bit is “1”, the second
Since it uses bytes, it waits for the next print selection data to be input. Here, for example, if the exchange key 69 is input after entering a number using the numeric key 61, it is recognized that the print selection data has been entered by the numeric value, and the second Among the print selection flags of the byte, the flag corresponding to the print selection data is set to "1" and the others are held to "0".Then, the process proceeds to ST3.

ST3では印字選択テーブル80の設定終了を宣言する
現計キー63が入力されたか否かを判断し、入力されて
いなければSTIに戻って上述した処理を繰返す。入力
された場合には、この設定処理を終了する。
In ST3, it is determined whether the current total key 63, which declares the end of setting of the print selection table 80, has been input or not, and if it has not been input, the process returns to STI and the above-described process is repeated. If it has been input, this setting process ends.

こうして、印字選択テーブル80に各種単品レポート別
に印字選択フラグが設定されると、マスターターミナル
22−1においてモードスイッチ44により「点検」ま
たは「精算」モードが選択されている状態で、第9図に
示す流れ図にしたがって各種単品レポートの出力処理が
実行される。
In this way, when the print selection flags are set for each type of single report in the print selection table 80, the image shown in FIG. Output processing of various single item reports is executed according to the flowchart shown.

すなわち、マスターターミナル22−1のCPU41は
キーボード52からキーデータが入力されるとそのとき
の業務モードを調べ、「点検」または「精算」モードで
あるとキーデータを判読する。そして、キーデータが印
字選択テーブル80に設定されている単品レポートの出
力指令を示すデータ(例えば置数キー61にて当該レポ
ートのコードを置数後に現計キー63の入力)であると
すると、ST(ステップ) 11として印字選択テーブ
ル80の該当単品レポートに対応する2バイト分の全印
字選択フラグを読出し、第1バイトの先頭ビットから7
ビツト目までと第2バイトの先頭ビットから3ビツト目
までの印字選択フラグを順に印字項目テーブル70のフ
ラグエリア71に格納する。
That is, when key data is input from the keyboard 52, the CPU 41 of the master terminal 22-1 checks the current business mode and interprets the key data as being in the "inspection" or "settlement" mode. Assuming that the key data is data indicating an output command for the single item report set in the print selection table 80 (for example, inputting the code of the report using the number key 61 and then inputting the current total key 63), ST (Step) As step 11, read out all print selection flags for 2 bytes corresponding to the corresponding single item report from the print selection table 80, and read 7 from the first bit of the first byte.
The print selection flags up to the first bit and from the first bit to the third bit of the second byte are sequentially stored in the flag area 71 of the print item table 70.

次に、ST2として項目テーブル7oにおけるフラグエ
リア71内のフラグが“1”の印字項目に対応するデー
タを前記ファイルコントローラ21の単品テーブル33
aから商品順に順次取出し、RA M 43内の印字バ
ッファに格納する。そして、ST3としてプリンタ49
を駆動制御し、印字バッファ内に格納されたレポート用
データをレシートに印字出力して、この処理を終了する
Next, as ST2, the data corresponding to the print item whose flag in the flag area 71 in the item table 7o is "1" is transferred to the single item table 33 of the file controller 21.
The products are taken out in order from item a and stored in the print buffer in the RAM 43. Then, the printer 49 is used as ST3.
The report data stored in the print buffer is printed out on a receipt, and this processing is completed.

なお、各POSターミナル22において、販売商品の売
上げ登録はモードスイッチ44により「登録」モードが
選択されている状態で次のようにして?〒なわれる。す
なわち、各POSターミナル22のCPU41は「登録
」モードにおいてバーコードスキャナ56により販売商
品のバーコードが読取られると、このバーコードを単品
コードに変換し、ファイルコントローラ21に対する間
合わせ伝文を編集して問合わせを行なう。そうすると、
ファイルコントローラ21においては単品テーブル33
aから問合わせのあった単品コードに対応する名称1通
常単価等の単品設定データが読出されて当該ターミナル
22へ応答されるので、ターミナル22においてはこの
応答伝文を受信し、通常単価に販売点数(乗算登録があ
った場合はその乗数、無かった場合は「1」)を乗じて
販売金額を算出する。そして、表示器54に名称、販売
金額等を表示出力するとともにプリンタ49によりレシ
ートに名称1通常単価、販売点数、販売金額等を印字す
る。また、販売点数、販売金額等からなる販売データ伝
文を編集して前記ファイルコントローラ21へ送信する
。販売データ伝文を受信したファイルコントローラ21
においては、その販売点数および販売金額が該当単品コ
ードの売上げ点数および売上げ金額に加算登録される。
In addition, in each POS terminal 22, the sales of the products for sale are registered in the following manner with the mode switch 44 selecting the "registration" mode. 〒Nareru. That is, when the barcode of a sales product is read by the barcode scanner 56 in the "registration" mode, the CPU 41 of each POS terminal 22 converts this barcode into a single item code and edits a makeshift message to the file controller 21. Please make inquiries. Then,
In the file controller 21, the single item table 33
The unit setting data such as name 1 normal unit price corresponding to the unit code inquired from a is read out and sent to the corresponding terminal 22, so the terminal 22 receives this response message and sells at the normal unit price. The sales amount is calculated by multiplying the points (if there is a multiplication registration, then the multiplier; if there is no multiplication, then "1"). Then, the name, sales amount, etc. are displayed on the display 54, and the name 1 normal unit price, number of items sold, sales amount, etc. are printed on the receipt by the printer 49. Further, the sales data message including the number of sales items, sales amount, etc. is edited and sent to the file controller 21. File controller 21 that received the sales data message
, the number of sales items and sales amount are added and registered to the number of sales items and sales amount of the corresponding single item code.

このような構成の本実施例においては、マスターターミ
ナル22−1にてモードスイッチ44により「設定」モ
ードを選択し、印字選択テーブル80の設定を指定する
コードをキー人力することにより、印字選択テーブル8
0の各種単品レポートに対応する印字選択フラグの設定
変更が可能となる。この状態で、今、点検時単品設定レ
ポートのコードを人力後に印字選択データとしてr12
478Jと「13」とを入力し、点検時単品売上げレボ
・−トのコードを入力後に印字選択データとして「13
」を入力し、点検時特売売上げレポートのコードを入力
後に印字選択データとしてr1356Jを入力し、精算
時単品売上げレポートのコードを入力後に印字選択デー
タとしてr1234567Jを入力すると、印字選択テ
ーブル80には第7図に示す如く印字選択フラグがセッ
トされる。
In this embodiment having such a configuration, the print selection table 80 can be changed by selecting the "setting" mode with the mode switch 44 on the master terminal 22-1 and manually inputting a code specifying the settings of the print selection table 80. 8
It becomes possible to change the setting of the print selection flag corresponding to the various single item reports of 0. In this state, the code of the single item setting report at the time of inspection is manually printed as selection data on r12.
478J and "13", enter the code for the single item sales revo-to at the time of inspection, and then enter "13" as the print selection data.
", enter the code for the special sales report at the time of inspection, enter r1356J as the print selection data, enter the code for the single item sales report at the time of checkout, and enter r1234567J as the print selection data. The print selection flag is set as shown in FIG.

しかる後、マスターターミナル22−1にてモードスイ
ッチ44により「点検」モードを選択l7、点検時単品
売上げレポートを指定するコードをキー人力すると、印
字選択テーブル80から当該レポートに対応する各印字
選択フラグが読出され、印字項目テーブル°70のフラ
グエリア71に印字行A−Jに対応して格納される。こ
の場合、印字行AとCが“1”であり、他の行は“0“
であるので、印字行Aに対応する印字項目「名称」と、
印字行Cに対応する印字項目「売上げ点数、売上げ金額
」が選択される。この結果、ファイルコントローラ21
の単品テーブル3aから商品類に印字項目「名称」と印
字項目「売上げ点数、売上げ金額」が順次読出され、マ
スターターミナル22−Iにおけるプリンタ9によって
レシートに印字出力される。
After that, select the "inspection" mode with the mode switch 44 on the master terminal 22-1 (l7), and input the code specifying the single item sales report at the time of inspection, and each print selection flag corresponding to the report is selected from the print selection table 80. is read out and stored in flag area 71 of print item table 70 in correspondence with print lines A-J. In this case, print lines A and C are “1” and other lines are “0”.
Therefore, the print item "name" corresponding to print line A,
The print item "number of sales points, sales amount" corresponding to print line C is selected. As a result, the file controller 21
The print item ``name'' and the print item ``number of sales items, sales amount'' are sequentially read out from the single item table 3a of the products, and are printed out on a receipt by the printer 9 in the master terminal 22-I.

このときの印字出力例を第10図に示す。同図において
1は年月日、2はレシート番号、3はレポート名称、4
は「点検」コード、各5は商品の名称、各8は売上げ点
数、各9は売上げ金額を示している。
An example of the printed output at this time is shown in FIG. In the figure, 1 is the date, 2 is the receipt number, 3 is the report name, and 4
indicates the "inspection" code, each 5 indicates the name of the product, each 8 indicates the number of sales points, and each 9 indicates the sales amount.

このように、マスターターミナル22−8において例え
ば点検時単品売上げレポートに印字出力される商品毎の
各印字項目(印字行A−Gに対応)のうち必要な印字項
目(本実施例では印字行AとCに対応する項目)のみを
選択し、単品テーブル33aから必要印字項目のデータ
のみを抽出してレシートに印字させ、点検時単品売上げ
レポートとして発行させることができる。そして、この
ようなことは印字選択テーブル80に設定されている全
ての単品レポートについて可能である。すなわち、本実
施例によれば、各種単品レポートに印字される1商品の
印字項目をユーザ側で自由に選択できるようになるので
、必要最少限のデータのみを印字出力させることにより
印字時間の短縮をはかり得る上、レシート用紙も節約で
きる。したがって、特に多くの商品を取扱っている店で
は「点検」および「精算」業務を能率的に行なえるよう
になり大変効果的である上、レシートも大幅に節約でき
、経済面での効果も大である。
In this way, in the master terminal 22-8, for example, necessary printing items (in this embodiment, printing line A By selecting only the items corresponding to C and C), only the data of the necessary printing items can be extracted from the single item table 33a, printed on the receipt, and issued as a single item sales report at the time of inspection. This is possible for all single item reports set in the print selection table 80. In other words, according to this embodiment, since the user can freely select the items to be printed for one product to be printed on various single item reports, printing time can be shortened by printing out only the minimum necessary data. Not only that, you can also save on receipt paper. Therefore, especially in stores that handle a large number of products, "inspection" and "payment" operations can be carried out more efficiently, which is very effective, and receipts can also be saved significantly, which has a large economic effect. It is.

なお、前記実施例では印字選択テーブル80に対する設
定業務をマスターターミナル22−Iから行なう場合を
示したが、上位のホストコンピュータ25からも行なえ
るのは勿論である。また、前記実施例では従来の単品レ
ポートにおける印字フォーマットに依存して各印字行に
1商品当りの印字項目を割付け、その印字行別に印字選
択フラグによる選択を行なう場合を示したが、印字項目
の割付は方法は本実施例に限定されるものではなく、例
えば印字項目別に印字選択フラグによる選択を行なうよ
うにしてもよい。さらに、前記実施例では本発明をPO
Sシステムに適用した一実施例を示1.だが、単品登録
機能を有する電子式キャッシュレジスタ単体であっても
適用できるのは言うまでもない。このほか、本発明の要
旨を逸脱しない範囲で種々変形実施可能であるのは勿論
である。
In the above embodiment, the setting work for the print selection table 80 is performed from the master terminal 22-I, but it is of course possible to perform the setting work from the upper host computer 25. Furthermore, in the above embodiment, the printing items per product are assigned to each printing line depending on the printing format of the conventional single item report, and selection is made using the printing selection flag for each printing line. The layout method is not limited to this embodiment, and for example, selection may be made using print selection flags for each print item. Furthermore, in the above embodiments, the present invention was
An example applied to the S system is shown below.1. However, it goes without saying that it can also be applied to a single electronic cash register that has a single item registration function. It goes without saying that various other modifications can be made without departing from the spirit of the invention.

[発明の効果] 以上詳述したように、本発明によれば、各種単品レポー
トにおける1商品当りの印字項目をユーザ側で自由に設
定でき、たとえ多数の商品を取扱う店であっても印字時
間の短縮およびレシート用紙の節約をはかり得る商品販
売データ処理装置を提供できる。
[Effects of the Invention] As detailed above, according to the present invention, the user can freely set the printing items for each product in various single product reports, and the printing time can be reduced even in stores that handle a large number of products. Accordingly, it is possible to provide a product sales data processing device that can shorten the processing time and save receipt paper.

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

第1図ないし第10図は本発明をPOSシステムに適用
した一実施例を示す図であって、第1図はPOSシステ
ムの概略構成を示す図、第2図はファイルコントローラ
のブロック図、第3図は単品テーブルを示す図、第4図
はPOSターミナルのブロック図、第5図はPOSター
ミナルにおけるキーボードのキー配置を示す図、第6図
は印字項目テーブルを示す図、第7図は印字選択テーブ
ルを示す図、第8図は印字選択テーブルに対する印字選
択情報設定処理を示す流れ図、第9図は各種単品レポー
トの出力処理を示す流れ図、第10図は点検時単品売上
げレポートの一出カ例を示す図、第11図は従来の点検
時単品売上げレポートの一出力例を示す図、第12図は
従来の点検時単品設定レポートの一出力例を示す図であ
る。 21・・・ファイルコントローラ、22−+・・・マス
ターターミナル、、22−2・・・サテライトターミナ
ル、23・・・伝送回線、25・・・ホストコンピュー
タ、33a・・・単品テーブル、7o・・・印字項目テ
ーブル、80・・・印字選択テーブル。
1 to 10 are diagrams showing an embodiment in which the present invention is applied to a POS system, in which FIG. 1 is a diagram showing a schematic configuration of the POS system, FIG. 2 is a block diagram of a file controller, and FIG. Figure 3 shows the single item table, Figure 4 is a block diagram of the POS terminal, Figure 5 shows the key arrangement of the keyboard in the POS terminal, Figure 6 shows the print item table, and Figure 7 shows the print item table. Figure 8 is a flowchart showing the printing selection information setting process for the printing selection table; Figure 9 is a flowchart showing the output processing of various single item reports; Figure 10 is an output of the single item sales report at the time of inspection. FIG. 11 is a diagram showing an example of an output of a conventional single item sales report during inspection, and FIG. 12 is a diagram showing an example of an output of a conventional single item setting report during inspection. 21...File controller, 22-+...Master terminal, 22-2...Satellite terminal, 23...Transmission line, 25...Host computer, 33a...Single item table, 7o... - Print item table, 80...Print selection table.

Claims (1)

【特許請求の範囲】[Claims] 各商品の単品コードに対応してその商品の単価、名称等
の単品設定データを記憶するとともにその商品の売上げ
データを記憶する単品テーブルを有し、登録業務モード
において販売商品の単品コードが入力されると前記単品
テーブルから該当する単品設定データを読出して販売デ
ータを得、この販売データを前記単品テーブルに該当単
品コード別に累積登録し、かつ点検または精算業務モー
ドにおいて前記単品テーブルに記憶された商品毎の各デ
ータに基いて各種単品レポートを印字出力する商品販売
データ処理装置において、前記各種単品レポートに対応
して前記単品テーブルにおける商品毎の各データに対し
て必要な印字項目か否かの選択情報を記憶する印字選択
テーブルと、この印字選択テーブルに単品レポート別に
前記選択情報を設定する選択情報設定手段と、前記点検
または精算モードにおいていずれか1つの単品レポート
の印字出力が指令されると前記印字選択テーブルから該
当単品レポートに対応する選択情報を読出す選択情報読
出し手段と、この選択情報読出し手段により読出された
選択情報に基いて前記単品テーブルから商品毎に必要印
字項目を読出し該当単品レポートとして印字出力するレ
ポート出力制御手段とを具備したことを特徴とする商品
販売データ処理装置。
It has a single-item table that stores the unit price, name, and other single-item setting data for each product in correspondence with the single-item code of the product, and also stores the sales data of the product. Then, the corresponding single item setting data is read from the single item table to obtain sales data, this sales data is cumulatively registered in the single item table for each corresponding single item code, and the item stored in the single item table is stored in the inspection or settlement operation mode. In a product sales data processing device that prints out various single item reports based on each data for each item, selection is made as to whether printing items are necessary for each data for each item in the single item table corresponding to the various single item reports. a printing selection table for storing information; a selection information setting means for setting the selection information for each single item report in the printing selection table; and a selection information setting means for setting the selection information for each single item report in the printing selection table; Selection information reading means for reading selection information corresponding to the corresponding single item report from the printing selection table; and based on the selection information read by the selection information reading means, necessary printing items are read for each product from the single item table and the corresponding single item report is read out. 1. A product sales data processing device comprising: a report output control means for printing out a report as a printout.
JP21139388A 1988-08-25 1988-08-25 Article sales data processor Pending JPH0259895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21139388A JPH0259895A (en) 1988-08-25 1988-08-25 Article sales data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21139388A JPH0259895A (en) 1988-08-25 1988-08-25 Article sales data processor

Publications (1)

Publication Number Publication Date
JPH0259895A true JPH0259895A (en) 1990-02-28

Family

ID=16605224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21139388A Pending JPH0259895A (en) 1988-08-25 1988-08-25 Article sales data processor

Country Status (1)

Country Link
JP (1) JPH0259895A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100285567B1 (en) * 1997-12-19 2001-04-02 윤종용 Method for issuing report of electronic cash register

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100285567B1 (en) * 1997-12-19 2001-04-02 윤종용 Method for issuing report of electronic cash register

Similar Documents

Publication Publication Date Title
JP2687201B2 (en) Label sheet and label issuing device
JPH0259895A (en) Article sales data processor
JP3083246B2 (en) Label printer
JPH09326084A (en) Article sales registration data processor
JPH01292597A (en) Electronic cash register
JPH02112095A (en) Commodity sales data processor
JPH0793665A (en) Commodity sales data processor
JPS636914B2 (en)
JPH0798786A (en) Processor for merchandise sales data
JP2584549B2 (en) Product sales data processing device
JP3519241B2 (en) Electronic cash register
JPH0636233B2 (en) Sales registration processor
JPH05307677A (en) Pos system
JPH0293892A (en) Commodity selling data processor
JP2533155B2 (en) Electronic cash register
JP3001328B2 (en) Product sales data processing device
JP3195890B2 (en) Product data processing device
JP2541604B2 (en) POS system
JPH0765238A (en) Article sale data processor
JPS63291194A (en) Commodity sales data processor
JPS63241694A (en) Goods sales data processor
JPH0433871A (en) Label issuing device
JPH08115471A (en) Electronic cash register
JPH11328539A (en) Merchandise sales register data processor
JPS6073779A (en) Mark down system