JP5890882B2 - Data collation apparatus, data collation method and program - Google Patents
Data collation apparatus, data collation method and program Download PDFInfo
- Publication number
- JP5890882B2 JP5890882B2 JP2014209882A JP2014209882A JP5890882B2 JP 5890882 B2 JP5890882 B2 JP 5890882B2 JP 2014209882 A JP2014209882 A JP 2014209882A JP 2014209882 A JP2014209882 A JP 2014209882A JP 5890882 B2 JP5890882 B2 JP 5890882B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- customer
- amount
- billing
- data table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 54
- 238000013075 data extraction Methods 0.000 claims description 41
- 238000013524 data verification Methods 0.000 claims description 8
- 240000000220 Panda oleosa Species 0.000 description 25
- 235000016496 Panda oleosa Nutrition 0.000 description 25
- 238000004364 calculation method Methods 0.000 description 16
- 239000000284 extract Substances 0.000 description 14
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000000605 extraction Methods 0.000 description 3
- 238000000151 deposition Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007562 laser obscuration time method Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Description
本発明は、入金データと請求データとの照合を行うデータ照合装置に関し、さらに、データ照合方法及びデータ照合プログラムに関する。 The present invention relates to a data collation apparatus that collates deposit data and billing data, and further relates to a data collation method and a data collation program.
企業において、入金データと請求データとの照合を行うことにより、過去に請求した金銭が後日入金されたか否かを確認する売掛金債権管理が行われている。企業によっては毎月何千件、或いは何万件もの照合を行うところもある。入金データには、通常、振込人名のデータが含まれているので、振込人名のデータを用いて、誰からの入金であるかを判定できる。一方、請求データには、誰に対する請求かを示すデータが含まれているので、入金データがどの請求データに対応するかを判定できる。対応する入金データと請求データとの金額が一致すれば、請求した金額が過不足なく入金したことになるので、対応する入金データと請求データとに、それぞれ消込処理を行う。 In a company, accounts receivable receivable management is performed to confirm whether or not the money billed in the past has been deposited at a later date by collating the deposit data with the billing data. Some companies check thousands or tens of thousands of matches every month. Since the payment data normally includes data of the transfer person name, it is possible to determine who the payment is from using the transfer person name data. On the other hand, since the billing data includes data indicating who is billed, it is possible to determine which billing data the deposit data corresponds to. If the amounts of the corresponding deposit data and billing data match, the billed amount has been deposited without excess or deficiency, and therefore the corresponding deposit data and billing data are each subjected to an application process.
下記の特許文献1には、入金データの振込人カナ名を名寄せして入金元のコードを特定すること、請求金額を入金元で合計し、振込手数料を考慮した差額範囲内で入金額と一致すれば入金済みとすること、請求金額の合計が入金額と一致しなかった場合には、請求書単位で1件ずつ照合し、一致すれば入金済みとすることが記載されている。
In
しかしながら、振込人カナ名を名寄せしても、該当する顧客が複数存在し、入金元のコードを特定できない場合がある。特許文献1において、このような場合は名寄せエラーとなってしまい、以後の照合作業を手作業で行わなければならなくなる。
However, even if the name of the transfer person name is collected, there are cases where there are a plurality of corresponding customers, and the deposit source code cannot be specified. In
そこで本発明は、入金データの振込人名に該当する顧客が複数存在する場合でも、入金データと請求データとの照合を効率的に行うことのできるデータ照合装置、データ照合方法及びプログラムを提供することを目的とする。 Therefore, the present invention provides a data collation apparatus, a data collation method, and a program capable of efficiently collating the deposit data with the billing data even when there are a plurality of customers corresponding to the transfer person name of the deposit data. With the goal.
上記課題を解決するため、本発明の1つの観点に係るデータ照合装置は、
複数のレコードを有し、各レコードについて、振込人名のデータを記憶するためのフィールドと、振込金額のデータを記憶するためのフィールドと、を含む入金データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、振込人名のデータを記憶するためのフィールドと、を含む顧客データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、請求金額のデータを記憶するためのフィールドと、を含む請求データテーブルと、
を参照して、入金データと請求データとを照合する装置であって、
入金データテーブルに含まれる1つのレコードについて、振込人名のデータと振込金額のデータとを抽出する入金データ抽出手段と、
入金データテーブルから抽出された振込人名のデータを用いて顧客データテーブルを検索し、該当するレコードの各々に記憶された顧客IDのデータを抽出する顧客データ抽出手段と、
顧客データテーブルから抽出された各顧客IDのデータを用いて請求データテーブルを検索し、各顧客IDについて、該当するレコードに記憶された請求金額のデータを抽出する請求データ抽出手段と、
入金データテーブルから抽出された振込金額のデータについて、各顧客IDについて請求データテーブルから抽出された請求金額のデータと比較して、所定の一致条件を満たす請求金額のデータがある場合には該当するレコードの消込処理を行い、所定の一致条件を満たす請求金額のデータがない場合には他の顧客IDについて請求データテーブルから抽出された請求金額のデータと比較する比較手段と、
を具備する。
In order to solve the above-described problem, a data collating apparatus according to one aspect of the present invention is provided.
A deposit data table including a plurality of records, a field for storing the transfer person name data, and a field for storing the transfer amount data for each record;
A customer data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing transfer name data;
A billing data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing billing amount data;
, A device for verifying the deposit data and the billing data,
A deposit data extraction means for extracting the data of the transfer person name and the data of the transfer amount for one record included in the deposit data table;
A customer data extraction means for searching the customer data table using the transfer person name data extracted from the payment data table and extracting the data of the customer ID stored in each of the corresponding records;
A billing data extracting means for searching the billing data table using the data of each customer ID extracted from the customer data table, and extracting the data of the billing amount stored in the corresponding record for each customer ID;
Compared to the billing amount data extracted from the billing data table for each customer ID with respect to the transfer amount data extracted from the deposit data table, this is applicable when there is billing amount data that satisfies a predetermined matching condition. Comparing means for performing a record clearing process and comparing with the billing amount data extracted from the billing data table for other customer IDs when there is no billing amount data satisfying a predetermined matching condition;
It comprises.
本発明によれば、入金データの振込人名に該当する顧客が複数存在する場合でも、入金データテーブルから抽出された振込金額のデータと、各顧客IDについて請求データテーブルから抽出された請求金額のデータとを比較し、所定の一致条件を満たす請求金額のデータがない場合には他の顧客IDについて抽出された請求金額のデータと比較することによって、顧客を特定できるので、入金データと請求データとの照合を効率的に行うことができる。 According to the present invention, even when there are a plurality of customers corresponding to the transfer person name of the payment data, the transfer amount data extracted from the payment data table and the charge amount data extracted from the charge data table for each customer ID If there is no billing amount data satisfying a predetermined matching condition, the customer can be identified by comparing with the billing amount data extracted for other customer IDs. Can be efficiently verified.
以下、本発明の一実施形態に係るデータ照合装置について、図面を参照しながら詳しく説明する。 Hereinafter, a data collating apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.
<1.データ照合装置の構成>
図1は、本発明の一実施形態に係るデータ照合装置の概略構成図である。データ照合装置1は、入金データテーブル11、顧客データテーブル12及び請求データテーブル13を記憶した記憶媒体にアクセス可能なコンピュータ装置である。
データ照合装置1は、入金データ抽出部21と、顧客データ抽出部22と、請求データ抽出部23と、合計値算出部24と、最小値選出部25と、比較部26と、出力部27と、入力部28とを具備している。ここでは、データ照合装置1の各構成は、1つのコンピュータ装置内に含まれるものとして図示したが、これらの構成が別個のコンピュータ装置に分散し、それらのコンピュータ装置が協働して動作することとしても良い。
<1. Configuration of data verification device>
FIG. 1 is a schematic configuration diagram of a data collating apparatus according to an embodiment of the present invention. The
The
図2は、データ照合装置が参照可能な各種データテーブルのデータ構成例(照合前)を示す図である。
図3は、データ照合装置によって更新された各種データテーブルのデータ構成例(照合後)を示す図である。
FIG. 2 is a diagram illustrating a data configuration example (before collation) of various data tables that can be referred to by the data collation apparatus.
FIG. 3 is a diagram illustrating a data configuration example (after verification) of various data tables updated by the data verification device.
<1−1.入金データテーブル11>
入金データテーブル11は、主に取引銀行から送付される振込データから作成されている。入金データテーブル11は、シーケンシャル番号111で特定される複数のレコードを有している。入金データテーブル11の各レコードは、入金日112を記憶するためのフィールドと、振込人名(カナ)113を記憶するためのフィールドと、振込金額114を記憶するためのフィールドと、振込元口座番号115を記憶するためのフィールドと、振込元金融機関コード116を記憶するためのフィールドと、振込元支店コード117を記憶するためのフィールドと、消込情報118を記憶するためのフィールドと、を含んでいる。
<1-1. Deposit Data Table 11>
The deposit data table 11 is created mainly from transfer data sent from a bank. The deposit data table 11 has a plurality of records specified by sequential numbers 111. Each record of the deposit data table 11 includes a field for storing the
入金日112、振込人名(カナ)113及び振込金額114は、銀行振込において通常付加される情報である。これに対し、振込元口座番号115、振込元金融機関コード116及び振込元支店コード117は、銀行振込において任意的に付加される情報(任意情報)であり、これらの任意情報が入金データテーブル11のすべてのレコードに記憶されているとは限らない。
The
消込情報118は、上記実施形態に係るデータ照合装置1により、当該レコードに係る入金データが請求データに対して所定の一致条件を満たすことを確認済か否かを示す情報である。消込情報118としては、例えば、請求データテーブル13のシーケンシャル番号131を特定することにより、入金データが請求データテーブル13の内のどのレコードに対して所定の一致条件を満たしたかを示す情報を記憶する(図3参照)。
或いは、消込情報118として、単に請求データに対して所定の一致条件を満たすことを確認済か否かを示す2値データ(例えば、0又は1)を記憶しても良い。
The
Alternatively, binary data (for example, 0 or 1) indicating whether or not it is confirmed that a predetermined matching condition is satisfied for the billing data may be stored as the
<1−2.顧客データテーブル12>
顧客データテーブル12は、データ照合装置1を使用するユーザの顧客に関する情報を記憶している。顧客データテーブル12は、シーケンシャル番号121で特定される複数のレコードを有している。顧客データテーブル12の各レコードは、顧客ID122を記憶するためのフィールドと、振込人名(カナ)123を記憶するためのフィールドと、振込元口座番号125を記憶するためのフィールドと、振込元金融機関コード126を記憶するためのフィールドと、振込元支店コード127を記憶するためのフィールドと、を含んでいる。
<1-2. Customer Data Table 12>
The customer data table 12 stores information related to the customer of the user who uses the
顧客ID122は、顧客を一意に識別するために付与された文字列である。振込人名(カナ)123は、顧客の名称に基づいてオペレータが入力したものでも良いし、当該顧客からの過去の振込のデータに基づいてオペレータが入力したものでも良い。また、例えば、顧客データテーブル12の第1及び第2レコードに示すように、同一の顧客ID「A001」について複数通りの振込人名「A0」及び「A1」を入力できるようにしても良い。
振込元口座番号125、振込元金融機関コード126及び振込元支店コード127は、当該顧客からの過去の振込においてこれらの任意情報が付加されていた場合に、当該任意情報に基づいて記憶される情報である(図3参照)。入金データテーブル11の振込人名(カナ)113に対応する振込人名(カナ)123が記憶されたレコードが、顧客データテーブル12に複数存在する場合でも、振込元口座番号125、振込元金融機関コード126又は振込元支店コード127に基づいて、顧客を特定できる場合がある。
The transfer
<1−3.請求データテーブル13>
請求データテーブル13は、データ照合装置1を使用するユーザから顧客に送付した請求書の情報を記憶している。請求データテーブル13は、シーケンシャル番号131で特定される複数のレコードを有している。請求データテーブル13の各レコードは、請求日132を記憶するためのフィールドと、顧客ID133を記憶するためのフィールドと、請求金額134を記憶するためのフィールドと、案件情報135を記憶するためのフィールドと、消込情報136を記憶するためのフィールドと、部分入金額137を記憶するためのフィールドと、を含んでいる。
<1-3. Billing data table 13>
The billing data table 13 stores information on bills sent from the user using the
請求日132は、顧客への請求書の日付である。顧客ID133は、顧客データテーブル12の顧客ID122に対応する文字列である。請求金額134は、顧客への請求金額であり、例えば、商品代金、送料及び消費税の合計額が記憶される。或いは、請求の内訳を示す明細を記憶しても良い。案件情報135は、当該請求書の対象となった案件に関する情報であり、例えば、プロジェクト名、顧客側の担当者名等の情報が記憶される。
The
消込情報136は、上記実施形態に係るデータ照合装置1により、当該レコードに係る請求データに対応する顧客からの入金を入金データによって確認済か否かを示す情報である。消込情報136としては、例えば、入金データテーブル11のシーケンシャル番号111を特定することにより、請求データが入金データテーブル11の内のどのレコードに対して所定の一致条件を満たしたかを示す情報を記憶する(図3参照)。
或いは、消込情報136として、単に入金を確認済か否かを示す2値データ(例えば、0又は1)を記憶しても良い。
The
Alternatively, binary data (for example, 0 or 1) indicating whether or not payment has been confirmed may be stored as the
部分入金額137は、当該レコードに係る請求データに対応する顧客からの入金済み金額が、請求金額134の一部のみであって、残りの金額は後日入金される予定である場合に、当該入金済みの金額を示す情報である。例えば、請求データテーブル13の第4レコードに係る請求金額「¥50,000」のうち、¥20,000の入金が入金データによって確認された場合に、当該請求データテーブル13の第4レコードに係る部分入金額137としては、入金された金額「¥20,000」が記憶される。
The
<1−4.入金データ抽出部21>
図1に戻り、入金データ抽出部21は、入金データテーブル11に含まれる各レコードについて、振込人名(カナ)113と、振込金額114と、を抽出する機能を有する。入金データ抽出部21は、入金データテーブル11に含まれる各レコードについて、さらに、振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を抽出することもできる。
なお、入金データテーブル11からのデータの抽出においては、消込処理が済んでいるレコードのデータは抽出しない。
<1-4. Deposit
Returning to FIG. 1, the deposit
Note that in the extraction of data from the deposit data table 11, the data of the record that has been subjected to the application process is not extracted.
<1−5.顧客データ抽出部22>
顧客データ抽出部22は、入金データテーブル11から抽出された振込人名(カナ)113を用いて顧客データテーブル12を検索し、該当するレコードの各々に記憶された顧客ID122を抽出する機能を有する。検索の結果、複数のレコードが該当した場合には、これに対応して複数の顧客ID122を抽出する。
検索の結果、複数のレコードが該当した場合であって、且つ、入金データテーブル11から振込元口座番号115、振込元金融機関コード116又は振込元支店コード117が抽出された場合には、顧客データ抽出部22は、入金データテーブル11から抽出された振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を用いて、顧客データテーブル12の該当するレコードを絞り込んで、顧客ID122を抽出する。
<1-5.
The customer
If a plurality of records are found as a result of the search and the transfer
<1−6.請求データ抽出部23>
請求データ抽出部23は、顧客データテーブル12から抽出された各顧客ID122を用いて請求データテーブル13を検索し、各顧客ID122に対応する各顧客ID133について、該当するレコードの各々に記憶された請求金額134を抽出する機能を有する。顧客データテーブル12から複数の顧客ID122が抽出された場合、或いは、同一顧客に複数件の請求書を送付していた場合には、請求データテーブル13の複数のレコードから請求金額134が抽出される。
なお、請求金額の抽出においては、請求データテーブル13のうち、全額の消込処理が済んでいるレコードの請求金額は抽出しない。また、部分入金額137が記憶されているレコードについては、請求金額134と部分入金額137との差額を、請求金額として抽出する。例えば、請求データテーブル13の第4レコードからは、部分入金額¥20,000を差し引いた¥30,000を、請求金額として抽出する。
<1-6. Billing
The billing
It should be noted that in the billing amount extraction, the billing amount of the record for which the entire amount has been applied in the billing data table 13 is not extracted. For the record in which the
<1−7.合計値算出部24>
合計値算出部24は、請求データテーブル13から抽出された請求金額134を用いて、各顧客ID133について、請求金額134の合計値を算出する機能を有する。
<1-7. Total
The total
<1−8.最小値選出部25>
最小値選出部25は、請求データテーブル13から抽出された請求金額134を用いて、各顧客ID133について、請求金額134の最小値を選出する機能を有する。最小値の選出は、例えば、ある顧客ID133のデータを記憶した複数のレコードのうち、2つのレコードに係る請求金額134を比較し、低額な方の請求金額134を当該顧客ID133の未比較のレコードに係る請求金額134と比較することを、未比較のレコードが無くなるまで繰り返す等、公知の方法によることができる。
<1-8. Minimum
The minimum
<1−9.比較部26>
比較部26は、入金データテーブル11から抽出された振込金額114について、各顧客ID133について請求データテーブル13から抽出された請求金額134と比較して、所定の一致条件を満たす場合には入金データテーブル11及び請求データテーブル13の該当するレコードについて消込処理を行う機能を有する。比較の結果、振込金額114と請求金額134とが所定の一致条件を満たさない場合には、請求データテーブル13から抽出された他の請求金額134と比較する。
<1-9.
The
ここで、振込金額114と請求金額134とを比較した場合に満たすべき所定の一致条件とは、例えば、これらの差額が¥0であるか、振込手数料相当額であるという条件である。例えば、振込手数料として、¥210、¥315、¥420、¥525、¥630、¥735、¥840の7通りが想定される場合に、これらの振込手数料のいずれかを請求金額134から減算した値が振込金額114と等しいときに、所定の一致条件を満たすものとすることができる。
Here, the predetermined matching condition to be satisfied when the
比較部26は、合計値算出部24によって、各顧客ID133について請求金額134の合計値が算出された場合には、当該合計値と振込金額114とを比較する。合計値が振込金額114より小さい場合には、当該顧客IDについての請求金額134と振込金額114との比較をそれ以上行わず、他の顧客IDについての請求金額134と振込金額114とを比較する。
When the total
比較部26は、最小値選出部25によって、各顧客ID133について請求金額134の最小値が選出された場合には、当該最小値と振込金額114とを比較する。最小値が振込金額114より大きい場合には、当該顧客IDについての請求金額134と振込金額114との比較をそれ以上行わず、他の顧客IDについての請求金額134と振込金額114とを比較する。
When the minimum
比較部26は、入金データテーブル11の振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を、顧客データテーブル12に記憶させる。
The
<1−10.出力部27>
出力部27は、顧客データ抽出部22において、該当するレコードがまったく存在しなかった場合に、結果の出力や、顧客リストの出力を行う。
また、出力部27は、比較部26において、振込金額114に対して所定の一致条件を満たす請求金額134を記憶したレコードが複数存在した場合、或いは、まったく存在しなかった場合に、結果の出力や、請求データの消込候補リストの出力を行う。
<1-10.
The
In addition, the
<1−11.入力部28>
入力部28は、出力部27によって出力された顧客リストや消込候補リストの中から、オペレータの操作による顧客や請求データの指定を受付ける。
<1-11.
The
<2.データ照合装置の動作>
図4は、上記実施形態に係るデータ照合装置の動作例を示すフローチャートである。データ照合装置1は、上述の入金データ抽出部21、顧客データ抽出部22、請求データ抽出部23、合計値算出部24、最小値選出部25、比較部26の各機能を実現するプログラムの各モジュールをコンピュータ読み取り可能な記憶媒体から読み出して実行することにより、以下の各ステップの処理を行う。
<2. Operation of data verification device>
FIG. 4 is a flowchart showing an operation example of the data collating apparatus according to the embodiment. The
<2−1.S1>
まず、入金データ抽出部21が、入金データテーブル11に含まれる1つのレコードから、振込人名(カナ)113と振込金額114とを抽出する(S1)。
例えば、図2において、入金データテーブル11の第1レコードから入金データを抽出する場合には、振込人名(カナ)113として「A0」を、振込金額114として「¥90,000」を抽出する。
また、入金データテーブル11の第2レコードから入金データを抽出する場合には、振込人名(カナ)113として「B」を、振込金額114として「¥39,580」を抽出する。
<2-1. S1>
First, the deposit
For example, in FIG. 2, when deposit data is extracted from the first record of the deposit data table 11, “A0” is extracted as the transfer person name (Kana) 113 and “¥ 90,000” is extracted as the
In addition, when extracting the deposit data from the second record of the deposit data table 11, “B” is extracted as the transfer person name (kana) 113 and “¥ 39,580” is extracted as the
<2−2.S2>
次に、顧客データ抽出部22が、入金データテーブル11から抽出された振込人名(カナ)113を用いて顧客データテーブル12を検索する(S2)。
<2-2. S2>
Next, the customer
<2−3.S3>
S2において、振込人名(カナ)113を用いて顧客データテーブル12を検索した結果、該当するレコードが1つであった場合には、顧客が1つに特定される。そこで、顧客データ抽出部22が、当該レコードに記憶された顧客ID122を抽出する(S3)。
例えば、入金データテーブル11から振込人名(カナ)113として「A0」を抽出した場合には、顧客データテーブル12の第1レコードから、顧客ID122として「A001」が抽出される。
<2-3. S3>
In S <b> 2, when the customer data table 12 is searched using the transfer person name (kana) 113, if there is one corresponding record, one customer is specified. Therefore, the customer
For example, when “A0” is extracted as the transfer person name (kana) 113 from the deposit data table 11, “A001” is extracted as the
<2−4.S4>
S2において、振込人名(カナ)113を用いて顧客データテーブル12を検索した結果、該当するレコードが複数であった場合には、入金データ抽出部21が、入金データテーブル11の上記レコードに、振込元口座番号115、振込元金融機関コード116及び振込元支店コード117等の任意情報が記憶されているか否かを判定する(S4)。
<2-4. S4>
In S <b> 2, when the customer data table 12 is searched using the transfer person name (kana) 113 and there are a plurality of corresponding records, the deposit
<2−5.S5>
S4において、入金データテーブル11に任意情報が記憶されていない場合には、顧客データ抽出部22が、顧客データテーブル12の該当する複数のレコードに記憶された顧客ID122を抽出する(S5)。
例えば、入金データテーブル11から振込人名(カナ)113として「B」を抽出した場合には、顧客データテーブル12の第3〜第5レコードから、顧客ID122として「B001」、「B002」、「B003」の3つが抽出される。
なお、S5において抽出される顧客ID122の数をI個とし、以下の説明において各顧客IDを自然数i(但し、iの最大値は2以上の整数I)によって識別する。
<2-5. S5>
In S4, when arbitrary information is not memorize | stored in the payment data table 11, the customer
For example, when “B” is extracted as the transfer person name (kana) 113 from the deposit data table 11, “B001”, “B002”, “B003” as the
Note that the number of
<2−6.S6>
S4において、入金データテーブル11に任意情報が記憶されている場合には、入金データ抽出部21が当該任意情報を抽出し、当該任意情報を用いて、顧客データ抽出部22が顧客データテーブル12の該当するレコードの絞り込みを行う(S6)。
<2-6. S6>
In S <b> 4, when arbitrary information is stored in the deposit data table 11, the deposit
S6において、任意情報を用いた絞り込みの結果、1つのレコードに絞り込まれた場合には、顧客データ抽出部22が、当該レコードに記憶された顧客ID122を抽出する(S3)。ここで1つのレコードに絞り込まれる場合の例としては、入金データテーブル11に記憶されている振込元口座番号115と同一の振込元口座番号125が顧客データテーブル12に記憶されていた場合が考えられる。
In S6, when narrowing down to one record as a result of narrowing down using arbitrary information, the customer
S6において、任意情報を用いた絞り込みの結果、より少ない複数のレコードに絞り込まれた場合、或いは、絞り込みができなかった場合には、顧客データ抽出部22が、顧客データテーブル12の該当する複数のレコードに記憶された顧客ID122を抽出する(S5)。より少ない複数のレコードに絞り込まれる場合の例としては、入金データテーブル11に記憶されている振込元金融機関コード116又はこれと振込元支店コード117と同一のデータが顧客データテーブル12の複数のレコードに記憶されている場合が考えられる。絞り込みができない場合の例としては、顧客データテーブル12に振込元口座番号125、振込元金融機関コード126及び振込元支店コード127等の任意情報が記憶されていない場合が考えられる。
In S6, as a result of narrowing down using arbitrary information, if narrowed down to a plurality of records, or if narrowing down is not possible, the customer
<2−7.S7>
S6において、任意情報を用いた絞り込みの結果、該当するレコードがなくなってしまった場合には、顧客データ抽出部22が、結果の出力及び顧客リストの出力をするよう出力部27を制御する(S7)。該当するレコードがなくなってしまう場合の例としては、顧客データテーブル12に記憶されている任意情報のデータが古く、顧客の取引銀行の情報を正確に反映していなかった場合が考えられる。
<2-7. S7>
In S6, when there is no corresponding record as a result of narrowing down using arbitrary information, the customer
出力部27によって出力する顧客リストとしては、例えば、S2における振込人名(カナ)113を用いた顧客データテーブル12の検索結果を出力しても良いし、全顧客リストを出力しても良い。オペレータが入力部28の操作によって顧客リストの中の1つの顧客を指定した場合には、顧客データ抽出部22が、当該顧客の顧客ID122を抽出する(S3)。また、オペレータが、入力部28の操作によって顧客リストの中の複数の顧客を指定できるようにして、顧客データ抽出部22が、当該複数の顧客の顧客ID122を抽出するようにしても良い(S5)。
As the customer list output by the
<2−8.S8>
S2において、振込人名(カナ)113を用いて顧客データテーブル12を検索した結果、該当するレコードが存在しなかった場合には、顧客データ抽出部22が、結果の出力及び顧客リストの出力をするよう出力部27を制御する(S8)。顧客リストとしては、例えば、全顧客リストを出力する。オペレータが入力部28の操作によって顧客リストの中の1つの顧客を指定した場合には、顧客データ抽出部22が、当該顧客の顧客ID122を抽出する(S3)。また、オペレータが、入力部28の操作によって顧客リストの中の複数の顧客を指定できるようにして、顧客データ抽出部22が、当該複数の顧客の顧客ID122を抽出するようにしても良い(S5)。
<2-8. S8>
In S2, when the customer data table 12 is searched using the transfer person name (kana) 113 and the corresponding record does not exist, the customer
<2−9.S100>
S3により、顧客データ抽出部22によって顧客ID122が1つ抽出された場合には、請求データ抽出部23が、当該顧客ID122に対応する顧客ID133についての請求金額134を抽出し、合計値算出部24が、当該顧客ID133について、請求金額134の合計値を算出し、比較部26が、これらの請求金額134と振込金額114とを比較する(S100)。この処理の詳細は後述する。
<2-9. S100>
When one
<2−10.S200>
S5により、顧客データ抽出部22によって顧客ID122が複数抽出された場合には、請求データ抽出部23が、各顧客ID122に対応する各顧客ID133についての請求金額134を抽出し、合計値算出部24が、各顧客ID133について、請求金額134の合計値を算出し、最小値選出部25が、各顧客ID133について、請求金額134の最小値を選出し、比較部26が、これらの請求金額134と振込金額114とを比較する(S200)。この処理の詳細は後述する。
<2-10. S200>
When a plurality of
<2−11.S9>
S100又はS200により、振込金額114を請求金額134と比較し、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定された場合には、比較部26は、入金データテーブル11及び請求データテーブル13の該当するレコードについて消込処理を行う(S9)。
消込処理は、例えば、入金データテーブル11に消込情報118を記憶させるとともに、請求データテーブル13に消込情報136を記憶させることにより行う。
<2-11. S9>
When the
The application process is performed, for example, by storing
例えば、S100において、入金データテーブル11の第1レコードに係る入金データが、請求データテーブル13の第1及び第2レコードに係る請求データに対応することが確認された場合には、図3に示すように、当該入金データテーブル11の第1レコードに係る消込情報118として、対応する請求データテーブル13のシーケンシャル番号「1、2」を記憶させる。また、請求データテーブル13の第1及び第2レコードに係る消込情報136として、入金データテーブル11のシーケンシャル番号「1」を記憶させる。
For example, in S100, when it is confirmed that the deposit data related to the first record in the deposit data table 11 corresponds to the bill data related to the first and second records in the bill data table 13, as shown in FIG. As described above, the sequential number “1, 2” of the corresponding billing data table 13 is stored as the
また、S200において、入金データテーブル11の第2レコードに係る入金データが、請求データテーブル13の第7及び第8レコードに係る請求データに対応することが確認された場合には、図3に示すように、当該入金データテーブル11の第2レコードに係る消込情報118として、対応する請求データテーブル13のシーケンシャル番号「7、8」を記憶させる。また、請求データテーブル13の第7及び第8レコードに係る消込情報136として、入金データテーブル11のシーケンシャル番号「2」を記憶させる。
In S200, when it is confirmed that the deposit data related to the second record of the deposit data table 11 corresponds to the bill data related to the seventh and eighth records of the bill data table 13, as shown in FIG. As described above, the sequential number “7, 8” of the corresponding billing data table 13 is stored as the
<2−12.S10>
比較部26は、(a)入金データテーブル11の消込処理を行うレコードに、振込元口座番号115、振込元金融機関コード116又は振込元支店コード117が記憶されている場合であって、且つ、(b1)顧客データテーブル12の該当レコードに振込元口座番号125、振込元金融機関コード126又は振込元支店コード127が記憶されておらず、或いは(b2)入金データテーブル11のデータと異なっている場合には、顧客データテーブル12の該当レコードに、入金データテーブル11の振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を記憶させる(S10)。
ここで顧客データテーブル12の該当レコードとは、請求データテーブル13の消込処理を行うレコードに記憶された顧客ID133に対応する顧客ID122のデータが記憶された顧客データテーブル12のレコードを意味する。そのような該当レコードが複数存在する場合には、さらに、入金データテーブル11の消込処理を行うレコードに記憶された振込人名(カナ)113に対応する振込人名(カナ)123のデータが記憶された顧客データテーブル12のレコードに限定しても良い。
<2-12. S10>
The comparison unit 26 (a) is a case where the transfer
Here, the corresponding record in the customer data table 12 means a record in the customer data table 12 in which the data of the
例えば、請求データテーブル13の消込処理を行う第1及び第2レコードに顧客ID133として「A001」が記憶されており、これに対応する顧客ID122が顧客データテーブル12の第1及び第2レコードに記憶されている。さらに、入金データテーブル11の消込処理を行う第1レコードに振込人名(カナ)113として「A0」が記憶されており、これに対応する振込人名(カナ)123が顧客データテーブル12の第1レコードに記憶されている。そこで、図3に示すように、顧客データテーブル12の第1レコードに、入金データテーブル11の消込処理を行う第1レコードに記憶された振込元口座番号「1234567」、振込元金融機関コード「0003」及び振込元支店コード「246」を記憶させる。
For example, “A001” is stored as the
S10の処理により、その後に顧客データ抽出部22による振込人名(カナ)113を用いた検索において顧客データテーブル12の複数のレコードが該当した場合には、振込元口座番号115、振込元金融機関コード116又は振込元支店コード117による絞り込みが可能となる。
なお、S10の処理は、振込元口座番号115、振込元金融機関コード116及び振込元支店コード117等の任意情報を用いた絞り込みの結果、1つのレコードに絞り込めなかった場合(S6からS5又はS7に遷移した場合)に行うこととしても良い。
If a plurality of records in the customer data table 12 correspond to a subsequent search using the transfer person name (kana) 113 by the customer
It should be noted that the processing of S10 is not possible when narrowing down to one record as a result of narrowing down using arbitrary information such as the transfer
<3.S100の詳細>
図5は、図4のS3において顧客IDが1つ抽出された場合のマッチング処理の詳細を示すフローチャートである。
<3. Details of S100>
FIG. 5 is a flowchart showing details of the matching process when one customer ID is extracted in S3 of FIG.
<3−1.S102>
図4のS3により、顧客データ抽出部22によって顧客ID122が1つ抽出された場合には、請求データ抽出部23が、当該顧客ID122に対応する顧客ID133を用いて請求データテーブル13を検索し、当該顧客ID133について、該当するレコードの各々に記憶された請求金額134を抽出する(S102)。同一顧客に複数の請求書を送付していた場合には、請求データテーブル13の複数のレコードから請求金額134が抽出される。
<3-1. S102>
When one
<3−2.S103>
次に、合計値算出部24が、請求データテーブル13から抽出された請求金額134を用いて、当該顧客ID133について、請求金額134の合計値を算出する(S103)。
<3-2. S103>
Next, the total
<3−3.S104、S105>
次に、比較部26が、合計値算出部24によって算出された請求金額134の合計値と振込金額114とを比較する(S104)。
<3-3. S104, S105>
Next, the
請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。
When the total value of the
請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、エラー情報を出力して(S105)、S100の処理を終了する。或いは、図4のS8に戻って顧客の選択をやり直す。
If the total amount of the
請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての一部の請求データに関する入金データであると考えられるので、次のS109に進んで当該顧客ID133についての請求金額134との比較を続ける。
If the total value of the
<3−4.S109>
請求金額134の合計値が振込金額114より大きかった場合には、合計値算出部24が、当該顧客ID133について、未だ部分入金されていない請求データに限定して請求金額134の合計値を算出する(S109)。例えば、請求データテーブル13の第4レコードのように部分入金されている請求データは、ここでは除外して合計値を算出する。部分入金されている請求データとのマッチングは、自動処理になじまない場合があるからである。
<3-4. S109>
If the total value of the
<3−5.S110、S111>
次に、比較部26が、合計値算出部24によって算出された(部分入金されていない請求データの)請求金額134の合計値と振込金額114とを比較する(S110)。
<3-5. S110, S111>
Next, the
請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。
When the total value of the
請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、エラー情報を出力して(S111)、S100の処理を終了する。或いは、図4のS8に戻って顧客の選択をやり直す。
If the total value of the
請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についてのさらに一部の請求データに関する入金データであると考えられるので、次のS112に進んで当該顧客ID133についての請求金額134との比較を続ける。
If the total value of the
<3−6.S112、S113>
請求金額134の合計値が振込金額114より大きかった場合には、比較部26が、当該顧客ID133についての(未だ部分入金されていない請求データの)請求金額134と振込金額114とを、請求データテーブル13のレコードごとに(請求書単位で)比較する(S112)。
請求金額134が振込金額114に対して所定の一致条件を満たすようなレコードがある場合には、比較部26は、当該レコードに係るシーケンシャル番号131を、所定の記憶装置に一致データとして記憶させる(S113)。
<3-6. S112, S113>
When the total value of the
When there is a record in which the charged
<3−7.S114、S115>
次に、合計値算出部24が、当該顧客ID133について、案件情報135ごとの(未だ部分入金されていない請求データの)請求金額134の合計値を算出し、比較部26が、算出された案件情報135ごとの請求金額134の合計値と振込金額114とを比較する(S114)。
請求金額134の合計値が振込金額114に対して所定の一致条件を満たすような案件情報135がある場合には、比較部26は、当該案件情報135を記憶したレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させる(S115)。
<3-7. S114, S115>
Next, the total
When there is
例えば、請求データテーブル13の第1〜第3レコードに示されるように、顧客ID「A001」に対する請求金額の合計値は¥130,000、最小値は¥30,000、レコードごとの請求金額は¥60,000、¥30,000、¥40,000であり、いずれも、入金データテーブル11の第1レコードに係る振込金額「¥90,000」とは一致しないが、案件情報135として「U」を記憶した第1及び第2レコードに係る請求金額の合計値は¥90,000であり、振込金額と一致する。従って、所定の一致条件を満たすものとして、案件情報135として「U」を記憶したレコードに係るシーケンシャル番号「1、2」の組を一致データとして記憶させる。
For example, as shown in the first to third records of the billing data table 13, the total billing amount for the customer ID “A001” is ¥ 130,000, the minimum value is ¥ 30,000, the billing amount for each record is ¥ 60,000, ¥ 30,000 and ¥ 40,000, both of which do not match the transfer amount “¥ 90,000” associated with the first record of the deposit data table 11, but are associated with the first and second records storing “U” as the
<3−8.S118>
次に、比較部26は、上述のS113及びS115の処理において記憶された一致データを参照し、一致データの数を判定する(S118)。
一致データが1つであれば、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。
<3-8. S118>
Next, the
If there is one matching data, one record (one set) of the billing data table 13 satisfying a predetermined matching condition for the above record in the deposit data table 11 is specified, so the processing of S100 Exit.
<3−9.S119>
一致データが複数ある場合、又は、一致データがない場合には、比較部26は、結果の出力及び請求データの消込候補リストの出力をするよう出力部27を制御する(S119)。消込候補リストとしては、例えば、一致データが複数ある場合に、請求データテーブル13のうち当該一致データに該当する複数のレコードの組を出力する。或いは、一致データがない場合に、請求データテーブル13のうち当該顧客ID133についてのすべてのレコードを出力する。
<3-9. S119>
If there is a plurality of matching data, or if there is no matching data, the
また、請求データテーブル13の当該顧客ID133についてのレコードに、部分入金額137のデータが記憶されている場合には、比較部26は、当該顧客ID133についてのレコードのうち、部分入金額137のデータを記憶したすべてのレコードを消込候補リストとして出力するよう出力部27を制御しても良い。S109〜S114の処理において、部分入金されている請求データが除外されていたためである。
Further, when the data for the
オペレータが入力部28の操作によって消込候補リストの中の1つ(1組)を指定した場合には、請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。また、オペレータが、消込候補リストからの指定をせずに、図4のS8に戻って顧客の選択をやり直せるようにしても良い。
When the operator designates one (one set) in the application candidate list by operating the
なお、上述の比較処理において、既に終了した比較処理と同一の請求金額を比較対象とする場合は、比較処理を省略しても良い。例えば、当該顧客について部分入金額137のデータを有するレコードがない場合には、S109及び110の比較処理は、既に終了したS103及びS104の比較処理と同一の請求金額を比較対象とするので、省略しても良い。
In the comparison process described above, the comparison process may be omitted if the same billing amount as that of the already completed comparison process is used as a comparison target. For example, if there is no record having the data of the
<4.S200の詳細>
図6は、図4のS5において顧客IDが複数(I個)抽出された場合のマッチング処理の詳細を示すフローチャートである。
<4. Details of S200>
FIG. 6 is a flowchart showing details of the matching process when a plurality (I) of customer IDs are extracted in S5 of FIG.
<4−1.S201>
図4のS5により、顧客データ抽出部22によって顧客ID122が複数抽出された場合には、I個の顧客IDのそれぞれについて請求金額134と振込金額114とを比較するため、まず、各顧客ID122に対応する各顧客ID133を識別する自然数iを1にセットする(S201)。
以下のS202〜S216の処理は、自然数iで特定される1つの顧客IDについて行い、S217において自然数iに1を加えるごとに、次の顧客IDについて同じ処理を繰り返す。例えば、i=1のときは顧客ID「B001」、i=2のときは顧客ID「B002」、i=3のときは顧客ID「B003」について、S202〜S216の処理を行う。
<4-1. S201>
When a plurality of
The following processes in S202 to S216 are performed for one customer ID specified by the natural number i, and the same process is repeated for the next customer ID every
<4−2.S202>
S202において、請求データ抽出部23が、自然数iによって識別される当該顧客ID133を用いて請求データテーブル13を検索し、当該顧客ID133について、該当するレコードの各々に記憶された請求金額134を抽出する。同一顧客に複数の請求書を送付していた場合には、請求データテーブル13の複数のレコードから請求金額134が抽出される。
<4-2. S202>
In S202, the billing
<4−3.S203>
次に、合計値算出部24が、請求データテーブル13から抽出された請求金額134を用いて、当該顧客ID133について、請求金額134の合計値を算出する(S203)。
<4-3. S203>
Next, the total
<4−4.S204、S205>
次に、比較部26が、合計値算出部24によって算出された請求金額134の合計値と振込金額114とを比較する(S204)。
<4-4. S204, S205>
Next, the
請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、請求データテーブル13のうち当該顧客ID133が記憶されたレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させ(S205)、当該顧客ID133についての比較を終了して後述のS216に進む。
When the total value of the
請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、当該顧客ID133についての比較を終了して後述のS216に進む。
例えば、請求データテーブル13の第4レコードに示されるように、顧客ID「B001」に対する請求金額(部分入金額との差額)の合計値が¥30,000の場合に、入金データテーブル11の第2レコードに係る振込金額「¥39,580」の入金がなされることは通常考えられないので、当該顧客ID133についての比較を終了する。
If the total amount of the
For example, as shown in the fourth record of the billing data table 13, when the total value of the billing amount (difference from the partial deposit amount) for the customer ID “B001” is ¥ 30,000, the second record of the deposit data table 11 Since the transfer amount “¥ 39,580” related to is not normally considered, the comparison for the
請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての一部の請求データに関する入金データである可能性があるので、次のS206に進んで当該顧客ID133についての請求金額134との比較を続ける。
If the total value of the
<4−5.S206>
次に、最小値選出部25が、請求データテーブル13から抽出された請求金額134を用いて、当該顧客ID133について、請求金額134の最小値を選出する(S206)。
<4-5. S206>
Next, the minimum
<4−6.S207、S208>
次に、比較部26が、最小値選出部25によって選出された請求金額134の最小値と振込金額114とを比較する(S207)。
<4-6. S207, S208>
Next, the
請求金額134の最小値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブルのレコードが、当該最小値を記憶したレコードに特定されたことになるので、当該最小値を記憶したレコードに係るシーケンシャル番号131を、所定の記憶装置に一致データとして記憶させ(S208)、当該顧客ID133についての比較を終了して後述のS216に進む。
When the minimum value of the
請求金額134の最小値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、当該顧客ID133についての比較を終了して後述のS216に進む。
例えば、請求データテーブル13の第5レコードに示されるように、顧客ID「B002」に対する請求金額の最小値が「¥90,000」の場合に、入金データテーブル11の第2レコードに係る振込金額「¥39,580」の入金がなされることは(部分入金でない限り)考えられないので、当該顧客ID133についての比較を終了する。
When the minimum value of the
For example, as shown in the fifth record of the billing data table 13, when the minimum value of the billing amount for the customer ID “B002” is “¥ 90,000”, the transfer amount “¥” related to the second record of the deposit data table 11 Since it is unlikely that “39,580” will be deposited (unless it is a partial deposit), the comparison for the
請求金額134の最小値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての他の請求データに関する入金データである可能性があるので、次のS209に進んで当該顧客ID133についての請求金額134との比較を続ける。
When the minimum value of the
<4−7.S209>
請求金額134の最小値が振込金額114より小さかった場合には、合計値算出部24が、当該顧客ID133について、未だ部分入金されていない請求データに限定して請求金額134の合計値を算出する(S209)。
<4-7. S209>
When the minimum value of the
<4−8.S210、S211>
次に、比較部26が、合計値算出部24によって算出された(部分入金されていない請求データの)請求金額134の合計値と振込金額114とを比較する(S210)。
<4-8. S210, S211>
Next, the
請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、請求データテーブル13のうち当該顧客ID133が記憶されたレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させ(S211)、当該顧客ID133についての比較を終了して後述のS216に進む。
When the total value of the
請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、当該顧客ID133についての比較を終了して後述のS216に進む。
If the total amount of the
請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についてのさらに一部の請求データに関する入金データである可能性があるので、次のS212に進んで当該顧客ID133についての請求金額134との比較を続ける。
If the total value of the
<4−9.S212、S213>
次に、比較部26が、当該顧客ID133についての(未だ部分入金されていない請求データの)請求金額134と振込金額114とを、請求データテーブル13のレコードごとに(請求書単位で)比較する(S212)。
請求金額134が振込金額114に対して所定の一致条件を満たすようなレコードがある場合には、比較部26は、当該レコードに係るシーケンシャル番号131を、所定の記憶装置に一致データとして記憶させる(S213)。
<4-9. S212, S213>
Next, the
When there is a record in which the charged
<4−10.S214、S215>
次に、合計値算出部24が、当該顧客ID133について、案件情報135ごとの(未だ部分入金されていない請求データの)請求金額134の合計値を算出し、比較部26が、算出された案件情報135ごとの請求金額134の合計値と振込金額114とを比較する(S214)。
請求金額134の合計値が振込金額114に対して所定の一致条件を満たすような案件情報135がある場合には、比較部26は、当該案件情報135を記憶したレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させる(S215)。
<4-10. S214, S215>
Next, the total
When there is
例えば、請求データテーブル13の第6〜第8レコードに示されるように、顧客ID「B003」に対する請求金額の合計値は¥60,000、最小値は¥20,000、レコードごとの請求金額はそれぞれ¥20,000であり、いずれも、入金データテーブル11の第2レコードに係る振込金額「¥39,580」とは一致しないが、案件情報135として「Z」を記憶した第7及び第8レコードに係る請求金額の合計値は¥40,000であり、この¥40,000から振込手数料¥420を減算した値が振込金額「¥39,580」と一致する。従って、所定の一致条件を満たすものとして、案件情報135として「Z」を記憶したレコードに係るシーケンシャル番号「7、8」の組を一致データとして記憶させる。
以上で当該顧客ID133についての比較を終了し、S216に進む。
For example, as shown in the sixth to eighth records of the billing data table 13, the sum of the billing amount for the customer ID “B003” is ¥ 60,000, the minimum value is ¥ 20,000, and the billing amount for each record is ¥ 20,000. Yes, both are not the same as the transfer amount “¥ 39,580” related to the second record of the deposit data table 11, but the total value of the charged amounts related to the seventh and eighth records storing “Z” as the
This completes the comparison for the
<4−11.S216、S217>
S216においては、各顧客IDを識別する自然数iが最大値Iに達しているか否かを判定する。
自然数iが最大値Iに達している場合には、顧客データ抽出部22によって抽出されたすべての顧客ID122に対応する顧客ID133について請求金額134と振込金額114との比較が終了したことになるので、S218に進む。
自然数iが最大値Iに達していない場合には、次の顧客ID133について請求金額134と振込金額114とを比較するため、自然数iに1を加えて(S217)、上述のS202〜S216の処理を繰り返す。
<4-11. S216, S217>
In S216, it is determined whether or not the natural number i for identifying each customer ID has reached the maximum value I.
When the natural number i has reached the maximum value I, the comparison between the
When the natural number i has not reached the maximum value I, the
<4−12.S218>
S218において、比較部26は、上述のS205、S208、S211、S213、S215の処理において記憶された一致データを参照し、一致データの数を判定する。
一致データが1つであれば、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S200の処理を終了する。
<4-12. S218>
In S218, the
If there is only one matching data, one record (one set) of the billing data table 13 satisfying a predetermined matching condition with respect to the above record in the deposit data table 11 is specified. Exit.
<4−13.S219>
一致データが複数ある場合、又は、一致データがない場合には、比較部26は、結果の出力及び請求データの消込候補リストの出力をするよう出力部27を制御する(S219)。消込候補リストとしては、例えば、一致データが複数ある場合に、請求データテーブル13のうち当該一致データに該当する複数のレコードの組を出力する。
<4-13. S219>
If there is a plurality of matching data, or if there is no matching data, the
オペレータが入力部28の操作によって消込候補リストの中の1つ(1組)を指定した場合には、請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S200の処理を終了する。
When the operator designates one (one set) in the application candidate list by operating the
なお、上述の比較処理において、既に終了した比較処理と同一の請求金額を比較対象とする場合は、比較処理を省略しても良い。例えば、当該顧客について部分入金額137のデータを有するレコードがない場合には、S209及びS210の比較処理は、既に終了したS203及びS204の比較処理と同一の請求金額を比較対象とするので、省略しても良い。
In the comparison process described above, the comparison process may be omitted if the same billing amount as that of the already completed comparison process is used as a comparison target. For example, when there is no record having the data of the
<5.上記実施形態による効果>
上記実施形態によれば、入金データの振込人名に該当する顧客が複数存在する場合でも(S5)、入金データテーブル11から抽出された振込金額114のデータと、各顧客IDについて請求データテーブル13から抽出された請求金額134のデータとを比較し(S202〜S216)、振込金額114のデータに対して所定の一致条件を満たす請求金額134のデータがない場合には他の顧客IDについて抽出された請求金額134のデータと比較することによって(S217)、顧客を特定できるので、入金データと請求データとの照合を効率的に行うことができる。
<5. Effect of the above embodiment>
According to the above embodiment, even when there are a plurality of customers corresponding to the transfer person name of the deposit data (S5), the
また、上記実施形態によれば、合計値算出部24によって算出された合計値と振込金額114とを比較し(S204、S210)、合計値が振込金額114より小さい場合に、個別の請求金額134との比較をすることなく当該顧客IDについての比較を終了するので、比較処理を簡素化することができる。
In addition, according to the above embodiment, the total value calculated by the total
また、上記実施形態によれば、最小値選出部25によって選出された最小値と振込金額114とを比較し(S207)、最小値が振込金額114より大きい場合に、個別の請求金額134との比較をすることなく当該顧客IDについての比較を終了するので、比較処理を簡素化することができる。
Further, according to the above embodiment, the minimum value selected by the minimum
また、上記実施形態によれば、振込人名に基づいた検索によって複数の顧客が該当した場合でも、振込元の金融機関コード、支店コード又は口座番号に基づいて顧客IDの絞り込みをすることができる(S6)。 Moreover, according to the said embodiment, even when a some customer corresponds by the search based on a transfer person name, customer ID can be narrowed down based on the financial institution code, branch code, or account number of the transfer origin ( S6).
また、上記実施形態によれば、振込元の金融機関コード、支店コード又は口座番号を顧客データテーブル12に記憶させるので(S10)、以後の絞り込みを容易にすることができる。 Further, according to the above embodiment, since the transfer source financial institution code, branch code or account number is stored in the customer data table 12 (S10), subsequent narrowing down can be facilitated.
1…データ照合装置、11…入金データテーブル、12…顧客データテーブル、13…請求データテーブル、21…入金データ抽出部、22…顧客データ抽出部、23…請求データ抽出部、24…合計値算出部、25…最小値選出部、26…比較部、27…出力部、28…入力部、111…シーケンシャル番号、112…入金日、113…振込人名(カナ)、114…振込金額、115…振込元口座番号、116…振込元金融機関コード、117…振込元支店コード、118…消込情報、121…シーケンシャル番号、122…顧客ID、123…振込人名(カナ)、125…振込元口座番号、126…振込元金融機関コード、127…振込元支店コード、131…シーケンシャル番号、132…請求日、133…顧客ID、134…請求金額、135…案件情報、136…消込情報、137…部分入金額
DESCRIPTION OF
Claims (5)
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、振込人名のデータを記憶するためのフィールドと、を含む顧客データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、請求金額のデータを記憶するためのフィールドと、を含む請求データテーブルと、
を参照して、入金データと請求データとを照合する装置であって、
前記入金データテーブルに含まれる1つのレコードについて、振込人名のデータと振込金額のデータとを抽出する入金データ抽出手段と、
前記入金データテーブルから抽出された振込人名のデータを用いて前記顧客データテーブルを検索し、該当するレコードに記憶された顧客IDのデータを抽出する顧客データ抽出手段と、
前記顧客データテーブルから抽出された顧客IDのデータを用いて前記請求データテーブルを検索し、顧客IDについて、該当するレコードに記憶された請求金額のデータを抽出する請求データ抽出手段と、
前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて請求金額の最小値を選出する最小値選出手段と、
前記顧客データテーブルから前記顧客IDのデータが抽出された場合において、前記入金データテーブルから抽出された振込金額のデータと、前記顧客IDについて選出された請求金額の最小値と、を比較して、
前記請求金額の最小値が前記振込金額より小さい場合には、前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて請求金額の合計値を算出し、
前記入金データテーブルから抽出された振込金額と、顧客IDについて算出された請求金額の合計値とを比較し、一致する場合に、該当するレコードの消込処理を行う手段と、
を具備するデータ照合装置。 A deposit data table including a plurality of records, a field for storing the transfer person name data, and a field for storing the transfer amount data for each record;
A customer data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing transfer name data;
A billing data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing billing amount data;
, A device for verifying the deposit data and the billing data,
Payment data extraction means for extracting the transfer person name data and the transfer amount data for one record included in the payment data table;
A customer data extracting means for searching the customer data table using the transfer person name data extracted from the deposit data table, and extracting the data of the customer ID stored in the corresponding record;
A billing data extracting means for searching the billing data table using customer ID data extracted from the customer data table, and extracting billing amount data stored in a corresponding record for the customer ID;
Minimum value selecting means for selecting the minimum value of the billing amount for the customer ID using the billing amount data extracted from the billing data table;
When the data of the customer ID is extracted from the customer data table, the transfer amount data extracted from the deposit data table is compared with the minimum value of the billing amount selected for the customer ID,
When the minimum value of the charge amount is smaller than the transfer amount, the charge amount data extracted from the charge data table is used to calculate the total value of the charge amount for the customer ID ,
A means for comparing the transfer amount extracted from the deposit data table with the total amount of the billing amount calculated for the customer ID, and performing a corresponding record application process if they match,
A data collating apparatus comprising:
前記消込処理を行う手段において、前記請求金額の合計値が前記振込金額より大きい場合には、前記合計値算出手段が、当該顧客IDについて、案件情報ごとの請求金額の合計値を算出し、算出された案件情報ごとの請求金額の合計値と前記振込金額とを比較し、前記案件情報ごとの請求金額の合計値が前記振込金額に対して一致するような案件情報がある場合に、当該一致する案件情報のレコードの消込処理を行う、データ照合装置。 In claim 1,
In the means for performing the application process, when the total value of the charged amount is larger than the transfer amount, the total value calculating unit calculates the total value of the charged amount for each item information for the customer ID, When the total value of the calculated billing amount for each item information is compared with the transfer amount, and there is item information such that the total value of the charged amount for each item information matches the transfer amount, A data verification device that performs the process of clearing records of matching item information.
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、振込人名のデータを記憶するためのフィールドと、を含む顧客データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、請求金額のデータを記憶するためのフィールドと、を含む請求データテーブルと、
を参照して、入金データと請求データとを照合する装置であって、
前記入金データテーブルに含まれる1つのレコードについて、振込人名のデータと振込金額のデータとを抽出する入金データ抽出手段と、
前記入金データテーブルから抽出された振込人名のデータを用いて前記顧客データテーブルを検索し、該当するレコードに記憶された顧客IDのデータを抽出する顧客データ抽出手段と、
前記顧客データテーブルから抽出された顧客IDのデータを用いて前記請求データテーブルを検索し、顧客IDについて、該当するレコードに記憶された請求金額のデータを抽出する請求データ抽出手段と、
前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて請求金額の最小値を選出する最小値選出手段と、
前記顧客データテーブルから前記顧客IDのデータが抽出された場合において、前記入金データテーブルから抽出された振込金額のデータと、前記顧客IDについて選出された請求金額の最小値と、を比較して、
前記請求金額の最小値が前記振込金額より小さい場合には、前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて案件情報ごとの請求金額の合計値を算出し、
前記入金データテーブルから抽出された振込金額と、顧客IDについて算出された案件情報ごとの請求金額の合計値とを比較し、一致する場合に、該当する案件情報のレコードの消込処理を行う手段と、
を具備するデータ照合装置。 A deposit data table including a plurality of records, a field for storing the transfer person name data, and a field for storing the transfer amount data for each record;
A customer data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing transfer name data;
A billing data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing billing amount data;
, A device for verifying the deposit data and the billing data,
Payment data extraction means for extracting the transfer person name data and the transfer amount data for one record included in the payment data table;
A customer data extracting means for searching the customer data table using the transfer person name data extracted from the deposit data table, and extracting the data of the customer ID stored in the corresponding record;
A billing data extracting means for searching the billing data table using customer ID data extracted from the customer data table, and extracting billing amount data stored in a corresponding record for the customer ID;
Minimum value selecting means for selecting the minimum value of the billing amount for the customer ID using the billing amount data extracted from the billing data table;
When the data of the customer ID is extracted from the customer data table, the transfer amount data extracted from the deposit data table is compared with the minimum value of the billing amount selected for the customer ID,
When the minimum value of the charge amount is smaller than the transfer amount, the charge amount data extracted from the charge data table is used to calculate the total value of the charge amount for each item information for the customer ID ,
Means for comparing the transfer amount extracted from the deposit data table and the total amount of the charge amount for each item information calculated for the customer ID, and performing a process of clearing the record of the corresponding item information if they match When,
A data collating apparatus comprising:
前記請求データ抽出手段では、前記顧客IDについて、該当するレコードに関し、部分入金額が記憶されているレコードについては、請求金額と部分入金額との差額を、請求金額のデータとして抽出する、データ照合装置。 In any one of Claims 1 thru | or 3,
In the billing data extraction means, with respect to the corresponding record for the customer ID, for the record in which the partial deposit amount is stored, the difference between the billing amount and the partial deposit amount is extracted as billing amount data. apparatus.
前記消込処理を行う手段における前記一致する場合には、前記請求金額から振込手数料を減算した値が前記振込金額と一致する場合を含む、データ照合装置。 In any one of Claims 1 thru | or 4,
The data collating apparatus, including a case where a value obtained by subtracting a transfer fee from the billing amount matches the transfer amount when the means for performing the application process matches.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014209882A JP5890882B2 (en) | 2014-10-14 | 2014-10-14 | Data collation apparatus, data collation method and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014209882A JP5890882B2 (en) | 2014-10-14 | 2014-10-14 | Data collation apparatus, data collation method and program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014186218A Division JP5805837B2 (en) | 2014-09-12 | 2014-09-12 | Data collation apparatus, data collation method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015008019A JP2015008019A (en) | 2015-01-15 |
| JP5890882B2 true JP5890882B2 (en) | 2016-03-22 |
Family
ID=52338186
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014209882A Active JP5890882B2 (en) | 2014-10-14 | 2014-10-14 | Data collation apparatus, data collation method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5890882B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7104528B2 (en) * | 2018-03-06 | 2022-07-21 | 株式会社オービック | Aggregate data creation device, aggregate data creation method and aggregate data creation program |
| WO2021224971A1 (en) * | 2020-05-07 | 2021-11-11 | ファーストアカウンティング株式会社 | Billing information management device, billing information management method, and program |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3026964B1 (en) * | 1998-11-10 | 2000-03-27 | バルコン株式会社 | Slip data processing device and its processing method |
| US7805365B1 (en) * | 1999-10-25 | 2010-09-28 | Jpmorgan Chase Bank, N.A. | Automated statement presentation, adjustment and payment system and method therefor |
| JP4597765B2 (en) * | 2005-05-17 | 2010-12-15 | エスアーペー アーゲー | Claim clearing device, claim clearing method, and claim clearing program |
| JP4455544B2 (en) * | 2006-06-30 | 2010-04-21 | みずほ情報総研株式会社 | Billing management system, billing management method, and billing management program |
| JP2006352911A (en) * | 2006-08-18 | 2006-12-28 | Sony Corp | Encoding apparatus and method, and decoding apparatus and method |
-
2014
- 2014-10-14 JP JP2014209882A patent/JP5890882B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015008019A (en) | 2015-01-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5614981B2 (en) | Data collation apparatus, data collation method and program | |
| US20080312992A1 (en) | Automatic business process creation method using past business process resources and existing business process | |
| US20100114774A1 (en) | Chargeback decisioning system | |
| US20170109430A1 (en) | Systems and methods for self-pairing databases | |
| JP2006073031A5 (en) | ||
| CN104636338B (en) | A kind of data cleansing storage method for the monitoring of value-added tax negative and positive ticket | |
| Di Angelo et al. | Wallet contracts on Ethereum | |
| CN113822660B (en) | Data processing method, device, electronic equipment and medium | |
| CN110033348A (en) | Storage, checking method and the device of business datum | |
| CN102208061A (en) | Data cancel after verification processing device and method | |
| CN112184025A (en) | Intelligent money distribution method and device for foreign currency reservation | |
| JP5890882B2 (en) | Data collation apparatus, data collation method and program | |
| CN110111131A (en) | The determination method and device of false visitor's standing breath | |
| US7272588B2 (en) | Systems, methods, and computer-readable media for generating service order count metrics | |
| JP5805837B2 (en) | Data collation apparatus, data collation method and program | |
| CN114358751A (en) | Method and device for processing automatic verification and sale due to receipt and due and computer readable storage medium | |
| KR102234130B1 (en) | An apparatus and method for managing transaction information providing automatic matching between accounts receivables and deposit information | |
| CN118485530A (en) | Data association method, device, electronic equipment and storage medium | |
| JP3721315B2 (en) | Name identification system, name identification method, storage medium storing a program for causing a computer to perform processing in the system, and information coincidence determination device | |
| JP5628133B2 (en) | Name identification apparatus and name identification method | |
| CN115330370A (en) | Bill management method, device, equipment and storage medium | |
| KR102303692B1 (en) | System and method for selecting proposal data and making proposal based on debriefing system | |
| CN112102098B (en) | Data processing methods, devices, electronic equipment and storage media | |
| KR20200140764A (en) | Apparatus and method for building a pattern database for accounting | |
| JP4350721B2 (en) | Deposit management method, deposit management system and deposit management program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141014 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141014 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150807 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150818 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151001 |
|
| 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: 20160209 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160219 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5890882 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |