JPH04319798A - Sales data processor - Google Patents

Sales data processor

Info

Publication number
JPH04319798A
JPH04319798A JP8805191A JP8805191A JPH04319798A JP H04319798 A JPH04319798 A JP H04319798A JP 8805191 A JP8805191 A JP 8805191A JP 8805191 A JP8805191 A JP 8805191A JP H04319798 A JPH04319798 A JP H04319798A
Authority
JP
Japan
Prior art keywords
discount
amount
department
sales data
key
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
JP8805191A
Other languages
Japanese (ja)
Inventor
Hidenori Otsuka
秀則 大塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP8805191A priority Critical patent/JPH04319798A/en
Publication of JPH04319798A publication Critical patent/JPH04319798A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To accumulate the actual sales amount of the sales data classified by the merchandise when the discount processing or the additional processing is performed for the sub-total amount. CONSTITUTION:A RAM 14 corresponds to Department No. and PLU No. and stores a flag to show the discount and additional object merchandise. When the discount and additional data are inputted by a key input part 11 and for Department No. and PLU No., the discount and additional amount is calculated by an arithmetic part 12a of a CPU 12. Based on the calculated discount and additional amount, the actual sales amount classified by Department No. and PLU No., is calculated and accumulated and stored in the RAM 14.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は割引処理あるいは割増
処理を行なう売上データ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sales data processing apparatus that performs discount processing or premium processing.

【0002】0002

【従来の技術】電子式キャッシュレジスタ,POSレジ
スタ等の売上データ処理装置においては、売上データに
対して割引処理あるいは割増処理を行なう場合がある。 割引処理は、例えばスーパーマーケット等で行なわれる
もので、タイムサービスといって特定の時間帯だけ商品
価格を何%か割引するものである。一方、割増処理は例
えばレストラン等で行なわれ、午後11時以降は深夜料
金が設定されてメニューの値段を何%か割増するもので
ある。
2. Description of the Related Art Sales data processing devices such as electronic cash registers and POS registers sometimes perform discount processing or premium processing on sales data. Discount processing is carried out, for example, in supermarkets, etc., and is called a time service, in which the price of a product is discounted by a certain percentage only during a specific time period. On the other hand, the surcharge process is carried out, for example, in a restaurant, etc., and a late-night charge is set after 11 pm, and the price of the menu is increased by a certain percentage.

【0003】例えば割引処理を行なう場合、売上データ
を部門,PLU等の商品分類別に入力し、「小計」キー
を操作して小計金額を求める。次に、割引の%値を入力
してから「%−」キーを操作して割引処理を指定する。 これにより、割引かれた小計金額が算出され、この小計
金額が小計メモリに累計される。
[0003] For example, when performing discount processing, sales data is input by product classification such as department and PLU, and the subtotal amount is obtained by operating the "subtotal" key. Next, input the discount percentage value and operate the "%-" key to specify discount processing. As a result, a discounted subtotal amount is calculated, and this subtotal amount is accumulated in the subtotal memory.

【0004】0004

【発明が解決しようとする課題】従って、従来の売上デ
ータ処理装置では割引後あるいは割増後の小計金額は累
計されるものの、売上データの実売金額が商品分類別に
累計されないため、売上データの登録が不正確であった
[Problem to be Solved by the Invention] Therefore, in conventional sales data processing devices, although the subtotal amount after discount or premium is accumulated, the actual sales amount of sales data is not accumulated by product category, so it is difficult to register sales data. was inaccurate.

【0005】この発明の課題は、小計金額に対して割引
処理あるいは割増処理を行なった場合に、売上データの
実売金額を商品分類別に累計できるようにすることであ
る。
[0005] An object of the present invention is to enable the actual sales amount of sales data to be accumulated for each product category when discount processing or premium processing is performed on the subtotal amount.

【0006】[0006]

