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

JP5264804B2 - Merchandise sales data processing apparatus and control program thereof - Google Patents

Merchandise sales data processing apparatus and control program thereof Download PDF

Info

Publication number
JP5264804B2
JP5264804B2 JP2010049934A JP2010049934A JP5264804B2 JP 5264804 B2 JP5264804 B2 JP 5264804B2 JP 2010049934 A JP2010049934 A JP 2010049934A JP 2010049934 A JP2010049934 A JP 2010049934A JP 5264804 B2 JP5264804 B2 JP 5264804B2
Authority
JP
Japan
Prior art keywords
sales
transaction
product
code
sales data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010049934A
Other languages
Japanese (ja)
Other versions
JP2011186686A (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 JP2010049934A priority Critical patent/JP5264804B2/en
Publication of JP2011186686A publication Critical patent/JP2011186686A/en
Application granted granted Critical
Publication of JP5264804B2 publication Critical patent/JP5264804B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、POS(Point Of Sales)端末等の商品販売データ処理装置及びその制御プログラムに関する。   The present invention relates to a merchandise sales data processing apparatus such as a POS (Point Of Sales) terminal and a control program thereof.

近年、ネットスーパーと称される会員制の販売方式が注目されている。この販売方式は、スーパーマーケット等の実存店舗で導入される。この販売方式では、会員となった顧客が、自宅等でパーソナルコンピュータ等の顧客端末を操作し、インターネット等のネットワーク通信を利用して、小売店に商品を注文する。小売店側は、顧客からの注文に従い店員が売場を廻って注文を受けた商品を揃える。品揃えされた注文商品は、配送担当者によって顧客宅等に配送される。   In recent years, a membership system called net supermarket has attracted attention. This sales method is introduced in existing stores such as supermarkets. In this sales method, a customer who becomes a member operates a customer terminal such as a personal computer at home or the like, and orders a product from a retail store using network communication such as the Internet. At the retail store side, the store clerk goes around the sales floor according to the order from the customer and arranges the ordered products. The assorted ordered products are delivered to the customer's home or the like by the delivery person.

このとき、商品を確認した顧客が、商品に傷みがある等の理由から、商品の受取りを拒否する場合がある。あるいは、注文をしたがその後不要になったとして返品を申し出る場合もある。このような場合も想定し、ネットスーパー販売方式による商取引の売上は、注文確定時ではなく、顧客に商品を配送した後に、その配送伝票を基に処理するのが一般的である。   At this time, a customer who has confirmed the product may refuse to receive the product because the product is damaged. Alternatively, there may be a case where an order is placed but a return is offered after that it is no longer needed. Assuming such a case, sales of commercial transactions by the net supermarket sales method are generally processed based on the delivery slip after delivering the product to the customer, not at the time of order confirmation.

ところで、ネットスーパー販売方式によって取引される商品は、実存店舗で実際に販売されている商品である。このため、ネットスーパー販売方式による商取引の売上も実存店舗の売上としてまとめて集計されるべきである。   By the way, products that are traded by the net supermarket sales method are products that are actually sold in existing stores. For this reason, sales of commercial transactions using the net supermarket sales method should be aggregated as sales of existing stores.

実存店舗の多くは、売上をPOS(Point Of Sales)システムで管理している。そこで、ネットスーパー販売方式によって取引された商品のデータも、実存店舗で販売された商品のデータと同様にPOS端末に入力して売上処理を行えば、ネットスーパー販売方式による商取引の売上を実存店舗の売上として集計することができる(例えば、特許文献1参照)。   Many existing stores manage their sales with a POS (Point Of Sales) system. Therefore, if the sales data is processed by inputting the data of the products traded by the online supermarket sales method into the POS terminal in the same way as the data of the products sold at the existing stores, the sales of the commercial transactions by the net supermarket sales method will be processed. (For example, refer to Patent Document 1).

POS端末等の商品販売データ処理装置は、従来、1商取引の締めを宣言する締めキーが入力されると、その商取引の明細が記録されるレシートを印字する。印字されたレシートは、実存店舗での商取引の際は取引相手である顧客がその場に居るので顧客に渡される。しかし、ネットスーパー販売方式による商取引の際は顧客がその場に居ないので破棄されており、無駄となっていた。   Conventionally, a merchandise sales data processing apparatus such as a POS terminal prints a receipt on which details of a commercial transaction are recorded when a closing key for declaring the closing of one commercial transaction is input. The printed receipt is handed over to the customer because the customer who is the trading partner is present at the time of the commercial transaction at the existing store. However, in the case of commercial transactions using the net supermarket sales method, the customer was not present at the place and was discarded and wasted.

本発明はこのような事情に基づいてなされたもので、その目的とするところは、ネットワークを介して商品の注文を受付ける商取引の売上処理の際はレシートを発行せず、レシートの無駄を省くことができる商品販売データ処理装置及びその制御プログラムを提供しようとするものである。   The present invention has been made based on such circumstances. The purpose of the present invention is not to issue a receipt during sales processing of a commercial transaction for accepting an order for a product via a network, and to eliminate the waste of the receipt. An object of the present invention is to provide a merchandise sales data processing apparatus and its control program.

本発明の一態様である商品販売データ処理装置は、商取引の明細が記録されるレシートを印字するためのプリンタと、店舗にて客が購入する商品の販売データを購入時点の単価に基づいて売上処理する店舗販売売上処理手段と、ネットワークを介して注文を受付けた商品の販売データを注文受付時点の単価に基づいて売上処理するネットワーク売上処理手段と、1商取引の締めを宣言する締め宣言手段と、この締め宣言手段により締めが宣言された商取引が、店舗販売売上処理手段により商品販売データが売上処理される商取引なのかネットワーク売上処理手段により商品販売データが売上処理される商取引なのかを判定する取引判定手段と、店舗販売売上処理手段により商品販売データが売上処理された商取引であると取引判定手段により判定されたときにはプリンタを駆動してレシート印字を行わせ、ネットワーク売上処理手段により商品販売データが売上処理された商取引であると取引判定手段により判定されたときにはレシート印字を行わせないレシート制御手段とを備えたものである。 The merchandise sales data processing apparatus according to one aspect of the present invention includes a printer for printing a receipt in which details of a commercial transaction are recorded, and sales data of merchandise purchased by a customer at a store based on the unit price at the time of purchase. Store sales processing means for processing, network sales processing means for processing sales data of products received through the network based on unit price at the time of order reception, and closing declaration means for declaring closing of one commercial transaction And determining whether the business transaction whose closing is declared by the closing declaration means is a business transaction in which the product sales data is sales processed by the store sales sales processing means or a business transaction in which the product sales data is sales processed by the network sales processing means and transaction determination means, by store sales sales processing means by the transaction judgment means is a commerce product sales data has been sales processing A receipt control means for driving the printer to print a receipt when it is determined, and not printing a receipt when the transaction determination means determines that the product sales data is a sales transaction processed by the network sales processing means; It is equipped with.

また、制御プログラムは、商取引の明細が記録されるレシートを印字するためのプリンタを備えた商品販売データ処理装置に、店舗にて客が購入する商品の販売データを購入時点の単価に基づいて売上処理する店舗販売売上処理機能と、ネットワークを介して注文を受付けた商品の販売データを注文受付時点の単価に基づいて売上処理するネットワーク売上処理機能と、1商取引の締めを宣言する締め宣言手段により締めが宣言された商取引が、店舗販売売上処理機能により商品販売データが売上処理される商取引なのかネットワーク売上処理機能により商品販売データが売上処理される商取引なのかを判定する取引判定機能と、店舗販売売上処理機能により商品販売データが売上処理された商取引であると取引判定機能により判定されたときにはプリンタを駆動してレシート印字を行わせ、ネットワーク売上処理機能により商品販売データが売上処理された商取引であると取引判定機能により判定されたときにはレシート印字を行わせないレシート制御機能とを実現させるためのものである。
In addition, the control program sells the sales data of the product purchased by the customer at the store based on the unit price at the time of purchase to the product sales data processing apparatus equipped with a printer for printing a receipt in which the details of the business transaction are recorded. Store sales sales processing function to process, network sales processing function to sell sales data of products accepted orders via network based on unit price at the time of order acceptance, and closing declaration means to declare closing of 1 commerce A transaction determination function for determining whether the transaction for which the closing is declared is a business transaction in which product sales data is processed by the store sales processing function or a business transaction in which product sales data is processed by the network sales processing function; The transaction determination function determines that the product sales data is a sales transaction processed by the sales processing function. A receipt control function that does not perform receipt printing when the transaction determination function determines that the product sales data is sales processed by the network sales processing function. It is for realizing.

かかる手段を講じた商品販売データ処理装置及びその制御プログラムによれば、ネットワークを介して商品の注文を受付ける商取引の売上処理の際はレシートが発行されず、レシートの無駄を省くことができる効果を奏する。   According to the merchandise sales data processing apparatus and its control program that have taken such means, the receipt is not issued at the time of the sales process of the commercial transaction for accepting the order of the merchandise via the network, and it is possible to reduce the waste of the receipt. Play.

本発明の一実施形態であるPOSシステムの全体構成図。1 is an overall configuration diagram of a POS system according to an embodiment of the present invention. 同システムを構成するPOS端末の要部を示すブロック図。The block diagram which shows the principal part of the POS terminal which comprises the system. 同システムを構成するネットスーパー管理サーバの要部を示すブロック図。The block diagram which shows the principal part of the net super management server which comprises the system. ネットスーパー管理サーバのCPUが実行する主要な処理手順を示す流れ図。The flowchart which shows the main process procedures which CPU of a net super management server performs. 図4のステップST11で示される配送伝票生成処理の具体的手順を示す流れ図。The flowchart which shows the specific procedure of the delivery slip production | generation process shown by step ST11 of FIG. 本実施形態において生成される会員コードの一例を示す図。The figure which shows an example of the member code produced | generated in this embodiment. 本実施形態において生成されるポイントコードの一例を示す図。The figure which shows an example of the point code produced | generated in this embodiment. 本実施形態において生成される購入時コードの一例を示す図。The figure which shows an example of the code at the time of purchase produced | generated in this embodiment. 本実施形態において発行される配送伝票の一例を示す図。The figure which shows an example of the delivery slip issued in this embodiment. POS端末のCPUが実行するコード読取処理の手順を示す流れ図。The flowchart which shows the procedure of the code reading process which CPU of a POS terminal performs. 図10のステップST36で示されるネットスーパー売上処理の具体的手順を示す流れ図。FIG. 11 is a flowchart showing a specific procedure of net super sales processing shown in step ST36 of FIG. 10; POS端末のCPUが実行する締めキー処理の手順を示す流れ図。The flowchart which shows the procedure of the closing key process which CPU of a POS terminal performs.

以下、商品販売データ処理装置及びその制御プログラムの一実施形態を、図面を用いて説明する。
なお、この実施形態は、ネットスーパーと称される販売方式を導入している実存店舗に構築されるPOSシステム1のPOS端末3に、商品販売データ処理装置としての機能を適用した場合である。
Hereinafter, an embodiment of a merchandise sales data processing apparatus and its control program will be described with reference to the drawings.
This embodiment is a case where a function as a product sales data processing device is applied to the POS terminal 3 of the POS system 1 constructed in an existing store in which a sales method called “net supermarket” is introduced.

図1は、POSシステム1の全体構成図である。POSシステム1は、ストアサーバ2と、複数台のPOS端末3と、ネットスーパー管理サーバ4とを備えている。ストアサーバ2は、各POS端末3とネットスーパー管理サーバ4とを、LAN(Local Area Network)5で接続している。   FIG. 1 is an overall configuration diagram of the POS system 1. The POS system 1 includes a store server 2, a plurality of POS terminals 3, and a net super management server 4. The store server 2 connects each POS terminal 3 and the net super management server 4 via a LAN (Local Area Network) 5.

ストアサーバ2は、POSシステム1の全体を統括するコンピュータである。ストアサーバ2は、商品マスタファイル11、店舗売上ファイル12、会員マスタファイル13及び会員実績ファイル14を管理する。   The store server 2 is a computer that controls the entire POS system 1. The store server 2 manages the product master file 11, the store sales file 12, the member master file 13, and the member performance file 14.

商品マスタファイル11は、実存店舗で販売される各商品に関する情報を記憶する。商品情報は、商品コード、商品名、単価等を含む。商品コードは、各商品を個々に識別するための商品毎に設定された商品識別コードであり、POSシステムで一般に用いられるJANコードに含まれる国コード、メーカーコード及び商品アイテムコードの組を意味する。通常、各商品には商品コードを示すバーコードが付されている。単価は、現時点の商品1点あたりの販売価格である。   The product master file 11 stores information on each product sold at an existing store. The product information includes a product code, a product name, a unit price, and the like. The product code is a product identification code set for each product for individually identifying each product, and means a set of country code, manufacturer code and product item code included in the JAN code generally used in the POS system. . Normally, a bar code indicating a product code is attached to each product. The unit price is the current selling price per item.

店舗売上ファイル12は、実存店舗で販売される各商品の売上に関する情報を記憶する。店舗売上情報は、商品別の売上点数、売上金額等を含む。ストアサーバ2は、各POS端末3にて売上処理された商品販売データに基づいて、店舗売上ファイル12に記憶されている各商品の売上点数及び売上金額を更新する。   The store sales file 12 stores information related to sales of each product sold at an existing store. The store sales information includes the number of sales by product, the sales amount, and the like. The store server 2 updates the sales score and sales amount of each product stored in the store sales file 12 based on the product sales data processed by each POS terminal 3.

会員マスタファイル13は、ネットスーパー利用会員として登録された各会員に関する情報を記憶する。会員情報は、会員コード、氏名、配送先住所、電話番号等を含む。会員コードは、会員を銘々識別するために会員毎に設定された客識別コードである。通常、各会員は、自身の会員コードが記録された会員カード(ポイントカード)を所持している。   The member master file 13 stores information on each member registered as a net super user. Member information includes a member code, name, delivery address, telephone number, and the like. The member code is a customer identification code set for each member in order to identify each member. Usually, each member has a membership card (point card) in which his / her membership code is recorded.

会員実績ファイル14は、ネットスーパー利用会員の売上実績に関する情報を記憶する。売上実績は、ネットスーパー販売方式によるものだけでなく、来店して買い物をした際の実績も加味される。売上実績情報は、注文日または購入日、注文商品情報または購入商品情報、合計金額、ポイント数等を含む。商品情報は、各注文商品または購入商品の商品コード、商品名、単価、点数、金額等を含む。購入商品の単価は購入時点のものであり、注文商品の単価は注文受付時点のものである。   The member performance file 14 stores information related to sales results of net supermarket members. The sales results are not only based on the online supermarket sales system, but also the results of shopping at the store. The sales performance information includes an order date or purchase date, ordered product information or purchased product information, a total amount, the number of points, and the like. The product information includes a product code, a product name, a unit price, a score, an amount, etc. of each ordered product or purchased product. The unit price of the purchased product is the one at the time of purchase, and the unit price of the ordered product is the one at the time of receiving the order.

POS端末3は、各商品の販売データを売上処理する商品販売データ処理装置の一態様であり、店舗の会計場所(レジ)に設置されている。POS端末3は、図2のブロック図で示すように、CPU(Central Processing Unit)31、ROM(Read Only Memory)32、RAM(Random Access Memory)33、時計部34、LANコントローラ35及びI/O機器コントローラ36を備えている。CPU31は、ROM32、RAM33、時計部34、LANコントローラ35及びI/O機器コントローラ36を、アドレスバス,データバス等のバスライン37で接続している。   The POS terminal 3 is an aspect of a merchandise sales data processing apparatus that processes sales data of each merchandise, and is installed at an accounting place (register) in a store. As shown in the block diagram of FIG. 2, the POS terminal 3 includes a CPU (Central Processing Unit) 31, a ROM (Read Only Memory) 32, a RAM (Random Access Memory) 33, a clock unit 34, a LAN controller 35, and an I / O. A device controller 36 is provided. The CPU 31 connects a ROM 32, a RAM 33, a clock unit 34, a LAN controller 35, and an I / O device controller 36 via a bus line 37 such as an address bus or a data bus.

I/O機器コントローラ36は、キーボード301、オペレータ用ディスプレイ302、客用ディスプレイ303、レシートプリンタ304、カードリーダ305及びコードスキャナ306を制御する。キーボード301は、少なくとも締めキーK1を備えている。締めキーK1は、1商取引の締めを宣言する締め宣言手段として機能する。レシートプリンタ304は、商取引の明細が記録されたレシートを印字する。印字されたレシートは、図示しないレシート発行口から取引単位に発行される。カードリーダ305は、前記会員カードのデータを読み取る。コードスキャナ306は、バーコードをスキャニングして、バーコードデータを読み取る。   The I / O device controller 36 controls the keyboard 301, the operator display 302, the customer display 303, the receipt printer 304, the card reader 305, and the code scanner 306. The keyboard 301 includes at least a tightening key K1. The closing key K1 functions as a closing declaration means for declaring closing of one commercial transaction. The receipt printer 304 prints a receipt on which the details of the commercial transaction are recorded. The printed receipt is issued for each transaction from a receipt issuing port (not shown). A card reader 305 reads the data of the membership card. The code scanner 306 scans the barcode and reads the barcode data.

ネットスーパー管理サーバ4は、インターネット等のネットワークを利用した商品販売方式の一態様であるネットスーパー販売方式を実現するためのコンピュータであり、図3のブロック図で示すように、CPU41、ROM42、RAM43、HDD(Hard Disk Drive)44、LANコントローラ45、WANコントローラ46及びプリンタコントローラ47を備えている。CPU41は、ROM42、RAM43、HDD44、LANコントローラ45、WANコントローラ46及びプリンタコントローラ47を、アドレスバス,データバス等のバスライン48で接続している。   The net super management server 4 is a computer for realizing a net super sales system which is an aspect of a product sales system using a network such as the Internet. As shown in the block diagram of FIG. 3, the CPU 41, the ROM 42, and the RAM 43 An HDD (Hard Disk Drive) 44, a LAN controller 45, a WAN controller 46, and a printer controller 47. The CPU 41 connects the ROM 42, RAM 43, HDD 44, LAN controller 45, WAN controller 46, and printer controller 47 with a bus line 48 such as an address bus or a data bus.

ネットスーパー管理サーバ4は、WANコントローラ46を介して接続されるインターネット等のWAN(Wide Area Network)6上に、ネットスーパー販売方式で販売される商品の情報(例えば、商品名、単価、ポイント還元率等)を掲載したWebサイト“ネットスーパー”を公開する機能と、パーソナルコンピュータや携帯電話等の顧客端末7から、Webサイト“ネットスーパー”で販売する商品の購入注文を受け付け、プリンタコントローラ47で制御される伝票プリンタ401から、注文を受付けた商品の明細を示す配送伝票50を印字出力させる機能とを有する。   The net super management server 4 has information (for example, product name, unit price, point reduction) of products sold by a net super sales method on a WAN (Wide Area Network) 6 such as the Internet connected via the WAN controller 46. The function of publishing the website “Net super” with the rate and the like, and the purchase order of products sold on the website “net super” from the customer terminal 7 such as a personal computer or a mobile phone are received, and the printer controller 47 The controlled slip printer 401 has a function of printing out a delivery slip 50 indicating the details of a product for which an order has been accepted.

ここで、ネットスーパー管理サーバ4が、顧客端末7から商品の購入注文を受け付け、配送伝票50を印字させる機能について、図4及び図5の流れ図を用いて説明する。この機能は、例えばROM42に記憶された制御プログラムに従い、CPU41が動作することで実現される。   Here, the function in which the net super management server 4 receives a purchase order for a product from the customer terminal 7 and prints the delivery slip 50 will be described with reference to the flowcharts of FIGS. 4 and 5. This function is realized by the CPU 41 operating according to a control program stored in the ROM 42, for example.

CPU41は、WAN6上に公開したWebサイト“ネットスーパー”に顧客端末7からアクセスがあるのを待機している(ST1)。顧客端末7からWebサイト“ネットスーパー”へのアクセスを受け付けると(ST1のYES)、CPU41は、そのWebサイト“ネットスーパー”に、会員番号の入力を促すログイン画面を出力させる(ST2)。そして、会員番号が入力されるのを待機する(ST3)。   The CPU 41 waits for access from the customer terminal 7 to the Web site “net super” published on the WAN 6 (ST1). When accepting access from the customer terminal 7 to the website “net super” (YES in ST1), the CPU 41 causes the website “net super” to output a login screen that prompts the member number to be entered (ST2). Then, it waits for the member number to be input (ST3).

顧客端末7からログイン画面に会員番号が入力されると(ST3のYES)、CPU41は、この会員番号に対応する会員情報を、ストアサーバ2の会員マスタファイル13から取得する(ST4)。また、CPU41は、Webサイト“ネットスーパー”に、購入の対象となる商品の選択と会計指示を受け付ける注文受付画面を出力させる(ST5)。そして、会計指示が行われるのを待機する(ST6)。   When the member number is input from the customer terminal 7 to the login screen (YES in ST3), the CPU 41 acquires member information corresponding to the member number from the member master file 13 of the store server 2 (ST4). Further, the CPU 41 causes the website “net supermarket” to output an order reception screen for receiving selection of merchandise to be purchased and an accounting instruction (ST5). Then, it waits for an accounting instruction to be issued (ST6).

顧客端末7から注文受付画面に購入の対象となる商品の選択情報とともに会計を行う旨の指示入力があると(ST6のYES)、CPU41は、購入対象とされた商品の商品情報を、ストアサーバ2の商品マスタファイル11から取得する(ST7)。そして、この商品情報に基づき、当該商品の売上額を算出する。また、この売上額と所定のポイント還元率とからポイント数を算出する(ST8)。   When there is an instruction input for performing accounting together with selection information of a product to be purchased from the customer terminal 7 on the order reception screen (YES in ST6), the CPU 41 stores the product information of the product to be purchased as a store server. 2 from the product master file 11 (ST7). Based on the product information, the sales amount of the product is calculated. Further, the number of points is calculated from the sales amount and a predetermined point return rate (ST8).

次いで、CPU41は、購入対象とされた商品の一覧と、ステップST8の処理で算出した売上額及びポイント数とを表した決済確認画面を、Webサイト“ネットスーパー”に出力させる(ST9)。そして、決済確定の指示入力が行われるのを待機する(ST10)。ここで、顧客端末7から決済確定の指示入力が行われず、例えば取消の指示入力が行われたとすると(ST10のNO)、今回の処理が終了する。CPU41は、次の顧客端末7からアクセスがあるのを待機する。   Next, the CPU 41 causes the website “net super” to output a payment confirmation screen showing a list of products to be purchased and the sales amount and the number of points calculated in the process of step ST8 (ST9). Then, it waits for an instruction input for settlement confirmation to be made (ST10). If no settlement confirmation instruction is input from the customer terminal 7 and, for example, a cancellation instruction is input (NO in ST10), the current process ends. The CPU 41 waits for access from the next customer terminal 7.

顧客端末7から決済確定の指示入力があると(ST10のYES)、CPU41は、購入対象とされた商品の配送に係る配送伝票の印字データを生成する(ST11)。以下、図5を参照して、配送伝票の印字データ生成処理手順を説明する。   When there is a settlement confirmation instruction input from the customer terminal 7 (YES in ST10), the CPU 41 generates print data of a delivery slip relating to the delivery of the commodity to be purchased (ST11). Hereinafter, the print data generation processing procedure for the delivery slip will be described with reference to FIG.

先ず、CPU41は、ステップST3の処理で受け付けた会員番号を表すコード(以下、「会員コード」という)を生成する(ST21)。また、ステップST8の処理で算出したポイント数を表すコード(以下、「ポイントコード」という)を生成する(ST22)。   First, the CPU 41 generates a code (hereinafter referred to as “member code”) representing the member number received in the process of step ST3 (ST21). Further, a code representing the number of points calculated in the process of step ST8 (hereinafter referred to as “point code”) is generated (ST22).

会員コードの一例を図6に示す。また、ポイントコードの一例を図7に示す。図6及び図7は、いずれもそのコード体系を20桁とするcode128式バーコードとした例である。   An example of the member code is shown in FIG. An example of the point code is shown in FIG. FIG. 6 and FIG. 7 are examples in which a code 128 bar code having a code system of 20 digits is used.

図6に示すように、会員コードは、第1桁目から第13桁目までの13桁の第1コード領域C11と、第14桁目のフラグ情報(F)と、第15桁目から第19桁目までの5桁の第2コード領域C12と、第20桁目のチェックデジット(C/D)とから構成されている。そして、第1コード領域C11と第2コード領域C12の計18桁のコード領域を用いて、顧客の会員番号が表される。フラグ情報(F)は、このバーコードが会員コードであることを示す特有の値である。本実施形態では“5”とする。なお、第1コード領域C11と第2コード領域C12とをそれぞれ構成する桁数は、図6に示す割合に限定されるものではない。   As shown in FIG. 6, the membership code includes a 13-digit first code area C11 from the first digit to the thirteenth digit, flag information (F) of the fourteenth digit, and the fifteenth digit to the first digit. It consists of a 5-digit second code area C12 up to the 19th digit and a check digit (C / D) of the 20th digit. The customer's membership number is expressed using a total of 18-digit code areas of the first code area C11 and the second code area C12. The flag information (F) is a unique value indicating that this barcode is a member code. In this embodiment, it is “5”. The number of digits constituting each of the first code area C11 and the second code area C12 is not limited to the ratio shown in FIG.

図7に示すように、ポイントコードは、第1桁目から第13桁目までの13桁の第1コード領域C21と、第14桁目のフラグ情報Fと、第15桁目から第19桁目までの5桁の第2コード領域C22と、第20桁目のチェックデジット(C/D)とから構成されている。ここで、第1コード領域C21は固定部分となっており、第2コード領域C22を用いてポイント数が表される。フラグ情報(F)は、このバーコードがポイントコードであることを示す特有の値である。本実施形態では“6”とする。なお、第1コード領域C21と第2コード領域C22とをそれぞれ構成する桁数は、図7に示す割合に限定されるものではない。   As shown in FIG. 7, the point code includes a 13-digit first code area C21 from the 1st digit to the 13th digit, flag information F at the 14th digit, and the 15th to 19th digits. This is composed of a second code area C22 of 5 digits up to the first digit and a check digit (C / D) of the 20th digit. Here, the first code area C21 is a fixed part, and the number of points is expressed using the second code area C22. The flag information (F) is a unique value indicating that this barcode is a point code. In this embodiment, it is “6”. The number of digits constituting each of the first code area C21 and the second code area C22 is not limited to the ratio shown in FIG.

図5に説明を戻す。
CPU41は、ステップST7の処理で購入対象とされた各商品について、それぞれその商品の購入時点での商品単価を表す単価コードを生成する(ST23)。そして商品毎に、その商品に付されている商品コードと、ステップST23の処理で生成した単価コードとを組み合わせたコード(以下、購入時コードという)を生成する(ST24)。
Returning to FIG.
CPU41 produces | generates the unit price code showing the goods unit price at the time of the purchase of the goods about each goods made into purchase object by the process of step ST7, respectively (ST23). For each product, a code (hereinafter referred to as a purchase code) is generated by combining the product code attached to the product and the unit price code generated in the process of step ST23 (ST24).

購入時コードの一例を図8に示す。本実施形態では、購入時コードも、前述した会員コード及びポイントコードと同様に、20桁のcode128式バーコードを用いて表す。具体的には、第1桁目から第13桁目までの13桁の第1コード領域C31を用いて商品コード(国コード、メーカーコード、商品アイテムコード)を表し、第15桁目から第19桁目までの5桁の第2コード領域C32を用いて単価コードを表す。第14桁目のフラグ情報(F)は、このバーコードが購入時コードであることを示す特有の値として、本実施形態では“4”とする。   An example of the purchase code is shown in FIG. In the present embodiment, the purchase code is also expressed using a 20-digit code 128-type bar code, similar to the above-described member code and point code. Specifically, the product code (country code, manufacturer code, product item code) is expressed using the 13-digit first code area C31 from the 1st digit to the 13th digit, and the 15th to 19th digit. The unit price code is expressed using the second code area C32 of 5 digits up to the digit. The flag information (F) of the 14th digit is “4” in the present embodiment as a unique value indicating that this barcode is a purchase code.

ステップST21,ST22及びST24の各処理により、会員コード、ポイントコード及び購入対象商品別の購入時コードをそれぞれ生成したならば、CPU41は、配送伝票の印字データを生成する(ST25)。具体的には、所定の配送伝票フォーマットに、会員コード、ポイントコード及び購入対象商品別の購入時コードを配置する。また、ステップST4の処理で取得した会員情報や、ステップST7の処理で受け付けた購入対象商品毎の商品情報等も配置する。   If the member code, the point code, and the purchase code for each purchase target product are respectively generated by the processes in steps ST21, ST22, and ST24, the CPU 41 generates print data for the delivery slip (ST25). Specifically, a member code, a point code, and a purchase code for each purchase target product are arranged in a predetermined delivery slip format. In addition, the member information acquired in the process of step ST4, the product information for each purchase target product received in the process of step ST7, and the like are also arranged.

図4に説明を戻す。
CPU41は、ステップST11の配送伝票生成処理が終了すると、生成された印字データをプリンタコントローラ47に出力する(ST12)。プリンタコントローラ47は、印字データに従い伝票プリンタ401を駆動させて、配送伝票50を印字発行させる。以上で、今回の顧客端末7からのアクセスに対するネットスーパー管理サーバ4の処理を終了する。
Returning to FIG.
When the delivery slip generation process in step ST11 is completed, the CPU 41 outputs the generated print data to the printer controller 47 (ST12). The printer controller 47 drives the slip printer 401 in accordance with the print data to print and issue the delivery slip 50. Above, the process of the network super management server 4 with respect to the access from this customer terminal 7 is complete | finished.

配送伝票50の一出力例を図9に示す。ここで、領域A1は、配送先となる顧客の会員情報が印字される領域である。ステップST4の処理で取得した会員情報のうち、領域A11に顧客の氏名が、領域A12に顧客の電話番号が、領域A13に配送先となる顧客の住所が印字されている。なお、商品注文時において、顧客から配送先の住所や電話番号が別途指定された場合には、これら指定された情報が対応する領域に印字される。   An output example of the delivery slip 50 is shown in FIG. Here, the area A1 is an area where member information of a customer as a delivery destination is printed. Of the member information acquired in step ST4, the customer's name is printed in area A11, the customer's telephone number is printed in area A12, and the customer's address as the delivery destination is printed in area A13. Note that when a customer orders a delivery address or telephone number separately when ordering a product, the designated information is printed in the corresponding area.

領域A2は、顧客の会員番号と、今回の注文で付与されたポイント数とが印字される領域である。そのうち、領域A21には会員番号とポイント数とが平文で印字されており、領域A22には会員番号及びポイント数の各コード、すなわちステップST21、ST22の処理で生成された会員コードとポイントコードとが印字されている。なお、図8の例では、会員コード及びポイントコードを紙面横方向に並べて配置した形態としているが、これに限らず、紙面縦方向に2段組に配置する形態としてもよい。   The area A2 is an area in which the customer membership number and the number of points given in the current order are printed. Among them, the membership number and the number of points are printed in plain text in the area A21, and each code of the membership number and the number of points, that is, the membership code and the point code generated by the processing in steps ST21 and ST22, are displayed in the area A22. Is printed. In the example of FIG. 8, the member code and the point code are arranged side by side in the horizontal direction of the paper. However, the present invention is not limited to this, and may be arranged in two columns in the vertical direction of the paper.

領域A3は、配送時に必要な配送情報が印字される。配送情報として、配送日を指定する情報、配送時間を指定する情報、決済方法を指定する情報が、領域A31〜A33のそれぞれに印字されている。これらの配送情報は、商品注文時に顧客端末7から別途指示入力されたものである。領域A34には、購入対象となった商品の総額が領収金額として印字される。また、領域A35は配送担当のサインや捺印用に設けられた空欄領域であり、領域A36は顧客の受領サイン又は捺印用に設けられた空欄領域である。   In area A3, delivery information necessary for delivery is printed. As the delivery information, information for designating the delivery date, information for designating the delivery time, and information for designating the settlement method are printed in each of the areas A31 to A33. These pieces of delivery information are input separately from the customer terminal 7 when ordering goods. In the area A34, the total amount of the commodity to be purchased is printed as a receipt amount. The area A35 is a blank area provided for a signature or seal for delivery, and the area A36 is a blank area provided for a customer's receipt signature or stamp.

領域A4には、購入対象となった各商品の商品名や購入時の単価、数量、小計、合計金額等の明細が印字される。そのうち、領域A41には、購入対象とされた各商品の購入時コードが商品毎に印字されている。   In the area A4, details such as the product name, the unit price at the time of purchase, the quantity, the subtotal, and the total amount of money are printed. Among them, in the area A41, a purchase code of each product to be purchased is printed for each product.

このように、配送伝票50に印字される会員コード、ポイントコード及び購入時コードは、いずれもそのコード体系を20桁とするcode128式バーコードである。そして、その第14桁目のフラグ情報Fの値の違いによって、POS端末3等のコンピュータ機器がコードの種類を識別できる。   Thus, the member code, the point code, and the purchase code printed on the delivery slip 50 are all code 128 type barcodes having a code system of 20 digits. The computer type such as the POS terminal 3 can identify the type of code based on the difference of the flag information F in the 14th digit.

伝票プリンタ401から発行された配送伝票50は、店舗内で品揃えされた購入対象の各商品とともに配送担当員へと引き渡され、配送先の顧客宅へと配送される。配送完了後、顧客の受領サイン又は捺印された配送伝票50は、POSシステム1の店舗へと返送され、任意のタイミングでPOS端末3による売上処理にかけられる。なお、配送時に顧客が一部の商品の受取りを拒否したり返品したりした場合には、配送担当員は、その商品(以下、キャンセル商品という)の配送情報に取消線などのマークを書き込む等して、キャッシャが売上処理の際にキャンセル商品を識別できるようにしておく。   The delivery slip 50 issued from the slip printer 401 is delivered to the delivery staff together with each product to be purchased in the store, and delivered to the customer's home of the delivery destination. After the delivery is completed, the customer's receipt signature or stamped delivery slip 50 is returned to the store of the POS system 1 and subjected to sales processing by the POS terminal 3 at an arbitrary timing. If the customer refuses or returns some of the products during delivery, the delivery staff writes a mark such as a strikethrough in the delivery information for the product (hereinafter referred to as a canceled product). Thus, the cashier can identify the canceled product at the time of sales processing.

以下、図10〜図12の流れ図を参照して、POS端末3で行われる売上処理について説明する。売上処理には、実存店舗での商品販売取引の売上処理いわゆる店舗販売売上処理と、ネットスーパー販売方式によるネットワーク注文販売取引の売上処理いわゆるネットスーパー売上処理とがある。店舗販売売上処理は、店舗にて客が購入する商品に付されたJANコード等の商品コードを、コード読取手段であるコードスキャナ306で読み取ることによって、その商品の販売データを購入時点の単価を基に売上処理するものである(店舗販売売上処理手段)。ネットスーパー売上処理は、ネットスーパー販売方式による注文内容に従い発行された配送伝票50に記録された各種のコードを、コード読取手段であるコードスキャナ306で読み取ることによって、WAN6を介して注文を受け付けた商品の販売データを注文受付時点の単価に基づいて売上処理するものである(ネットワーク売上処理手段)。   Hereinafter, the sales process performed in the POS terminal 3 will be described with reference to the flowcharts of FIGS. Sales processing includes sales processing for merchandise sales transactions at existing stores, so-called store sales sales processing, and sales processing for network order sales transactions using the net super sales method, so-called net super sales processing. In the store sales process, a product code such as a JAN code attached to a product purchased by a customer at a store is read by a code scanner 306 serving as a code reading means, and the sales data of the product is converted into a unit price at the time of purchase. Sales processing is based on (store sales sales processing means). In the net super sales process, various codes recorded on the delivery slip 50 issued according to the order contents by the net super sales method are read by the code scanner 306 as a code reading means, and the order is accepted through the WAN 6. Sales of product sales data are processed based on the unit price at the time of order reception (network sales processing means).

図10の流れ図は、コードスキャナ306でコードが読み取られたときに、CPU31が実行する処理の手順を示す。この処理手順は、例えばROM32に記憶された制御プログラムによって実現される。   The flowchart of FIG. 10 shows a procedure of processing executed by the CPU 31 when a code is read by the code scanner 306. This processing procedure is realized by a control program stored in the ROM 32, for example.

コードが読み取られると、CPU31は、先ず、登録中フラグRFが“1”にセットされているか否かを判断する(ST31)。登録中フラグRFはRAM33に記憶されており、アイドル状態では“0”にリセットされている。   When the code is read, the CPU 31 first determines whether or not the registering flag RF is set to “1” (ST31). The registering flag RF is stored in the RAM 33 and is reset to “0” in the idle state.

登録中フラグRFが“1”にセットされていない場合、CPU31は、取引バッファをクリアする(ST32)。また、登録中フラグRFを“1”にセットする(ST33)。取引バッファは、RAM33に形成されている。   When the registering flag RF is not set to “1”, the CPU 31 clears the transaction buffer (ST32). Further, the registration flag RF is set to “1” (ST33). The transaction buffer is formed in the RAM 33.

次に、CPU31は、読み取られたコードが、その14桁目にフラグ情報Fとして所定値“4”,“5”または“6”を持つコード、すなわち配送伝票50に印字されたcode128式バーコードのコードであるか否かを判断する(ST34)。配送伝票50に印字されたコードの場合(ST34のYES)、CPU31は、ネットスーパーフラグNSFを“1”にセットする(ST35:フラグセット手段)。ネットスーパーフラグNSFはRAM33に記憶されており、アイドル状態では“0”にリセットされている。次いで、CPU31は、ステップST36のネットスーパー売上処理を実行する。ネットスーパー売上処理については、後述する。   Next, the CPU 31 reads the code having the predetermined value “4”, “5” or “6” as the flag information F at the 14th digit, that is, the code 128 type bar code printed on the delivery slip 50. It is determined whether it is a code of (ST34). In the case of the code printed on the delivery slip 50 (YES in ST34), the CPU 31 sets the net super flag NSF to “1” (ST35: flag setting means). The net super flag NSF is stored in the RAM 33 and is reset to “0” in the idle state. Next, the CPU 31 executes net super sales processing in step ST36. The online super sales process will be described later.

読み取られたコードが配送伝票50に印字されたコードでない場合(ST34のNO)、CPU31は、ステップST38〜ST41の店舗販売売上処理を実行する。すなわち、読み取られたコードが14桁からなるJANコード等の商品コードであるとき、CPU31は、その商品コードに対応する商品情報を、ストアサーバ2の商品マスタファイル11から取得する(ST38)。そして、取得した商品情報中の単価に販売点数を乗算して販売金額を算出する(ST39)。なお、販売点数は、コードが読み取られる直前に、キーボード301の置数キーにより乗数が入力されていた場合にはその乗数であり、乗数が入力されていない場合には“1”である。しかる後、CPU31は、商品コードと、商品情報中の商品名及び単価と、販売点数及び販売金額とを、取引バッファに格納する(ST40)。また、商品名及び販売金額をオペレータ用ディスプレイ302及び客用ディスプレイ303に表示させる(ST41)。以上で、今回のコード読取処理が終了する。   When the read code is not the code printed on the delivery slip 50 (NO in ST34), the CPU 31 executes the store sales sales process in steps ST38 to ST41. That is, when the read code is a 14-digit product code such as a JAN code, the CPU 31 acquires product information corresponding to the product code from the product master file 11 of the store server 2 (ST38). Then, the sales amount is calculated by multiplying the unit price in the acquired product information by the number of sales points (ST39). Note that the sales score is the multiplier when a multiplier is input by the numeric keys of the keyboard 301 immediately before the code is read, and is “1” when the multiplier is not input. Thereafter, the CPU 31 stores the product code, the product name and unit price in the product information, the number of sales points and the sales price in the transaction buffer (ST40). Further, the product name and the sales price are displayed on the operator display 302 and the customer display 303 (ST41). This is the end of the current code reading process.

一方、コードが読み取られた時点で登録中フラグRFが既に“1”にセットされていた場合には(ST31のYES)、CPU31は、ネットスーパーフラグNSFをチェックする(ST37)。ここで、ネットスーパーフラグNSFが“1”にセットされていると(ST37のTES)、ネットスーパー売上処理を実行し(ST36)、“0”にリセットされていると(ST37のNO)、店舗販売売上処理を実行する(ST38〜ST41)。   On the other hand, if the registration flag RF has already been set to “1” at the time the code is read (YES in ST31), the CPU 31 checks the net super flag NSF (ST37). Here, if the net super flag NSF is set to “1” (TES in ST37), the net supermarket sales process is executed (ST36), and if it is reset to “0” (NO in ST37), the store Sales sales processing is executed (ST38 to ST41).

図11は、ネットスーパー売上処理の具体的な処理手順を示す流れ図である。ステップST36にてネットスーパー売上処理に入ると、CPU31は、読み取られたコードの14桁目であるフラグ情報Fの値をチェックする(ST51)。   FIG. 11 is a flowchart showing a specific processing procedure of the net supermarket sales processing. When entering the net supermarket sales process in step ST36, the CPU 31 checks the value of the flag information F which is the 14th digit of the read code (ST51).

ここで、フラグ情報Fの値が“5”であると(ST51の“5”)、配送伝票50から読み取られたコードは会員コードである。この場合、CPU31は、その会員コードから会員番号を取得する(ST52)。そして、この会員番号を取引バッファに格納する(ST53)。以上で、今回のコード読取処理が終了する。   Here, if the value of the flag information F is “5” (“5” in ST51), the code read from the delivery slip 50 is a member code. In this case, the CPU 31 acquires a member number from the member code (ST52). Then, this member number is stored in the transaction buffer (ST53). This is the end of the current code reading process.

フラグ情報Fが“6”であると(ST51の“6”)、配送伝票50から読み取られたコードはポイントコードである。この場合、CPU31は、そのポイントコードからポイント数を取得する(ST54)。そして、このポイント数を取引バッファに格納する(ST55)。以上で、今回のコード読取処理が終了する。   If the flag information F is “6” (“6” in ST51), the code read from the delivery slip 50 is a point code. In this case, the CPU 31 acquires the number of points from the point code (ST54). Then, the number of points is stored in the transaction buffer (ST55). This is the end of the current code reading process.

フラグ情報Fが“4”であるとき(ST51の“4”)、配送伝票50から読み取られたコードは購入時コードである。この場合、CPU31は、その購入時コードから商品コードと単価データとを取得する(ST56)。次いで、CPU31は、その商品コードに対応する商品情報を、ストアサーバ2の商品マスタファイル11から取得する(ST57)。そして、取得した商品情報中の単価に販売点数を乗算して販売金額を算出する(ST58)。販売点数は、コードが読み取られる直前に、キーボード301の置数キーにより乗数が入力されていた場合にはその乗数であり、乗数が入力されていない場合には“1”である。しかる後、CPU31は、商品コードと、商品情報中の商品名及び単価と、販売点数及び販売金額とを取引バッファに格納する(ST59)。また、商品名及び販売金額をオペレータ用ディスプレイ302及び客用ディスプレイ303に表示させる(ST60)。以上で、今回のコード読取処理が終了する。   When the flag information F is “4” (“4” in ST51), the code read from the delivery slip 50 is a purchase code. In this case, CPU 31 obtains the product code and unit price data from the purchase code (ST56). Next, the CPU 31 acquires product information corresponding to the product code from the product master file 11 of the store server 2 (ST57). Then, the sales amount is calculated by multiplying the unit price in the acquired product information by the number of sales points (ST58). The sales score is the multiplier when a multiplier is input by the numeric keys of the keyboard 301 immediately before the code is read, and is “1” when the multiplier is not input. Thereafter, the CPU 31 stores the product code, the product name and unit price in the product information, the number of sales points and the sales price in the transaction buffer (ST59). Further, the product name and the sales price are displayed on the operator display 302 and the customer display 303 (ST60). This is the end of the current code reading process.

このように、登録中フラグRFが“0”にリセットされているアイドル状態で、商品に付された商品コードがコードスキャナ306によって読み取られると、POS端末3のCPU31は、登録中フラグRFを“1”にセットして、店舗販売売上処理を実行する。そして以後、登録中フラグRFが“0”にリセットされるまで、商品コードがコードスキャナ306によって読み取られる毎に店舗販売売上処理を繰返し実行する。   Thus, when the product code attached to the product is read by the code scanner 306 in the idle state in which the registration flag RF is reset to “0”, the CPU 31 of the POS terminal 3 sets the registration flag RF to “ Set to 1 "to execute store sales sales processing. Thereafter, the store sales process is repeatedly executed each time the product code is read by the code scanner 306 until the registration flag RF is reset to “0”.

一方、同じくアイドル状態で、配送伝票50に印字された会員コード、ポイントコード、購入時コードのなかのいずれかのコードがコードスキャナ306によって読み取られると、POS端末3のCPU31は、登録中フラグRFとネットスーパーフラグNSFとをいずれも“1”にセットして、ネットスーパー売上処理を実行する。そして以後、登録中フラグRFが“0”にリセットされるまで、配送伝票50のコードがコードスキャナ306によって読み取られる毎にネットスーパー売上処理を繰返し実行する。   On the other hand, when the code scanner 306 reads any one of the member code, point code, and purchase code printed on the delivery slip 50 in the idle state, the CPU 31 of the POS terminal 3 reads the registration flag RF. And the net super flag NSF are both set to “1”, and the net super sales process is executed. Thereafter, the net super sales process is repeatedly executed every time the code of the delivery slip 50 is read by the code scanner 306 until the registration flag RF is reset to “0”.

そこで、POS端末3を操作する店員いわゆるキャッシャは、実在店舗での商品販売取引の際には、顧客が購入する商品に付された商品コードを1品ずつコードスキャナ206で読取操作する。そして、全ての購入商品の読取操作が終了すると、締めキーK1を入力して、1商取引の締めを宣言する。   Accordingly, a store clerk operating the POS terminal 3, a so-called cashier, reads the product code attached to the product purchased by the customer one by one with the code scanner 206 at the time of a product sales transaction in the actual store. When the reading operation for all purchased products is completed, the closing key K1 is input to declare the closing of one commercial transaction.

一方、ネットスーパー販売方式による商品販売取引の際には、配送伝票50に印字されている会員コード、ポイントコード及び購入対象商品毎の購入時コードをコードスキャナ206で読取操作する。ただし、キャンセル商品の購入時コードは読み取らない。そして、全てのコードの読取操作が終了すると、締めキーK1を入力して、1商取引の締めを宣言する。   On the other hand, in the case of a merchandise sales transaction using the net supermarket sales method, the code scanner 206 reads the member code, the point code, and the purchase code for each purchase target product printed on the delivery slip 50. However, the code at the time of purchase of the canceled product is not read. When all the codes have been read, the closing key K1 is input to declare the closing of one commercial transaction.

図12は、締めキーK1が入力されたときのCPU31の処理手順を示す流れ図である。この処理手順は、例えばROM32に記憶された制御プログラムによって実現される。   FIG. 12 is a flowchart showing the processing procedure of the CPU 31 when the closing key K1 is input. This processing procedure is realized by a control program stored in the ROM 32, for example.

締めキーK1が入力されたことを検知すると、CPU31は、先ず、登録中フラグRFをチェックする(ST71)。ここで、登録中フラグRFが“0”にリセットされている場合には(ST71のNO)、売上処理が実行されていないアイドル状態において締めキーK1が操作された誤操作なので、エラーとする。   When detecting that the closing key K1 has been input, the CPU 31 first checks the registering flag RF (ST71). Here, if the registration flag RF is reset to “0” (NO in ST71), an error occurs because the lock key K1 has been operated in an idle state where sales processing is not being executed.

登録中フラグRFが“1”にセットされていた場合(ST71のYES)、CPU31は、取引バッファに格納されている商品コード,商品名,単価,販売点数,販売金額等の商品販売データを基に、売上登録処理を実行する(ST72)。この売上登録処理により、商取引の合計金額が算出される。また、この商取引で売上げられた各商品の商品コード,売上点数及び売上金額と、上記合計金額、ポイント数、会員番号とを含む売上登録データが生成される。なお、店舗販売に対する商取引の場合、ポイント数は商品販売データを基に算出される。また、会員番号は、カードリーダ305によって会員カードから読み取られる。   When the registering flag RF is set to “1” (YES in ST71), the CPU 31 is based on the product sales data such as the product code, product name, unit price, sales number, sales price, etc. stored in the transaction buffer. The sales registration process is executed (ST72). By this sales registration process, the total amount of the commercial transaction is calculated. In addition, sales registration data including the product code, the number of sales points and the sales amount of each product sold in this commercial transaction, and the total amount, the number of points, and the member number are generated. In the case of commercial transactions for store sales, the number of points is calculated based on product sales data. The member number is read from the member card by the card reader 305.

売上登録処理が終了すると、CPU31は、この売上登録データをストアサーバ2に送信する(ST73)。ストアサーバ2は、POS端末3から受信した売上登録データにより、店舗売上ファイル12及び会員実績ファイル14のデータを更新する。   When the sales registration process ends, the CPU 31 transmits the sales registration data to the store server 2 (ST73). The store server 2 updates the data of the store sales file 12 and the member performance file 14 with the sales registration data received from the POS terminal 3.

次に、CPU31は、ネットスーパーフラグNSFをチェックする(ST74:取引判定手段)。ネットスーパーフラグNSFが“0”にリセットされていると、登録終了が宣言された商取引は、店舗販売売上処理手段により商品販売データが売上処理された商取引、すなわち店舗販売取引である。これに対し、ネットスーパーフラグNSFが“1”にセットされていた場合は、ネットワーク売上処理手段により商品販売データが売上処理された商取引、すなわちネットワーク注文販売取引である。   Next, the CPU 31 checks the net super flag NSF (ST74: transaction determination means). When the net super flag NSF is reset to “0”, the commercial transaction for which registration has been declared is a commercial transaction in which product sales data is processed by the store sales sales processing means, that is, a store sales transaction. On the other hand, when the net super flag NSF is set to “1”, it is a commercial transaction in which the product sales data is sales processed by the network sales processing means, that is, a network order sales transaction.

前者の店舗販売取引の場合(ST74のNO)、CPU31は、売上登録データを基に取引レシートの印字データを生成し、レシートプリンタ304に出力して、取引レシートを印字発行させる(ST75)。これに対し、後者のネットワーク注文販売取引の場合には(ST74のYES)、ステップST75のレシート印字発行処理を行わない(レシート制御手段)。   In the case of the former store sales transaction (NO in ST74), the CPU 31 generates transaction receipt print data based on the sales registration data and outputs it to the receipt printer 304 to print and issue the transaction receipt (ST75). On the other hand, in the case of the latter network order sales transaction (YES in ST74), the receipt print issuing process in step ST75 is not performed (receipt control means).

その代わりに、CPU31は、レシート発行無しを報知する(ST76:報知手段)。例えば、オペレータ用ディスプレイ302にレシートを発行しない旨のメッセージを表示させる。あるいは、図示しない音声合成装置を用いて、同様なメッセージを音声出力させる。また、CPU31は、ネットスーパーフラグNSFを“0”にリセットする(ST77)。   Instead, the CPU 31 notifies that there is no receipt issued (ST76: notification means). For example, a message not to issue a receipt is displayed on the operator display 302. Alternatively, a similar message is output by voice using a voice synthesizer (not shown). Further, the CPU 31 resets the net super flag NSF to “0” (ST77).

ステップST75またはST77の処理を終了すると、CPU31は、取引バッファをクリアする(ST78)。また、登録中フラグRFを“0”にリセットする(ST79)。以上で、今回の締めキー処理が終了し、POS端末3はアイドル状態に戻る。   When the process of step ST75 or ST77 is completed, the CPU 31 clears the transaction buffer (ST78). Further, the registration flag RF is reset to “0” (ST79). This is the end of the closing key process, and the POS terminal 3 returns to the idle state.

このように、本実施形態のPOS端末3は、店舗販売取引の売上処理の際に締めキーK1の入力により1商取引の締めが宣言されると、その商取引の明細が記録される取引レシートを印字発行するが、ネットスーパー販売方式によるネットワーク注文販売取引の売上処理の際に締めキーK1の入力により1商取引の締めが宣言されても、取引レシートを発行しない。   As described above, the POS terminal 3 according to the present embodiment prints a transaction receipt in which the details of the commercial transaction are recorded when the closing of one commercial transaction is declared by the input of the closing key K1 during the sales process of the store sales transaction. Although it is issued, a transaction receipt is not issued even if the closing of one commercial transaction is declared by the input of the closing key K1 during the sales process of the network order sales transaction by the net supermarket sales method.

ネットスーパー販売方式によるネットワーク注文販売取引の売上処理の際は、取引相手の顧客が不在でありレシートを発行しても手渡すことができない。本実施形態によれば、ネットワーク注文販売取引の売上処理の際はレシートが発行されないので、レシートの無駄を防止することができる。   In the case of sales processing of network order sales transactions using the net supermarket sales method, the customer of the trading partner is absent, and even if a receipt is issued, it cannot be handed over. According to the present embodiment, since a receipt is not issued at the time of sales processing of a network order sales transaction, it is possible to prevent the receipt from being wasted.

なお、この発明は前記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。   The present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage.

例えば前記実施形態では、ネットスーパー販売方式によるネットワーク注文販売取引の売上処理を、商品配送完了後の配送伝票50を基に行うものとして説明したが、商品配送前の配送伝票50を用いて売上処理を行ってもよい。その場合も、レシートを発行させないように制御することによって、レシートの無駄を省くことができる。   For example, in the above-described embodiment, the sales process of the network order sales transaction by the net supermarket sales method has been described as being performed based on the delivery slip 50 after the product delivery is completed. However, the sales process is performed using the delivery slip 50 before the product delivery. May be performed. Even in such a case, wasteful receipts can be eliminated by controlling the receipts not to be issued.

また、前記実施形態では、締めが宣言された商取引が、店舗販売売上処理手段により売上処理される商取引なのかネットワーク売上処理手段により売上処理される商取引なのかを判定する取引判定手段を、配送伝票50に記録されたコードが読み取られたことに応じてセットされるネットスーパーフラグNSFの状態に基づいて判定する手段としたが、これに限らず、例えば、キーボード301にネットスーパー取引宣言キーを設け、配送伝票50に記録されたコードを読み取る前にこのキーを入力するものとし、このキーが入力されたならば、ネットワーク売上処理手段により売上処理される商取引と判定してもよい。   In the embodiment, the transaction determination means for determining whether the business transaction for which the closing is declared is a business transaction for which sales processing is performed by the store sales sales processing means or a business transaction for which sales processing is performed by the network sales processing means, 50 is a means for determining based on the state of the net super flag NSF that is set in response to the code recorded in 50 being read. However, the present invention is not limited to this. For example, the keyboard 301 is provided with a net super transaction declaration key. This key is input before the code recorded in the delivery slip 50 is read, and if this key is input, it may be determined that the business transaction is processed by the network sales processing means.

また、前記実施形態では、配送伝票に印字されるコードをcode128式バーコードとしたが、これに限らず、他の形態のバーコードでもよい。あるいはQRコード(登録商標)等の二次元データコードであってもよい。   In the above embodiment, the code printed on the delivery slip is a code 128 type barcode, but the present invention is not limited to this, and other forms of barcodes may be used. Alternatively, it may be a two-dimensional data code such as a QR code (registered trademark).

また、前記実施形態では、POS端末3のROM32に、制御プログラムが予め記録されている場合で説明をしたが、これに限らず同様のプログラムをネットワークからPOS端末3にダウンロードしても良いし、記録媒体に記憶させたものをPOS端末3にインストールしてもよい。記録媒体としては、CD−ROM等プログラムを記憶でき、かつ装置が読み取り可能な記録媒体であれば、その形態は何れの形態であっても良い。またこのように予めインストールやダウンロードにより得る機能は装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。   In the above embodiment, the control program is recorded in the ROM 32 of the POS terminal 3 in advance. However, the present invention is not limited to this, and a similar program may be downloaded from the network to the POS terminal 3. What is stored in the recording medium may be installed in the POS terminal 3. The recording medium may be any form as long as the recording medium can store the program and can be read by the apparatus, such as a CD-ROM. In addition, the function obtained by installing or downloading in advance may be realized in cooperation with an OS (operating system) inside the apparatus.

この他、前記実施形態に開示されている複数の構成要素の適宜な組合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を組合わせてもよい。   In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, the constituent elements over different embodiments may be combined.

1…POSシステム、2…ストアサーバ、3…POS端末、4…ネットスーパー管理サーバ、5…LAN、6…WAN、7…顧客端末、11…商品マスタファイル、12…店舗売上ファイル、13…会員マスタファイル、14…会員実績ファイル、31…CPU、32…ROM、33…RAM、301…キーボード、302…オペレータ用ディスプレイ、303…客用ディスプレイ、304…レシートプリンタ、305…カードリーダ、306…コードスキャナ。   DESCRIPTION OF SYMBOLS 1 ... POS system, 2 ... Store server, 3 ... POS terminal, 4 ... Net super management server, 5 ... LAN, 6 ... WAN, 7 ... Customer terminal, 11 ... Merchandise master file, 12 ... Store sales file, 13 ... Member Master file, 14 ... Member performance file, 31 ... CPU, 32 ... ROM, 33 ... RAM, 301 ... Keyboard, 302 ... Display for operator, 303 ... Display for customer, 304 ... Receipt printer, 305 ... Card reader, 306 ... Code Scanner.

特開2009−294759号公報JP 2009-294759 A

Claims (5)

商取引の明細が記録されるレシートを印字するためのプリンタを備えた商品販売データ処理装置において、
店舗にて客が購入する商品の販売データを購入時点の単価に基づいて売上処理する店舗販売売上処理手段と、
ネットワークを介して注文を受付けた商品の販売データを注文受付時点の単価に基づいて売上処理するネットワーク売上処理手段と、
1商取引の締めを宣言する締め宣言手段と、
この締め宣言手段により締めが宣言された商取引が、前記店舗販売売上処理手段により商品販売データが売上処理される商取引なのか前記ネットワーク売上処理手段により商品販売データが売上処理される商取引なのかを判定する取引判定手段と、
前記店舗販売売上処理手段により商品販売データが売上処理された商取引であると前記取引判定手段により判定されたときには前記プリンタを駆動してレシート印字を行わせ、前記ネットワーク売上処理手段により商品販売データが売上処理された商取引であると前記取引判定手段により判定されたときには前記レシート印字を行わせないレシート制御手段と、
を具備したことを特徴とする商品販売データ処理装置。
In a merchandise sales data processing apparatus equipped with a printer for printing a receipt in which the details of a commercial transaction are recorded,
Store sales sales processing means for processing sales data of products purchased by customers at the store based on the unit price at the time of purchase,
Network sales processing means for processing sales data of products received through the network based on the unit price at the time of order reception;
Closing declaration means for declaring closing of 1 business transaction,
It is determined whether the commercial transaction whose closing is declared by the closing declaration means is a commercial transaction in which the product sales data is sales processed by the store sales sales processing means or a commercial transaction in which the product sales data is sales processed by the network sales processing means Transaction determination means to
When the transaction determining means determines that the product sales data is a sales transaction processed by the store sales sales processing means, the printer is driven to perform receipt printing, and the network sales processing means stores the product sales data. A receipt control unit that does not perform the receipt printing when the transaction determination unit determines that the transaction is a sales transaction;
A product sales data processing apparatus characterized by comprising:
ネットワークを介して注文を受付けた商品の明細を示す伝票に記録されたコードを読取るコード読取手段、をさらに具備し、
前記取引判定手段は、前記コード読取手段により前記伝票に記録されたコードが読み取られたことに応じてセットされるフラグの状態に基づいて判定することを特徴とする請求項記載の商品販売データ処理装置。
Code reading means for reading a code recorded on a slip showing the details of a product for which an order has been received via a network;
The transaction determining means merchandise sales data according to claim 1, wherein the determining based on the state of the flag in which the code reading the recorded code in the document by means is set in response to read Processing equipment.
前記コード読取手段により読み取られたコードが、ネットワークを介して商品を注文した客を識別するための客識別コードであるとき、前記フラグをセットするフラグセット手段、
をさらに具備したことを特徴とする請求項記載の商品販売データ処理装置。
Flag setting means for setting the flag when the code read by the code reading means is a customer identification code for identifying a customer who ordered a product via a network;
The product sales data processing apparatus according to claim 2 , further comprising:
前記ネットワーク売上処理手段により商品販売データが売上処理される商取引であると前記取引判定手段により判定されると、レシートを発行しない旨を報知する報知手段、
をさらに具備したことを特徴とする請求項記載の商品販売データ処理装置。
Notification means for notifying that a receipt is not issued when the transaction determination means determines that the product sales data is a sales transaction processed by the network sales processing means;
Merchandise sales data processing apparatus according to claim 1, wherein, further provided with the.
商取引の明細が記録されるレシートを印字するためのプリンタを備えた商品販売データ処理装置の制御プログラムであって、
前記商品販売データ処理装置に、
店舗にて客が購入する商品の販売データを購入時点の単価に基づいて売上処理する店舗販売売上処理機能と、
ネットワークを介して注文を受付けた商品の販売データを注文受付時点の単価に基づいて売上処理するネットワーク売上処理機能と、
1商取引の締めを宣言する締め宣言手段により締めが宣言された商取引が、前記店舗販売売上処理機能により商品販売データが売上処理される商取引なのか前記ネットワーク売上処理機能により商品販売データが売上処理される商取引なのかを判定する取引判定機能と、
前記店舗販売売上処理機能により商品販売データが売上処理された商取引であると前記取引判定機能により判定されたときには前記プリンタを駆動してレシート印字を行わせ、前記ネットワーク売上処理機能により商品販売データが売上処理された商取引であると前記取引判定機能により判定されたときには前記レシート印字を行わせないレシート制御機能と、
を実現させるための制御プログラム。
A control program for a merchandise sales data processing apparatus having a printer for printing a receipt in which details of a commercial transaction are recorded,
In the product sales data processing device,
Store sales sales processing function to process sales data of products purchased by customers at the store based on the unit price at the time of purchase,
A network sales processing function that processes sales data for products that have received orders via the network based on the unit price at the time of order acceptance;
Whether the commercial transaction whose closing is declared by the closing declaration means for declaring the closing of one commercial transaction is a commercial transaction in which the product sales data is processed by the store sales sales processing function, the product sales data is processed by the network sales processing function A transaction determination function for determining whether the transaction is
When the transaction determination function determines that the product sales data is a sales transaction processed by the store sales processing function, the printer is driven to print a receipt, and the network sales processing function stores the product sales data. A receipt control function that does not allow the receipt printing to be performed when the transaction determination function determines that the transaction is a sales transaction;
Control program to realize.
JP2010049934A 2010-03-05 2010-03-05 Merchandise sales data processing apparatus and control program thereof Expired - Fee Related JP5264804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010049934A JP5264804B2 (en) 2010-03-05 2010-03-05 Merchandise sales data processing apparatus and control program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010049934A JP5264804B2 (en) 2010-03-05 2010-03-05 Merchandise sales data processing apparatus and control program thereof

Publications (2)

Publication Number Publication Date
JP2011186686A JP2011186686A (en) 2011-09-22
JP5264804B2 true JP5264804B2 (en) 2013-08-14

Family

ID=44792888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010049934A Expired - Fee Related JP5264804B2 (en) 2010-03-05 2010-03-05 Merchandise sales data processing apparatus and control program thereof

Country Status (1)

Country Link
JP (1) JP5264804B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7227035B2 (en) * 2019-03-04 2023-02-21 東芝テック株式会社 Merchandise sales data processor and control program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11134401A (en) * 1997-10-27 1999-05-21 Toshiba Tec Corp Product sales registration data processing device
JP2005352641A (en) * 2004-06-09 2005-12-22 Casio Comput Co Ltd Data processing apparatus and data processing control program
JP4848352B2 (en) * 2007-12-13 2011-12-28 東芝テック株式会社 Product sales data processing device

Also Published As

Publication number Publication date
JP2011186686A (en) 2011-09-22

Similar Documents

Publication Publication Date Title
US11288651B2 (en) Commodity sales data processing apparatus and control program
JP2011113549A (en) Shopping support device and shopping support program
JP5264807B2 (en) Merchandise sales data processing system, merchandise sales data processing apparatus and control program therefor
JP4937284B2 (en) Information processing apparatus, merchandise sales data processing apparatus, and point management method
JP5222871B2 (en) Merchandise sales data processing apparatus and control program thereof
JP4373258B2 (en) Product sales registration processing system
JP5523490B2 (en) Information processing apparatus, merchandise sales data processing apparatus, and point management method
JP2002260099A (en) Product sales data processing device, portable electronic terminal, product sales system, coupon discount method and program
JP5620346B2 (en) Product sales data processing system
JP5264804B2 (en) Merchandise sales data processing apparatus and control program thereof
JP5166465B2 (en) Order receiving device, control program, and product sales data processing device
JP6240288B2 (en) Payment processing apparatus and control program therefor
JP5856263B2 (en) Payment processing apparatus and control program therefor
JP5564554B2 (en) Order receiving apparatus and control program
JP2011028731A (en) Article sales data processing device and control program
JP2011203904A (en) Point information output device
JPH08202953A (en) Processor for commodity sales registering data
JP5101664B2 (en) Product sales data processing device
JP4012202B2 (en) Transaction settlement device
JP4555041B2 (en) Product sales data processing device
JP4887437B2 (en) Information processing apparatus, service providing system, and information processing program
JP2001291170A (en) Product sales registration processor
JP4486983B2 (en) Information processing apparatus, service providing system, and information processing program
JP4861808B2 (en) Product sales data processing device
JP2011186684A (en) Commodity sales data processing system, commodity sales data processor and control program of the processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130430

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees