JP2009009174A - Method for updating master data in pos system - Google Patents
Method for updating master data in pos system Download PDFInfo
- Publication number
- JP2009009174A JP2009009174A JP2007167128A JP2007167128A JP2009009174A JP 2009009174 A JP2009009174 A JP 2009009174A JP 2007167128 A JP2007167128 A JP 2007167128A JP 2007167128 A JP2007167128 A JP 2007167128A JP 2009009174 A JP2009009174 A JP 2009009174A
- Authority
- JP
- Japan
- Prior art keywords
- data
- update
- product
- classification
- pos system
- 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.)
- Granted
Links
Images
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本発明は、POSシステムにおけるマスタデータの更新方法に係り、特にPOSシステムを構成する店舗サーバに構築されたマスタデータテーブルに格納された各商品についての商品データを受信した各商品についての複数の項目データからなる更新データに基づいて商品毎に更新するPOSシステムにおけるマスタデータ更新方法に関する。 The present invention relates to a method for updating master data in a POS system, and in particular, a plurality of items for each product that has received product data for each product stored in a master data table constructed in a store server constituting the POS system. The present invention relates to a master data updating method in a POS system that updates each product based on update data composed of data.
コンビニエンスストアでは商品は頻繁に入れ替わっていく。新商品が次々投入される一方、販売中止になる商品も多い。また、売れ筋商品は日々変化していくため、毎日納品される商品も多種多様にわたる。 At convenience stores, products change frequently. While new products are introduced one after another, there are many products that will be discontinued. In addition, because popular products change every day, there are a wide variety of products delivered every day.
コンビニエンスストアのPOSシステムでは店舗サーバのマスタデータテーブルを備え、店舗で取り扱っている商品の商品データをマスタデータとして格納している。 A POS system at a convenience store includes a master data table of a store server, and stores product data of products handled at the store as master data.
納入された商品は、それぞれバーコードリーダで商品に貼付されたバーコードを読み取り、マスタデータテーブルと照合され、検品される。 The delivered products are each inspected by reading the barcode attached to the products with a barcode reader, collating with the master data table.
このため、商品の納入の前に、前記店舗サーバのマスタデータを納入された商品に対応させて更新していく必要がある。 For this reason, before delivery of goods, it is necessary to update the master data of the said store server corresponding to the delivered goods.
このマスタデータの更新は、ホストベンダから当該店舗へ配信される更新データによって行われる。この更新データは、店舗に納入されたすべての商品について、各商品についてのPLU(プライスルックアップ)データ、便コード、自社コード、共通自社コードを含むものである。 The master data is updated by update data distributed from the host vendor to the store. This update data includes PLU (Price Lookup) data, a flight code, a company code, and a common company code for each product for all products delivered to the store.
POSシステムにおいてPLUファイルを更新する技術として特許文献1に記載がある。特許文献1には、センタ装置において、各店舗に対応する複数の個店PLUマスタファイルを構築し、センタ装置は、更に、共通の商品マスタファイルを備え、各店舗からのPLU訂正リクエストに応じて該商品マスタファイルを参照しつつ該個店PLUマスタファイルを訂正して訂正分を対応する店舗のPOS装置に送信し、店舗内POS装置においては、受信した訂正分を取り込んで自身内のPLUファイルを訂正あるいは更新するものが記載されている。
ところで、上述したホストベンダからの更新データに誤りがある所謂不正データである場合には、この不正データが店舗サーバのマスタデータとして更新されると、業務においてPOSシステムの誤動作や業務停止などの問題が発生する。すなわち、一部の商品についての不正データのためにPOSシステム全体の業務に影響を及ぼすことがあるのである。 By the way, in the case where the update data from the host vendor mentioned above is so-called illegal data, if this illegal data is updated as master data of the store server, problems such as malfunction of the POS system or business stoppage in business. Will occur. In other words, because of illegal data for some products, the operation of the entire POS system may be affected.
そこで本発明は、不正なデータで店舗サーバのマスタデータテーブルを更新するのを防止することができるPOSシステムにおけるマスタデータの更新方法を提供することを目的とする。 Therefore, an object of the present invention is to provide a master data updating method in a POS system that can prevent a master data table of a store server from being updated with unauthorized data.
本発明において前記課題を解決するための手段は、POSシステムを構成する店舗サーバに構築されたマスタデータテーブルに格納された各商品についての商品データを受信した各商品についての複数の項目データからなる更新データに基づいて商品毎に更新するPOSシステムにおけるマスタデータ更新方法において、受信した商品毎の更新データについて複数の項目データがそれぞれ予め定めた更新条件の範囲にあるか否かを判定し、すべての項目データが前記更新条件内であるとき、受信した更新データが当該商品についての正データであると判定すると共に、少なくとも一つの項目データが前記更新条件の範囲外であるとき、受信した更新データが不正データであると判定する行程と、正データであると判定された商品についてのみ更新データに基づいて前記マスタデータテーブルを更新する行程と、前記不正データについてのログファイルを生成する行程と、を備えることを特徴とするPOSシステムにおけるマスタデータの更新方法である。 Means for solving the above-mentioned problems in the present invention comprises a plurality of item data for each product that has received product data for each product stored in a master data table constructed in a store server constituting the POS system. In the master data update method in the POS system for updating for each product based on the update data, it is determined whether or not a plurality of item data is within a predetermined update condition range for the received update data for each product. When the item data is within the update condition, it is determined that the received update data is the correct data for the product, and when at least one item data is outside the range of the update condition, the received update data Only for the process of determining that the data is illegal and for products that are determined to be correct A step of updating the master data table based on the new data, a method of updating the master data in the POS system, characterized in that it and a process for generating a log file for the incorrect data.
本発明に係るPOSシステムにおけるマスタデータの更新方法によれば、更新データを構成する項目データの全てが所定の更新条件を満たしていないと不正データと判定し、更新行程では当該不正データに基づく更新を実行しないので、真性データで更新される他の商品データに影響を及ぼすことが無くなる他、この更新の状態はログ生成行程で作成されるログファイルに記録されるので、不正データの確認及び訂正を迅速に行えるという効果を有する。 According to the master data update method in the POS system according to the present invention, it is determined that all the item data constituting the update data does not satisfy the predetermined update condition, and the update is based on the incorrect data in the update process. Will not affect other product data that is updated with genuine data, and the status of this update will be recorded in the log file created during the log generation process. Has the effect that can be performed quickly.
以下発明に係るPOSシステムにおけるマスタデータの更新方法の実施の形態例について説明する。 Embodiments of the master data updating method in the POS system according to the present invention will be described below.
図1は実施の形態例に係るマスタデータの更新方法が実行されるPOSシステムを示すブロック図である。本例において、POSシステム100は、店舗10と、ホストベンダ20とを回線30で接続して形成されている。店舗10には店舗サーバ200が配置され、店舗サーバ200には回線310を介して複数のPOS端末300が接続されている。また、ホストベンダ20には店舗サーバ200に回線30を介して更新データを送出するホストサーバ400が配置されている。
FIG. 1 is a block diagram showing a POS system in which a master data updating method according to an embodiment is executed. In this example, the
このようなPOSシステム100において、店舗10における店舗サーバ200は以下の構成を備える。図2は店舗サーバの構成を示すブロック図である。店舗サーバ200は、店舗サーバ200の更新処理を行う処理制御部210と、店舗における商品データを格納するマスタデータテーブル220と、ホストサーバ400からの更新データの正・不正を判定するための条件を格納する更新条件格納部230と、更新の履歴を格納するログファイル格納部240と、更新データのうち分類項目の正・不正を判定するための第1のワークテーブル251及び第2のワークテーブル252が生成されるワークテーブル領域250と、更新データのうちどの項目データを更新対象とするかについてのデータを格納したレジストリ領域260とを備える。
In such a
処理制御部210は、更新データの正・不正を判定する判定部211と、前記ワークテーブル領域250に第1のワークテーブル251及び第2のワークテーブル252を作成するワークテーブル作成部212と、メンテナンスデータ更新部213と、ログ生成部214とを備える。これらの各部は、CPU、ROM、RAM等を備えたコンピュータでプログラムを実行することにより実現される。
The
マスタデータテーブル220は、店舗10におかれる商品についての商品データを格納しており、この商品データには、項目データとして、商品についてのPLU(プライスルックアップ)データ、便コード、自社コード、共通自社コード、大分類、中分類、小分類からなる商品の分類データ、メンテナンス日時、本部売価、課税区分等のデータが格納されている。
The master data table 220 stores product data for products placed in the
ホストサーバ400からの更新データは各商品について以下の項目データを含んでいる。
(1)適用日範囲 適用日を示す8桁のデータ
(2)発注開始日付 発注開始日付を示す8桁のデータ
(3)発注停止開始日付 発注停止開始日付を示す8桁のデータ
(4)発注停止終了日付 発注停止終了日付を示す8桁のデータ
(5)催事発注用発注締め日 催事発注用発注締め日を示す8桁のデータ
(6)値引き開始日 値引き開始日を示す8桁のデータ
(7)値引き終了日 値引き終了日を示す8桁のデータ
(8)ロット・入り数 商品の発注単位を示すロット数及びケース商品の場合の入り数を示すデータ
(9)店着便No. 店着便のNo. 何便であるかを示すデータ(例えば、1〜3)
(10)便No. 便のNo. 何便であるかを示すデータ(例えば、1〜3)
(11)PLUデータ 商品のPLUデータを示す14桁のデータ
(12)自社コード 店舗で商品を管理するためのユニークなコード14桁のデータ
(13)共通自社コード 便商品など複数の自社コードを括るための14桁のコード
(14)分類コード 3桁の大分類コード、3桁の中分類、3桁の小分類からなる商品の分類コード
更新条件格納部230には、更新時における更新条件が格納されている。日付を含む更新データの判定を行う日付データとしては、××××年××月××日(例えば更新日となり得ない将来の日時)を示す「××××××××」が格納されている。また、ロット・入り数データの更新条件としては、数量0を示す「0」、便No.としては、1日の店舗への商品搬入便数「1〜3」を格納している。処理制御部210の判定部211は、更新データの項目データがこの更新条件に適合するかを判定する。
The update data from the host server 400 includes the following item data for each product.
(1) Application date range 8-digit data indicating the application date (2) Order start date 8-digit data indicating the order start date (3) Order stop start date 8-digit data indicating the order stop start date (4) Ordering Stop end date 8 digit data indicating order stop end date (5) Order closing date for event order 8 digit data indicating order closing date for event order (6) Discount start date 8 digit data indicating discount start date (7) Discount end date 8-digit data indicating the discount end date (8) Number of lots / items entered Data indicating the number of lots indicating the ordering unit of products and the number of items received in case products (9) Store arrival / departure number No. Data indicating how many flights (eg 1-3)
(10) Flight No. No. of stool Data indicating how many flights (eg 1-3)
(11) PLU data 14-digit data indicating the PLU data of the product (12) Own code Unique code for managing the product at the store 14-digit data (13) Common in-house code Multiple in-house codes such as flight products are bundled 14-digit code (14) classification code 3-digit major classification code, 3-digit middle classification, product classification code consisting of 3-digit minor classification The update
本例に係るPOSシステム100では次の手順でマスタデータテーブル220の更新を行う。図3はマスタデータテーブルの更新の手順を示すフローチャートである。
In the
所定のタイミングで店舗サーバ200は、まずホストサーバ400から更新データを受信する(ステップST1)。すべての商品についてのデータを受信して格納すると(ステップST2)、判定部211は商品データの正・誤を判定する(ステップST3)。
At a predetermined timing,
このとき、通常の商品データについては、判定部211は、更新条件格納部230を参照してあるいは商品データ中の項目データを比較して正・不正の判定を行う他、分類データについては、判定部211はワークテーブル作成部212でワークテーブル領域250に第1のワークテーブル251及び第2のワークテーブル252を作成し、この第1のワークテーブル251及び第2のワークテーブル252を使用して判定を行う。
At this time, for normal product data, the
そして、判定部211が不正データを検出した場合には、ログ生成部214はこの不正データをログファイル格納部240に格納する(ステップST4)。そして、メンテナンスデータ更新部213は、更新データ中から不正データを排除し(ステップST5)、残りの正データでマスタデータテーブル220を更新する(ステップST6)。その後ログファイル格納部240に格納された不正データを参照して訂正等の必要な処理を行う(ステップST7)
以下判定部211の判定処理について詳細に説明する。本例では、マスタメンテナンス単品追加/変更データのレコード区分=1or2の区分に従って処理を行う。処理制御部210は、まずシステムオプションを取得して判定を行うかどうかを決定する。判定を行うと売上登録が一切できなくなる使用者があり得るため、判定処理を行わないという選択を可能としている。
この選択は、TC_SYS_CTL_TBL(システム管理テーブル)のフィールド名VASC単品メンテ整合性チェックになされている設定に従う。
If the
Hereinafter, the determination process of the
This selection follows the setting made in the field name VASC single item maintenance consistency check of TC_SYS_CTL_TBL (system management table).
次いでレジストリ領域260の各レジストリを取得して各項目データの判定の要否を取得する。レジストリ領域のレジストリキーには例えば以下の設定がなされる。
Next, each registry in the
¥VHONLCTR¥MATCHK1 同一商品コードで同一の便が存在する場合
¥VHONLCTR¥MATCHK2 ロット・入り数が“0”の場合
¥VHONLCTR¥MATCHK3 店着便No.が、1〜3以外の数の場合
¥VHONLCTR¥MATCHK4 便No.が、1〜3以外の数の場合
¥VHONLCTR¥MATCHK5 店着便No.と、便No.が一致しない場合
¥VHONLCTR¥MATCHK6 同一自社コードで異なる共通商品コードを持つレコードが複数有る場合
¥VHONLCTR¥MATCHK7 共通商品コードで紐付けされた商品に対して、それぞれ別々の分類コードが紐付けされている場合
¥VHONLCTR¥MATCHK8 最小発注数量>最大発注数量の場合
そして、判定部211は、レジストリ領域260の設定に基づいて以下の判定を行う。エラー理由は例えば以下の通りである。
(1)適用日範囲エラー
(2)発注開始日付範囲エラー
(3)発注停止開始日付範囲エラー
(4)発注停止終了日付範囲エラー
(5)催事発注用発注締め日範囲エラー
(6)値引き開始日範囲エラー
(7)値引き終了日範囲エラー
(8)ロット・入り数0エラー
(9)店着便No.範囲エラー
(10)便No.範囲エラー
(11)店着No.便No.不一致エラー
(12)最小発注数量>最大発注数量エラー
(13)同一共通商品同一便エラー
(14)同一自社コード複数エラー
(15)分類コード不一致エラー
(16)日付範囲エラー(実際には(1)〜(7)の判定で引っかかるためこのエラーは出力されない)
システムオプション[単品メンテ整合性判定]が判定対象の場合、上記エラーの判定は以下のように行われる。
(1)適用日範囲エラー
適用日8桁>××××××××のとき、「適用日範囲エラー」をエラーログに出力
(2)発注開始日付範囲エラー
発注開始日付8桁>××××××××のとき、「発注開始日範囲エラー」をエラーログに出力
(3)発注停止開始日付範囲エラー
発注停止開始日付8桁>××××××××のとき、「発注停止開始日付範囲エラー」をエラーログに出力(××××××××は予め設定された年月日を表す)
(4)発注停止終了日付範囲エラー
発注停止終了日付8桁>××××××××のとき、「発注停止終了日付範囲エラー」をエラーログに出力
(5)催事発注用発注締め日範囲エラー
催事発注用発注締め日8桁>××××××××のとき、「催事発注用発注締め日範囲エラー」をエラーログに出力
(6)値引き開始日範囲エラー
値引き開始日8桁>××××××××のとき、「値引き開始日範囲エラー」をエラーログに出力
(7)値引き終了日範囲エラー
値引き終了日8桁>××××××××のとき、「値引き終了日範囲エラー」をエラーログに出力
(8)ロット・入り数0エラー(レジストリ¥VHONLCTR¥MATCHK2=1又は存在しない場合を判定する)
ロット数=0 or 入り数=0のとき、「ロット・入り数0エラー」をエラーログに出力
(9)店着便No.範囲エラー(レジストリ¥VHONLCTR¥MATCHK3=1又は存在しない場合を判定する)
店着便No.<1 or 店着便No.>3の時「店着便No.範囲エラー」をエラーログに出力
(10)便No.範囲エラー(¥VHONLCTR¥MATCHK4=1又は存在しない場合を判定する)
便No.<1 or 便No.>3の時「便No.範囲エラー」をエラーログに出力
(11)店着便No.便No.不一致エラー(レジストリ¥VHONLCTR¥MATCHK5=1又は存在しない場合を判定する)
店着便No. !=便No.のとき、「店着便No.便No.不一致エラー」をエラーログに出力
(12)最小発注数量>最大発注数量エラー(レジストリ¥VHONLCTR¥MATCHK8=1又は存在しない場合を判定する)
最小発注数量>最大発注数量のとき、「最小発注数量>最大発注数量エラー」をエラーログに出力
(13)同一共通商品同一便エラー(レジストリ¥VHONLCTR¥MATCHK1=1又は存在しない場合を判定する)
共通自社コードをキーにCB_JAN_KEY_TBLを読み込む(読める間を繰り返す)
抽出条件:共通自社コード=単品追加変更データの共通自社コード
抽出項目:自社コード、便コード
(自社コード !=単品追加変更データの自社コード)and(便コード=単品追加変更データの便コード)のとき、「同一商品同一便エラー」をエラーログに出力
(14)同一自社コード複数エラー(レジストリ¥VHONLCTR¥MATCHK6=1又は存在しない場合を判定する)
自社コードをキーにCB_JAN_KEY_TBLを読み込む(読める間を繰り返す)
抽出条件:自社コード=単品追加変更データの自社コード
抽出項目:共通自社コード
(共通自社コード !=単品追加変更データの自社コードのとき、「同一自社コード複数エラー」をエラーログに出力
(15)分類コード不一致エラー(レジストリ¥VHONLCTR¥MATCHK7=1又は存在しない場合を判定する)
以上のように、前記「(1)適用日範囲エラー」〜「(14)同一自社コード複数エラー」については、判定部211が更新条件格納部230に格納された値に基づいて判定を行い、エラー判定がなされる。一方、上記「(15)分類コード不一致エラー」については、ワークテーブル作成部212がワークテーブル領域250に第1のワークテーブル251及び第2のワークテーブル252を作成して、このワークテーブルに分類データを格納して比較が行われる。
¥ VHONLCTR ¥ MATCHK1 When there is the same flight with the same product code ¥ VHONLCTR ¥ MATCHK2 When the number of lots and entering is “0” ¥ VHONLCTR ¥ MATCHK3 Is a number other than 1 to 3 ¥ VHONLCTR ¥ MATCHK4 Flight No. Is a number other than 1 to 3 ¥ VHONLCTR ¥ MATCHK5 And flight No. \ VHONLCTR \ MATCHK6 When there are multiple records with the same company code and different common product codes. \ VHONLCTR \ MATCHK7 Different classification codes are linked to the products linked with the common product code. In the case where the minimum order quantity> the maximum order quantity, the
(1) Application date range error (2) Order start date range error (3) Order stop start date range error (4) Order stop end date range error (5) Special order order closing date range error (6) Discount start date range Error (7) Discount end date range error (8) Lot /
When the system option [Single Item Maintenance Consistency Determination] is a determination target, the above error determination is performed as follows.
(1) Application date range error When the application date is 8 digits> ××××××××, “Applicable date range error” is output to the error log. (2) Order start date range error Order start date 8 digits> ×× When “××××××”, “Order start date range error” is output to the error log. (3) Order stop start date range error Order stop start date 8 digits> ×××××××× "Stop start date range error" is output to the error log (XXX represents the preset date)
(4) Order stop end date range error When the order stop end date is 8 digits> xxx xxx xxx, "Order stop ending date range error" is output to the error log. When the order closing date for event ordering is 8 digits> ××××××××, “Order order closing date range error for event ordering” is output to the error log. (6) Discount start date range error Discount start date 8 digits> ××× When xxxx is output, the “discount start date range error” is output to the error log. (7) Discount end date range error When the discount end date is 8 digits> xxx xxxx xxxx "Error" is output to the error log. (8) Lot /
When the number of lots = 0 or the number of incoming items = 0, "Lot / Entering
Store arrival flight No. <1 or store arrival No. When “> 3”, “Store arrival No. range error” is output to the error log. Range error (determines if \ VHONLCTR \ MATCHK4 = 1 or does not exist)
Flight No. <1 or Flight No. When “> 3”, “Flight No. range error” is output to the error log. Flight No. Mismatch error (Registry \ VHONLCTR \ MATCHK5 = 1 or determines if it does not exist)
Store arrival flight No. ! = Flight No. In this case, “store arrival flight No. flight No. mismatch error” is output to the error log. (12) Minimum order quantity> maximum order quantity error (Registry \ VHONLCTR \ MATCHK8 = 1 or determined not to exist)
When minimum order quantity> maximum order quantity, "Minimum order quantity> Maximum order quantity error" is output to the error log (13) Same common product same flight error (Registry \ VHONLCTR \ MATCHK1 = 1 or not exists)
Read CB_JAN_KEY_TBL using the common company code as a key (repeat while reading)
Extraction condition: Common in-house code = Common in-house code for single item addition / change data Extraction item: In-house code, flight code (in-house code! = In-house code for single item addition / change data) and (flight code = flight code for single item addition / change data) "Same product same flight error" is output to the error log (14) Same in-house code multiple errors (Registry \ VHONLCTR \ MATCHK6 = 1 or not exists)
Read CB_JAN_KEY_TBL using your company code as a key (repeat while reading)
Extraction condition: Company code = Company code extraction item of single item addition change data: Common company code (Common company code! = When the company code of individual product addition change data, "Same company code multiple errors" is output to the error log (15) Classification code mismatch error (Registry \ VHONLCTR \ MATCHK7 = 1 or if it does not exist)
As described above, for the “(1) application date range error” to “(14) same company code multiple errors”, the
次に分類データの判定について説明する。図4は分類データの判定手順を示すフローチャート、図5乃至図9は分類データの判定中における第1及び第2のワークテーブルの状態を示す模式図である。 Next, classification data determination will be described. FIG. 4 is a flowchart showing the classification data determination procedure, and FIGS. 5 to 9 are schematic diagrams showing the states of the first and second work tables during classification data determination.
分類データの判定に際して、まず判定部211の指示により、ワークテーブル作成部212はワークテーブル領域250に第1のワークテーブル251と第2のワークテーブル252とを作成する(ステップST11)。
When determining the classification data, first, the work
図5に示すように、第1のワークテーブル251は、連番、共通自社コード、自社コード、大分類、中分類、小分類、チェック結果の項目を備える。また、第2のワークテーブル252は、共通自社コード、自社コード、大分類、中分類、小分類の項目を備える。 As shown in FIG. 5, the first work table 251 includes items of serial number, common company code, company code, major classification, middle classification, minor classification, and check result. The second work table 252 includes items of common company code, company code, major classification, middle classification, and minor classification.
次いで、ワークテーブル作成部212は、図6に示すように、第1のワークテーブル251に共通自社コード、自社コード、分類(大、中、小)の変更データを書き込む(ステップST12)。
Next, as shown in FIG. 6, the work
次に、ワークテーブル作成部212は、図7に示すように、第1のワークテーブルの共通自社コードを基にして、マスタデータテーブル220のCB_JAN_OWN_BASのデータに基づいて第2のワークテーブル252の分類を更新する(ステップST13)。
Next, the work
そして、ワークテーブル作成部212は、第1のワークテーブル251の連番順に第2のワークテーブル252を更新していき、第2のワークテーブル252に共通自社コード及び自社コードが存在しないときは新たなテーブルを挿入し(図8(1))、第2のワークテーブル252に共通自社コード及び自社コードが存在するときは項目の内容を更新する(図8(2))(ステップST14)。
Then, the work
そして、判定部211は、第2のワークテーブル252に基づいて分類(大、中、小)が取得した更新データと一致するかをチェックし、同一でない場合、分類データが不正であるものとして、図9に示すように、第1のワークテーブル251の判定結果に「1」(NG)を格納する(ステップST15)。これにより、分類データの判定がなされ、判定結果「1」のとき、「分類コード不一致エラー」となる。
The
上述した判定処理においてなされたエラー判定は、ログ生成部214によってログファイル格納部240にエラーログとして出力される。エラーログは以下のようにして作成される。
エラーログに格納されるデータは以下の通りである。
(1)メンテナンス日時(YYYYMMDDHHMMSS)単品追加変更マスタメンテ起動時の日時をセットする。
(2)PLU(14桁固定、右詰、頭“0”埋め)
(3)自社コード(14桁固定、右詰、頭“0”埋め)
(4)共通自社コード(14桁固定、右詰、頭“0”埋め)
(5)分類
大分類(3桁固定、右詰、頭“0”埋め)
中分類(3桁固定、右詰、頭“0”埋め)
小分類(3桁固定、右詰、頭“0”埋め)
(6)部門(3桁固定、右詰、頭“0”埋め)
(7)本部売価(6桁固定、右詰、頭スペース)
(8)課税区分(1桁固定)
(9)エラー理由(40桁(全角20文字)固定、左詰、余りスペース)
エラーログの出力先は、例えば、c:¥cvs¥data¥mnterr¥とし、ファイル名は例えば「mnterlog.MDn」とされる。ここで、「.」以下の「MDn」は以下の形式で付される拡張子である。
M:(月)1〜9、A(10月)、B(11月)、C(12月)
D:(日)1〜9、A(10日)からV(31日)
n:カウント1〜9(同一月日内で1〜9)
この拡張子により作成日及び作成番号が表示される。
The error determination made in the determination process described above is output as an error log by the
The data stored in the error log is as follows.
(1) Maintenance date and time (YYYYMMDDDHHMSS) Set the date and time when starting single item addition / change master maintenance.
(2) PLU (fixed 14 digits, right justified, padded with heads “0”)
(3) In-house code (fixed 14 digits, right justified, padded with "0")
(4) Common company code (fixed 14 digits, right justified, padded with "0")
(5) Classification Large classification (fixed 3 digits, right justified, padded with "0" heads)
Middle classification (fixed 3 digits, right justified, padded with heads “0”)
Small classification (fixed 3 digits, right justified, padded with heads “0”)
(6) Department (fixed 3 digits, right justified, padded with heads “0”)
(7) Head office sales price (fixed 6 digits, right justified, head space)
(8) Taxation category (fixed to 1 digit)
(9) Error reason (40 digits (20 full-width characters) fixed, left justified, extra space)
The output destination of the error log is, for example, c: \ cvs \ data \ mnerr \, and the file name is, for example, “mntlog.MDn”. Here, “MDn” below “.” Is an extension attached in the following format.
M: (Monday) 1-9, A (October), B (November), C (December)
D: (Sunday) 1-9, A (10th) to V (31st)
n: Count 1-9 (1-9 within the same month and day)
The creation date and creation number are displayed by this extension.
例えば、11月30日に2回エラーログが作成された場合、
1回目のエラーログは、「mnterlog.BU1」とされ、2回目のエラーログは、「mnterlog.BU2」とされる。
For example, if an error log is created twice on November 30,
The first error log is “mnterlog.BU1”, and the second error log is “mnterlog.BU2”.
本例では、以上のような内容でエラーログが生成されるので、エラーログの拡張子を確認するだけでエラーログの作成月日及び作成順が容易に認識でき、エラーログの確認を容易なものとすることができる。尚、このエラーログは一定期間、例えば3ヶ月経過した段階で消去するようにしてもよい。 In this example, an error log is generated with the above contents, so the error log creation date and order can be easily recognized just by checking the extension of the error log, making it easy to check the error log. Can be. The error log may be deleted after a certain period, for example, three months.
以上説明したように、本発明に係るPOSシステムにおけるマスタデータの更新方法によれば、真性データで更新される他の商品データに影響を及ぼすことが無くなる他、この更新の状態はログ生成行程で作成されるログファイルに記録されるので、不正データの確認及び訂正を迅速に行えるという効果を有する。 As described above, according to the master data update method in the POS system according to the present invention, other product data updated with the genuine data is not affected, and the update state is the log generation process. Since it is recorded in the created log file, there is an effect that the illegal data can be confirmed and corrected quickly.
10 店舗、20 ホストベンダ、30 回線、100 POSシステム、200 店舗サーバ、400 ホストサーバ 10 stores, 20 host vendors, 30 lines, 100 POS systems, 200 store servers, 400 host servers
Claims (5)
受信した商品毎の更新データについて複数の項目データがそれぞれ予め定めた更新条件の範囲にあるか否かを判定し、すべての項目データが前記更新条件内であるとき、受信した更新データが当該商品についての正データであると判定すると共に、少なくとも一つの項目データが前記更新条件の範囲外であるとき、受信した更新データが不正データであると判定する行程と、
正データであると判定された商品についてのみ更新データに基づいて前記マスタデータテーブルを更新する行程と、
前記不正データについてのログファイルを生成する行程と、
を備えることを特徴とするPOSシステムにおけるマスタデータの更新方法。 In a POS system that updates product by product based on update data composed of a plurality of item data for each product that has received product data for each product stored in a master data table constructed in a store server constituting the POS system In the master data update method,
It is determined whether or not a plurality of item data is within a predetermined update condition range for the received update data for each product, and when all item data is within the update condition, the received update data is the product A step of determining that the received update data is invalid data when at least one item data is outside the range of the update condition,
A process of updating the master data table based on update data only for products determined to be positive data;
Generating a log file for the unauthorized data;
A method for updating master data in a POS system.
前記更新データは各項目データについて判定を行い、1つの項目データでも更新条件範囲外であるとき当該商品についての更新データは不正データであると判定することを特徴とする請求項1乃至3のいずれか記載のPOSシステムにおけるマスタデータの更新方法。 Update data includes PLU (Price Lookup) data, flight code, company code, common company code for each product,
The update data is determined for each item data, and even if one item data is outside the update condition range, it is determined that the update data for the product is illegal data. A method for updating master data in the POS system.
前記判定行程における分類データの不正データ検出に際して、
前記更新データから取得した分類データを格納する第1のワークテーブルと、
前記マスタデータテーブルから取得した前記更新対象となる商品についての分類データを格納する第2のワークテーブルとを作成し、
前記第1のワークテーブルに格納された分類データが前記第2のワークテーブルに格納された分類データと一致しないとき取得した分類データが不正であると判定することを特徴とする請求項1又は2記載のPOSシステムにおけるマスタデータの更新方法。 The updated master data includes product classification data,
When detecting illegal data of classification data in the determination process,
A first work table for storing classification data acquired from the update data;
Creating a second work table that stores classification data about the product to be updated acquired from the master data table;
3. The classification data acquired when the classification data stored in the first work table does not match the classification data stored in the second work table is determined to be invalid. A method of updating master data in the described POS system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007167128A JP5038035B2 (en) | 2007-06-26 | 2007-06-26 | Server device and master data updating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007167128A JP5038035B2 (en) | 2007-06-26 | 2007-06-26 | Server device and master data updating method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009009174A true JP2009009174A (en) | 2009-01-15 |
JP5038035B2 JP5038035B2 (en) | 2012-10-03 |
Family
ID=40324225
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007167128A Expired - Fee Related JP5038035B2 (en) | 2007-06-26 | 2007-06-26 | Server device and master data updating method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5038035B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017021484A (en) * | 2015-07-08 | 2017-01-26 | 東芝テック株式会社 | Information processing apparatus and information processing program |
JP2018190433A (en) * | 2018-07-05 | 2018-11-29 | 東芝テック株式会社 | Information processing apparatus and information processing program |
US10237348B2 (en) | 2015-04-30 | 2019-03-19 | Seiko Epson Corporation | Network system and control method of a network system, and a control device |
US10356170B2 (en) | 2015-04-30 | 2019-07-16 | Seiko Epson Corporation | Network system and control method of a network system, and a control device |
US10469350B2 (en) | 2015-04-30 | 2019-11-05 | Seiko Epson Corporation | Network system and control method of a network system, and a control device |
JP7138289B1 (en) | 2022-03-25 | 2022-09-16 | eBASE株式会社 | Server, information processing method, and program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10228588A (en) * | 1997-02-13 | 1998-08-25 | Tec Corp | Merchandise price management device and merchandise price changing method |
JP2001051776A (en) * | 1999-08-04 | 2001-02-23 | Toshiba Corp | Device for confirming data on received order |
JP2001155252A (en) * | 1999-11-26 | 2001-06-08 | Toshiba Tec Corp | Electronic charge balance system |
-
2007
- 2007-06-26 JP JP2007167128A patent/JP5038035B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10228588A (en) * | 1997-02-13 | 1998-08-25 | Tec Corp | Merchandise price management device and merchandise price changing method |
JP2001051776A (en) * | 1999-08-04 | 2001-02-23 | Toshiba Corp | Device for confirming data on received order |
JP2001155252A (en) * | 1999-11-26 | 2001-06-08 | Toshiba Tec Corp | Electronic charge balance system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10237348B2 (en) | 2015-04-30 | 2019-03-19 | Seiko Epson Corporation | Network system and control method of a network system, and a control device |
US10356170B2 (en) | 2015-04-30 | 2019-07-16 | Seiko Epson Corporation | Network system and control method of a network system, and a control device |
US10469350B2 (en) | 2015-04-30 | 2019-11-05 | Seiko Epson Corporation | Network system and control method of a network system, and a control device |
JP2017021484A (en) * | 2015-07-08 | 2017-01-26 | 東芝テック株式会社 | Information processing apparatus and information processing program |
JP2018190433A (en) * | 2018-07-05 | 2018-11-29 | 東芝テック株式会社 | Information processing apparatus and information processing program |
JP7138289B1 (en) | 2022-03-25 | 2022-09-16 | eBASE株式会社 | Server, information processing method, and program |
JP2023142815A (en) * | 2022-03-25 | 2023-10-05 | eBASE株式会社 | Server, information processing method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP5038035B2 (en) | 2012-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3993300B2 (en) | Price change confirmation method and electronic price tag device in electronic price tag system | |
JP3726974B2 (en) | Price verification system and method for electronic price label | |
JP4152016B2 (en) | Price matching method for electronic price label and price matching device for electronic price label | |
JP5038035B2 (en) | Server device and master data updating method | |
JP4201291B2 (en) | Product price synchronization apparatus and product price synchronization method using electronic price tag | |
JP2002230649A (en) | Pos system | |
JP6275078B2 (en) | Product order quantity adjusting device, product order quantity adjusting method, order system and computer program | |
US20210090091A1 (en) | Server device and traceability method | |
JP3759654B2 (en) | Data update method for electronic price label system | |
EP1164528A2 (en) | System and method for using an enhanced external data interface to display data in electronic price label systems | |
US20070265943A1 (en) | Product management system, product management apparatus, and product management method | |
US6520411B1 (en) | System and method of graphically displaying relative information by an electronic price label | |
JP4969960B2 (en) | Store computer | |
US6445370B1 (en) | Electronic price label and method of graphically displaying relative information by an electronic price label | |
US6301565B1 (en) | System and method of verifying graphically displayed relative information | |
JP2012014409A (en) | Form management system, form management device, control method, program, and storage medium | |
JP4727015B2 (en) | Electronic price label system and display price change method | |
US20050038705A1 (en) | Pos system, pos server, shop terminal, sales managing method, and recording medium | |
JP4927150B2 (en) | Trade settlement related data management system and method | |
JP6882018B2 (en) | Server equipment and programs | |
JP4990215B2 (en) | Manufacturing history management system and manufacturing history management method | |
JP7163201B2 (en) | Update data confirmation device and its control program | |
JP2001325336A (en) | Settlement inventory method and system, host processor, and information storage medium | |
JP2024052989A (en) | Terminal and its program | |
JP5042007B2 (en) | Product master comprehensive generation server and product master comprehensive generation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20091030 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100201 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110527 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110801 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111129 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120130 |
|
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: 20120703 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120705 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150713 Year of fee payment: 3 |
|
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 |