【課題を解決するための手段】この発明の手段は次の通
りである。記憶手段1(図1の機能ブロック図を参照、
以下同じ)は、入力された商品分類別の売上データに基
づいて割引あるいは割増可能な商品分類を判別し、商品
分類別の売上データを一時記憶する。割引・割増金額算
出手段2は、入力された割引または割増データと記憶手
段1に記憶された商品分類別の売上データに基づいて商
品分類別に割引金額あるいは割増金額を求める。決定手
段3は、割引・割増金額算出手段2により求められた割
引金額または割増金額に基づいて商品分類別の販売額を
決定する。売上データ記憶手段4は、商品分類別の売上
データを累計して記憶する。累計手段5は、売上データ
記憶手段4に対して決定手段3により決定された上記商
品分類別の販売額を累計する。
[Means for Solving the Problems] The means of the present invention are as follows. Storage means 1 (see the functional block diagram in FIG. 1,
(the same applies hereafter) determines the product category that can be discounted or increased based on the input sales data for each product category, and temporarily stores the sales data for each product category. The discount/surcharge amount calculation means 2 calculates the discount amount or premium amount for each product category based on the input discount or premium data and the sales data for each product category stored in the storage device 1. The determining means 3 determines the sales amount for each product category based on the discount amount or the premium amount calculated by the discount/surcharge amount calculation means 2. The sales data storage means 4 accumulates and stores sales data for each product category. The accumulating means 5 accumulates the sales amount for each product category determined by the determining means 3 in the sales data storage means 4.

【0007】[0007]

【作用】この発明の手段の作用は次の通りである。入力
された商品分類別の売上データに基づいて記憶手段1は
割引あるいは割増可能な商品分類を判別して商品分類別
に一時記憶する。次に、入力された割引または割増デー
タと記憶手段1の商品分類別の売上データに基づき割引
・割増金額算出手段2が商品分類別に割引金額あるいは
割増金額を求める。この割引金額または割増金額に基づ
いて決定手段3は商品分類別の販売額を決定する。売上
データ記憶手段4は商品分類別の売上データを累計して
記憶する。決定手段3で決定された上記販売額は累計手
段5によって売上データ記憶手段4に累計される。従っ
て、小計金額に対して割引処理あるいは割増処理を行な
った場合に、売上データの実売金額を商品分類別に累計
できる。
[Operation] The operation of the means of the present invention is as follows. Based on the input sales data for each product category, the storage means 1 determines the product category that can be discounted or increased, and temporarily stores it for each product category. Next, based on the input discount or premium data and the sales data for each product category in the storage device 1, the discount/surcharge amount calculation means 2 calculates the discount amount or premium amount for each product category. Based on this discount amount or premium amount, the determining means 3 determines the sales amount for each product category. The sales data storage means 4 accumulates and stores sales data for each product category. The sales amount determined by the determining means 3 is accumulated in the sales data storage means 4 by the accumulating means 5. Therefore, when discount processing or premium processing is performed on the subtotal amount, the actual sales amount of the sales data can be accumulated for each product category.

【0008】[0008]

【実施例】以下、一実施例を図2乃至図8を参照して説
明する。なお、この実施例は電子式キャッシュレジスタ
に適用したものである。図2は電子式キャッシュレジス
タの回路構成を示すブロック図である。
[Embodiment] An embodiment will be described below with reference to FIGS. 2 to 8. Note that this embodiment is applied to an electronic cash register. FIG. 2 is a block diagram showing the circuit configuration of the electronic cash register.

【0009】同図において、キー入力部11はキーエリ
ア11a〜11dおよびモードスイッチ11eを備えて
いる。ここで、キーエリア11aは売上データを部門(
No.)別に登録する「部1」〜「部4」キーからなる
。キーエリア11bは割引処理を行なう「%−」キーと
、割増処理を行なう「%+」キーと、値引処理を行なう
「−」キーと、値増処理を行なう「+」キーとからなる
。キーエリア11cは売上データをPLU(No.)別
に登録する「PLU」キーと、割引/割増対象商品の小
計データを表示させる「SIST」キーと、通常の小計
データを表示させる「ST」キーと、現金取引を指定す
る「CASH」キーとからなる。キーエリア11dは「
0」〜「9」等の数値データを入力するテンキーと、「
C」キーと、「×」キーとからなる。モードスイッチ1
1eは「精算」「点検」「OFF」「登録」「設定」の
各モードを指定する。そして、キー入力部11でキーが
操作されると、そのキー操作に応じたキー入力信号がC
PU12に入力される。
In the figure, a key input section 11 includes key areas 11a to 11d and a mode switch 11e. Here, the key area 11a stores sales data by department (
No. ) consists of "Part 1" to "Part 4" keys that are registered separately. The key area 11b consists of a "%-" key for discount processing, a "%+" key for performing premium processing, a "-" key for discount processing, and a "+" key for price increase processing. The key area 11c includes a "PLU" key for registering sales data by PLU (No.), a "SIST" key for displaying subtotal data of products eligible for discounts/surcharges, and an "ST" key for displaying normal subtotal data. , and a "CASH" key that specifies a cash transaction. The key area 11d is “
A numeric keypad for entering numerical data such as "0" to "9", and "
It consists of a "C" key and an "x" key. Mode switch 1
1e specifies each mode of "accounting", "inspection", "off", "registration", and "setting". When a key is operated on the key input unit 11, a key input signal corresponding to the key operation is transmitted to C.
It is input to PU12.

【0010】CPU12は、演算部12aおよび制御部
12bを内蔵しており、入力された上記キー入力信号に
応じて置数処理、登録処理、エラー処理等の各種処理を
実行する。これらの各種処理はROM13に予め記憶し
た制御プログラムに基づいて実行される。また、CPU
12にはキー入力部11およびROM13の他に、RA
M14、表示部15、印字部16、およびドロア17が
接続されている。
The CPU 12 has a built-in arithmetic unit 12a and a control unit 12b, and executes various processes such as number processing, registration processing, error processing, etc. in response to the input key input signals. These various processes are executed based on a control program stored in the ROM 13 in advance. Also, CPU
In addition to the key input section 11 and the ROM 13, the RA
M14, display section 15, printing section 16, and drawer 17 are connected.

【0011】RAM14はCPU12の制御によりデー
タの書込み/読み出しが行なわれるもので、図3に示す
ように、売上データをPLUNo.別に記憶するPLU
ファイル14a、売上データを部門No.別に記憶する
部門ファイル14b、ワークエリア14c、小計を記憶
するSTメモリ、割引/割増対象商品の小計を記憶する
SISTメモリ、「SIST」キーの操作後の状態を示
すSIST後フラグ等を備えている。
Data is written to/read from the RAM 14 under the control of the CPU 12, and as shown in FIG. 3, sales data is stored in PLU No. PLU to be stored separately
File 14a stores sales data in department No. It is equipped with a department file 14b that is stored separately, a work area 14c, an ST memory that stores subtotals, an SIST memory that stores subtotals of products eligible for discounts/surcharges, and a post-SIST flag that indicates the status after the "SIST" key is operated. .

【0012】PLUファイル14aにはPLUNo.を
記憶するエリア、商品のキャラクタ(商品名)を記憶す
るエリア、割引/割増の対象商品であることを示す割引
/割増対象フラグを記憶するエリア、売上個数を累計記
憶するエリア、売上金額(アイテム金額)を累計記憶す
るエリア、割引/割増金額を累計記憶するエリア、その
他の設定データを記憶するエリア、および商品の単価を
記憶するエリアが備えられている。
[0012] The PLU file 14a has PLUNo. An area to store the product character (product name), an area to store the discount/surcharge target flag indicating that the product is eligible for a discount/surcharge, an area to store the total number of units sold, an area to store the sales amount (item It has an area for cumulatively storing discount/surcharge amounts, an area for storing other setting data, and an area for storing unit prices of products.

【0013】部門ファイル14bには、PLUファイル
14aと同様に、部門No.を記憶するエリア、商品の
キャラクタを記憶するエリア、割引/割増対象フラグフ
ラグを記憶するエリア、売上個数を記憶するエリア、売
上金額(アイテム金額)を記憶するエリア、割引/割増
金額を記憶するエリア、およびその他の設定データを記
憶するエリアが備えられている。
Similar to the PLU file 14a, the department file 14b contains department numbers. area for storing the product's character, area for storing the discount/surcharge target flag, area for storing the number of units sold, area for storing the sales amount (item amount), area for storing the discount/surcharge amount. , and an area for storing other setting data.

【0014】即ち、PLUファイル14aおよび部門フ
ァイル14bにおいて、割引/割増対象フラグに“1”
が設定されたPLU,部門は割引処理および割増処理の
対象である。
That is, in the PLU file 14a and the department file 14b, the discount/surcharge target flag is set to "1".
PLUs and departments for which ``is set'' are subject to discount processing and premium processing.

【0015】ワークエリア14cは、入力された売上デ
ータのうち、割引/割増対象フラグに“1”が設定され
た割引/割増対象商品の売上データのみを一時的にスト
アするものである。
The work area 14c temporarily stores only the sales data of the discount/surcharge target products whose discount/surcharge target flag is set to "1" among the input sales data.

【0016】表示部15は例えばCRT表示装置により
構成されるもので、CPU12から出力される表示デー
タに基づいて置数金額、預り金額等を表示する。印字部
16はCPU12から出力される印字データに基づいて
レシートおよびジャーナルを発行する。ドロア17は各
種現金を収納するものでCPU12の制御により開放さ
れる。
The display unit 15 is constituted by, for example, a CRT display device, and displays the deposit amount, deposit amount, etc. based on display data output from the CPU 12. The printing unit 16 issues receipts and journals based on print data output from the CPU 12. The drawer 17 stores various types of cash and is opened under the control of the CPU 12.

【0017】次に、この実施例の動作を図4乃至図8に
基づいて説明する。図4および図5は登録モードにおけ
る動作を示すフローチャートである。
Next, the operation of this embodiment will be explained based on FIGS. 4 to 8. 4 and 5 are flowcharts showing operations in registration mode.

【0018】■部門登録 まず、ステップS1ではキー操作を待機する。キー操作
が有るとステップS2に進む。ステップS2においては
「部1」〜「部4」キーの操作により部門登録が指定さ
れたか否かが判断される。通常、テンキーにより商品の
金額が入力された後に「部1」〜「部4」キーが操作さ
れる。ステップS2で、部門登録の場合はステップS3
に進み、それ以外はステップS6に進む。
■Department Registration First, in step S1, a key operation is awaited. If there is a key operation, the process advances to step S2. In step S2, it is determined whether department registration has been designated by operating the "Department 1" to "Department 4" keys. Normally, after the price of the product is input using the numeric keypad, the "Part 1" to "Part 4" keys are operated. In step S2, in case of department registration, step S3
Otherwise, the process proceeds to step S6.

【0019】部門登録によりステップS3に進むと、入
力された部門に割引/割増対象フラグが有るか否かが判
断される。ステップS3において、フラグが“1”であ
る場合はステップS4に進み、そうでない場合はステッ
プS5に進む。
When the process proceeds to step S3 after department registration, it is determined whether or not the input department has a discount/surcharge target flag. In step S3, if the flag is "1", the process proceeds to step S4; otherwise, the process proceeds to step S5.

【0020】入力された部門が割引/割増対象である場
合は、ステップS3からステップS4に進む。ステップ
S4では売上データ(部門No.および金額)がワーク
エリア14cに格納される。このとき、ワークエリア1
4cに格納された金額データの小計がSISTメモリに
記憶される。
[0020] If the input department is subject to discount/surcharge, the process advances from step S3 to step S4. In step S4, sales data (department number and amount) are stored in the work area 14c. At this time, work area 1
The subtotal of the amount data stored in 4c is stored in the SIST memory.

【0021】続くステップS5では部門合計器処理が実
行される。即ち、入力された部門に対応する部門ファイ
ル14bの所定エリアに金額,個数が累計記憶される。 ステップS5の実行により登録処理を終了する。
In the following step S5, department totalizer processing is executed. That is, the total amount and number of items are stored in a predetermined area of the department file 14b corresponding to the input department. The registration process ends by executing step S5.

【0022】■PLU登録 テンキー操作によりPLUNo.が入力された後に「P
LU」キーが操作されると、ステップS2でNOとなっ
てステップS6に進み、PLU登録か否かが判断される
。 ステップS6でYESと判断された場合はステップS7
に進み、NOの場合はステップS10に進む。この場合
、「PLU」キーが操作されたので、YESと判断され
てステップS7に進む。
■ PLU registration PLU No. is entered by operating the numeric keys. “P” is entered after
When the "LU" key is operated, the answer in step S2 is NO and the process proceeds to step S6, where it is determined whether PLU registration is to be performed. If YES is determined in step S6, step S7
If NO, the process proceeds to step S10. In this case, since the "PLU" key has been operated, the determination is YES and the process proceeds to step S7.

【0023】ステップS7では入力されたPLUNo.
に割引/割増対象フラグが有るか否かが判断される。ス
テップS7で、フラグが“1”である場合はステップS
8に進み、そうでない場合はステップS9に進む。
In step S7, the input PLUNo.
It is determined whether or not there is a discount/surcharge target flag. In step S7, if the flag is "1", step S7
If not, proceed to step S9.

【0024】入力されたPLUNo.にフラグが有る場
合はステップS8に進んで、売上データ(PLUNo.
および金額)がワークエリア14cに格納される。続く
ステップS9ではPLUファイル14aに売上データが
登録される。即ち、入力されたPLUNo.に対応する
PLUファイル14aの所定エリアに金額,個数が累計
記憶される。ステップS9の実行により登録処理を終了
する。
[0024] Input PLUNo. If there is a flag in step S8, the sales data (PLUNo.
and the amount) are stored in the work area 14c. In the following step S9, sales data is registered in the PLU file 14a. That is, the input PLUNo. The total amount and number of items are stored in a predetermined area of the PLU file 14a corresponding to . The registration process ends by executing step S9.

【0025】■値引/値増登録(+/−登録)「−」キ
ーあるいは「+」キーが操作されると、値引/値増登録
が行なわれる。通常、値引/値増登録は部門登録または
PLU登録の入力後に行なわれる。この場合、ステップ
S2,6で夫々NOと判断されてステップS10に進む
(2) Discount/price increase registration (+/- registration) When the "-" key or the "+" key is operated, discount/price increase registration is performed. Typically, discount/increase registration is performed after department registration or PLU registration is entered. In this case, NO is determined in each of steps S2 and S6, and the process proceeds to step S10.

【0026】ステップS10では値引/値増登録か否か
が判断される。ステップS10でYESと判断された場
合はステップS11に進み、NOの場合はステップS1
8に進む。この場合、「−」キーあるいは「+」キーが
操作されたのでYESとなりステップS11に進む。ス
テップS11では、フラグ有商品の登録直後か否か即ち
割引/割増対象フラグが設定された商品の入力後か否か
が判断される。ステップS11でYESの場合はステッ
プS12に進み、NOの場合はステップS15に進む。
In step S10, it is determined whether discount/increase registration is to be performed. If YES is determined in step S10, the process proceeds to step S11; if NO, step S1
Proceed to step 8. In this case, since the "-" key or the "+" key has been operated, the answer is YES and the process proceeds to step S11. In step S11, it is determined whether or not the flagged product has just been registered, that is, after the product for which the discount/surcharge target flag has been set has been input. If YES in step S11, the process advances to step S12, and if NO, the process advances to step S15.

【0027】フラグ有商品の登録直後の場合、ステップ
S12に進んで、入力された部門あるいはPLUに対応
する割引/割増金額エリアに割引/割増金額が加算され
る。続くステップS13においては、入力された部門あ
るいはPLUに対応するアイテム金額エリアの内容から
割引/割増金額が減算または加算される。次に、ステッ
プS14ではアイテム金額エリアの内容が小計(ST)
メモリに累計記憶される。ステップS14の実行により
登録処理を終了する。
If the flagged product has just been registered, the process advances to step S12, where the discount/surcharge amount is added to the discount/surcharge amount area corresponding to the input department or PLU. In the subsequent step S13, the discount/surcharge amount is subtracted from or added to the contents of the item amount area corresponding to the input department or PLU. Next, in step S14, the contents of the item amount area are set to the subtotal (ST).
Cumulatively stored in memory. The registration process ends by executing step S14.

【0028】また、ステップS11でNOと判断された
場合はステップS15に進む。ステップS15では「S
IST後フラグ」の有無により、「SIST」キーの入
力後か否かが判断される。ステップS15でYESの場
合はステップS16に進み、NOの場合はステップS1
4に進む。
Further, if the determination in step S11 is NO, the process advances to step S15. In step S15, “S
Based on the presence or absence of the "post-IST flag", it is determined whether or not the "SIST" key has been input. If YES in step S15, proceed to step S16; if NO, proceed to step S1
Proceed to step 4.

【0029】「SIST」キーの入力後に、値引/値増
登録が指定されるとステップS16のエラー処理が実行
され、ステップS17で「SIST後フラグ」がクリア
されて登録処理を終了する。また、ステップS15でN
Oの場合はステップS14に進む。
If discount/price increase registration is specified after inputting the "SIST" key, error handling in step S16 is executed, and the "post-SIST flag" is cleared in step S17, ending the registration process. Also, in step S15, N
In the case of O, the process advances to step S14.

【0030】■割引/割増登録(%±登録)「%−」キ
ーあるいは「%+」キーが操作されると、割引/割増登
録が行なわれる。通常、割引/割増登録は部門登録また
はPLU登録の入力後、あるいは「SIST」キーの入
力後に行なわれる。この場合、ステップS2,6,10
で夫々NOと判断されてステップS18に進む。
■Discount/Premium Registration (%±Registration) When the ``%-'' key or the ``%+'' key is operated, discount/premium registration is performed. Typically, discount/surcharge registration occurs after department registration or PLU registration is entered, or after the "SIST" key is entered. In this case, steps S2, 6, 10
If the answer is NO in each case, the process proceeds to step S18.

【0031】ステップS18では割引/割増登録か否か
が判断される。ステップS18でYESの場合はステッ
プS19に進み、NOの場合はステップS32に進む。 この場合、「%−」キーあるいは「%+」キーが操作さ
れたので、YESと判断されてステップS19に進む。
[0031] In step S18, it is determined whether discount/surcharge registration is required. If YES in step S18, the process advances to step S19, and if NO, the process advances to step S32. In this case, since the "%-" key or the "%+" key was operated, YES is determined and the process advances to step S19.

【0032】ステップS19においては、フラグ有商品
の登録直後か否か即ち割引/割増対象フラグが設定され
た商品の登録直後か否かが判断される。ステップS19
でYESの場合はステップS20に進み、NOの場合は
ステップS24に進む。
In step S19, it is determined whether or not a flagged product has just been registered, that is, a product for which a discount/surcharge target flag has been set has been registered. Step S19
If the answer is YES, the process proceeds to step S20, and if the answer is NO, the process proceeds to step S24.

【0033】フラグ有商品の登録直後の場合は、ステッ
プS20に進む。ステップS20では、その商品の金額
について割引演算または割増演算が行なわれ、割引/割
増金額と実売金額が求められる。続くステップS21に
おいて、ステップS20で求められた割引/割増金額が
、登録商品に対応する割引/割増金額エリアに加算され
る。更に、ステップS22では同じく実売金額が登録商
品に対応するアイテム金額エリアに減算または加算され
る。ステップS23において、割引/割増金額に基づい
て小計(ST)メモリの内容が減算または加算される。 ステップS23の実行により登録処理を終了する。
If the flagged product has just been registered, the process advances to step S20. In step S20, a discount calculation or a premium calculation is performed on the amount of the product, and the discount/surcharge amount and the actual sales amount are determined. In the following step S21, the discount/surcharge amount determined in step S20 is added to the discount/surcharge amount area corresponding to the registered product. Furthermore, in step S22, the actual sales amount is also subtracted or added to the item amount area corresponding to the registered product. In step S23, the contents of the subtotal (ST) memory are subtracted or added based on the discount/surcharge amount. The registration process ends by executing step S23.

【0034】また、上記ステップS19でフラグ有商品
の登録直後でない場合はステップS24に進む。ステッ
プS24では「SIST後フラグ」の有無により「SI
ST」キーの入力後か否かが判断される。ステップS2
4でYESの場合はステップS25に進み、NOの場合
はステップS31のエラー処理を経て登録処理を終了す
る。
If it is determined in step S19 that the flagged product has not just been registered, the process advances to step S24. In step S24, the "SI
It is determined whether or not the "ST" key has been input. Step S2
If YES in step 4, the process advances to step S25, and if NO, the registration process ends after error processing in step S31.

【0035】「SIST」キーの入力後の場合、ステッ
プS25に進む。ステップS25では小計(ST)メモ
リの内容に対して割引演算または割増演算が行なわれ、
割引/割増金額とSTメモリの実売金額が求められる。 続くステップS26において、ワークエリア14cに記
憶された対象商品の金額データに対して割引演算または
割増演算が行なわれ、夫々の割引/割増金額が求められ
る。
If the "SIST" key has been input, the process advances to step S25. In step S25, a discount calculation or a premium calculation is performed on the contents of the subtotal (ST) memory,
The discount/surcharge amount and the actual sales amount of the ST memory are determined. In the following step S26, a discount calculation or a premium calculation is performed on the price data of the target product stored in the work area 14c, and the respective discount/surcharge prices are determined.

【0036】ステップS27ではワークエリア14cに
記憶された対象商品に対応するPLUファイル14aあ
るいは部門ファイル14bの割引/割増金額エリアに割
引/割増金額が夫々加算される。
In step S27, the discount/surcharge amount is added to the discount/surcharge amount area of the PLU file 14a or department file 14b corresponding to the target product stored in the work area 14c.

【0037】ステップS28においてはワークエリア1
4cに記憶された割引/割増対象商品に対応するPLU
ファイル14aあるいは部門ファイル14bのアイテム
金額エリアから割引/割増金額が夫々減算または加算さ
れる。
In step S28, work area 1
PLU corresponding to the discount/surcharge target product stored in 4c
The discount/surcharge amount is subtracted from or added to the item amount area of the file 14a or department file 14b, respectively.

【0038】ステップS29ではワークエリア14cが
クリアされ、次のステップS30により「SIST後フ
ラグ」がクリアされて登録処理を終了する。
In step S29, the work area 14c is cleared, and in the next step S30, the "post-SIST flag" is cleared, and the registration process ends.

【0039】■「SIST」キーの入力「SIST」キ
ーが入力されると、ステップS2,6,10,18で夫
々NOと判断されてステップS32に進む。ステップS
32では「SIST」キーが入力されたか否かが判断さ
れ、YESとなってステップS33に進む。ステップS
33ではRAM14の「SIST後フラグ」に“1”が
書き込まれ、続くステップS34ではSISTメモリの
内容が表示される。ステップS34の実行により登録処
理を終了する。
■ Input of "SIST" Key When the "SIST" key is input, NO is determined in each of steps S2, 6, 10, and 18, and the process advances to step S32. Step S
In step S32, it is determined whether or not the "SIST" key has been input, and the answer is YES, and the process proceeds to step S33. Step S
In step S33, "1" is written in the "post-SIST flag" of the RAM 14, and in the following step S34, the contents of the SIST memory are displayed. The registration process ends by executing step S34.

【0040】なお、ステップS32で、その他のキーが
YESされた場合はステップS35に進み、その他キー
処理が実行される。
It should be noted that if the other key is YES in step S32, the process advances to step S35, and other key processing is executed.

【0041】次に、下記のキー操作を行なった時の動作
を述べる。
Next, the operation when the following key operations are performed will be described.

【0042】       テンキー          部門・PL
U      「1000」          「部
1」          (部門1  に「1000」
登録)      「2000」          
「部2」          (部門2  に「200
0」登録)      「3000」        
「PLU」「8」      (PLU8に「3000
」登録)      「4000」        「
PLU」「9」      (PLU9に「4000」
登録)      「5000」          
「部1」          (部門1  に「500
0」登録)                    
    「SIST」        (対象商品の小
計指定)      「5」            
    「%+」          (5%割増指定
)まず、「1000」「部1」と操作すると、「部門1
」は割引/割増対象フラグ(以下フラグという)が設定
されているので、ステップS3,4,5が実行され、図
6に示すようにワークエリア14cに「部門1」「10
00」が記憶される。また、「部門1」のアイテム金額
エリアは「1000」となる。
[0042] Numeric keypad department/PL
U "1000""Division1"("1000" in Division 1
Registration) "2000"
“Department 2” (Department 2 has “200
0” registration) “3000”
“PLU” “8” (PLU8 has “3000”
” registration) “4000” “
PLU” “9” (“4000” for PLU9
Registration) “5000”
“Department 1” (Department 1 has “500
0” registration)
"SIST" (Subtotal specification of target product) "5"
"%+" (5% premium specification) First, when you operate "1000" and "Department 1", "Department 1" is displayed.
” has the discount/surcharge target flag (hereinafter referred to as flag) set, so steps S3, 4, and 5 are executed, and as shown in FIG. 6, “Department 1” and “10
00'' is stored. Further, the item amount area of "Department 1" is "1000".

【0043】次に、「2000」「部2」と操作すると
、部門2はフラグが設定されているので、同様に、ワー
クエリア14cに「部門2」「2000」が記憶される
。また、「部門2」のアイテム金額エリアは「2000
」となる。
Next, when "2000" and "Department 2" are operated, since the flag has been set for Department 2, "Department 2" and "2000" are similarly stored in the work area 14c. Also, the item amount area for “Department 2” is “2000
”.

【0044】「3000」「PLU」「8」と操作する
と、「PLU8」はフラグが無いので、ステップS3,
5が実行され、ワークエリア14cには商品データが記
憶されず、「PLU8」のアイテム金額エリアは「30
00」となる。
[0044] When "3000", "PLU", and "8" are operated, "PLU8" has no flag, so step S3,
5 is executed, no product data is stored in the work area 14c, and the item amount area of "PLU8" is "30".
00".

【0045】「4000」「PLU」「9」と操作する
と、「PLU8」はフラグが設定されているので、ステ
ップS3,4,5が実行され、図6に示すように、ワー
クエリア14cに「PLU9」「4000」が記憶され
る。また、「PLU9」のアイテム金額エリアは「40
00」となる。
When "4000", "PLU", and "9" are operated, steps S3, 4, and 5 are executed because the flag is set for "PLU8", and as shown in FIG. PLU9" and "4000" are stored. Also, the item amount area for “PLU9” is “40
00".

【0046】「5000」「部1」と操作すると、上述
と同様に、ステップS3,4,5が実行され、図6に示
すようにワークエリア14cに「部門1」「5000」
が記憶される。また、「部門1」のアイテム金額エリア
は「6000」となる。
When "5000" and "Department 1" are operated, steps S3, 4, and 5 are executed in the same manner as described above, and "Department 1" and "5000" are displayed in the work area 14c as shown in FIG.
is memorized. Further, the item amount area of "Department 1" is "6000".

【0047】ここで、「SIST」キーが操作されると
、ステップS32,33,34が実行され、「SIST
後フラグ」が「1」となる。
Here, when the "SIST" key is operated, steps S32, 33, and 34 are executed, and the "SIST" key is operated.
The "back flag" becomes "1".

【0048】最後に、「5」「%+」と操作して「5%
」の割増処理を指定すると、ステップS18,19,2
4が実行され、ステップS24でYESと判断されてス
テップS25に進む。ステップS25ではSISTメモ
リの内容「12000」に基づいて割増金額「600」
が演算される。この割増金額「600」は、図6に示す
ようにSTメモリに加算され、STメモリの内容は「1
5600」となる。ステップS26ではワークエリア1
4cに記憶された「部門1」「部門2」「PLU9」の
金額データに対して「5%」の割増演算が行なわれ、夫
々の割増金額「300」「100」「200」が求めら
れる。
[0048]Finally, operate "5" and "%+" to select "5%
”, steps S18, 19, 2
4 is executed, YES is determined in step S24, and the process proceeds to step S25. In step S25, the premium amount is "600" based on the content "12000" of the SIST memory.
is calculated. This premium amount “600” is added to the ST memory as shown in FIG. 6, and the contents of the ST memory are “1”.
5600". In step S26, work area 1
An additional calculation of "5%" is performed on the amount data of "Department 1", "Department 2", and "PLU9" stored in 4c, and the respective additional amounts of "300", "100", and "200" are determined.

【0049】ステップS27では、図6に示すように、
「部門1」,「部門2」に対応する部門ファイル14b
の割引/割増金額エリア(DIS.TL)、「PLU9
」に対応するPLUファイル14aの割引/割増金額エ
リア(DIS.TL)に各割増金額が夫々加算される。
In step S27, as shown in FIG.
Department file 14b corresponding to “Department 1” and “Department 2”
's discount/surcharge area (DIS.TL), 'PLU9
Each premium amount is added to the discount/surcharge amount area (DIS.TL) of the PLU file 14a corresponding to ".".

【0050】ステップS28においては同様に「部門1
」,「部門2」に対応する部門ファイル14bのアイテ
ム金額エリア(AMOUNT)、「PLU9」に対応す
るPLUファイル14aのアイテム金額エリア(AMO
UNT)に各割増金額が夫々加算される。
Similarly, in step S28, "department 1" is selected.
”, the item amount area (AMOUNT) of the department file 14b corresponding to “Department 2”, and the item amount area (AMOUNT) of the PLU file 14a corresponding to “PLU9”.
UNT) and each premium amount will be added respectively.

【0051】ここで、「CASH」キーを操作して締め
処理を指定すると、図7に示すような印字フォーマット
でレシートが発行される。
Here, when the "CASH" key is operated to designate closing processing, a receipt is issued in the print format shown in FIG.

【0052】また、点検/精算処理が実行された場合は
図8に示すような印字フォーマットでX/Zレポートが
発行される。即ち、実売金額を累計した「部門1」,「
部門2」のアイテム金額データ「6300」,「210
0」と割引/割増金額データ「300」,「100」、
「PLU9」のアイテム金額データ「4200」と割引
/割増金額データ「200」、およびSTメモリに記憶
された合計データ「15600」が印字される。
Furthermore, when the inspection/accounting process is executed, an X/Z report is issued in a print format as shown in FIG. In other words, "Department 1", "Department 1" which has accumulated the actual sales amount, "
Item amount data of “Department 2” “6300”, “210”
0” and discount/surcharge amount data “300”, “100”,
The item amount data "4200" of "PLU9", the discount/surcharge amount data "200", and the total data "15600" stored in the ST memory are printed.

【0053】[0053]

【発明の効果】この発明によれば、小計金額に対して割
引処理あるいは割増処理を行なった場合に、売上データ
の実売金額を商品分類別に累計できる。従って、正確な
売上データを登録することができる。
According to the present invention, when discount processing or premium processing is performed on the subtotal amount, the actual sales amount of sales data can be accumulated for each product category. Therefore, accurate sales data can be registered.

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

【図1】この発明の機能ブロック図である。FIG. 1 is a functional block diagram of the present invention.

【図2】電子式キャッシュレジスタの回路構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing the circuit configuration of an electronic cash register.

【図3】RAMのメモリ構成を示す図である。FIG. 3 is a diagram showing a memory configuration of RAM.

【図4】動作を示すフローチャートである。FIG. 4 is a flowchart showing the operation.

【図5】動作を示すフローチャートである。FIG. 5 is a flowchart showing the operation.

【図6】RAMの記憶状態を示す図である。FIG. 6 is a diagram showing the storage state of RAM.

【図7】登録時のレシート印字例を示す図である。FIG. 7 is a diagram showing an example of receipt printing at the time of registration.

【図8】点検/精算時のレポート印字例を示す図である
FIG. 8 is a diagram showing an example of printing a report at the time of inspection/accounting.

【符号の説明】[Explanation of symbols]

1…記憶手段、2…割引・割増金額算出手段、3…決定
手段、4…売上データ記憶手段、5…累計手段、11…
キー入力部、12…CPU、13…ROM、14…RA
M、15…表示部、16…印字部、17…ドロア。
1... Storage means, 2... Discount/surcharge amount calculation means, 3... Determination means, 4... Sales data storage means, 5... Cumulative means, 11...
Key input section, 12...CPU, 13...ROM, 14...RA
M, 15...display section, 16...printing section, 17...drawer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力された商品分類別の売上データに基づ
いて割引あるいは割増可能な商品分類を判別し、商品分
類別の売上データを一時記憶する記憶手段と、入力され
た割引または割増データと上記記憶手段に記憶された商
品分類別の売上データに基づいて商品分類別に割引金額
あるいは割増金額を求める割引・割増金額算出手段と、
この割引・割増金額算出手段により求められた割引金額
または割増金額に基づいて商品分類別の販売額を決定す
る決定手段と、商品分類別の売上データを累計して記憶
する売上データ記憶手段と、この売上データ記憶手段に
対して上記決定手段により決定された上記商品分類別の
販売額を累計する累計手段とを具備したことを特徴とす
る売上データ処理装置。
Claim 1: A storage means for determining a product category that is eligible for a discount or a premium based on input sales data for each product category, and temporarily storing the sales data for each product category; a discount/surcharge amount calculation means for calculating a discount amount or a premium amount for each product category based on the sales data for each product category stored in the storage means;
determining means for determining the sales amount for each product category based on the discount amount or premium amount calculated by the discount/surcharge amount calculation means; a sales data storage means for accumulating and storing sales data for each product category; A sales data processing device characterized in that the sales data processing device comprises a totalizing means for cumulatively totaling the sales amount for each product category determined by the determining means for the sales data storage means.
JP8805191A 1991-04-19 1991-04-19 Sales data processor Pending JPH04319798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8805191A JPH04319798A (en) 1991-04-19 1991-04-19 Sales data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8805191A JPH04319798A (en) 1991-04-19 1991-04-19 Sales data processor

Publications (1)

Publication Number Publication Date
JPH04319798A true JPH04319798A (en) 1992-11-10

Family

ID=13932037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8805191A Pending JPH04319798A (en) 1991-04-19 1991-04-19 Sales data processor

Country Status (1)

Country Link
JP (1) JPH04319798A (en)

Similar Documents

Publication Publication Date Title
JPS5842499B2 (en) electronic cash register
JPH0668796B2 (en) Electronic cash register
JP5014648B2 (en) Register system
JPH04319798A (en) Sales data processor
JPH10255168A (en) Pos system
JP2589810B2 (en) Product sales data processing device
JP2001118152A (en) Sales management device
JP2566849B2 (en) Electronic cash register
JPH01292597A (en) Electronic cash register
JPH04330593A (en) Parking charge processing system
JPH05282560A (en) System for inputting number of customers at all times
JPH02244395A (en) Article sale data processor
JP2528513B2 (en) Product sales data processing device
JP2542690B2 (en) Product sales data processing device
JPH04284599A (en) Data display method for cash register
JP2000227980A (en) Electronic cash register
JPS5824824B2 (en) electronic cash register
JPH03164894A (en) Commodity sales data processor
JP3025087B2 (en) Electronic cash register
JPH05166071A (en) Merchandise sales data processing device
JPS62102391A (en) Electronic type cash register
JPH0831186B2 (en) Product sales data processor
JPH08305962A (en) Article sales registration data processor
JPH04102196A (en) Merchandise sales data processor
JP2000293756A (en) Merchandise sales registered data processor