Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7741739B2 - Data linkage system, synchronization device, and synchronization program - Google Patents
[go: Go Back, main page]

JP7741739B2 - Data linkage system, synchronization device, and synchronization program - Google Patents

Data linkage system, synchronization device, and synchronization program

Info

Publication number
JP7741739B2
JP7741739B2 JP2022015847A JP2022015847A JP7741739B2 JP 7741739 B2 JP7741739 B2 JP 7741739B2 JP 2022015847 A JP2022015847 A JP 2022015847A JP 2022015847 A JP2022015847 A JP 2022015847A JP 7741739 B2 JP7741739 B2 JP 7741739B2
Authority
JP
Japan
Prior art keywords
data
journal
synchronization
accounting system
journal entry
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
Application number
JP2022015847A
Other languages
Japanese (ja)
Other versions
JP2023113459A (en
Inventor
弘明 小野
Original Assignee
株式会社フォーバル
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 株式会社フォーバル filed Critical 株式会社フォーバル
Priority to JP2022015847A priority Critical patent/JP7741739B2/en
Publication of JP2023113459A publication Critical patent/JP2023113459A/en
Application granted granted Critical
Publication of JP7741739B2 publication Critical patent/JP7741739B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、データ連携システム、同期装置、及び同期プログラムに関する。 The present invention relates to a data linkage system, a synchronization device, and a synchronization program.

従来、会計事務所は顧問先の企業からの依頼に基づき申告を行うため、会計システムを利用している。中小企業では、社内の利益や財務を管理するため、会計ソフトウェアを導入しているケースが多く、申告業務を税理士に委託している。会計システムは、様々な事業者により様々な形式で提供されており、事業者ごとに会計システムで作成される仕訳データのフォーマットが異なる。 Traditionally, accounting firms have used accounting systems to prepare tax returns based on requests from their client companies. Small and medium-sized businesses often use accounting software to manage their internal profits and finances, and outsource tax return work to tax accountants. Accounting systems are provided in a variety of formats by a variety of businesses, and the format of the journal entry data created by each accounting system varies from business to business.

また、会計事務所で利用される会計システムと、中小企業で利用される会計システムとが異なることが多い。各会計システムで異なる仕訳が存在することは好ましくない。ただし、中小企業の会計システムで作成された仕訳データのフォーマットを、会計事務所で利用される会計システムのフォーマットに変換しなければ、会計事務所で利用される会計システムが仕訳データを取り込むことができなかった。 In addition, the accounting systems used by accounting firms are often different from those used by small and medium-sized enterprises. It is not desirable for different journal entries to exist in each accounting system. However, unless the format of the journal entry data created in the accounting system of the small and medium-sized enterprise is converted to the format of the accounting system used by the accounting firm, the accounting system used by the accounting firm cannot import the journal entry data.

特許文献1には、会計事務所とクライアント間で、互いに仕訳データを修正変更して送受信し、相互の修正変更に伴う仕訳データの不整合をコントロールする技術が開示されている。 Patent Document 1 discloses a technology in which accounting firms and clients mutually modify and send journal data, thereby controlling inconsistencies in the journal data that arise from such modifications.

特許文献2には、新規登録・修正・削除した仕訳データを差分データ又は修正済差分データ(会計事務所で新規登録・修正・削除された仕訳データ)として相手方に電子メールで送信し、同期を取る技術が開示されている。 Patent Document 2 discloses a technology that synchronizes newly registered, modified, or deleted journal data by sending it to the other party via email as differential data or modified differential data (journal data newly registered, modified, or deleted at the accounting firm).

特開2003-141322号公報Japanese Patent Application Laid-Open No. 2003-141322 特開2004-054636号公報Japanese Patent Application Laid-Open No. 2004-054636

会計事務所で用いられる従来の会計システムは、会計事務所の顧客である事業者が用いる他の会計システムから取得した、CSV(Comma Separated Value)などの形式で構成される仕訳データを読み込み、項目ごとに変換処理を行って取込んでいた。その後、会計事務所では、仕訳データに対して減価償却費や引当金などの決算整理仕訳を追加して申告業務を行っていた。ただし、従来の会計システムが、他の会計システムの仕訳データを取り込むタイミングは固定されており(例えば、ひと月ごと)、会計事務所で利用される会計システムは、顧客の仕訳を把握するのに時間がかかるという問題があった。 Traditional accounting systems used by accounting firms would read journal data in formats such as CSV (Comma Separated Value) obtained from other accounting systems used by the accounting firm's business clients, and then convert and import each item before importing it. The accounting firm would then add closing adjustments such as depreciation expenses and reserves to the journal data to complete its tax return. However, traditional accounting systems imported journal data from other accounting systems at fixed times (for example, monthly), which meant that the accounting systems used by accounting firms had to take a long time to understand their clients' journal entries.

また、記帳代行のように会計事務所の所員が仕訳を入力する場合、顧客のデータは会計事務所のサーバーに保管されているので同期の問題は発生しない。また、異なる会計システムであっても、ある会計システムが他の会計システムの仕訳データを受け入れるだけの片方向の同期であれば可能であった。しかし、異なる会計システムの間で、任意のタイミングでの双方向の同期をとることは、現在では実現されていなかった。 Furthermore, when accounting firm staff enter journal entries, such as in bookkeeping services, there are no synchronization issues because the client data is stored on the accounting firm's server. Even with different accounting systems, one-way synchronization was possible, with one accounting system simply accepting journal entry data from another system. However, two-way synchronization between different accounting systems at any time has not yet been achieved.

双方向の同期が実現されない理由として、会計事務所と顧客とで必要な情報に差異がある点が挙げられる。例えば、会計事務所では、税理士が取引先や部門の情報は申告には不要と考える。このため、会計事務所において、事務所のシステムに取引先や部門の情報を組み込むことは行われていなかった。ただし、会計事務所の会計システムの中に、取引先の日付・勘定科目・金額・摘要だけを取り込んでも決算することが可能である。しかし、会計事務所が決算整理仕訳で部門別に償却費を計算しても、会計事務所の会計システムは、計算した決算整理仕訳を、顧客で用いられる会計システムに合わせて送ることができないという問題があった。 One reason two-way synchronization is not possible is that there are differences in the information required by accounting firms and clients. For example, at accounting firms, tax accountants believe that information about clients and departments is not necessary for filing tax returns. For this reason, accounting firms have not incorporated client and department information into their systems. However, it is possible to close the books by simply importing the client's date, account title, amount, and summary into the accounting firm's accounting system. However, even if the accounting firm calculates depreciation expenses by department in closing journal entries, the accounting firm's accounting system is unable to send the calculated closing journal entries in a way that matches the accounting system used by the client.

特許文献1及び2に開示された技術では、異なる会計システムで作成された仕訳データを相互に交換できないので、会計事務所及び顧客の双方で仕訳を誤って登録するおそれがあった。また、人手を介して、それぞれの会計システムの仕訳データを同期させる作業は効率が悪く、仕訳を誤って登録しかねないという問題もある。 The technologies disclosed in Patent Documents 1 and 2 do not allow for the interchange of journal entry data created in different accounting systems, which raises the risk of incorrect journal entries being recorded by both the accounting firm and the client. Furthermore, manually synchronizing the journal entry data of each accounting system is inefficient, posing the risk of incorrect journal entries being recorded.

本発明はこのような状況に鑑みて成されたものであり、異なる会計システム間でデータを同期させることを目的とする。 The present invention was developed in light of this situation, and aims to synchronize data between different accounting systems.

本発明に係るデータ連携システムは、会計仕訳の候補を抽出して確定仕訳が行われる第1会計システムと、第1会計システムで行われた確定仕訳を受け入れる第2会計システムと、第1会計システムが作成した第1仕訳データを第2会計システムが取込可能なデータ形式に変換する変換部と、変換後の第1仕訳データを第2会計システムが取込可能に保存する同期テーブルとを有する同期装置と、を備え、同期装置は、第2会計システムから第1仕訳データの取込要求を待ち受け、第2会計システムから取込要求を受信すると、同期テーブルから読み出した、第2会計システムが未取込である、変換後の第1仕訳データを第2会計システムに送信する待受部を有する。 The data linkage system of the present invention comprises a first accounting system that extracts accounting journal entry candidates and performs final journal entries, a second accounting system that accepts the final journal entries performed in the first accounting system, a conversion unit that converts the first journal entry data created by the first accounting system into a data format that can be imported by the second accounting system, and a synchronization device that has a synchronization table that stores the converted first journal entry data so that it can be imported by the second accounting system.The synchronization device has a waiting unit that waits for an import request for the first journal entry data from the second accounting system, and when it receives an import request from the second accounting system, reads the converted first journal entry data from the synchronization table and transmits it to the second accounting system.

本発明によれば、第1会計システムでは会計仕訳の候補を抽出して確定仕訳が行われるので、誤った仕訳が登録されにくい。また、第2会計システムは、第2会計システムが取込可能なデータ形式に変換された第1仕訳データを取り込むので、第1会計システムと第2会計システムの仕訳を同期させることが可能となる。
上記した以外の課題、構成及び効果は、以下の実施の形態の説明により明らかにされる。
According to the present invention, the first accounting system extracts accounting journal entry candidates and finalizes the journal entries, making it less likely that incorrect journal entries will be registered. Furthermore, the second accounting system imports the first journal entry data converted into a data format that the second accounting system can import, making it possible to synchronize the journal entries of the first and second accounting systems.
Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments.

本発明の第1及び第2の実施形態に係るデータ連携システムのシステム構成例を示す図である。1 is a diagram illustrating an example of a system configuration of a data linkage system according to first and second embodiments of the present invention; 本発明の第1の実施の形態に係るデータ連携システムのダウンストリームに関わる機能ブロックの構成例を示すブロック図である。2 is a block diagram showing an example of a configuration of functional blocks related to downstream of the data linkage system according to the first embodiment of the present invention; FIG. 本発明の第1の実施の形態に係るデータ連携システムのアップストリームに関わる機能ブロックの構成例を示すブロック図である。1 is a block diagram showing an example of the configuration of functional blocks related to the upstream of a data linkage system according to a first embodiment of the present invention; 本発明の第2の実施の形態に係るデータ連携システムのダウンストリームに関わる機能ブロックの構成例を示すブロック図である。FIG. 10 is a block diagram showing an example of a configuration of functional blocks related to downstream of a data linkage system according to a second embodiment of the present invention. 本発明の第2の実施の形態に係るデータ連携システムのアップストリームに関わる機能ブロックの構成例を示すブロック図である。FIG. 10 is a block diagram showing an example of the configuration of functional blocks related to the upstream of a data linkage system according to a second embodiment of the present invention. 本発明の第1及び第2の実施の形態に係る変換テーブル及び逆変換テーブルのテーブル構成例を示す図である。3A and 3B are diagrams illustrating examples of table configurations of a conversion table and an inverse conversion table according to the first and second embodiments of the present invention; 本発明の第1の実施の形態に係るダウンストリーム追加の処理における同期テーブルのデータの変化の様子を示す図である。FIG. 10 is a diagram showing how data in a synchronization table changes during downstream addition processing according to the first exemplary embodiment of the present invention. 本発明の第1の実施の形態に係るダウンストリーム修正の処理における同期テーブルのデータの変化の様子を示す図である。FIG. 10 is a diagram illustrating how data in a synchronization table changes during downstream modification processing according to the first exemplary embodiment of the present invention. 本発明の第1の実施の形態に係るダウンストリーム削除の処理における同期テーブルのデータの変化の様子を示す図である。FIG. 10 is a diagram illustrating how data in a synchronization table changes during downstream deletion processing according to the first exemplary embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム追加の処理における同期テーブルのデータの変化の様子を示す図である。10A and 10B are diagrams illustrating changes in data in a synchronization table during upstream addition processing according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム追加の取消処理における同期テーブルのデータの変化の様子を示す図である。10A and 10B are diagrams illustrating changes in data in a synchronization table during processing to cancel an upstream addition according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム修正の処理における同期テーブルのデータの変化の様子を示す図である。FIG. 10 is a diagram showing how data in a synchronization table changes during upstream modification processing according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム修正の取消処理における同期テーブルのデータの変化の様子を示す図である。10A and 10B are diagrams illustrating changes in data in a synchronization table during processing to cancel upstream modifications according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム削除の処理における同期テーブルのデータの変化の様子を示す図である。FIG. 10 is a diagram showing how data in a synchronization table changes during upstream deletion processing according to the first exemplary embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム削除の取消処理における同期テーブルのデータの変化の様子を示す図である。10A and 10B are diagrams illustrating changes in data in a synchronization table during cancellation of upstream deletion according to the first exemplary embodiment of the present invention. 本発明の第1の実施の形態に係るダウンストリーム追加、修正、削除の処理にてターゲットシステムに表示されるインポート画面の表示例を示す図である。FIG. 10 is a diagram showing an example of an import screen displayed on the target system in downstream addition, modification, and deletion processing according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム追加、修正、削除の処理にてターゲットシステムに表示されるエクスポート画面の表示例を示す図であるFIG. 10 is a diagram illustrating an example of an export screen displayed on the target system in the upstream addition, modification, and deletion process according to the first embodiment of the present invention; 本発明の第1の実施の形態に係るアップストリーム追加、修正、削除の取消処理にてターゲットシステムに表示されるエクスポート画面の表示例を示す図である。FIG. 10 is a diagram showing an example of an export screen displayed on the target system in the process of canceling upstream addition, modification, or deletion according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム追加の処理にてターゲットシステムに表示されるインポート画面の表示例を示す図である。FIG. 10 is a diagram showing an example of an import screen displayed on the target system in the upstream addition process according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム修正、削除の処理にてターゲットシステムに表示されるインポート画面の表示例を示す図である。FIG. 10 is a diagram showing an example of an import screen displayed on the target system in upstream modification and deletion processing according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム追加の取消処理にてターゲットシステムに表示されるインポート画面の表示例を示す図である。FIG. 10 is a diagram showing an example of an import screen displayed on the target system during the process of canceling an upstream addition according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るアップストリーム修正、削除の取消処理にてターゲットシステムに表示されるインポート画面の表示例を示す図である。FIG. 10 is a diagram showing an example of an import screen displayed on the target system in the process of canceling upstream modification and deletion according to the first embodiment of the present invention. 本発明の第1の実施の形態に係る未確定仕訳に対する確定処理画面の表示例を示す図である。FIG. 10 is a diagram showing an example of a confirmation processing screen display for unconfirmed journal entries according to the first embodiment of the present invention; 本発明の第1及び第2の実施の形態に係る計算機のハードウェア構成例を示すブロック図である。1 is a block diagram illustrating an example of a hardware configuration of a computer according to first and second embodiments of the present invention. 本発明の第2の実施の形態の変形例に係るデータ連携システムの全体構成例を示す図である。FIG. 10 is a diagram illustrating an example of the overall configuration of a data linkage system according to a modified example of the second embodiment of the present invention.

以下、本発明を実施するための形態について、添付図面を参照して説明する。本明細書及び図面において、実質的に同一の機能又は構成を有する構成要素については、同一の符号を付することにより重複する説明を省略する。 The following describes embodiments of the present invention with reference to the accompanying drawings. In this specification and drawings, components having substantially the same function or configuration are designated by the same reference numerals, and redundant description will be omitted.

以下に説明する実施形態において、会計事務所の顧客である事業者の損益管理や財務を管理するためのシステムを、メインとなる第1会計システムとして扱う。そして、メインとなる第1会計システムを「メインシステム」と略称する。メインシステムでは、会計仕訳の候補が自動的に抽出されて確定仕訳が行われる
また、会計事務所が税務申告を代理するために利用している会計システムを、ターゲットとなる第2会計システムとして扱う。そして、ターゲットとなる第2会計システムを「ターゲットシステム」と略称する。ターゲットシステムでは、メインシステムで行われた確定仕訳を受け入れる。
In the embodiment described below, a system for managing the profit and loss management and finances of businesses that are clients of the accounting firm is treated as the first main accounting system. The first main accounting system is abbreviated as the "main system." In the main system, accounting entry candidates are automatically extracted and final entries are made. In addition, the accounting system used by the accounting firm to file tax returns on behalf of clients is treated as the second target accounting system. The second target accounting system is abbreviated as the "target system." The target system accepts the final entries made in the main system.

また、メインシステムとターゲットシステムが双方向の仕訳を同期するシステムを「同期システム」又は「同期サブシステム」と称する。同期システム及び同期サブシステムは、いずれも以下に説明するデータ連携システムで用いられ、メインシステムとターゲットシステムの仕訳を同期する同期装置がその機能を担う。第1会計システムでは、例えば、会社の部門別に会計データが管理される。一方、第2会計システムでは、会社全体の決算、確定申告、費用収益等の会計仕訳が行われる。このため、第1会計システムで扱う項目に比べて、第2会計システムで扱う項目は少ない。第2会計システムで仕訳が行われたデータを第1会計システムが取り込むためには、第1会計システムの機能に合わせたデータに変換することが必要となる。そこで、同期装置は、異なる会計システム間のデータを同期する機能を持っている。また、同期装置は、上述した事業者が持つことが多いが、データ同期会社が持つこともある。データ同期会社とは、会計処理に用いられる仕訳データをメインシステム200とターゲットシステム300とで同期するサービスを提供する会社である。 A system in which the main system and target system synchronize their journal entries in both directions is called a "synchronization system" or "synchronization subsystem." Both synchronization systems and synchronization subsystems are used in the data integration system described below, and their functions are performed by a synchronization device that synchronizes journal entries between the main system and target system. In the first accounting system, for example, accounting data is managed by each company department. On the other hand, in the second accounting system, accounting entries are made for the entire company's financial statements, tax returns, expenses, and revenues. For this reason, the second accounting system handles fewer items than the first accounting system. In order for the first accounting system to import data journalized in the second accounting system, it must be converted to data that matches the functions of the first accounting system. Therefore, a synchronization device has the function of synchronizing data between different accounting systems. Synchronization devices are often owned by the above-mentioned businesses, but can also be owned by data synchronization companies. A data synchronization company is a company that provides a service that synchronizes journal entry data used for accounting processing between the main system 200 and the target system 300.

[システム構成例]
図1は、第1及び第2の実施形態に係るデータ連携システム100,100Aのシステム構成例を示す図である。
[System configuration example]
FIG. 1 is a diagram showing an example of the system configuration of data linkage systems 100 and 100A according to the first and second embodiments.

図1の上段には、第1の実施形態に係るデータ連携システム100のシステム構成例が示される。
データ連携システム100は、メインシステム200及び同期サブシステム210と、ターゲットシステム300とで構成される。
The upper part of FIG. 1 shows an example of the system configuration of a data linkage system 100 according to the first embodiment.
The data linkage system 100 is made up of a main system 200 , a synchronization subsystem 210 , and a target system 300 .

メインシステム200は、例えば、データ同期会社又は事業者で用いられる第1会計システムの一例である。本明細書では、メインシステム200を利用して、ターゲットシステム300にサービスを提供する者をユーザーと呼ぶ。
データ同期会社又は事業者は、メインシステム200と同期サブシステム210を用いて、データ連携システム100の全体の処理を管理する。同期サブシステム210は、メインシステム200と一体化された同期装置の一例として用いられる。このため、メインシステム200から同期サブシステム210へのデータの移動は、外部のインターネット等を介さない。
The main system 200 is an example of a first accounting system used by, for example, a data synchronization company or business. In this specification, a person who uses the main system 200 to provide services to the target system 300 is called a user.
The data synchronization company or business uses the main system 200 and the synchronization subsystem 210 to manage the overall processing of the data linkage system 100. The synchronization subsystem 210 is used as an example of a synchronization device integrated with the main system 200. Therefore, data transfer from the main system 200 to the synchronization subsystem 210 does not go via an external network such as the Internet.

ターゲットシステム300は、例えば、会計事務所にて使用される第2会計システムの一例である。
メインシステム200は、同期サブシステム210を通じてターゲットシステム300の仕訳データを確定する。例えば、ターゲットシステム300で仕訳処理が行われた仕訳データは、同期サブシステム210を介してメインシステム200に送られる。そして、メインシステム200にて適切な内容に書き換えられ、確定された仕訳の仕訳データがターゲットシステム300に返る。すると、ターゲットシステム300は、確定された仕訳データを取り込む。こうして、メインシステム200が管理する仕訳データと、ターゲットシステム300が管理する仕訳データとが同期される。
The target system 300 is an example of a second accounting system used in, for example, an accounting firm.
The main system 200 confirms the journal data of the target system 300 through the synchronization subsystem 210. For example, journal data that has been journalized in the target system 300 is sent to the main system 200 via the synchronization subsystem 210. The main system 200 then rewrites the data with appropriate content, and the confirmed journal data is returned to the target system 300. The target system 300 then imports the confirmed journal data. In this way, the journal data managed by the main system 200 and the journal data managed by the target system 300 are synchronized.

図1の下段には、第2の実施形態に係るデータ連携システム100Aのシステム構成例が示される。
データ連携システム100Aは、メインシステム200Aと、同期システム400と、ターゲットシステム300Aとで構成される。
The lower part of FIG. 1 shows an example of the system configuration of a data linkage system 100A according to the second embodiment.
The data linkage system 100A is made up of a main system 200A, a synchronization system 400, and a target system 300A.

メインシステム200Aは、例えば、事業者で用いられる第1会計システムの一例である。
ターゲットシステム300Aは、例えば、会計事務所にて使用される第2会計システムの一例である。第1会計システムと第2会計システムは、それぞれ異なる会計ソフトウェアを使用するため、各システムで用いられる各種のデータの項目は異なっている。
同期システム400は、クラウド上に構成されるWebシステムであって、データ連携システム100Aの全体処理を管理するデータ同期会社により管理される。このため、同期システム400は、メインシステム200と別体で構成された同期装置の一例として用いられる。
Main system 200A is an example of a first accounting system used by a business, for example.
The target system 300A is an example of a second accounting system used in, for example, an accounting firm. The first accounting system and the second accounting system use different accounting software, and therefore the various data items used in each system are different.
The synchronization system 400 is a web system configured on the cloud and is managed by a data synchronization company that manages the overall processing of the data linkage system 100 A. For this reason, the synchronization system 400 is used as an example of a synchronization device configured separately from the main system 200.

メインシステム200Aとターゲットシステム300Aは、それぞれインターネット等のネットワークを介して同期システム400にアクセスする。そして、同期システム400は、メインシステム200Aから受信するデータをターゲットシステム300Aに送信したり、ターゲットシステム300Aから受信するデータをメインシステム200Aに送信したりする。 The main system 200A and the target system 300A each access the synchronization system 400 via a network such as the Internet. The synchronization system 400 then transmits data received from the main system 200A to the target system 300A, and transmits data received from the target system 300A to the main system 200A.

以下、データ連携システム100,100Aの処理について説明する。以下の説明では、メインシステムからターゲットシステムにデータを同期する処理を「ダウンストリームの同期」と呼ぶ。逆に、ターゲットシステムからメインシステムにデータを同期する処理を「アップストリームの同期」と呼ぶ。ここで、ダウンストリーム及びアップストリームの同期の概要について、データ連携システム100に基づいて説明する。 The processing of data linkage systems 100 and 100A will be described below. In the following description, the processing of synchronizing data from the main system to the target system will be referred to as "downstream synchronization." Conversely, the processing of synchronizing data from the target system to the main system will be referred to as "upstream synchronization." Here, an overview of downstream and upstream synchronization will be described based on data linkage system 100.

(ダウンストリームの同期の概要)
ターゲットシステム300は、メインシステム200で作成された仕訳データのユニーク性を保証する伝票番号を保持する。この伝票番号は、仕訳データに付加される。
メインシステム200で作成された仕訳は、必ずターゲットシステム300でも生成される。そこでメインシステム200で作成された仕訳データがターゲットシステム300に取り込まれる。同期サブシステム210は、同期されたデータを削除する。
(Downstream Synchronization Overview)
The target system 300 holds a slip number that guarantees the uniqueness of the journal data created by the main system 200. This slip number is added to the journal data.
The journal entries created in the main system 200 are always generated in the target system 300. Therefore, the journal entry data created in the main system 200 is imported into the target system 300. The synchronization subsystem 210 deletes the synchronized data.

(アップストリームの同期の概要)
ターゲットシステム300で作成された仕訳を表す仕訳データは、未承認のデータとして、メインシステム200が受け取る。そして、メインシステム200で仕訳データが承認されると、同期サブシステム210を介して承認された仕訳データがターゲットシステム300に送られる。その後、同期サブシステム210は、同期されたデータを削除する。
なお、メインシステム200により承認されなかった仕訳データは、メインシステム200の仕訳に取り込まれない。そして、ターゲットシステム300は、承認されなかった仕訳データを削除する。
(Upstream Synchronization Overview)
The journal data representing the journal entries created in the target system 300 is received by the main system 200 as unapproved data. Then, when the journal data is approved in the main system 200, the approved journal data is sent to the target system 300 via the synchronization subsystem 210. The synchronization subsystem 210 then deletes the synchronized data.
It should be noted that journal data that is not approved by the main system 200 is not incorporated into the journalization of the main system 200. Then, the target system 300 deletes the journal data that is not approved.

ターゲットシステム300が作成した仕訳データを修正する時には、メインシステム200が行う処理として、修正の受け入れ、修正の取消の2種類の処理が想定される。
メインシステム200は、ターゲットシステム300から仕訳データを逆変換した未確定の仕訳データを受け入れると、この仕訳データに対する修正を行って確定した、仕訳データを作成する。
あるいは、メインシステム200は、未確定仕訳データの修正を行わないで、ターゲットシステム300に仕訳データの削除を指示する。
When the journal data created by the target system 300 is corrected, two types of processing are assumed to be performed by the main system 200: accepting the correction and canceling the correction.
When the main system 200 receives unconfirmed journal data obtained by reverse-converting the journal data from the target system 300, it corrects the journal data and creates confirmed journal data.
Alternatively, the main system 200 does not correct the unconfirmed journal data, but instructs the target system 300 to delete the journal data.

次に、各実施の形態に係るデータ連携システム100,100Aの構成例及び動作例について、それぞれダウンストリームの処理、アップストリームの順に説明する。 Next, configuration and operation examples of the data linkage systems 100 and 100A according to each embodiment will be described, focusing on downstream processing and then upstream processing.

[第1の実施の形態]
始めに、第1の実施の形態に係るデータ連携システム100の構成例について、図2と図3を参照して説明する。
[First embodiment]
First, a configuration example of a data linkage system 100 according to the first embodiment will be described with reference to FIGS. 2 and 3. FIG.

図2は、第1の実施の形態に係るデータ連携システム100のダウンストリームに関わる機能ブロックの構成例を示す。ここでは、同期サブシステム210を通じたダウンストリームの処理に関わる機能ブロックの構成例及び動作例を説明する。ダウンストリームでは、メインシステム200、同期サブシステム210、ターゲットシステム300の順に処理が進む。 Figure 2 shows an example configuration of functional blocks related to the downstream of the data linkage system 100 according to the first embodiment. Here, an example configuration and operation of functional blocks related to downstream processing via the synchronization subsystem 210 will be described. In the downstream, processing proceeds in the order of the main system 200, synchronization subsystem 210, and target system 300.

メインシステム200は、後述する図3に示す自動仕訳部22により会計仕訳を行い、仕訳データ20を作成する。仕訳データ20は、同期サブシステム210に出力される。以下の説明では、会計仕訳を「仕訳」と略称する。同期サブシステム210は、変換部30、変換テーブル31、同期テーブル33及び待受部34を備える。 The main system 200 performs accounting journal entries using the automatic journal entry unit 22 shown in Figure 3 (described below) to create journal entry data 20. The journal entry data 20 is output to the synchronization subsystem 210. In the following description, accounting journal entries are abbreviated as "journal entries." The synchronization subsystem 210 includes a conversion unit 30, a conversion table 31, a synchronization table 33, and a standby unit 34.

変換部30は、メインシステム200が作成した仕訳データ20(第1仕訳データの一例)をターゲットシステム300が取込可能なデータ形式に変換する。この際、変換部30は、変換テーブル31を参照して、仕訳データ20をターゲットシステム300が取込可能なデータ形式の仕訳データ32に変換する。 The conversion unit 30 converts the journal data 20 (an example of first journal data) created by the main system 200 into a data format that can be imported by the target system 300. In doing so, the conversion unit 30 refers to the conversion table 31 to convert the journal data 20 into journal data 32 in a data format that can be imported by the target system 300.

メインシステム200とターゲットシステム300は、同じ項目であっても、異なる名称、記号等で管理することがある。このため、変換テーブル31は、後述する図6に示すように、仕訳データ20の項目ごとに、メインシステム200及びターゲットシステム300で用いられる語句の対応関係を保持する。語句の対応関係としては、例えば、借方科目における、メインシステム200での「交際費」とターゲットシステム300での「交際接待費」や、貸方科目における、メインシステム200での「現金」とターゲットシステム300での「小口現金」が想定される。以下の説明では、メインシステム200で使用されるデータの項目を、ターゲットシステム300で使用されるデータの項目に変換する処理を「変換」と呼ぶ。 The main system 200 and the target system 300 may manage the same items using different names, symbols, etc. For this reason, the conversion table 31, as shown in Figure 6 described below, stores the correspondence between terms used in the main system 200 and the target system 300 for each item in the journal data 20. Examples of correspondence between terms include, for example, "entertainment expenses" in the main system 200 and "entertainment expenses" in the target system 300 for debit items, and "cash" in the main system 200 and "petty cash" in the target system 300 for credit items. In the following explanation, the process of converting data items used in the main system 200 to data items used in the target system 300 is referred to as "conversion."

同期テーブル33は、仕訳データ32(変換後の第1仕訳データの一例)をターゲットシステム300が取込可能に保存する。すなわち、同期テーブル33には、変換後の仕訳データ32が格納される。この変換後の仕訳データ32は、ターゲットシステム300が管理する仕訳データとの同期がとれるまで同期テーブル33に格納される。待受部34は、以下の(1)、(2)の役割を有する。 The synchronization table 33 stores the journal data 32 (an example of the converted first journal data) so that it can be imported by the target system 300. That is, the converted journal data 32 is stored in the synchronization table 33. This converted journal data 32 is stored in the synchronization table 33 until it is synchronized with the journal data managed by the target system 300. The standby unit 34 has the following roles (1) and (2).

(1)ターゲットシステム300が仕訳データ32を正常に取込むことをコントロールする。例えば、未取込の仕訳データがあれば、ターゲットシステム300が未取込の仕訳データを取り込んで、ターゲットシステム300の仕訳を更新すると、待受部34は、ターゲットシステム300が仕訳を更新済みであることを同期テーブル33に記録する。 (1) Controlling whether the target system 300 properly imports the journal data 32. For example, if there is unimported journal data, the target system 300 imports the unimported journal data and updates the journal in the target system 300. The standby unit 34 records in the synchronization table 33 that the target system 300 has updated the journal.

(2)待受部34が上記のコントロールを行うために2段階で制御する。
(第1段階)同期テーブル33から読み出した仕訳データ32をターゲットシステム300が取込むと、待受部34は、ターゲットシステム300から正常に仕訳データ32を取込んだことを表す情報を受信する。この情報により、待受部34は、ターゲットシステム300が仕訳データ32を正常に取込んだことを管理する。
(第2段階)次に、待受部34は、ターゲットシステム300から仕訳データ32により正常に仕訳を更新できたことを表す情報を受信する。この情報により、待受部34は、ターゲットシステム300が仕訳データ32により正常に仕訳を更新したことを管理する。また待受部34は、正常に仕訳を更新できたことを表す情報を受信すると、同期テーブル33のレコードを更新済みに変更する。
(2) The standby unit 34 performs the above control in two stages.
(First stage) When the target system 300 imports the journal data 32 read from the synchronization table 33, the standby unit 34 receives information indicating that the journal data 32 has been successfully imported from the target system 300. Using this information, the standby unit 34 manages that the target system 300 has successfully imported the journal data 32.
(Second stage) Next, the standby unit 34 receives information from the target system 300 indicating that the journal entry has been successfully updated using the journal entry data 32. Using this information, the standby unit 34 manages that the target system 300 has successfully updated the journal entry using the journal entry data 32. Furthermore, upon receiving the information indicating that the journal entry has been successfully updated, the standby unit 34 changes the record in the synchronization table 33 to "updated."

待受部34は、ターゲットシステム300からの問合せを受けると、同期テーブル33から読み出した仕訳データ32をターゲットシステム300に送信する。例えば、待受部34は、ターゲットシステム300から仕訳データ32の有無の問い合わせがなされたとき、同期テーブル33に仕訳データ32が記録されていれば、ターゲットシステム300が未取込である未取込データをターゲットシステム300に返す。 When the standby unit 34 receives an inquiry from the target system 300, it transmits the journal data 32 read from the synchronization table 33 to the target system 300. For example, when the target system 300 inquires about the presence or absence of journal data 32, if the journal data 32 is recorded in the synchronization table 33, the standby unit 34 returns the unacquired data that has not been acquired by the target system 300 to the target system 300.

この時、待受部34は、未取込データとして、同期テーブル33から読み出した仕訳データ32をAPI(Application Programming Interface)連携でターゲットシステム300に送る。また、待受部34は、ターゲットシステム300が未取込データの取り込み処理、すなわち仕訳の更新を終了したことを示す情報がターゲットシステム300に返されると、同期テーブル33に仕訳の更新済みを書き込む。その後、待受部34は、ターゲットシステム300が取り込んだ仕訳データ32を同期テーブル33から削除する。 At this time, the standby unit 34 sends the journal data 32 read from the synchronization table 33 as unacquired data to the target system 300 via API (Application Programming Interface) integration. Furthermore, when information indicating that the target system 300 has completed the process of acquiring unacquired data, i.e., updating the journal entries, is returned to the target system 300, the standby unit 34 writes in the synchronization table 33 that the journal entries have been updated. The standby unit 34 then deletes the journal data 32 acquired by the target system 300 from the synchronization table 33.

ターゲットシステム300は、仕訳作成部50を備える。ターゲットシステム300は、API連携で同期サブシステム210からAPI連携で未取込の仕訳データ38を受信する。そこで、仕訳作成部50は、待受部34に仕訳データ32の有無を問い合わせる。仕訳作成部50は、同期テーブル33に未取込の仕訳データ32が格納されていることが待受部34から通知されると、待受部34を通じたAPI連携で未取込の仕訳データ32を取得する。そして、仕訳作成部50は、ターゲットシステム300に仕訳データ32を取り込み、仕訳を更新する。そして、仕訳作成部50は、未取込である仕訳データ32を取得したことと、仕訳データ32の取り込み処理が正常終了したことを含む取込結果を同期サブシステム210の待受部34に出力する。 The target system 300 includes a journal entry creation unit 50. The target system 300 receives unacquired journal entry data 38 from the synchronization subsystem 210 via API integration. The journal entry creation unit 50 then queries the standby unit 34 to determine whether journal entry data 32 is available. When the standby unit 34 notifies the journal entry creation unit 50 that unacquired journal entry data 32 is stored in the synchronization table 33, the journal entry creation unit 50 acquires the unacquired journal entry data 32 via API integration via the standby unit 34. The journal entry creation unit 50 then imports the journal entry data 32 into the target system 300 and updates the journal entry. The journal entry creation unit 50 then outputs an import result to the standby unit 34 of the synchronization subsystem 210, including information indicating that the unacquired journal entry data 32 has been acquired and that the import process for the journal entry data 32 has been successfully completed.

上述したように同期サブシステム210の待受部34とターゲットシステム300の仕訳作成部50の間で行われるデータ送受信に際して、API連携が用いられる。API連携においては、主に受信側の機能部、例えば、待受部34がターゲットシステム300に対してAPIを提供している。API連携にあたって、仕訳作成部50は、例えば、ターゲットシステム300として用いられる会計システムの種類、ターゲットシステム300を使用する会計事務所のID等の情報を渡し、待受部34は、不図示の認証部により、会計事務所のID等を認証する。その後、仕訳作成部50は、待受部34からのリクエストに応じたレスポンスを待受部34に返す。 As described above, API linkage is used when sending and receiving data between the standby unit 34 of the synchronization subsystem 210 and the journal entry creation unit 50 of the target system 300. In API linkage, the receiving functional unit, for example, the standby unit 34, mainly provides the API to the target system 300. In API linkage, the journal entry creation unit 50 passes information such as the type of accounting system used as the target system 300 and the ID of the accounting firm using the target system 300, and the standby unit 34 authenticates the ID of the accounting firm using an authentication unit (not shown). The journal entry creation unit 50 then returns a response to the standby unit 34 in response to the request from the standby unit 34.

本実施の形態では、仕訳作成部50が待受部34に対して、仕訳作成部50が未取込の仕訳データの有無を問い合わせ(リクエスト)、待受部34は、未取込の仕訳データを仕訳作成部50に送信する(レスポンス)。以下の説明で、異なるシステム間でAPI連携が行われるときは、APIを提供するシステムが不図示の認証部にて、リクエストを送信するシステムの認証処理を行った後、リクエストに対するレスポンスを行うものとする。 In this embodiment, the journal entry creation unit 50 inquires (requests) about the presence or absence of unimported journal data from the standby unit 34, and the standby unit 34 transmits (responses) the unimported journal data to the journal entry creation unit 50. In the following explanation, when API collaboration is performed between different systems, it is assumed that the system providing the API performs authentication processing of the system sending the request using an authentication unit (not shown), and then responds to the request.

図3は、第1の実施の形態に係るデータ連携システム100のアップストリームに関わる機能ブロックの構成例を示す。ここでは、同期サブシステム210を通じたアップストリームの処理に関わる機能ブロックの構成例及び動作例について説明する。アップストリームでは、ターゲットシステム300、同期サブシステム210、メインシステム200、同期サブシステム210、ターゲットシステム300の順に処理が進む。 Figure 3 shows an example configuration of functional blocks related to the upstream of the data linkage system 100 according to the first embodiment. Here, an example configuration and operation of functional blocks related to upstream processing through the synchronization subsystem 210 will be described. In the upstream, processing proceeds in the order of the target system 300, synchronization subsystem 210, main system 200, synchronization subsystem 210, and target system 300.

ターゲットシステム300は、図2に示した仕訳作成部50の他、送信部52を備える。
送信部52は、ターゲットシステム300で追加、修正又は削除された会計仕訳の仕訳データ51をAPI連携で同期サブシステム210に送信する。
The target system 300 includes a transmission unit 52 in addition to the journal entry creation unit 50 shown in FIG.
The transmission unit 52 transmits the journal entry data 51 of the accounting entries that have been added, modified, or deleted in the target system 300 to the synchronization subsystem 210 via API collaboration.

同期サブシステム210は、ターゲットシステム300で作成された仕訳データ51(第2仕訳データの一例)をメインシステム200が取込可能なデータ形式に逆変換する。また、同期サブシステム210は、ターゲットシステム300で行われた仕訳に対してメインシステム200が確定仕訳を行った仕訳データ24(確定仕訳後の第2仕訳データの一例)をターゲットシステム300が取込可能なデータ形式に変換し、仕訳データ38(変換後の第2仕訳データの一例)をターゲットシステム300に送信する。 The synchronization subsystem 210 reverse-converts journal entry data 51 (an example of second journal entry data) created by the target system 300 into a data format that can be imported by the main system 200. The synchronization subsystem 210 also converts journal entry data 24 (an example of second journal entry data after finalized journal entry), which is journal entry data created by the main system 200 in response to journal entries made in the target system 300, into a data format that can be imported by the target system 300, and transmits journal entry data 38 (an example of second journal entry data after conversion) to the target system 300.

図3に示すように、同期サブシステム210は、変換部30、変換テーブル31、同期テーブル33、待受部34に加えて、受信部35、逆変換部36及び逆変換テーブル37を備える。
受信部35は、ターゲットシステム300の送信部52から同期サブシステム210に送信された仕訳データ51をAPI連携で受信する。
As shown in FIG. 3, the synchronization subsystem 210 includes a receiving unit 35, an inverse conversion unit 36, and an inverse conversion table 37 in addition to a conversion unit 30, a conversion table 31, a synchronization table 33, and a waiting unit .
The receiving unit 35 receives the journal data 51 transmitted from the transmitting unit 52 of the target system 300 to the synchronization subsystem 210 via API linkage.

上述したように、ターゲットシステム300の送信部52から、同期サブシステム210の受信部35に対するデータ送信に際して、API連携が用いられる。受信部35はターゲットシステム300に対してAPIを提供している。送信部52は、同期サブシステム210に対して、仕訳データ51の送信可否を問い合わせ(リクエスト)、受信部35は、仕訳データ51を受信可能であることをターゲットシステム300に通知する(レスポンス)。その後、送信部52は、仕訳データ51を同期サブシステム210に送信し、受信部35が仕訳データ51を受信する。 As described above, API integration is used when data is sent from the sending unit 52 of the target system 300 to the receiving unit 35 of the synchronization subsystem 210. The receiving unit 35 provides an API to the target system 300. The sending unit 52 queries (requests) the synchronization subsystem 210 as to whether or not journal data 51 can be sent, and the receiving unit 35 notifies (responses) the target system 300 that it is able to receive the journal data 51. The sending unit 52 then sends the journal data 51 to the synchronization subsystem 210, and the receiving unit 35 receives the journal data 51.

逆変換部36は、逆変換テーブル37を参照して、ターゲットシステム300から受信した仕訳データ51を、メインシステム200が取込可能なデータ形式に逆変換する。このため、逆変換部36は、受信部35から入力した仕訳データ51の項目を、メインシステム200で用いられる項目に逆変換し、同期テーブル33に逆変換後の仕訳データ51を格納する。この逆変換後の仕訳データ51がメインシステム200による未確定の仕訳データとなる。 The inverse conversion unit 36 refers to the inverse conversion table 37 and inversely converts the journal data 51 received from the target system 300 into a data format that can be imported by the main system 200. To this end, the inverse conversion unit 36 inversely converts the items in the journal data 51 input from the receiving unit 35 into items used by the main system 200, and stores the inversely converted journal data 51 in the synchronization table 33. This inversely converted journal data 51 becomes unconfirmed journal data by the main system 200.

ターゲットシステム300で使用されるデータの項目を、メインシステム200で使用されるデータの項目に変換する処理は、図2に示した項目を変換する処理とは逆である。そこで、以下の説明では、ターゲットシステム300で使用されるデータの項目を、メインシステム200で使用されるデータの項目に変換する処理を「逆変換」と呼ぶ。 The process of converting data items used in the target system 300 into data items used in the main system 200 is the reverse of the item conversion process shown in Figure 2. Therefore, in the following explanation, the process of converting data items used in the target system 300 into data items used in the main system 200 will be referred to as "reverse conversion."

逆変換テーブル37は、ターゲットシステム300で用いられる項目と、メインシステム200で用いられる項目との対応が格納されたテーブルである。逆変換テーブル37は、仕訳データ51の項目ごとに、メインシステム200及びターゲットシステム300で用いられる語句の対応関係を保持する。 The reverse conversion table 37 is a table that stores the correspondence between items used in the target system 300 and items used in the main system 200. The reverse conversion table 37 stores the correspondence between words used in the main system 200 and the target system 300 for each item in the journal data 51.

同期テーブル33は、メインシステム200の仕訳が、ターゲットシステム300で作成された仕訳と同期がとれるまで、逆変換後の仕訳データ51を格納する。同期テーブル33に格納された逆変換後の仕訳データ51は、未確定仕訳データ21としてメインシステム200により読み出される。 The synchronization table 33 stores the reverse-converted journal data 51 until the journal entries in the main system 200 are synchronized with the journal entries created in the target system 300. The reverse-converted journal data 51 stored in the synchronization table 33 is read by the main system 200 as unconfirmed journal data 21.

すなわち、メインシステム200は、同期テーブル33に格納された逆変換後の仕訳データ51を、未確定仕訳データ21として読み出す。未確定仕訳データ21に対してメインシステム200による確定仕訳が行われると、未確定仕訳データ21は、仕訳データ24として同期サブシステム210に取り込まれる。 In other words, the main system 200 reads the inversely converted journal data 51 stored in the synchronization table 33 as unconfirmed journal data 21. When the main system 200 performs a confirmed journal entry on the unconfirmed journal data 21, the unconfirmed journal data 21 is imported into the synchronization subsystem 210 as journal data 24.

図3に示すように、メインシステム200は、自動仕訳部22及び確定処理部23を備える。
自動仕訳部22は、逆変換後の仕訳データ51である未確定仕訳データ21(第2仕訳データの一例)に対して仕訳の候補を抽出する仕訳候補抽出部の一例として用いられる。自動仕訳部22は、本発明者が発明した自動仕訳を行って、未処理仕訳の情報から確率の高い仕訳候補を抽出した自動仕訳の結果を確定処理部23に表示する。
As shown in FIG. 3, the main system 200 includes an automatic journalizing unit 22 and a confirmation processing unit 23 .
The automatic journalizing unit 22 is used as an example of a journalizing candidate extraction unit that extracts journalizing candidates for the unconfirmed journalizing data 21 (an example of second journalizing data), which is the reverse-converted journalizing data 51. The automatic journalizing unit 22 performs the automatic journalizing invented by the present inventor, and displays the results of the automatic journalizing, in which highly probable journalizing candidates are extracted from the information on unprocessed journalizing, on the confirmation processing unit 23.

ここで、自動仕訳部22により行われる自動仕訳について処理の概要を説明する。
自動仕訳部22は、未確定仕訳データ21に対して、一般推論データベースD1、履歴推論データベースD2、消込推論データベースD3に基づき自動的に仕訳を推論する。自動仕訳部22により自動仕訳が推論される処理は、本発明者による特許第4783200号公報に詳細な内容が説明されているため、ここでは簡潔な説明にとどめる。
Here, an outline of the automatic journalizing process performed by the automatic journalizing unit 22 will be described.
The automatic journalizing unit 22 automatically infers journalization based on the general inference database D1, the history inference database D2, and the reconciliation inference database D3 for the unconfirmed journalizing data 21. The process by which the automatic journalizing unit 22 infers automatic journalization is explained in detail in Japanese Patent No. 4783200 by the present inventor, so only a brief explanation will be given here.

自動仕訳部22による仕訳は、以下の3つの推論によって行われる。これら3つの推論により自動的に行われる仕訳を「自動仕訳」と呼ぶ。自動仕訳は、例えば、AI(Artificial Intelligence)を用いた自動処理で行われる。 Journalization by the automatic journalizing unit 22 is performed based on the following three inferences. Journalization performed automatically based on these three inferences is called "automatic journalizing." Automatic journalizing is performed, for example, by automatic processing using AI (artificial intelligence).

(1)一般推論(一般的な商取引からの推論)
一般推論は、例えば、ユーザーが初めて取引した相手先から受領する伝票の仕訳を行うために用いられる処理である。一般推論では、一般的な借方科目及び貸方科目を推論するために参照される一般推論データベースD1(一般推論記憶部の一例)が用いられる。自動仕訳部22は、未確定仕訳データ21に含まれる伝票日付、金額、摘要のうちの少なくとも1項目以上の項目に基づいて、一般推論データベースD1を参照し、一般的な借方科目及び貸方科目を推論する。自動仕訳部22が一般推論を行う際、一般推論データベースD1に格納される、「摘要」の判断に使用される文言等が参照される。
(1) General inference (inference from general commercial transactions)
General inference is a process used, for example, to journalize a voucher received from a counterparty with which a user has done business for the first time. General inference uses a general inference database D1 (an example of a general inference storage unit) that is referenced to infer general debit and credit items. The automatic journalizing unit 22 references the general inference database D1 and infers general debit and credit items based on at least one or more items of the voucher date, amount, and summary contained in the unconfirmed journalizing data 21. When the automatic journalizing unit 22 performs general inference, it references wording, etc. used to determine the "summary" that is stored in the general inference database D1.

(2)履歴推論(過去に入力した仕訳に類似しているものからの推論)
履歴推論は、過去に正しい仕訳として処理されたデータと今回処理するデータの類似性を判断し、過去に取引したことがある相手先と過去に行った仕訳と同様の仕訳を行うために用いられる処理である。すなわち、履歴推論では、過去に仕訳された未確定仕訳データ21に基づいて、特定の借方科目及び貸方科目を推論するために参照される履歴推論データベースD2(履歴推論記憶部の一例)が用いられる。
(2) Historical inference (inference from similar entries entered in the past)
Historical inference is a process used to determine the similarity between data that has been processed as a correct journal entry in the past and the data to be processed this time, and to perform journal entries similar to those previously performed with counterparties with which the transaction has been conducted in the past. That is, historical inference uses a historical inference database D2 (an example of a historical inference storage unit) that is referenced to infer specific debit and credit items based on unconfirmed journal entry data 21 that have been journalized in the past.

自動仕訳部22は、未確定仕訳データ21に含まれる伝票日付、相手先、摘要に基づいて履歴推論データベースD2を参照し、特定の借方科目及び貸方科目を推論する。自動仕訳部22が履歴推論を行う際、履歴推論データベースD2に設けられる過去に仕訳されたデータの中で、例えば、伝票日付、相手先、摘要のパターンに基づいて推論が行われる。 The automatic journalizing unit 22 references the history inference database D2 and infers specific debit and credit items based on the voucher date, counterparty, and summary contained in the unconfirmed journalizing data 21. When the automatic journalizing unit 22 performs history inference, it makes inferences based on, for example, patterns of voucher date, counterparty, and summary from the previously journalized data stored in the history inference database D2.

(3)消込推論(売掛金や借入金等の過去に発生した会計事象からの推論)
消込推論は、売掛金の入金や出張旅費の精算を行う場合等で、その会計事象を処理する前段階の会計事象が既に存在していれば、その前段階の会計事象の情報に基づいて仕訳を行うために用いられる処理である。すなわち、消込推論では、過去に発生した会計事象に対応する未確定仕訳データ21の消込を推論するために参照される消込推論データベースD3(消込推論記憶部の一例)が用いられる。
(3) Reconciliation inference (inference from past accounting events such as accounts receivable and borrowings)
Reconciliation inference is a process used to make journal entries based on information about an accounting event that precedes the accounting event that is processed when, for example, an account receivable is received or travel expenses are settled. In other words, reconciliation inference uses a reconciliation inference database D3 (an example of a reconciliation inference storage unit) that is referenced to infer the reconciliation of unconfirmed journal data 21 that corresponds to an accounting event that occurred in the past.

自動仕訳部22は、過去に発生した会計事象に基づいて、消込推論データベースD3を参照し、未確定仕訳データ21に対して消込を推論する。消込推論では、自動仕訳部22により、消込推論データベースD3に設けられる売掛金ファイル、精算ファイル、借入金ファイル等が参照され、過去の会計事象の中で合致する事象に基づいて推論が行われる。 The automatic journalizing unit 22 references the reconciliation inference database D3 based on accounting events that occurred in the past, and infers reconciliation for the pending journalizing data 21. In reconciliation inference, the automatic journalizing unit 22 references the accounts receivable file, settlement file, borrowings file, etc. stored in the reconciliation inference database D3, and makes inferences based on matching events among past accounting events.

そして、自動仕訳部22は、一般推論と、履歴推論と、消込推論とのうち、少なくとも一つ以上の推論を行って、その仕訳結果を確定処理部23に出力する。 The automatic journalizing unit 22 then performs at least one of the following inferences: general inference, historical inference, and reconciliation inference, and outputs the journalizing results to the finalization processing unit 23.

確定処理部23は、自動仕訳部22により抽出された仕訳の候補から一の仕訳を確定し、仕訳データ24(確定仕訳を行った第2仕訳データの一例)を作成する。この時、確定処理部23は、自動仕訳部22による自動仕訳の結果である仕訳候補を表示装置に表示させ、ユーザーの操作により仕訳を確定させる。また、確定処理部23は、自動仕訳の結果を仕訳データ24として同期サブシステム210の変換部30に出力する。 The confirmation processing unit 23 confirms one journal entry from the journal entry candidates extracted by the automatic journal entry unit 22 and creates journal entry data 24 (an example of second journal entry data for which a confirmed journal entry has been performed). At this time, the confirmation processing unit 23 displays the journal entry candidates, which are the results of the automatic journal entry by the automatic journal entry unit 22, on a display device and allows the user to confirm the journal entry through operation. The confirmation processing unit 23 also outputs the results of the automatic journal entry as journal entry data 24 to the conversion unit 30 of the synchronization subsystem 210.

同期サブシステム210の変換部30は、変換テーブル31を参照して、同期サブシステム210に入力された仕訳データ24を、ターゲットシステム300が取込可能な仕訳データ38に変換する。そして、変換部30は、変換した仕訳データ38を同期テーブル33に格納する。 The conversion unit 30 of the synchronization subsystem 210 refers to the conversion table 31 and converts the journal data 24 input to the synchronization subsystem 210 into journal data 38 that can be imported by the target system 300. The conversion unit 30 then stores the converted journal data 38 in the synchronization table 33.

待受部34は、ターゲットシステム300による仕訳データ32の取り込み要求を待ち受ける。そして、待受部34は、ターゲットシステム300から取り込み要求を受信すると、ターゲットシステム300に仕訳データ38を送り、ターゲットシステム300にて仕訳が更新された後、同期テーブル33から仕訳データ32を削除する。 The standby unit 34 waits for a request from the target system 300 to import the journal data 32. When the standby unit 34 receives an import request from the target system 300, it sends the journal data 38 to the target system 300, and after the journal entry is updated in the target system 300, it deletes the journal data 32 from the synchronization table 33.

[第2の実施の形態]
次に、第2の実施の形態に係るデータ連携システム100Aの構成例について、図4と図5を参照して説明する。
Second Embodiment
Next, a configuration example of a data linkage system 100A according to the second embodiment will be described with reference to FIGS. 4 and 5. FIG.

図4は、第2の実施の形態に係るデータ連携システム100Aのダウンストリームに関わる機能ブロックの構成例を示す。ここでは、同期システム400を通じたダウンストリームの処理に関わる機能ブロックの構成例及び動作例を説明する。ダウンストリームでは、メインシステム200A、同期システム400、ターゲットシステム300Aの順に処理が進む。 Figure 4 shows an example configuration of functional blocks related to the downstream of a data linkage system 100A according to the second embodiment. Here, an example configuration and operation of functional blocks related to downstream processing through the synchronization system 400 will be described. In the downstream, processing proceeds in the order of the main system 200A, synchronization system 400, and target system 300A.

メインシステム200Aと同期システム400とは、設置場所等が異なるシステムである。このため、メインシステム200Aと同期システム400との間のデータの送受信は、インターネット等を介して行われる。本実施の形態では、メインシステム200Aと同期システム400とで行われるAPI連携により、各種のデータが送受信される。 The main system 200A and the synchronization system 400 are systems installed in different locations, etc. Therefore, data is sent and received between the main system 200A and the synchronization system 400 via the Internet, etc. In this embodiment, various types of data are sent and received via API linkage between the main system 200A and the synchronization system 400.

メインシステム200Aは、送信部25を備える。
送信部25は、メインシステム200Aで追加、修正又は削除された会計仕訳の仕訳データ20をAPI連携で同期システム400に送信する。
The main system 200A includes a transmitting unit 25 .
The transmission unit 25 transmits the journal entry data 20 of the accounting entries that have been added, modified, or deleted in the main system 200A to the synchronization system 400 via API linkage.

同期システム400は、図2に示した同期サブシステム210が備える変換部30、変換テーブル31、同期テーブル33、待受部34に加えて受信部39を備える。
上述したように、メインシステム200Aと、同期システム400とは別々に構成されている。このため、メインシステム200Aには、仕訳データ20を送信するための送信部25が設けられ、同期システム400には、仕訳データ20を受信するための受信部39が設けられる。
The synchronization system 400 includes a receiving unit 39 in addition to the conversion unit 30, conversion table 31, synchronization table 33, and waiting unit 34 included in the synchronization subsystem 210 shown in FIG.
As described above, the main system 200A and the synchronization system 400 are configured separately. Therefore, the main system 200A is provided with a transmitting unit 25 for transmitting the journal data 20, and the synchronization system 400 is provided with a receiving unit 39 for receiving the journal data 20.

メインシステム200Aの送信部25から、同期システム400の受信部39に対するデータ送信に際して、API連携が用いられる。受信部39はメインシステム200Aに対してAPIを提供している。送信部25は、仕訳データ20の送信可否を同期システム400に問い合わせ(リクエスト)、受信部39は、仕訳データ20を受信可能であることをメインシステム200Aに通知する(レスポンス)。その後、送信部25は、仕訳データ20を送信し、受信部39が仕訳データ20を受信する。 API integration is used when data is sent from the sending unit 25 of the main system 200A to the receiving unit 39 of the synchronization system 400. The receiving unit 39 provides an API to the main system 200A. The sending unit 25 queries (requests) the synchronization system 400 as to whether or not the journal data 20 can be sent, and the receiving unit 39 notifies (responses) the main system 200A that it is able to receive the journal data 20. The sending unit 25 then sends the journal data 20, and the receiving unit 39 receives the journal data 20.

受信部39が仕訳データ20を受信した後の処理の流れは、図2に示した同期サブシステム210及びターゲットシステム300における処理の流れと同様である。
すなわち、変換部30は、変換テーブル31を参照して、受信部39がメインシステム200Aから受信した仕訳データ20を、ターゲットシステム300A用の仕訳データ32に変換し、同期テーブル33に保存する。
The processing flow after the receiving unit 39 receives the journalizing data 20 is the same as the processing flow in the synchronization subsystem 210 and the target system 300 shown in FIG.
That is, the conversion unit 30 refers to the conversion table 31 to convert the journal data 20 received by the receiving unit 39 from the main system 200A into journal data 32 for the target system 300A and stores it in the synchronization table 33.

図5は、第2の実施の形態に係るデータ連携システム100Aのアップストリームに関わる機能ブロックの構成例を示す。ここでは、同期システム400を通じたアップストリームの処理に関わる機能ブロックの構成例及び動作例について説明する。アップストリームでは、ターゲットシステム300A、同期システム400、メインシステム200A、同期システム400、ターゲットシステム300Aの順に処理が進む。 Figure 5 shows an example configuration of functional blocks related to the upstream of a data linkage system 100A according to the second embodiment. Here, an example configuration and operation of functional blocks related to upstream processing through the synchronization system 400 will be described. In the upstream, processing proceeds in the order of target system 300A, synchronization system 400, main system 200A, synchronization system 400, and target system 300A.

ターゲットシステム300Aは、図2に示した仕訳作成部50の他、送信部52を備える。
送信部52は、ターゲットシステム300Aで仕訳された仕訳データ51をAPI連携で同期システム400に送信する。
The target system 300A includes a transmission unit 52 in addition to the journal entry creation unit 50 shown in FIG.
The transmission unit 52 transmits the journal data 51 journalized in the target system 300A to the synchronization system 400 via API linkage.

同期システム400は、図3に示した同期サブシステム210が備える変換部30、変換テーブル31、同期テーブル33、待受部34、受信部35、逆変換部36、逆変換テーブル37に加えて、受信部39及び送信部40を備える。同期システム400とターゲットシステム300Aとの間では、API連携で仕訳データ51及び変換後の仕訳データ38が送受信される。 The synchronization system 400 includes a receiving unit 39 and a transmitting unit 40 in addition to the conversion unit 30, conversion table 31, synchronization table 33, standby unit 34, receiving unit 35, inverse conversion unit 36, and inverse conversion table 37 provided in the synchronization subsystem 210 shown in FIG. 3. Journal data 51 and converted journal data 38 are sent and received between the synchronization system 400 and the target system 300A via API linkage.

同期システム400の受信部35がターゲットシステム300Aから受信した仕訳データ51の項目は、逆変換テーブル37を参照する逆変換部36により逆変換され、同期テーブル33に格納される。そして、送信部40(第1送信部の一例)は、同期テーブル33から読み出した逆変換後の仕訳データ51(逆変換後の第2仕訳データの一例)をメインシステム200Aに送信する。 The items of the journal data 51 received by the receiving unit 35 of the synchronization system 400 from the target system 300A are inversely converted by the inverse conversion unit 36, which references the inverse conversion table 37, and stored in the synchronization table 33. The transmitting unit 40 (an example of a first transmitting unit) then transmits the inversely converted journal data 51 (an example of second journal data after inverse conversion) read from the synchronization table 33 to the main system 200A.

メインシステム200Aは、図3に示した自動仕訳部22及び確定処理部23に加えて、送信部25及び受信部26を備える。メインシステム200Aと同期システム400との間は、API連携で未確定仕訳データ21及び仕訳データ24が送受信される。 The main system 200A includes a transmitter 25 and a receiver 26 in addition to the automatic journalizing unit 22 and confirmation processing unit 23 shown in Figure 3. Unconfirmed journalizing data 21 and journalizing data 24 are sent and received between the main system 200A and the synchronization system 400 via API linkage.

受信部26(第2受信部の一例)は、同期システム400の送信部40から送信され逆変換された仕訳データ51を、未確定仕訳データ21として受信する。未確定仕訳データ21は、メインシステム200Aの自動仕訳部22により自動仕訳される。そして、確定処理部23により仕訳が確定されると、仕訳データ24が作成される。 The receiving unit 26 (an example of a second receiving unit) receives the reverse-converted journal data 51 transmitted from the transmitting unit 40 of the synchronization system 400 as unconfirmed journal data 21. The unconfirmed journal data 21 is automatically journalized by the automatic journalizing unit 22 of the main system 200A. Then, when the journalization is confirmed by the confirmation processing unit 23, journal data 24 is created.

同期システム400の送信部40から、メインシステム200Aの受信部26に対するデータ送信に際して、API連携が用いられる。受信部26はメインシステム200Aに対してAPIを提供している。同期システム400の送信部40は、逆変換後の仕訳データ51の送信可否をメインシステム200Aに問い合わせ(リクエスト)、メインシステム200Aの受信部26は、逆変換後の仕訳データ51を受信可能であることを同期システム400に通知する(レスポンス)。その後、送信部40は、逆変換後の仕訳データ51を送信し、受信部26が逆変換後の仕訳データ51を受信する。 API integration is used when data is sent from the transmitter 40 of the synchronization system 400 to the receiver 26 of the main system 200A. The receiver 26 provides an API to the main system 200A. The transmitter 40 of the synchronization system 400 queries (requests) the main system 200A as to whether or not it is possible to send the inversely converted journal data 51, and the receiver 26 of the main system 200A notifies (responses) the synchronization system 400 that it is able to receive the inversely converted journal data 51. The transmitter 40 then transmits the inversely converted journal data 51, and the receiver 26 receives the inversely converted journal data 51.

メインシステム200Aの送信部25(第2送信部の一例)は、仕訳データ24(確定仕訳が行われた第2仕訳データの一例)を同期システム400に送信する。この送信部25は、同期システム400に対するリクエストとレスポンスを制御する。そして、送信部25は、API連携で同期システム400に仕訳データ24を送信する。 The transmission unit 25 (an example of a second transmission unit) of the main system 200A transmits journal data 24 (an example of second journal data for which final journalization has been performed) to the synchronization system 400. This transmission unit 25 controls requests and responses to the synchronization system 400. The transmission unit 25 then transmits the journal data 24 to the synchronization system 400 via API integration.

同期システム400の受信部39は、メインシステム200Aの送信部25からのリクエストに応答する。受信部39は、確定処理部23が確定した仕訳である仕訳データ24は、メインシステム200Aの送信部25から受信する。そして、同期システム400の変換部30は、変換テーブル31を参照し、仕訳データ24をターゲット用の仕訳データ38に変換する。そして、変換部30は、仕訳データ24を変換した仕訳データ38を同期テーブル33に格納する。 The receiving unit 39 of the synchronization system 400 responds to requests from the transmitting unit 25 of the main system 200A. The receiving unit 39 receives journal data 24, which is journal entries confirmed by the confirmation processing unit 23, from the transmitting unit 25 of the main system 200A. The converting unit 30 of the synchronization system 400 then refers to the conversion table 31 and converts the journal data 24 into journal data 38 for the target. The converting unit 30 then stores the journal data 38 converted from the journal data 24 in the synchronization table 33.

同期システム400の待受部34は、ターゲットシステム300の仕訳作成部50から取り込み要求を受信すると、ターゲットシステム300に仕訳データ38を送る。また、待受部34は、仕訳作成部50から取込結果を受信すると、同期テーブル33から仕訳データ38を削除する。 When the standby unit 34 of the synchronization system 400 receives an import request from the journal entry creation unit 50 of the target system 300, it sends journal entry data 38 to the target system 300. Furthermore, when the standby unit 34 receives the import results from the journal entry creation unit 50, it deletes the journal entry data 38 from the synchronization table 33.

図6は、変換テーブル31及び逆変換テーブル37のテーブル構成例を示す図である。
変換テーブル31は、メインシステム200,200Aで使用される項目を、ターゲットシステム300,300Aで使用される項目に変換するために設けられる。変換テーブル31には、メインシステム、ターゲットシステムの項目が設けられる。そして、変換テーブル31には、勘定科目、消費税区分の項目ごとに変換元と変換先のデータが格納される。例えば、メインシステム200,200Aで使用される「現金」の勘定科目は、変換テーブル31を通じて「小口現金」に変換される。なお、メインシステム200,200Aで使用される「事務用品費」の勘定科目は、ターゲットシステム300,300Aで使用される勘定科目と同じである。変換部30は仕訳データの変換時に勘定科目が同じ名称であるか否かの判定をしないで変換するので、変換テーブル31には各会計システムで同じ名称の勘定科目があってもよい。また、勘定科目に割り当てられるコードは、各会計システムの内部に存在しているので、実際の処理では変換部30はコードを変換している。このため、実務的には、各会計システムで用いられる勘定科目が同じ名称であることが多い。
FIG. 6 is a diagram showing an example of the table configuration of the conversion table 31 and the inverse conversion table 37. As shown in FIG.
The conversion table 31 is provided to convert items used in the main systems 200 and 200A into items used in the target systems 300 and 300A. The conversion table 31 includes items for the main system and the target system. The conversion table 31 stores source and destination data for each account item and consumption tax category. For example, the account item "Cash" used in the main systems 200 and 200A is converted to "Petty Cash" through the conversion table 31. The account item "Office Supplies Expenses" used in the main systems 200 and 200A is the same as the account item used in the target systems 300 and 300A. Since the conversion unit 30 converts journal data without determining whether the account items have the same names, the conversion table 31 may contain account items with the same names in each accounting system. Furthermore, because the codes assigned to account items exist within each accounting system, the conversion unit 30 converts the codes in actual processing. Therefore, in practice, account items used in each accounting system often have the same names.

逆変換テーブル37は、ターゲットシステム300,300Aで使用される項目を、メインシステム200で使用される項目に変換するために設けられる。逆変換テーブル37の構成は、変換テーブル31と同様である。例えば、ターゲットシステム300,300Aで使用される「小口現金」の勘定科目は、逆変換テーブル37を通じて「現金」に変換される。 The reverse conversion table 37 is provided to convert items used in the target systems 300 and 300A into items used in the main system 200. The configuration of the reverse conversion table 37 is similar to that of the conversion table 31. For example, the account item "petty cash" used in the target systems 300 and 300A is converted to "cash" through the reverse conversion table 37.

変換テーブル31と逆変換テーブル37は実質的に同じ内容である。本実施の形態の説明では、変換、逆変換の処理を明確に分けるため、変換時には変換テーブル31を用い、逆変換時には逆変換テーブル37を用いる構成としたが、変換テーブル31と逆変換テーブル37を同じテーブルとして用いてもよい。 Conversion table 31 and inverse conversion table 37 have substantially the same content. In the description of this embodiment, in order to clearly distinguish between conversion and inverse conversion processing, conversion table 31 is used during conversion and inverse conversion table 37 is used during inverse conversion, but conversion table 31 and inverse conversion table 37 may also be used as the same table.

[同期テーブルのデータの変化]
次に、同期テーブル33のデータの変化について、ダウンストリーム、アップストリームの順に説明する。第1の実施の形態に係るデータ連携システム100、第2の実施の形態に係るデータ連携システム100Aのいずれでも同じように同期テーブル33のデータが変化する。そこで、以下の説明では、図2と図4に示した第1の実施の形態に係るデータ連携システム100の構成例を参照して、同期テーブル33のデータの変化について説明する。
[Data changes in synchronized tables]
Next, changes in data in the synchronization table 33 will be described in the order of downstream and upstream. The data in the synchronization table 33 changes in the same way in both the data linkage system 100 according to the first embodiment and the data linkage system 100A according to the second embodiment. Therefore, in the following explanation, changes in data in the synchronization table 33 will be described with reference to the configuration example of the data linkage system 100 according to the first embodiment shown in FIGS. 2 and 4.

<ダウンストリームの処理>
ここで、ダウンストリームの処理を、追加、修正、削除の順に、図7~図9を参照して説明する。
Downstream Processing
Here, downstream processing will be described in the order of addition, modification, and deletion with reference to FIGS.

<ダウンストリーム追加の処理>
図7は、ダウンストリーム追加の処理における同期テーブル33のデータの変化の様子を示す。
同期テーブル33は、メインシステム200で起票された伝票(仕訳)を伝票番号ごとに管理する。この伝票のレコードは、区分、システム名、伝票日付、伝票番号、借方科目、貸方科目、消費税区分、金額、摘要、同期状態区分の項目で構成される。なお、伝票のレコードは、メインシステムとターゲットシステムとで同じ項目を有している。また、一つの伝票について一つのレコードが作成される。
<Downstream addition processing>
FIG. 7 shows how the data in the synchronization table 33 changes during downstream addition processing.
The synchronization table 33 manages vouchers (journal entries) created in the main system 200 by voucher number. This voucher record consists of the following fields: category, system name, voucher date, voucher number, debit item, credit item, consumption tax category, amount, summary, and synchronization status category. Note that the voucher record has the same fields in both the main system and the target system. Furthermore, one record is created for one voucher.

図7では、説明の都合上、メインシステム200とターゲットシステム300のレコードを上下に並べて図示しているが、実際には、区分、メインシステム200のレコード(伝票日付、…、摘要)、ターゲットシステム300のレコード(伝票日付、…、摘要)、同期状態区分の順に項目が並んでいる。また、システムの項目には、メインシステム200又はターゲットシステム300を識別する識別ID(不図示)が格納されている。 For ease of explanation, Figure 7 shows the records of the main system 200 and the target system 300 arranged vertically, but in reality, the items are arranged in the following order: category, main system 200 record (voucher date, ..., summary), target system 300 record (voucher date, ..., summary), and synchronization status category. The system item also stores an identification ID (not shown) that identifies the main system 200 or target system 300.

(メインシステム及び同期サブシステムの処理)
メインシステム200で仕訳が追加されると、例えば、伝票番号として「00012」が採番された仕訳データ20が作成される。この仕訳データ20の伝票日付は「2021-4-5」、借方科目は「交際費」、貸方科目は「現金」、消費税区分は「課税」、金額は「11,000」、摘要は「取引先と飲食」である。
(Main system and synchronous subsystem processing)
When a journal entry is added in the main system 200, for example, journal entry data 20 is created with a voucher number of "00012." The voucher date of this journal entry data 20 is "2021-4-5," the debit item is "entertainment expenses," the credit item is "cash," the consumption tax classification is "taxable," the amount is "11,000," and the summary is "dining with business partner."

変換部30は、変換テーブル31を参照して、仕訳データ20の借方科目、貸方科目、消費税区分の内容を、ターゲットシステム300の内容に変換し、ターゲットシステム用の仕訳データ32を作成する。 The conversion unit 30 refers to the conversion table 31 to convert the contents of the debit items, credit items, and consumption tax classifications in the journal data 20 into the contents of the target system 300, and creates journal data 32 for the target system.

メインシステム200とターゲットシステム300では、例えば、借方科目、貸方科目、消費税区分の内容が異なる。借方科目であれば、メインシステム200が「交際費」、ターゲットシステム300が「交際接待費」を用いている。また、貸方科目であれば、メインシステム200が「現金」、ターゲットシステム300が「小口現金」を用いている。また、消費税区分であれば、メインシステム200が「課税」、ターゲットシステム300が「10」を用いている。 For example, the main system 200 and the target system 300 differ in the contents of the debit items, credit items, and consumption tax classification. For the debit items, the main system 200 uses "entertainment expenses" and the target system 300 uses "entertainment expenses." For the credit items, the main system 200 uses "cash" and the target system 300 uses "petty cash." For the consumption tax classification, the main system 200 uses "taxable" and the target system 300 uses "10."

このように変換テーブル31には、メインシステム200からターゲットシステム300に項目を変換する時の項目毎の対応が格納されている。
メインシステム200とターゲットシステム300では、項目の内容が異なることがあるので、メインシステム200が作成した仕訳データ20の項目を仕訳データ32に変換することで、ターゲットシステム300が仕訳データ32を取り込むことができる。
In this way, the conversion table 31 stores the correspondence for each item when converting an item from the main system 200 to the target system 300 .
Since the contents of items may differ between the main system 200 and the target system 300, the items of the journal data 20 created by the main system 200 can be converted into journal data 32, so that the target system 300 can import the journal data 32.

また、変換部30は、同期状態区分に未取込を表す「1」を追加し、ターゲットシステム300がまだ付加していない伝票番号の項目は空欄とした仕訳データ32を同期テーブル33に書き込む。未取込とは、ターゲットシステム300が仕訳データ32を取り込んでいないことを表す。図7のレコード(1)は、変換後の仕訳データ32が同期テーブル33に格納された様子を表す。 The conversion unit 30 also adds "1" to the synchronization status category, indicating that the journal data 32 has not been imported, and writes the journal data 32 to the synchronization table 33, leaving blank any voucher numbers that the target system 300 has not yet added. "Not imported" indicates that the target system 300 has not imported the journal data 32. Record (1) in Figure 7 shows how the converted journal data 32 is stored in the synchronization table 33.

(ターゲットシステムの処理)
ターゲットシステム300の仕訳作成部50は、同期サブシステム210の待受部34に対して、同期状態区分が未取込である仕訳データ32が同期テーブル33に格納されているか否かを問い合わせる。待受部34は、仕訳作成部50から問い合わせを受けると、未取込である仕訳データ32の格納有無を返答すると共に、同期テーブル33から未取込の状態である仕訳データ32を読み出し、ターゲットシステム300に送信する。
(Target system processing)
The journal entry creation unit 50 of the target system 300 inquires of the waiting unit 34 of the synchronization subsystem 210 as to whether or not journal entry data 32 whose synchronization status classification is "not imported" is stored in the synchronization table 33. When the waiting unit 34 receives the inquiry from the journal entry creation unit 50, it replies as to whether or not the journal entry data 32 that has not been imported is stored, and also reads out the journal entry data 32 that has not been imported from the synchronization table 33 and transmits it to the target system 300.

ターゲットシステム300は、待受部34から取込んだ仕訳データ32に基づいて、仕訳を更新する。また、ターゲットシステム300は、メインシステム200で追加された仕訳の修正又は削除の同期をとるため、メインシステム200で付された伝票番号を保持しておく。 The target system 300 updates the journal entries based on the journal entry data 32 imported from the standby unit 34. The target system 300 also stores the slip numbers assigned by the main system 200 in order to synchronize the correction or deletion of journal entries added by the main system 200.

また、ターゲットシステム300は、待受部34から取込んだ仕訳データ32に対して、ターゲットシステム300が管理する伝票番号を採番する。ターゲットシステム300が採番する伝票番号は「0084」であり、メインシステム200で採番された伝票番号とは異なる。 Furthermore, the target system 300 assigns a slip number managed by the target system 300 to the journal data 32 imported from the standby unit 34. The slip number assigned by the target system 300 is "0084", which is different from the slip number assigned by the main system 200.

その後、ターゲットシステム300の仕訳作成部50は、ターゲットシステム300が採番した伝票番号「0084」を待受部34に送信する。待受部34は、同期テーブル33に、ターゲットシステム300で採番された伝票番号「0084」と、同期状態区分に、ターゲットシステム300が仕訳データ32で更新済みであることを表す「2」を書き込む。図7のレコード(2)は、ターゲットシステム300が仕訳データ32を取り込み、仕訳を更新したことを表している。 Then, the journal entry creation unit 50 of the target system 300 sends the voucher number "0084" assigned by the target system 300 to the standby unit 34. The standby unit 34 writes the voucher number "0084" assigned by the target system 300 and writes "2" to the synchronization status category in the synchronization table 33, indicating that the target system 300 has been updated with the journal entry data 32. Record (2) in Figure 7 indicates that the target system 300 has imported the journal entry data 32 and updated the journal entry.

その後、同期サブシステム210は、図7のレコード(2)を削除するため、常に、又は一定期間監視し、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図7のレコード(2)を削除する。 Then, the synchronization subsystem 210 monitors constantly or for a certain period of time to delete record (2) in Figure 7, and after a certain period of time has passed, it deletes record (2) in Figure 7, in which the updated "2" has been written in the synchronization status section, in order to free up space in the synchronization table 33.

<ダウンストリーム修正の処理>
図8は、ダウンストリーム修正の処理における同期テーブル33のデータの変化の様子を示す。
メインシステム200が過去に追加した仕訳データ20を修正する場合、ターゲットシステム300においても、過去に同期テーブル33から取り込んだ仕訳の修正内容を反映する必要がある。例えば、メインシステム200が伝票番号「00012」の仕訳の金額を「11,000」から「22,000」に変更し、同期テーブル33に修正前の仕訳と修正後の仕訳を追加したことを想定する。
Handling Downstream Modifications
FIG. 8 shows how data in the synchronization table 33 changes during downstream modification processing.
When the main system 200 modifies the journal data 20 that it previously added, the target system 300 must also reflect the modified contents of the journal that it previously imported from the synchronization table 33. For example, assume that the main system 200 changes the amount of the journal entry for voucher number "00012" from "11,000" to "22,000" and adds the journal entry before and after the modification to the synchronization table 33.

メインシステム200は仕訳を修正すると、修正前の仕訳と、修正後の仕訳を含む仕訳データ20を作成する。このように仕訳データ20を作成するのは、過去に追加された仕訳である修正前の仕訳のレコードは、ターゲットシステム300に取り込まれた後に削除され、同期テーブル33に存在しないためである。そこで、ターゲットシステム300に取り込まれた修正前の仕訳のレコードを削除するために、修正前の仕訳のレコードが同期テーブル33に格納される。 When the main system 200 corrects a journal entry, it creates journal entry data 20 that includes both the journal entry before the correction and the journal entry after the correction. The reason for creating journal entry data 20 in this manner is that the record of the journal entry before the correction, which is a journal entry added in the past, is deleted after being imported into the target system 300 and does not exist in the synchronization table 33. Therefore, in order to delete the record of the journal entry before the correction that was imported into the target system 300, the record of the journal entry before the correction is stored in the synchronization table 33.

変換部30は、変換テーブル31を参照して、仕訳データ20の借方科目、貸方科目、消費税区分を変換する。そして、変換部30は、削除D(修正前)と追加A(修正後)の仕訳に対応する同期状態区分に未取込の「1」を書き込む。今回は金額のみの修正であるが、その他の項目が変更された場合、変換部30は、修正前と修正後の仕訳データ32を作成する。 The conversion unit 30 refers to the conversion table 31 to convert the debit items, credit items, and consumption tax categories of the journal data 20. The conversion unit 30 then writes the unimported "1" into the synchronization status category corresponding to the journal entries of deletion D (before correction) and addition A (after correction). In this case, only the amount is corrected, but if other items are changed, the conversion unit 30 will create journal data 32 before and after correction.

図8のレコード(1)は、修正前の金額と、修正後の金額を並べた同期テーブル33の内容を表している。同期テーブル33に格納される図8のレコード(1)は、区分に「削除D(修正前)」が格納されたレコードと、区分に「追加A(修正後)」が格納されたレコードとで構成される。追加A(修正後)の仕訳に対応するレコードでは、金額の箇所を強調表示したように、メインシステム200とターゲットシステム300の金額が「11,000」から「22,000」に変わっている。 Record (1) in Figure 8 represents the contents of synchronization table 33, listing the amounts before and after correction. Record (1) in Figure 8 stored in synchronization table 33 consists of a record with "Delete D (before correction)" stored in the category and a record with "Addition A (after correction)" stored in the category. In the record corresponding to the journal entry for Addition A (after correction), the amount in the main system 200 and target system 300 has changed from "11,000" to "22,000," as the amount is highlighted.

図8のレコード(2)は、ターゲットシステム300によりレコードが取り込まれた同期テーブル33の内容を表している。ターゲットシステム300の仕訳作成部50は、待受部34を介して、図8のレコード(1)に示した削除D(修正前)と追加A(修正後)の仕訳のレコードを取り込む。そして、ターゲットシステム300は、削除D(修正前)のレコードにより、過去に取り込んだレコードを削除し、追加A(修正後)のレコードを追加する。このようにしてターゲットシステム300における仕訳が更新され、メインシステム200とターゲットシステム300の仕訳が同期される。 Record (2) in Figure 8 represents the contents of the synchronization table 33 into which records have been imported by the target system 300. The journal entry creation unit 50 of the target system 300 imports the journal entry records for deletion D (before correction) and addition A (after correction) shown in record (1) in Figure 8 via the waiting unit 34. The target system 300 then deletes the previously imported record using the deletion D (before correction) record and adds the addition A (after correction) record. In this way, the journal entries in the target system 300 are updated, and the journal entries in the main system 200 and target system 300 are synchronized.

また、ターゲットシステム300は、メインシステム200との間で仕訳の削除及び修正の同期をとるため、メインシステム200で採番された伝票番号「00012」を保持している。そして、ターゲットシステム300は、待受部34に対してターゲットシステム300が追加A(修正後)のレコードに採番した新たな伝票番号「0085」と、削除D(修正前)と追加A(修正後)の仕訳のレコードに対する更新済みのステータスを通知する。 The target system 300 also holds the voucher number "00012" assigned by the main system 200 in order to synchronize journal entry deletions and modifications with the main system 200. The target system 300 then notifies the standby unit 34 of the new voucher number "0085" assigned by the target system 300 to the record for Addition A (after modification), and the updated status of the journal entry records for Deletion D (before modification) and Addition A (after modification).

待受部34は、同期テーブル33に格納されている、追加A(修正後)のレコードのターゲットシステム300の伝票番号にターゲットシステム300から通知された伝票番号「0085」を書き込む。また、待受部34は、同期テーブル33に格納されている、削除D(修正前)のレコードと、追加A(修正後)のレコードの同期状態区分に、ターゲットシステム300の仕訳が更新済みであることを表す「2」を書き込む。 The waiting unit 34 writes the voucher number "0085" notified from the target system 300 into the target system 300 voucher number of the record for addition A (after correction) stored in the synchronization table 33. The waiting unit 34 also writes "2" into the synchronization status category of the record for deletion D (before correction) and the record for addition A (after correction) stored in the synchronization table 33, indicating that the journal entry in the target system 300 has been updated.

なお、ターゲットシステム300は、削除D(修正前)のレコードに基づいて、メインシステム200の伝票番号「00012」が付加された伝票のレコードを削除する。区分に「削除D(修正前)」が格納されたレコードは、メインシステム200とターゲットシステム300との仕訳の同期には不要である。しかし、メインシステム200とターゲットシステム300とが、現時点で管理している仕訳の内容を相互に確認するために用いられている。 The target system 300 deletes the record of the voucher in the main system 200 with the voucher number "00012" added, based on the record of Deletion D (before correction). The record with "Deletion D (before correction)" stored in the category is not necessary for synchronizing the journal entries between the main system 200 and the target system 300. However, it is used by the main system 200 and the target system 300 to mutually confirm the contents of the journal entries currently being managed.

削除D(修正前)のレコードと、追加A(修正後)のレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図8のレコード(2)を削除するため、常時あるいは一定期間だけ監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図8のレコード(2)を削除する。 After the updated "2" is written in the synchronization status section of the Delete D (before modification) record and the Add A (after modification) record, the synchronization subsystem 210 monitors constantly or for a fixed period of time to delete record (2) in Figure 8 from the synchronization table 33. Then, after a fixed period of time has passed, the synchronization subsystem 210 deletes record (2) in Figure 8, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

<ダウンストリーム削除の処理>
図9は、ダウンストリーム削除の処理における同期テーブル33のデータの変化の様子を示す。
メインシステム200が過去に追加した仕訳を削除する場合、ターゲットシステム300においても、過去に同期テーブル33から取り込んだ仕訳を削除する必要がある。例えば、メインシステム200が伝票番号「00012」の仕訳を削除すると、同期テーブル33に削除した仕訳に対応するレコードが書き込まれる。
<Downstream deletion processing>
FIG. 9 shows how data in the synchronization table 33 changes during downstream deletion processing.
When the main system 200 deletes a journal entry that was previously added, the target system 300 also needs to delete the journal entry that was previously imported from the synchronization table 33. For example, when the main system 200 deletes a journal entry with voucher number "00012", a record corresponding to the deleted journal entry is written in the synchronization table 33.

メインシステム200が仕訳を削除すると、削除した仕訳に対応する仕訳データ20を作成する。このように仕訳データ20を作成するのは、過去に追加された仕訳である修正前の仕訳のレコードは、ターゲットシステム300に取り込まれたことにより、同期テーブル33に存在しないためである。そこで、ターゲットシステム300に取り込まれた修正前の仕訳のレコードを削除するために、削除の仕訳のレコードが同期テーブル33に格納される。 When the main system 200 deletes a journal entry, it creates journal entry data 20 corresponding to the deleted journal entry. The reason for creating journal entry data 20 in this way is that the record of the pre-correction journal entry, which is a journal entry added in the past, has been imported into the target system 300 and therefore does not exist in the synchronization table 33. Therefore, in order to delete the record of the pre-correction journal entry imported into the target system 300, the record of the deleted journal entry is stored in the synchronization table 33.

変換部30は、変換テーブル31を参照して、仕訳データ20の借方科目、貸方科目、消費税区分を変換する。そして、変換部30は、削除Dの仕訳に対応する同期状態区分に未取込の「1」を書き込む。 The conversion unit 30 refers to the conversion table 31 and converts the debit items, credit items, and consumption tax categories of the journal data 20. The conversion unit 30 then writes the unimported "1" into the synchronization status category corresponding to the journal entry for deletion D.

図9のレコード(1)は、削除される仕訳に対応して同期テーブル33に格納されるレコードの内容を表している。同期テーブル33に格納される図9のレコード(1)の区分に「削除D」が格納されている。ターゲットシステム300は、削除Dのレコードにより、過去に取り込んだレコードを削除する。このようにしてターゲットシステム300における仕訳が更新され、メインシステム200とターゲットシステム300の仕訳が同期される。 Record (1) in Figure 9 represents the contents of the record stored in synchronization table 33 corresponding to the journal entry to be deleted. "Delete D" is stored in the category of record (1) in Figure 9 stored in synchronization table 33. The target system 300 deletes the previously imported record using the Delete D record. In this way, the journal entry in the target system 300 is updated, and the journal entries in the main system 200 and target system 300 are synchronized.

また、ターゲットシステム300は、メインシステム200との間で仕訳の削除及び修正の同期をとるため、メインシステム200で採番された伝票番号「00012」を保持している。そして、ターゲットシステム300は、待受部34に対して、削除Dの仕訳に対する伝票番号「0085」と更新済みのステータスを通知する。 In addition, the target system 300 holds the voucher number "00012" assigned by the main system 200 in order to synchronize journal entry deletions and modifications with the main system 200. The target system 300 then notifies the standby unit 34 of the voucher number "0085" for the journal entry for deletion D and the updated status.

待受部34は、同期テーブル33に格納されている、削除Dのレコードのターゲットシステム300の伝票番号に、ターゲットシステム300から通知された伝票番号「0085」を書き込む。また、待受部34は、同期テーブル33に格納されている、削除Dのレコードの同期状態区分に、ターゲットシステム300の仕訳が更新済みであることを表す「2」を書き込む。 The waiting unit 34 writes the voucher number "0085" notified from the target system 300 into the target system 300 voucher number of the record for deletion D stored in the synchronization table 33. The waiting unit 34 also writes "2" into the synchronization status category of the record for deletion D stored in the synchronization table 33, indicating that the journal entry in the target system 300 has been updated.

なお、ターゲットシステム300は、待受部34を介して同期テーブル33から読み出された、削除Dのレコードを取込む。そして、ターゲットシステム300の仕訳作成部50は、削除Dのレコードに基づいて、ターゲットシステム300が管理する仕訳から、メインシステム200の伝票番号が「00012」である伝票を削除する。
区分に「削除D」が格納されたレコードは、メインシステム200とターゲットシステム300との仕訳の同期には不要である。しかし、この削除Dのレコードは、メインシステム200とターゲットシステム300とが、現時点で管理している仕訳の内容を相互に確認するために用いられている。
The target system 300 retrieves the record of deletion D read from the synchronization table 33 via the waiting unit 34. Then, the journal entry preparation unit 50 of the target system 300 deletes the voucher with the voucher number "00012" of the main system 200 from the journal entries managed by the target system 300 based on the record of deletion D.
Records with "Delete D" stored in the category are not necessary for synchronizing journal entries between the main system 200 and the target system 300. However, these records with Delete D are used by the main system 200 and the target system 300 to mutually confirm the contents of the journal entries currently being managed.

すなわち、削除Dのレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図9のレコード(2)を削除するため、常時又は一定期間だけ削除Dのレコードを監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図9のレコード(2)を削除する。 In other words, after the updated "2" is written in the synchronization status section of the record for deletion D, the synchronization subsystem 210 monitors the record for deletion D constantly or for a fixed period of time in order to delete record (2) in Figure 9 from the synchronization table 33. Then, after the fixed period has passed, the synchronization subsystem 210 deletes record (2) in Figure 9, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

<アップストリームの処理>
次に、アップストリームの処理を、追加、追加の取消、修正、修正の取消、削除、削除の取消の順に、図10~図15を参照して説明する。
Upstream Processing
Next, upstream processing will be described in the order of addition, undo addition, modification, undo modification, deletion, and undo deletion with reference to FIGS.

<アップストリーム追加の処理>
図10は、アップストリーム追加の処理における同期テーブル33のデータの変化の様子を示す。アップストリーム追加の処理では、ターゲットシステム300にて追加された仕訳に対して、メインシステム200にて仕訳を追加する確定仕訳が行われ、ターゲットシステム300に確定仕訳が反映される。
<Upstream addition process>
10 shows how data in the synchronization table 33 changes during upstream addition processing. During upstream addition processing, a finalized journal entry is added in the main system 200 to the journal entry added in the target system 300, and the finalized journal entry is reflected in the target system 300.

ターゲットシステム300が伝票番号「0086」の新たな仕訳を作成すると、ターゲットシステム300の送信部52は、追加された仕訳に対応する仕訳データ51をAPI連携で同期サブシステム210に送信する。この仕訳データ51は、同期サブシステム210の受信部35を経て、逆変換部36にて逆変換されて同期テーブル33に格納される。 When the target system 300 creates a new journal entry for voucher number "0086," the transmission unit 52 of the target system 300 transmits journal entry data 51 corresponding to the added journal entry to the synchronization subsystem 210 via API integration. This journal entry data 51 passes through the reception unit 35 of the synchronization subsystem 210, is inversely converted by the inverse conversion unit 36, and is stored in the synchronization table 33.

図10のレコード(1)は、ターゲットシステム300が新たな仕訳を作成し、この仕訳に採番した伝票番号「0086」の伝票の内容を表している。そして、同期サブシステム210では、ターゲットシステム300から受信した仕訳データ51を逆変換部36に出力する。逆変換部36は、逆変換テーブル37を参照して、仕訳データ51を逆変換し、逆変換したデータを未確定仕訳データ21として同期テーブル33に格納する。 Record (1) in Figure 10 represents the contents of the voucher with voucher number "0086" assigned to a new journal entry created by the target system 300. The synchronization subsystem 210 then outputs the journal entry data 51 received from the target system 300 to the inverse conversion unit 36. The inverse conversion unit 36 inversely converts the journal entry data 51 by referencing the inverse conversion table 37, and stores the inversely converted data in the synchronization table 33 as unconfirmed journal entry data 21.

この時、逆変換部36は、メインシステム200の伝票番号の欄に「00013」を自動採番して追加する。このように逆変換部36が未確定仕訳データ21を同期テーブル33に書き込む際に、メインシステム200の伝票番号を採番するのは、重複したデータがメインシステム200に存在しないようにするためである。このため、逆変換部36は、メインシステム200に対して、採番可能な空き番号を問い合わせてもよい。図10のレコード(1)は、同期状態区分が「未取込」かつ確定状態が「未確定」である未確定仕訳データ21としてメインシステム200に取り込まれる。 At this time, the inverse conversion unit 36 automatically assigns and adds "00013" to the voucher number field of the main system 200. When the inverse conversion unit 36 writes the unconfirmed journal data 21 to the synchronization table 33, it assigns a voucher number from the main system 200 in this way to prevent duplicate data from existing in the main system 200. For this reason, the inverse conversion unit 36 may inquire of the main system 200 about available numbers that can be assigned. Record (1) in Figure 10 is imported into the main system 200 as unconfirmed journal data 21 whose synchronization status classification is "unimported" and whose confirmation status is "unconfirmed."

メインシステム200の自動仕訳部22は、同期テーブル33から未確定仕訳データ21を読み出し、自動仕訳を行う。
確定処理部23は、自動仕訳部22により自動仕訳された未確定仕訳データ21を表示し、ユーザーによる確定処理を受付ける。このため、自動仕訳部22は、未確定仕訳から自動仕訳を行って仕訳の候補を確定処理部23に表示させる。そして、ユーザーは、仕訳の候補から正しい仕訳を確認して、正しい仕訳により未確定仕訳データ21を確定し、更新する。
The automatic journalizing unit 22 of the main system 200 reads the unconfirmed journalizing data 21 from the synchronization table 33 and performs automatic journalizing.
The confirmation processing unit 23 displays the unconfirmed journal entry data 21 automatically journalized by the automatic journalizing unit 22 and accepts confirmation processing by the user. For this purpose, the automatic journalizing unit 22 performs automatic journalizing from the unconfirmed journal entry and causes candidate journal entries to be displayed on the confirmation processing unit 23. The user then confirms the correct journal entry from the candidate journal entries and confirms and updates the unconfirmed journal entry data 21 with the correct journal entry.

図10のレコード(2)は、メインシステム200とターゲットシステム300の摘要を「文房具」から「文房具 ノート」に修正された様子を表している。そして、仕訳が確定された未確定仕訳データ21が仕訳データ24として同期サブシステム210に出力される。 Record (2) in Figure 10 shows how the summary in the main system 200 and target system 300 has been corrected from "Stationery" to "Stationery Notebook." Then, the unconfirmed journal entry data 21, with the journal entry confirmed, is output to the synchronization subsystem 210 as journal entry data 24.

同期サブシステム210の変換部30は、メインシステム200から受信した仕訳データ24を仕訳データ38に変換すると、仕訳データ38を同期テーブル33に書き込む。この時、変換部30は、同期テーブル33に同期状態区分に未取込の「2」を書き込み、確定状態の欄を「確定」とする。 The conversion unit 30 of the synchronization subsystem 210 converts the journal data 24 received from the main system 200 into journal data 38, and then writes the journal data 38 to the synchronization table 33. At this time, the conversion unit 30 writes "2" (not yet imported) into the synchronization status category of the synchronization table 33, and sets the confirmation status column to "confirmed."

ターゲットシステム300の仕訳作成部50は、同期サブシステム210に対して、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードの有無を問い合わせる。待受部34は、仕訳作成部50から問い合わせを受けると、同期テーブル33から同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを読み出し、ターゲットシステム300に送信する。 The journal entry creation unit 50 of the target system 300 queries the synchronization subsystem 210 to see if there are any records whose synchronization status category is "unacquired" and whose confirmation status is "confirmed." When the waiting unit 34 receives a query from the journal entry creation unit 50, it reads records from the synchronization table 33 whose synchronization status category is "unacquired" and whose confirmation status is "confirmed," and sends them to the target system 300.

仕訳作成部50は、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを確定仕訳として取り込んでターゲットシステム300における仕訳処理を行う。そして、仕訳作成部50は、追加前の伝票番号「0086」の伝票を削除し、新たな伝票番号「0087」の伝票を追加する。 The journal entry creation unit 50 imports records whose synchronization status category is "unimported" and whose confirmation status is "confirmed" as confirmed journal entries and performs journal entry processing in the target system 300. The journal entry creation unit 50 then deletes the previous voucher with voucher number "0086" and adds a new voucher with voucher number "0087."

また、仕訳作成部50は、待受部34を通じて同期テーブル33のターゲットシステム300の伝票番号「0086」を、追加した伝票の伝票番号「0087」に書き換え、同期状態区分に更新済みの「2」を書き込む。図10のレコード(3)は、ターゲットシステム300が追加した伝票番号「0087」に書き換えられた様子を表している。 The journal entry creation unit 50 also rewrites the target system 300's voucher number "0086" in the synchronization table 33 via the standby unit 34 to the added voucher number "0087" and writes the updated "2" in the synchronization status category. Record (3) in Figure 10 shows the rewrite to the added voucher number "0087" by the target system 300.

追加Aのレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図10のレコード(3)を削除するため、常に、又は一定期間監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図10のレコード(3)を削除する。 After the updated "2" is written in the synchronization status section of the record for addition A, the synchronization subsystem 210 monitors constantly or for a certain period of time to delete record (3) in Figure 10 from the synchronization table 33. Then, after a certain period of time has passed, the synchronization subsystem 210 deletes record (3) in Figure 10, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

<アップストリーム追加の取消処理>
図11は、アップストリーム追加の取消処理における同期テーブル33のデータの変化の様子を示す。アップストリーム追加の取消処理では、ターゲットシステム300にて追加された仕訳に対して、メインシステム200が取り消しを行ったことで、ターゲットシステム300が追加した仕訳が取り消される。
<Upstream Addition Cancellation Process>
11 shows how data in the synchronization table 33 changes during the process of canceling an upstream addition. During the process of canceling an upstream addition, the main system 200 cancels a journal entry added by the target system 300, thereby canceling the journal entry added by the target system 300.

ターゲットシステム300が伝票番号「0086」の新たな仕訳を追加すると、ターゲットシステム300の送信部52は、追加された仕訳に対応する仕訳データ51をAPI連携で同期サブシステム210に送信する。この仕訳データ51は、同期サブシステム210の受信部35を経て、逆変換部36にて逆変換されて同期テーブル33に格納される。 When the target system 300 adds a new journal entry for voucher number "0086," the transmission unit 52 of the target system 300 transmits journal entry data 51 corresponding to the added journal entry to the synchronization subsystem 210 via API integration. This journal entry data 51 passes through the reception unit 35 of the synchronization subsystem 210, is inversely converted by the inverse conversion unit 36, and is stored in the synchronization table 33.

図11のレコード(1)は、ターゲットシステム300が新たな仕訳を追加し、この仕訳に採番した伝票番号「0086」の伝票の内容を表している。図11のレコード(1)は、図10のレコード(1)と同じ内容である。このレコードは、確定状態が「未確定」である未確定仕訳データ21としてメインシステム200に取り込まれる。 Record (1) in Figure 11 represents the contents of the voucher with voucher number "0086" assigned to a new journal entry added by the target system 300. Record (1) in Figure 11 has the same contents as record (1) in Figure 10. This record is imported into the main system 200 as unconfirmed journal entry data 21, whose confirmation status is "unconfirmed."

メインシステム200の自動仕訳部22は、同期テーブル33から未確定仕訳データ21を読み出し、自動仕訳を行って、仕訳の候補を確定処理部23に表示する。ユーザーは、確定処理部23を通じてターゲットシステム300による仕訳の追加を取り消したとする。 The automatic journalizing unit 22 of the main system 200 reads the unconfirmed journalizing data 21 from the synchronization table 33, performs automatic journalizing, and displays journalizing candidates in the confirmation processing unit 23. Let's assume that the user cancels the addition of a journalizing entry by the target system 300 through the confirmation processing unit 23.

同期サブシステム210の変換部30は、メインシステム200から受信した仕訳データ24を仕訳データ38に変換すると、仕訳データ38を同期テーブル33に書き込む。この時、変換部30は、仕訳データ38の区分を「削除」とし、同期状態区分に未取込の「1」を書き込み、確定状態の欄を「確定」とする。図11のレコード(2)は、ユーザーが仕訳の追加を取り消したことで、区分が「追加A」から削除「D」に変更された様子を表している。 The conversion unit 30 of the synchronization subsystem 210 converts the journal data 24 received from the main system 200 into journal data 38, and then writes the journal data 38 to the synchronization table 33. At this time, the conversion unit 30 sets the classification of the journal data 38 to "deleted," writes "1" (not yet imported) in the synchronization status classification, and sets the confirmation status column to "confirmed." Record (2) in Figure 11 shows how the classification has changed from "addition A" to "deletion D" (deletion) when the user cancels the addition of a journal entry.

ターゲットシステム300の仕訳作成部50は、同期サブシステム210に対して、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードの有無を問い合わせる。待受部34は、仕訳作成部50から問い合わせを受けると、同期テーブル33から同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを読み出し、ターゲットシステム300に送信する。 The journal entry creation unit 50 of the target system 300 queries the synchronization subsystem 210 to see if there are any records whose synchronization status category is "unacquired" and whose confirmation status is "confirmed." When the waiting unit 34 receives a query from the journal entry creation unit 50, it reads records from the synchronization table 33 whose synchronization status category is "unacquired" and whose confirmation status is "confirmed," and sends them to the target system 300.

仕訳作成部50は、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを確定仕訳として取り込んでターゲットシステム300における仕訳処理を行う。そして、仕訳作成部50は、追加した伝票番号「0086」の伝票を削除する。また、仕訳作成部50は、待受部34を通じて同期テーブル33のレコードの同期状態区分に更新済みの「2」を書き込む。図11のレコード(3)は、同期状態区分が更新済みの「2」に書き換えられた様子を表している。 The journal entry creation unit 50 imports records whose synchronization status category is "unimported" and whose confirmation status is "confirmed" as confirmed journal entries and performs journal entry processing in the target system 300. The journal entry creation unit 50 then deletes the added voucher with voucher number "0086." The journal entry creation unit 50 also writes the updated "2" to the synchronization status category of the record in the synchronization table 33 via the standby unit 34. Record (3) in Figure 11 shows how the synchronization status category has been rewritten to the updated "2."

削除Dのレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図11のレコード(3)を削除するため、常に、又は一定期間監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図11のレコード(3)を削除する。 After the updated "2" is written in the synchronization status section of the record for deletion D, the synchronization subsystem 210 monitors constantly or for a certain period of time to delete record (3) in Figure 11 from the synchronization table 33. Then, after a certain period of time has passed, the synchronization subsystem 210 deletes record (3) in Figure 11, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

<アップストリーム修正の処理>
図12は、アップストリーム修正の処理における同期テーブル33のデータの変化の様子を示す。
アップストリーム修正の処理では、ターゲットシステム300が過去に追加した仕訳に対して修正を行うことで、メインシステム200にて仕訳を修正する確定仕訳が行われ、ターゲットシステム300に確定仕訳が反映される。
Handling Upstream Modifications
FIG. 12 shows how the data in the synchronization table 33 changes during upstream modification processing.
In the upstream correction process, the target system 300 corrects the journal entries previously added, and the main system 200 performs a finalized journal entry to correct the journal entries, and the finalized journal entry is reflected in the target system 300.

ターゲットシステム300が過去に追加して、メインシステム200により確定され、取り込んだ伝票番号「0087」の借方科目を「消耗品費」から「事務用品費」に修正したとする。ターゲットシステム300の送信部52は、修正された仕訳に対応する仕訳データ51をAPI連携で同期サブシステム210に送信する。 Let's assume that the target system 300 has previously added, confirmed by the main system 200, and imported voucher number "0087," and has amended the debit item from "consumables expenses" to "office supplies expenses." The transmission unit 52 of the target system 300 transmits journal entry data 51 corresponding to the amended journal entry to the synchronization subsystem 210 via API integration.

この仕訳データ51は、同期サブシステム210の受信部35を経て、逆変換部36にて逆変換されて同期テーブル33に格納される。ここで、逆変換部36は、削除D(修正前)と追加A(修正後)の仕訳に対応する同期状態区分に未取込の「1」を書き込む。また、逆変換部36は、メインシステム200で採番される伝票番号「00013」を追加する。このレコードは、確定状態が「未確定」である未確定仕訳データ21としてメインシステム200に取り込まれる。 This journal data 51 passes through the receiving unit 35 of the synchronization subsystem 210, is inversely converted by the inverse conversion unit 36, and is stored in the synchronization table 33. Here, the inverse conversion unit 36 writes the unimported "1" into the synchronization status category corresponding to the journal entries of deletion D (before correction) and addition A (after correction). The inverse conversion unit 36 also adds the voucher number "00013" assigned by the main system 200. This record is imported into the main system 200 as unconfirmed journal data 21 whose confirmation status is "unconfirmed."

図12のレコード(1)は、削除D(修正前)と追加A(修正後)のレコードを並べた同期テーブル33の内容を表している。同期テーブル33に格納される図12のレコード(1)は、区分に「削除D(修正前)」が格納されたレコードと、区分に「追加A(修正後)」が格納されたレコードとで構成される。追加A(修正後)の仕訳に対応するレコードでは、借方科目の箇所を強調表示したように、「消耗品費」から「事務用品費」に変わっている。 Record (1) in Figure 12 represents the contents of synchronization table 33, which lists records for deletion D (before correction) and addition A (after correction). Record (1) in Figure 12 stored in synchronization table 33 consists of a record with "deletion D (before correction)" stored in the category and a record with "addition A (after correction)" stored in the category. In the record corresponding to the journal entry for addition A (after correction), the debit item has changed from "consumable expenses" to "office supplies expenses," as highlighted.

メインシステム200の自動仕訳部22は、同期テーブル33から未確定仕訳データ21を読み出し、自動仕訳を行って、仕訳の候補を確定処理部23に表示させる。ユーザーは、確定処理部23を通じてターゲットシステム300による仕訳の修正を承認し、仕訳を確定したとする。確定処理部23により仕訳が確定された仕訳データ24は、同期サブシステム210に送信される。 The automatic journalizing unit 22 of the main system 200 reads the unconfirmed journalizing data 21 from the synchronization table 33, performs automatic journalizing, and displays journalizing candidates in the confirmation processing unit 23. The user approves the journalizing corrections made by the target system 300 through the confirmation processing unit 23 and confirms the journalizing. The journalizing data 24 whose journalizing has been confirmed by the confirmation processing unit 23 is sent to the synchronization subsystem 210.

同期サブシステム210の変換部30は、メインシステム200から受信した仕訳データ24を仕訳データ38に変換した後、仕訳データ38を同期テーブル33に書き込む。この時、変換部30は、同期テーブル33の同期状態区分に未取込の「2」を書き込み、確定状態の欄を「確定」とする。図12のレコード(2)は、ユーザーが修正した仕訳を確定した様子を表している。 The conversion unit 30 of the synchronization subsystem 210 converts the journal data 24 received from the main system 200 into journal data 38, and then writes the journal data 38 to the synchronization table 33. At this time, the conversion unit 30 writes "2" (not yet imported) into the synchronization status category of the synchronization table 33, and sets the confirmation status column to "confirmed." Record (2) in Figure 12 shows how the user has confirmed the revised journal entry.

ターゲットシステム300の仕訳作成部50は、同期サブシステム210に対して、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードの有無を問い合わせる。待受部34は、仕訳作成部50から問い合わせを受けると、同期テーブル33から同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを読み出し、ターゲットシステム300に送信する。 The journal entry creation unit 50 of the target system 300 queries the synchronization subsystem 210 to see if there are any records whose synchronization status category is "unacquired" and whose confirmation status is "confirmed." When the waiting unit 34 receives a query from the journal entry creation unit 50, it reads records from the synchronization table 33 whose synchronization status category is "unacquired" and whose confirmation status is "confirmed," and sends them to the target system 300.

仕訳作成部50は、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを確定仕訳として取り込んでターゲットシステム300における仕訳処理を行う。そして、仕訳作成部50は、修正前の伝票番号「0087」の伝票を削除する。また、仕訳作成部50は、待受部34を通じて同期テーブル33のレコードの同期状態区分に更新済みの「2」を書き込む。 The journal entry creation unit 50 imports records whose synchronization status category is "unimported" and whose confirmation status is "confirmed" as confirmed journal entries and performs journal entry processing in the target system 300. The journal entry creation unit 50 then deletes the pre-correction voucher with voucher number "0087." The journal entry creation unit 50 also writes the updated "2" to the synchronization status category of the record in the synchronization table 33 via the standby unit 34.

また、仕訳作成部50は、借方科目の修正後に同期サブシステム210から取込んだレコードに基づいてターゲットシステム300の仕訳を更新する。そして、仕訳作成部50は、ターゲットシステム300における仕訳の修正又は削除と、メインシステム200の仕訳との同期をとるため、メインシステム200が付加した伝票番号「00013」を保持する。また、仕訳作成部50は、待受部34を通じて同期テーブル33の追加Aのレコードのうち、ターゲットシステム300の伝票番号に「0088」を書き込む。図12のレコード(3)は、同期状態区分が更新済みの「2」に書き換えられた様子を表している。 Furthermore, the journal entry preparation unit 50 updates the journal entry in the target system 300 based on the record imported from the synchronization subsystem 210 after correcting the debit item. The journal entry preparation unit 50 then retains the voucher number "00013" added by the main system 200 in order to synchronize the correction or deletion of the journal entry in the target system 300 with the journal entry in the main system 200. The journal entry preparation unit 50 also writes "0088" to the voucher number of the target system 300 in the record of Addition A in the synchronization table 33 via the standby unit 34. Record (3) in Figure 12 shows how the synchronization status classification has been rewritten to "2", indicating that the synchronization status has been updated.

その後、仕訳作成部50は、メインシステム200の伝票番号「00013」の伝票のレコードを削除する。区分に「削除D(修正前)」が格納されたレコードは、メインシステム200とターゲットシステム300との仕訳の同期には不要である。しかし、メインシステム200とターゲットシステム300とが、現時点で管理している仕訳の内容を相互に確認するために用いられている。 The journal entry creation unit 50 then deletes the record of the voucher with voucher number "00013" from the main system 200. The record with "Deletion D (before correction)" stored in the category is not necessary for synchronizing journal entries between the main system 200 and the target system 300. However, it is used by the main system 200 and the target system 300 to mutually confirm the contents of the journal entries currently being managed.

削除Dのレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図12のレコード(3)を削除するため、常に、又は一定期間監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図12のレコード(3)を削除する。 After the updated "2" is written in the synchronization status section of the record for deletion D, the synchronization subsystem 210 monitors constantly or for a certain period of time to delete record (3) in Figure 12 from the synchronization table 33. Then, after a certain period of time has passed, the synchronization subsystem 210 deletes record (3) in Figure 12, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

<アップストリーム修正の取消処理>
図13は、アップストリーム修正の取消処理における同期テーブル33のデータの変化の様子を示す。
アップストリーム修正の取消処理では、ターゲットシステム300が過去に追加した仕訳に対して修正を行ったものの、メインシステム200にて仕訳の修正が取り消される確定仕訳が行われ、ターゲットシステム300に確定仕訳が反映される。
Undoing Upstream Modifications
FIG. 13 shows how the data in the synchronization table 33 changes during the process of canceling an upstream modification.
In the upstream correction cancellation process, although the target system 300 has made corrections to journal entries previously added, the main system 200 performs a finalized journal entry to cancel the journal entry corrections, and the finalized journal entry is reflected in the target system 300.

図13のレコード(1)は、図12のレコード(1)と同じ内容であるので詳細な説明を省略する。つまり、ターゲットシステム300が過去に追加して、メインシステム200により確定され、取り込んだ伝票番号「0087」の借方科目を「消耗品費」から「事務用品費」に修正したとする。 Record (1) in Figure 13 has the same content as record (1) in Figure 12, so a detailed explanation will be omitted. In other words, let's assume that the debit item for voucher number "0087," which was previously added by the target system 300, confirmed by the main system 200, and imported, has been revised from "Consumables Expenses" to "Office Supplies Expenses."

メインシステム200の自動仕訳部22は、同期テーブル33から未確定仕訳データ21を読み出し、自動仕訳を行って、仕訳の候補を確定処理部23に表示させる。ユーザーは、確定処理部23を通じてターゲットシステム300による仕訳の修正を取消し、仕訳を確定する。確定処理部23により仕訳が確定された仕訳データ24は、同期サブシステム210に送信される。 The automatic journalizing unit 22 of the main system 200 reads the unconfirmed journalizing data 21 from the synchronization table 33, performs automatic journalizing, and displays journalizing candidates in the confirmation processing unit 23. The user cancels the journalizing corrections made by the target system 300 through the confirmation processing unit 23 and confirms the journalizing. The journalizing data 24 whose journalizing has been confirmed by the confirmation processing unit 23 is sent to the synchronization subsystem 210.

同期サブシステム210の変換部30は、メインシステム200から受信した仕訳データ24を仕訳データ38に変換すると、仕訳データ38を同期テーブル33に書き込む。この時、変換部30は、同期テーブル33の同期状態区分に未取込の「2」を書き込み、確定状態の欄を「確定」とする。このため、図13のレコード(1)に示すように、区分が「削除D(修正前)」であったレコードが「追加A(修正前)」に変わって、同期状態区分が未取込の「1」であり、確定状態が「確定」に変わる。また、区分が「追加A(修正後)」であったレコードが「削除D(修正前)」に変わって、同期状態区分が更新済みの「2」に変わり、確定状態が「確定」に変わる。 When the conversion unit 30 of the synchronization subsystem 210 converts the journal data 24 received from the main system 200 into journal data 38, it writes the journal data 38 to the synchronization table 33. At this time, the conversion unit 30 writes "2" (unincorporated) to the synchronization status category of the synchronization table 33 and sets the confirmation status column to "confirmed." Therefore, as shown in record (1) in Figure 13, the record whose category was "Deleted D (before modification)" changes to "Added A (before modification)," the synchronization status category changes to "1" (unincorporated), and the confirmation status changes to "confirmed." Also, the record whose category was "Added A (after modification)" changes to "Deleted D (before modification)," the synchronization status category changes to "2" (updated), and the confirmation status changes to "confirmed."

ターゲットシステム300の仕訳作成部50は、同期サブシステム210に対して、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードの有無を問い合わせる。待受部34は、仕訳作成部50から問い合わせを受けると、同期テーブル33から同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを読み出し、ターゲットシステム300に送信する。 The journal entry creation unit 50 of the target system 300 queries the synchronization subsystem 210 to see if there are any records whose synchronization status category is "unacquired" and whose confirmation status is "confirmed." When the waiting unit 34 receives a query from the journal entry creation unit 50, it reads records from the synchronization table 33 whose synchronization status category is "unacquired" and whose confirmation status is "confirmed," and sends them to the target system 300.

仕訳作成部50は、同期状態区分が「未取込」であり、確定状態が「確定」である「追加A(修正前)」のレコードを確定仕訳として取り込んでターゲットシステム300における仕訳処理を行う。そして、仕訳作成部50は、修正した伝票番号「0087」の伝票を削除する。また、仕訳作成部50は、待受部34を通じて同期テーブル33のレコードの同期状態区分に更新済みの「2」を書き込む。 The journal entry creation unit 50 imports the record "Addition A (before correction)" whose synchronization status category is "unimported" and whose confirmation status is "confirmed" as a confirmed journal entry and performs journal entry processing in the target system 300. The journal entry creation unit 50 then deletes the corrected voucher with voucher number "0087." The journal entry creation unit 50 also writes the updated "2" to the synchronization status category of the record in the synchronization table 33 via the standby unit 34.

また、仕訳作成部50は、ターゲットシステム300における仕訳の修正又は削除と、メインシステム200の仕訳との同期をとるため、メインシステム200が付加した伝票番号「00013」を保持する。また、仕訳作成部50は、待受部34を通じて同期テーブル33の「追加A(修正前)」のレコードのうち、ターゲットシステム300の伝票番号に「0088」を書き込み、同期状態区分に更新済みの「2」を書き込む。図13のレコード(3)は、同期状態区分が更新済みの「2」に書き換えられた様子を表している。その後、仕訳作成部50は、メインシステム200の伝票番号「00013」の伝票のレコードを削除する。 The journal entry creation unit 50 also retains the voucher number "00013" added by the main system 200 in order to synchronize the modification or deletion of journal entries in the target system 300 with the journal entries in the main system 200. The journal entry creation unit 50 also writes "0088" to the target system 300 voucher number and writes the updated "2" to the synchronization status category in the "Addition A (before modification)" record in the synchronization table 33 via the standby unit 34. Record (3) in Figure 13 shows how the synchronization status category has been rewritten to the updated "2". The journal entry creation unit 50 then deletes the record of the voucher with the voucher number "00013" in the main system 200.

「追加A(修正前)」のレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図13のレコード(3)を削除するため、常に、又は一定期間監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図13のレコード(3)を削除する。 After the updated "2" is written in the synchronization status section of the record "Addition A (before modification)," the synchronization subsystem 210 monitors constantly or for a certain period of time to delete record (3) in Figure 13 from the synchronization table 33. After a certain period of time has passed, the synchronization subsystem 210 deletes record (3) in Figure 13, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

<アップストリーム削除の処理>
図14は、アップストリーム削除の処理における同期テーブル33のデータの変化の様子を示す。
アップストリーム削除の処理では、ターゲットシステム300が過去に追加した仕訳の削除を行い、メインシステム200にて仕訳の削除の確定仕訳が行われると、ターゲットシステム300に確定仕訳が反映される。
Upstream deletion processing
FIG. 14 shows how the data in the synchronization table 33 changes during upstream deletion processing.
In the upstream deletion process, the target system 300 deletes previously added journal entries, and when the main system 200 confirms the deletion of the journal entries, the confirmed journal entries are reflected in the target system 300 .

ターゲットシステム300が過去に追加した仕訳を削除する場合、メインシステム200においても、過去に同期テーブル33から取り込んだ仕訳を削除する必要がある。例えば、ターゲットシステム300が伝票番号「0088」の仕訳を削除すると、ターゲットシステム300の送信部52は、削除された仕訳に対応する仕訳データ51をAPI連携で同期サブシステム210に送信する。 When the target system 300 deletes a journal entry that was previously added, the main system 200 must also delete the journal entry that was previously imported from the synchronization table 33. For example, when the target system 300 deletes the journal entry for voucher number "0088," the transmission unit 52 of the target system 300 sends the journal entry data 51 corresponding to the deleted journal entry to the synchronization subsystem 210 via API integration.

この仕訳データ51は、同期サブシステム210の受信部35を経て、逆変換部36にて逆変換されて同期テーブル33に格納される。ここで、逆変換部36は、削除Dの仕訳に対応するレコードの同期状態区分に未取込の「1」を書き込む。また、逆変換部36は、メインシステム200で採番される伝票番号「00013」を追加する。図14のレコード(1)は、区分が「削除D」であり、同期状態区分に未取込の「1」が書き込まれ、確定状態が「未確定」であるレコードが格納された同期テーブル33の内容を表している。このレコードは、確定状態が「未確定」である未確定仕訳データ21としてメインシステム200に取り込まれる。 This journal data 51 passes through the receiving unit 35 of the synchronization subsystem 210, is inversely converted by the inverse conversion unit 36, and is stored in the synchronization table 33. Here, the inverse conversion unit 36 writes an unimported "1" into the synchronization status category of the record corresponding to the journal entry of deletion D. The inverse conversion unit 36 also adds the voucher number "00013" assigned by the main system 200. Record (1) in Figure 14 represents the contents of the synchronization table 33, which stores a record whose category is "deletion D," whose synchronization status category has an unimported "1" written, and whose confirmation status is "unconfirmed." This record is imported into the main system 200 as unconfirmed journal data 21 whose confirmation status is "unconfirmed."

メインシステム200の自動仕訳部22は、同期テーブル33から未確定仕訳データ21を読み出し、自動仕訳を行って、仕訳の候補を確定処理部23に表示させる。ユーザーは、確定処理部23を通じてターゲットシステム300による仕訳の削除を確認し、仕訳を確定する。確定処理部23により仕訳が確定された仕訳データ24は、同期サブシステム210に送信される。 The automatic journalizing unit 22 of the main system 200 reads the unconfirmed journalizing data 21 from the synchronization table 33, performs automatic journalizing, and displays journalizing candidates in the confirmation processing unit 23. The user confirms the deletion of the journalizing by the target system 300 through the confirmation processing unit 23 and confirms the journalizing. The journalizing data 24 whose journalizing has been confirmed by the confirmation processing unit 23 is sent to the synchronization subsystem 210.

同期サブシステム210の変換部30は、メインシステム200から受信した仕訳データ24を仕訳データ38に変換すると、仕訳データ38を同期テーブル33に書き込む。この時、変換部30は、図14のレコード(2)に示すように、同期テーブル33の同期状態区分に未取込の「2」を書き込み、確定状態を「確定」とする。 The conversion unit 30 of the synchronization subsystem 210 converts the journal data 24 received from the main system 200 into journal data 38, and then writes the journal data 38 to the synchronization table 33. At this time, the conversion unit 30 writes "2" (not yet imported) into the synchronization status category of the synchronization table 33, as shown in record (2) in Figure 14, and sets the confirmation status to "confirmed."

ターゲットシステム300の仕訳作成部50は、同期サブシステム210に対して、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードの有無を問い合わせる。待受部34は、仕訳作成部50から問い合わせを受けると、同期テーブル33から同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを読み出し、ターゲットシステム300に送信する。 The journal entry creation unit 50 of the target system 300 queries the synchronization subsystem 210 to see if there are any records whose synchronization status category is "unacquired" and whose confirmation status is "confirmed." When the waiting unit 34 receives a query from the journal entry creation unit 50, it reads records from the synchronization table 33 whose synchronization status category is "unacquired" and whose confirmation status is "confirmed," and sends them to the target system 300.

仕訳作成部50は、同期状態区分が「未取込」であり、確定状態が「確定」である「削除D」のレコードを確定仕訳として取り込んでターゲットシステム300における仕訳処理を行う。ターゲットシステム300では、既に伝票番号「0088」の仕訳は削除されているが、仕訳作成部50は、メインシステム200の伝票番号「00013」でターゲットシステム300の伝票が無いことを確認する。その後、仕訳作成部50は、待受部34を通じて同期テーブル33のレコードの同期状態区分に更新済みの「2」を書き込む。 The journal entry creation unit 50 imports the record with "Deleted D" as a confirmed journal entry, with a synchronization status category of "Not imported" and a confirmation status of "Confirmed," and performs journal entry processing in the target system 300. Although the journal entry with voucher number "0088" has already been deleted in the target system 300, the journal entry creation unit 50 confirms that there is no voucher in the target system 300 with voucher number "00013" in the main system 200. The journal entry creation unit 50 then writes the updated "2" to the synchronization status category of the record in the synchronization table 33 via the standby unit 34.

「削除D」のレコードは、メインシステム200とターゲットシステム300との仕訳の同期には不要である。しかし、メインシステム200とターゲットシステム300とが、現時点で管理している仕訳の内容を相互に確認するために用いられている。 The "Delete D" record is not necessary for synchronizing journal entries between the main system 200 and the target system 300. However, it is used by the main system 200 and the target system 300 to mutually confirm the contents of the journal entries currently being managed.

削除Dのレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図14のレコード(3)を削除するため、常に、又は一定期間監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図14のレコード(3)を削除する。 After the updated "2" is written in the synchronization status section of the record for deletion D, the synchronization subsystem 210 monitors constantly or for a certain period of time to delete record (3) in Figure 14 from the synchronization table 33. Then, after a certain period of time has passed, the synchronization subsystem 210 deletes record (3) in Figure 14, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

<アップストリーム削除の取消処理>
図15は、アップストリーム削除の取消処理における同期テーブル33のデータの変化の様子を示す。
アップストリーム削除の取消処理では、ターゲットシステム300が仕訳を削除し、メインシステム200にて仕訳の削除を取り消す確定仕訳が行われる。また、ターゲットシステム300に確定仕訳が反映される。
<Upstream deletion cancellation process>
FIG. 15 shows how the data in the synchronization table 33 changes during the process of canceling an upstream deletion.
In the upstream deletion cancellation process, the target system 300 deletes the journal entry, and the main system 200 performs a final journal entry to cancel the deletion of the journal entry. The final journal entry is also reflected in the target system 300.

ターゲットシステム300が伝票番号「0088」の仕訳を削除すると、ターゲットシステム300の送信部52は、削除された仕訳に対応する仕訳データ51をAPI連携で同期サブシステム210に送信する。 When the target system 300 deletes the journal entry with voucher number "0088", the transmission unit 52 of the target system 300 transmits the journal entry data 51 corresponding to the deleted journal entry to the synchronization subsystem 210 via API integration.

この仕訳データ51は、同期サブシステム210の受信部35を経て、逆変換部36にて逆変換されて同期テーブル33に格納される。ここで、逆変換部36は、削除Dの仕訳に対応するレコードの同期状態区分に未取込の「1」を書き込む。また、逆変換部36は、メインシステム200で採番される伝票番号「00013」を追加する。
図15のレコード(1)は、区分が「削除D」であり、同期状態区分に未取込の「1」が書き込まれ、確定状態が「未確定」であるレコードが格納された同期テーブル33の内容を表している。このレコードは、確定状態が「未確定」である未確定仕訳データ21としてメインシステム200に取り込まれる。
This journal data 51 passes through the receiving unit 35 of the synchronization subsystem 210, is inversely converted by the inverse conversion unit 36, and is stored in the synchronization table 33. Here, the inverse conversion unit 36 writes the unimported "1" into the synchronization status category of the record corresponding to the journal entry of deletion D. The inverse conversion unit 36 also adds the slip number "00013" assigned by the main system 200.
15 shows the contents of the synchronization table 33, which stores a record whose classification is "Delete D," whose synchronization status classification is set to "1" (not yet imported), and whose confirmation status is "Unconfirmed." This record is imported into the main system 200 as unconfirmed journal data 21 whose confirmation status is "Unconfirmed."

メインシステム200の自動仕訳部22は、同期テーブル33から未確定仕訳データ21を読み出し、自動仕訳を行って、仕訳の候補を確定処理部23に表示させる。ユーザーは、確定処理部23を通じてターゲットシステム300による仕訳を削除してよいか確認し、仕訳の削除が不要であれば、仕訳の削除を取り消して仕訳を確定する。確定処理部23により仕訳が確定された仕訳データ24は、同期サブシステム210に送信される。 The automatic journalizing unit 22 of the main system 200 reads the unconfirmed journalizing data 21 from the synchronization table 33, performs automatic journalizing, and displays journalizing candidates in the confirmation processing unit 23. The user confirms through the confirmation processing unit 23 whether or not to delete the journalizing made by the target system 300, and if the journalizing does not need to be deleted, cancels the deletion of the journalizing and confirms the journalizing. The journalizing data 24 whose journalizing has been confirmed by the confirmation processing unit 23 is sent to the synchronization subsystem 210.

同期サブシステム210の変換部30は、メインシステム200から受信した仕訳データ24を仕訳データ38に変換すると、仕訳データ38を同期テーブル33に書き込む。この時、変換部30は、図15のレコード(2)に示すように、同期テーブル33の区分を「追加A」とし、同期状態区分に未取込の「2」を書き込み、確定状態を「確定」とする。 The conversion unit 30 of the synchronization subsystem 210 converts the journal data 24 received from the main system 200 into journal data 38, and then writes the journal data 38 to the synchronization table 33. At this time, the conversion unit 30 sets the classification of the synchronization table 33 to "Added A," writes "2" (not yet incorporated) into the synchronization status classification, and sets the confirmation status to "Confirmed," as shown in record (2) in Figure 15.

ターゲットシステム300の仕訳作成部50は、同期サブシステム210に対して、同期状態区分が「未取込」であり、確定状態が「確定」であるレコードの有無を問い合わせる。待受部34は、仕訳作成部50から問い合わせを受けると、同期テーブル33から同期状態区分が「未取込」であり、確定状態が「確定」であるレコードを読み出し、ターゲットシステム300に送信する。 The journal entry creation unit 50 of the target system 300 queries the synchronization subsystem 210 to see if there are any records whose synchronization status category is "unacquired" and whose confirmation status is "confirmed." When the waiting unit 34 receives a query from the journal entry creation unit 50, it reads records from the synchronization table 33 whose synchronization status category is "unacquired" and whose confirmation status is "confirmed," and sends them to the target system 300.

仕訳作成部50は、同期状態区分が「未取込」であり、確定状態が「確定」である「追加A」のレコードを確定仕訳として取り込んでターゲットシステム300における仕訳処理を行う。ターゲットシステム300では、既に伝票番号「0088」の仕訳は削除されているが、仕訳作成部50は、メインシステム200の伝票番号「00013」でターゲットシステム300の伝票が無いことを確認する。その後、仕訳作成部50は、待受部34を通じて同期テーブル33のレコードの同期状態区分に更新済みの「2」を書き込む。 The journal entry creation unit 50 imports the record for "Addition A," whose synchronization status category is "Not imported" and whose confirmation status is "Confirmed," as a confirmed journal entry and performs journal entry processing in the target system 300. Although the journal entry for voucher number "0088" has already been deleted in the target system 300, the journal entry creation unit 50 confirms that there is no voucher in the target system 300 with voucher number "00013" in the main system 200. The journal entry creation unit 50 then writes the updated "2" to the synchronization status category of the record in the synchronization table 33 via the standby unit 34.

追加Aのレコードの同期状態区分に更新済みの「2」が書き込まれた後、同期サブシステム210は、同期テーブル33から図15のレコード(3)を削除するため、常に、又は一定期間監視する。そして、同期サブシステム210は、一定期間の経過後、同期テーブル33の領域を確保するため、同期状態区分に更新済みの「2」が書き込まれた図15のレコード(3)を削除する。 After the updated "2" is written in the synchronization status section of the record for addition A, the synchronization subsystem 210 monitors constantly or for a certain period of time to delete record (3) in Figure 15 from the synchronization table 33. Then, after a certain period of time has passed, the synchronization subsystem 210 deletes record (3) in Figure 15, in which the updated "2" has been written in the synchronization status section, in order to secure space in the synchronization table 33.

[画面の表示例]
次に、メインシステム200とターゲットシステム300で表示される画面の表示例について、図16~図23を参照して説明する。
[Screen display example]
Next, examples of screen displays on the main system 200 and the target system 300 will be described with reference to FIGS.

<ダウンストリーム追加、修正、削除の処理のインポート画面>
図16は、ダウンストリーム追加、修正、削除の処理にてターゲットシステム300に表示されるインポート画面W1の表示例を示す。図16では、ターゲットシステム300がメインシステム200で作成された仕訳を取り込むことを「インポート」と呼ぶ。
<Import screen for downstream addition, modification, and deletion processing>
16 shows an example of the import screen W1 displayed on the target system 300 during downstream addition, modification, and deletion processing. In FIG. 16, the import of journal entries created in the main system 200 by the target system 300 is called "import."

図16の画面表示例(1)は、ダウンストリーム追加の処理にてターゲットシステム300の表示装置に表示される画面である。図7のダウンストリーム追加の処理のレコード(1)に示す追加の仕訳がメインシステム200で行われると、同期サブシステム210を経てターゲットシステム300が仕訳を取り込む。 The screen display example (1) in Figure 16 is a screen displayed on the display device of the target system 300 during downstream addition processing. When the additional journal entry shown in record (1) of the downstream addition processing in Figure 7 is performed in the main system 200, the target system 300 imports the journal entry via the synchronization subsystem 210.

この時、ターゲットシステム300には、図7のレコード(2)に対応する、ターゲットシステム300の伝票番号「0084」が追加された図16の画面表示例(1)に示す画面が表示される。ターゲットシステム300を操作する会計事務所員は、メインシステム200から追加の仕訳が1件あったことを確認し、追加された仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による追加の仕訳がターゲットシステム300に取り込まれる。 At this time, the target system 300 displays the screen shown in screen display example (1) in Figure 16, with the target system 300 voucher number "0084" added, which corresponds to record (2) in Figure 7. The accounting firm employee operating the target system 300 confirms that there has been one additional journal entry from the main system 200 and checks the details of the added journal entry. When the accounting firm employee then presses the update button, the additional journal entry from the main system 200 is imported into the target system 300.

図16の画面表示例(2)は、ダウンストリーム修正の処理にてターゲットシステム300の表示装置に表示される画面である。図8のダウンストリーム修正の処理のレコード(1)の追加A(修正後)に示す内容の修正の仕訳がメインシステム200で行われると、同期サブシステム210を経てターゲットシステム300が仕訳を取り込む。この時、ターゲットシステム300には、図8のレコード(2)に対応する、メインシステム200とターゲットシステム300の修正前後の金額を含む図16の画面表示例(2)に示す画面が表示される。
ターゲットシステム300を操作する会計事務所員は、メインシステム200から修正の仕訳が1件あったことを確認し、修正された仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による修正の仕訳がターゲットシステム300に取り込まれる。
Screen display example (2) in Figure 16 is a screen displayed on the display device of the target system 300 during downstream correction processing. When the main system 200 journalizes the correction shown in Addition A (after correction) of record (1) of downstream correction processing in Figure 8, the target system 300 imports the journalization via the synchronization subsystem 210. At this time, the target system 300 displays a screen shown in screen display example (2) in Figure 16, which corresponds to record (2) in Figure 8 and includes the amounts before and after correction in the main system 200 and target system 300.
The accounting firm employee operating the target system 300 confirms that there is one corrective journal entry from the main system 200 and checks the content of the corrected journal entry. When the accounting firm employee then presses the update button, the corrective journal entry from the main system 200 is imported into the target system 300.

図16の画面表示例(3)は、ダウンストリーム削除の処理にてターゲットシステム300の表示装置に表示される画面である。図9のダウンストリーム削除の処理のレコード(1)の追加A(削除後)に示す内容の削除の仕訳がメインシステム200で行われると、同期サブシステム210を経てターゲットシステム300が仕訳を取り込む。 Screen display example (3) in Figure 16 is a screen displayed on the display device of the target system 300 during downstream deletion processing. When the deletion journal entry for the content shown in Addition A (after deletion) of record (1) of the downstream deletion processing in Figure 9 is performed in the main system 200, the journal entry is imported into the target system 300 via the synchronization subsystem 210.

この時、ターゲットシステム300には、図9のレコード(2)に対応する、メインシステム200とターゲットシステム300の削除前後の金額を含む図16の画面表示例(3)に示す画面が表示される。ターゲットシステム300を操作する会計事務所員は、メインシステム200から削除の仕訳が1件あったことを確認し、削除された仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による削除の仕訳がターゲットシステム300に取り込まれる。 At this time, the target system 300 displays the screen shown in screen display example (3) in Figure 16, which corresponds to record (2) in Figure 9 and includes the amounts before and after deletion in the main system 200 and target system 300. The accounting firm employee operating the target system 300 confirms that there has been one deletion journal entry in the main system 200 and checks the details of the deleted journal entry. When the accounting firm employee then presses the update button, the deletion journal entry from the main system 200 is imported into the target system 300.

<アップストリーム追加、修正、削除の処理のエクスポート画面>
図17は、アップストリーム追加、修正、削除の処理にてターゲットシステム300に表示されるエクスポート画面W2の表示例を示す。
図17では、ターゲットシステム300が作成した仕訳をメインシステム200に送信する処理を「エクスポート」と呼ぶ。エクスポート画面W2では、ターゲットシステム300がメインシステム200に送信した仕訳だけでなく、メインシステム200で確定された仕訳も表示される。そして、図17に示すエクスポート画面W2は、データ連携システム100にてアップストリームが正常に終了した時にターゲットシステム300に表示される。
<Export screen for adding, modifying, and deleting upstream processes>
FIG. 17 shows an example of the export screen W2 displayed on the target system 300 during upstream addition, modification, and deletion processing.
17, the process of sending journal entries created by the target system 300 to the main system 200 is called "export." The export screen W2 displays not only the journal entries sent by the target system 300 to the main system 200, but also the journal entries confirmed in the main system 200. The export screen W2 shown in FIG. 17 is displayed on the target system 300 when upstream in the data linkage system 100 has been successfully completed.

図17の画面表示例(1)は、アップストリーム追加の処理にてターゲットシステム300の表示装置に表示される画面である。図10のアップストリーム追加の処理のレコード(1)に示す追加の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、ターゲットシステム300がメインシステム200から確定仕訳を受け取ると、画面表示例(1)に示すターゲットシステム300のエクスポート画面W2が表示される。 Screen display example (1) in Figure 17 is a screen displayed on the display device of the target system 300 during upstream addition processing. When the additional journal entry shown in record (1) of the upstream addition processing in Figure 10 is performed in the target system 300, the journal entry is imported into the main system 200 via the synchronization subsystem 210. After that, when the target system 300 receives the final journal entry from the main system 200, the export screen W2 of the target system 300 shown in screen display example (1) is displayed.

このエクスポート画面W2には、図10のレコード(1)に対応する、ターゲットシステム300がメインシステム200に送信した仕訳の内容と、図10のレコード(3)に対応する、ターゲットシステム300がメインシステム200から受信した確定仕の内容とが並べて表示される。ターゲットシステム300を操作する会計事務所員は、メインシステム200から追加の仕訳が1件あったことを確認し、追加された仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による追加の仕訳がターゲットシステム300に取り込まれる。 This export screen W2 displays side by side the contents of the journal entry sent by the target system 300 to the main system 200, corresponding to record (1) in Figure 10, and the contents of the final journal entry received by the target system 300 from the main system 200, corresponding to record (3) in Figure 10. The accounting firm employee operating the target system 300 confirms that there has been one additional journal entry from the main system 200 and checks the contents of the added journal entry. When the accounting firm employee then presses the update button, the additional journal entry from the main system 200 is imported into the target system 300.

図17の画面表示例(2)は、アップストリーム修正の処理にてターゲットシステム300の表示装置に表示される画面である。図12のアップストリーム修正の処理のレコード(1)の追加A(修正後)に示す内容の修正の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、ターゲットシステム300がメインシステム200から確定仕訳を受け取ると、画面表示例(2)に示すターゲットシステム300のエクスポート画面W2が表示される。 Screen display example (2) in Figure 17 is a screen displayed on the display device of the target system 300 during upstream correction processing. When the correction journal entry for the content shown in Addition A (after correction) of record (1) of the upstream correction processing in Figure 12 is made in the target system 300, the journal entry is imported into the main system 200 via the synchronization subsystem 210. After that, when the target system 300 receives the final journal entry from the main system 200, the export screen W2 of the target system 300 shown in screen display example (2) is displayed.

このエクスポート画面W2には、図12のレコード(1)に対応する、ターゲットシステム300がメインシステム200に送信した修正前及び修正後の仕訳の内容と、図12のレコード(3)に対応する、ターゲットシステム300がメインシステム200から受信した確定仕訳である修正後の内容とが並べて表示される。ターゲットシステム300を操作する会計事務所員は、メインシステム200から修正の仕訳が1件あったことを確認し、修正された仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による修正の仕訳がターゲットシステム300に取り込まれる。 This export screen W2 displays side by side the contents of the journal entry before and after correction sent by the target system 300 to the main system 200, corresponding to record (1) in Figure 12, and the contents of the revised journal entry, which is the final journal entry received by the target system 300 from the main system 200, corresponding to record (3) in Figure 12. The accounting firm employee operating the target system 300 confirms that there has been one revised journal entry from the main system 200 and checks the contents of the revised journal entry. Then, when the accounting firm employee presses the update button, the revised journal entry from the main system 200 is imported into the target system 300.

図17の画面表示例(3)は、アップストリーム削除の処理にてターゲットシステム300の表示装置に表示される画面である。図14のアップストリーム削除の処理のレコード(1)に示す内容の削除の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、ターゲットシステム300がメインシステム200から確定仕訳を受け取ると、画面表示例(3)に示すターゲットシステム300のエクスポート画面W2が表示される。 Screen display example (3) in Figure 17 is a screen displayed on the display device of the target system 300 during upstream deletion processing. When the deletion journal entry for the content shown in record (1) of the upstream deletion processing in Figure 14 is performed in the target system 300, the journal entry is imported into the main system 200 via the synchronization subsystem 210. After that, when the target system 300 receives the final journal entry from the main system 200, the export screen W2 of the target system 300 shown in screen display example (3) is displayed.

このエクスポート画面W2には、図14のレコード(1)に対応する、ターゲットシステム300がメインシステム200に送信した削除の仕訳の内容と、図14のレコード(3)に対応する、ターゲットシステム300がメインシステム200から受信した確定仕訳である削除の内容とが並べて表示される。なお、メインシステム200では、仕訳が削除されたので、画面表示例(3)の「受信した内容」の行には、ステータス項目以外の内容は表示されない。ターゲットシステム300を操作する会計事務所員は、メインシステム200から削除の仕訳が1件あったことを確認し、削除された仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による削除の仕訳がターゲットシステム300に取り込まれる。 This export screen W2 displays side-by-side the contents of the deletion journal entry sent by the target system 300 to the main system 200, corresponding to record (1) in Figure 14, and the contents of the deletion, which is the confirmed journal entry received by the target system 300 from the main system 200, corresponding to record (3) in Figure 14. Note that because the journal entry was deleted in the main system 200, the "Received Content" row in screen display example (3) displays no content other than the status item. The accounting firm employee operating the target system 300 confirms that there is one deletion journal entry from the main system 200 and checks the contents of the deleted journal entry. Then, when the accounting firm employee presses the update button, the deletion journal entry from the main system 200 is imported into the target system 300.

<アップストリーム追加、修正、削除の取消処理のエクスポート画面>
図18は、アップストリーム追加、修正、削除の取消処理にてターゲットシステム300に表示されるエクスポート画面W3の表示例を示す。
図18では、ターゲットシステム300が作成した仕訳をメインシステム200に送信する処理を「エクスポート」と呼ぶ。エクスポート画面W3では、ターゲットシステム300がメインシステム200に送信した仕訳だけでなく、メインシステム200で確定された仕訳も表示される。そして、図18に示すエクスポート画面W3は、データ連携システム100にてアップストリームにおけるターゲットシステム300からメインシステム200への送信処理が正常に終了し、メインシステム200が仕訳を取り消した時にターゲットシステム300に表示される。
<Export screen for canceling upstream addition, modification, and deletion>
FIG. 18 shows an example of the export screen W3 displayed on the target system 300 during the process of canceling an upstream addition, modification, or deletion.
18, the process of transmitting journal entries created by the target system 300 to the main system 200 is called "export." The export screen W3 displays not only the journal entries transmitted by the target system 300 to the main system 200, but also the journal entries confirmed in the main system 200. The export screen W3 shown in FIG. 18 is displayed on the target system 300 when the upstream transmission process from the target system 300 to the main system 200 in the data linkage system 100 has been successfully completed and the main system 200 has canceled the journal entries.

図18の画面表示例(1)は、アップストリーム追加の取消処理にてターゲットシステム300の表示装置に表示される画面である。図11のアップストリーム追加の取消処理のレコード(1)に示す追加の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、ターゲットシステム300がメインシステム200から確定仕訳を受け取ると、画面表示例(1)に示すターゲットシステム300のエクスポート画面W3が表示される。 Screen display example (1) in Figure 18 is a screen displayed on the display device of the target system 300 during the upstream addition cancellation process. When the additional journal entry shown in record (1) of the upstream addition cancellation process in Figure 11 is performed in the target system 300, the journal entry is imported into the main system 200 via the synchronization subsystem 210. After that, when the target system 300 receives the confirmed journal entry from the main system 200, the export screen W3 of the target system 300 shown in screen display example (1) is displayed.

このエクスポート画面W3には、図11のレコード(1)に対応する、ターゲットシステム300がメインシステム200に送信した追加の仕訳の内容と図11のレコード(3)に対応する、ターゲットシステム300がメインシステム200から受信した確定仕訳である追加の取消の内容とが並べて表示される。ターゲットシステム300を操作する会計事務所員は、メインシステム200から追加の取消の仕訳が1件あったことを確認し、追加が取消の仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による追加の取消の仕訳がターゲットシステム300に取り込まれる。 This export screen W3 displays side by side the contents of the additional journal entry sent by the target system 300 to the main system 200, corresponding to record (1) in Figure 11, and the contents of the cancelled additional entry, which is a confirmed journal entry received by the target system 300 from the main system 200, corresponding to record (3) in Figure 11. The accounting firm employee operating the target system 300 confirms that there has been one journal entry for cancelled additional entry from the main system 200 and checks the contents of the journal entry for cancelled additional entry. When the accounting firm employee then presses the update button, the journal entry for cancelled additional entry from the main system 200 is imported into the target system 300.

図18の画面表示例(2)は、アップストリーム修正の取消処理にてターゲットシステム300の表示装置に表示される画面である。図13のアップストリーム修正の取消処理のレコード(1)の追加A(修正後)に示す内容の修正の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、ターゲットシステム300がメインシステム200から確定仕訳を受け取ると、画面表示例(2)に示すターゲットシステム300のエクスポート画面W3が表示される。 Screen display example (2) in Figure 18 is a screen displayed on the display device of the target system 300 during the upstream correction cancellation process. When the target system 300 makes a journal entry for the correction shown in Addition A (after correction) of record (1) of the upstream correction cancellation process in Figure 13, the main system 200 imports the journal entry via the synchronization subsystem 210. After that, when the target system 300 receives the final journal entry from the main system 200, the export screen W3 of the target system 300 shown in screen display example (2) is displayed.

このエクスポート画面W3には、図13のレコード(1)に対応する、ターゲットシステム300がメインシステム200に送信した修正前及び修正後の仕訳の内容と、図13のレコード(3)に対応する、ターゲットシステム300がメインシステム200から受信した確定仕訳である修正の取消の内容とが並べて表示される。ターゲットシステム300を操作する会計事務所員は、メインシステム200から修正の取消の仕訳が1件あったことを確認し、修正の取消の仕訳を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による修正の取消の仕訳がターゲットシステム300に取り込まれる。 This export screen W3 displays side by side the contents of the journal entry before and after correction sent by the target system 300 to the main system 200, corresponding to record (1) in Figure 13, and the contents of the correction cancellation, which is the confirmed journal entry received by the target system 300 from the main system 200, corresponding to record (3) in Figure 13. The accounting firm employee operating the target system 300 confirms that there has been one correction cancellation journal entry from the main system 200 and verifies the correction cancellation journal entry. When the accounting firm employee then presses the update button, the correction cancellation journal entry from the main system 200 is imported into the target system 300.

図18の画面表示例(3)は、アップストリーム削除の取消処理にてターゲットシステム300の表示装置に表示される画面である。図15のアップストリーム削除の取消処理のレコード(1)に示す内容の削除の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、ターゲットシステム300がメインシステム200から確定仕訳を受け取ると、画面表示例(3)に示すターゲットシステム300のエクスポート画面W3が表示される。 Screen display example (3) in Figure 18 is a screen displayed on the display device of the target system 300 during the upstream deletion cancellation process. When the deletion journal entry shown in record (1) of the upstream deletion cancellation process in Figure 15 is performed in the target system 300, the journal entry is imported into the main system 200 via the synchronization subsystem 210. After that, when the target system 300 receives the confirmed journal entry from the main system 200, the export screen W3 of the target system 300 shown in screen display example (3) is displayed.

このエクスポート画面W3には、図15のレコード(1)に対応する、ターゲットシステム300がメインシステム200に送信した削除の仕訳の内容と、図15のレコード(3)に対応する、ターゲットシステム300がメインシステム200から受信した確定仕訳である削除の取消の内容とが並べて表示される。ターゲットシステム300を操作する会計事務所員は、メインシステム200から削除の仕訳が1件あったことを確認し、削除された仕訳の内容を確認する。そして、会計事務所員が更新ボタンを押すと、メインシステム200による削除の仕訳がターゲットシステム300に取り込まれる。 This export screen W3 displays side by side the contents of the deletion journal entry sent by the target system 300 to the main system 200, corresponding to record (1) in Figure 15, and the contents of the deletion cancellation, which is a confirmed journal entry received by the target system 300 from the main system 200, corresponding to record (3) in Figure 15. The accounting firm employee operating the target system 300 confirms that there is one deletion journal entry from the main system 200 and checks the contents of the deleted journal entry. Then, when the accounting firm employee presses the update button, the deletion journal entry from the main system 200 is imported into the target system 300.

<アップストリーム追加、修正、削除の処理のインポート画面>
図19と図20は、アップストリーム追加、修正、削除の処理にてメインシステム200に表示されるインポート画面W4の表示例を示す図である。図19と図20では、ターゲットシステム300が作成した仕訳をメインシステム200が受信する処理を「インポート」と呼ぶ。インポート画面W4では、メインシステム200がターゲットシステム300から受信した仕訳だけでなく、メインシステム200が修正し、ターゲットシステム300に送信する仕訳も表示される。そして、図19と図20に示すインポート画面W4は、データ連携システム100にてアップストリームにおけるメインシステム200がターゲットシステム300から仕訳を受信し、確定又は取消の仕訳を行う時にメインシステム200に表示される。
<Import screen for adding, modifying, and deleting upstream>
19 and 20 are diagrams showing examples of the import screen W4 displayed on the main system 200 during upstream addition, modification, and deletion processes. In FIGS. 19 and 20, the process in which the main system 200 receives journal entries created by the target system 300 is called "import." The import screen W4 displays not only the journal entries received by the main system 200 from the target system 300, but also the journal entries modified by the main system 200 and sent to the target system 300. The import screen W4 shown in FIGS. 19 and 20 is displayed on the main system 200 when the main system 200, in the upstream part of the data linkage system 100, receives journal entries from the target system 300 and confirms or cancels the journal entries.

メインシステム200のユーザーは、ターゲットシステム300が送信した仕訳データが同期サブシステム210によりどのように変換されたかを確認する必要がある。また、メインシステム200が送信する仕訳データを同期サブシステム210によりどのように逆変換するかを確認する必要がある。そこで、メインシステム200は、同期サブシステム210から逆変換部36による逆変換する前後の仕訳データ51の内容、変換部30による変換後の仕訳データ24の内容を取込むことが可能である。
The user of the main system 200 needs to confirm how the journal data sent by the target system 300 has been converted by the synchronization subsystem 210. The user also needs to confirm how the journal data sent by the main system 200 is reverse-converted by the synchronization subsystem 210. Therefore, the main system 200 can import from the synchronization subsystem 210 the contents of the journal data 51 before and after reverse conversion by the reverse conversion unit 36, and the contents of the journal data 24 after conversion by the conversion unit 30.

図19の画面表示例(1)は、アップストリーム追加の処理にてメインシステム200の表示装置に表示される画面である。図10のアップストリーム追加の処理のレコード(1)に示す追加の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、画面表示例(1)に示すメインシステム200のインポート画面W4がメインシステム200に表示される。 Screen display example (1) in Figure 19 is a screen displayed on the display device of the main system 200 during the upstream addition process. When the additional journal entry shown in record (1) of the upstream addition process in Figure 10 is performed in the target system 300, the journal entry is imported into the main system 200 via the synchronization subsystem 210. Thereafter, the import screen W4 of the main system 200 shown in screen display example (1) is displayed on the main system 200.

受信部35が追加の内容を含む仕訳データ51を受信した時は、メインシステム200による確定仕訳が行われていない未確定の状態なので、「受信した内容(メインに逆変換)」のステータス欄は「未確定」と表示される。また、メインシステム200による確定仕訳が行われると、「確定した内容(メインで)」、「送信する内容(ターゲットに変換)」のレコードが作成される。この時、「確定した内容(メインで)」のレコードのステータス欄は「確定」と表示され、「送信する内容(ターゲットに変換)」のレコードのステータス欄は「未処理」と表示される(不図示)。 When the receiving unit 35 receives journal data 51 including additional content, it is in an unconfirmed state where final journalization has not yet been performed by the main system 200, so the status field for "Received content (reverse converted to main)" displays "Unconfirmed." Furthermore, when final journalization is performed by the main system 200, records for "Confirmed content (main)" and "Content to be sent (converted to target)" are created. At this time, the status field for the record for "Confirmed content (main)" displays "Confirmed," and the status field for the record for "Content to be sent (converted to target)" displays "Unprocessed" (not shown).

図19に示すインポート画面W4には、図10のレコード(1)に対応する、メインシステム200がターゲットシステム300から受信した追加の仕訳の内容と、図10のレコード(3)に対応する、メインシステム200がターゲットシステム300に送信する仕訳の内容とが並べて表示される。この時点では、「受信した内容(ターゲットから)」の行におけるメインシステム200の伝票番号と、「受信した内容(メインに逆変換)」、「確定した内容(メインで)」、「送信する内容(ターゲットに変換)」の行におけるターゲットシステム300の伝票番号は空欄である。メインシステム200を操作するユーザーは、ターゲットシステム300から追加の仕訳を1件受信したことを確認すると、追加の仕訳に対して確定又は取消の処理を行う。そして、ユーザーが更新ボタンを押すと、処理済みのデータが削除される。 The import screen W4 shown in Figure 19 displays the contents of the additional journal entry received by the main system 200 from the target system 300, corresponding to record (1) in Figure 10, and the contents of the journal entry to be sent by the main system 200 to the target system 300, corresponding to record (3) in Figure 10, side by side. At this point, the main system 200 voucher number in the "Received contents (from target)" row and the target system 300 voucher numbers in the "Received contents (reverse converted to main)," "Confirmed contents (main)," and "Content to be sent (converted to target)" rows are blank. When the user operating the main system 200 confirms that one additional journal entry has been received from the target system 300, they can confirm or cancel the additional journal entry. Then, when the user presses the update button, the processed data is deleted.

図20の画面表示例(2)は、アップストリーム修正の処理にてメインシステム200の表示装置に表示される画面である。図12のアップストリーム修正の処理のレコード(1)の追加A(修正後)に示す内容の修正の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、画面表示例(2)に示すメインシステム200のインポート画面W4がメインシステム200に表示される。受信部35が修正の内容を含む仕訳データ51を受信すると、「受信した修正前の内容(ターゲットから)」、「受信した修正前の内容(メインに逆変換)」、「受信した修正後の内容(ターゲットから)」、「受信した修正後の内容(メインに逆変換)」のレコードが作成される。受信部35が修正の内容を含む仕訳データ51を受信した時は、メインシステム200による確定仕訳が行われていないので未確定の状態であり、「受信した修正後の内容(メインに逆変換)」のレコードのステータス欄は「未確定」と表示される。 Screen display example (2) in Figure 20 is a screen displayed on the display device of the main system 200 during upstream correction processing. When the target system 300 journalizes the correction of the content shown in Addition A (after correction) of record (1) of the upstream correction processing in Figure 12, the main system 200 imports the journalization via the synchronization subsystem 210. Thereafter, the main system 200 import screen W4 shown in screen display example (2) is displayed on the main system 200. When the receiving unit 35 receives journalization data 51 including the correction content, records of "Received content before correction (from target)," "Received content before correction (reverse converted to main)," "Received content after correction (from target)," and "Received content after correction (reverse converted to main)" are created. When the receiving unit 35 receives journalization data 51 including the correction content, it is in an unconfirmed state because the main system 200 has not yet performed a final journalization, and the status column of the record for "Received content after correction (reverse converted to main)" displays "unconfirmed."

また、メインシステム200による確定仕訳が行われると「確定した修正内容(メインで)」、「送信する内容(ターゲットに変換)」のレコードが作成される。この時、「確定した修正内容(メインで)」のレコードのステータス欄は「確定」と表示され、「送信する内容(ターゲットに変換)」のレコードのステータス欄は「未処理」と表示される。その後、待受部34が確定仕訳の行われた仕訳データ38を取り込み、ターゲットシステム300の仕訳作成部50により仕訳が行われる。 Furthermore, when the main system 200 performs the final journal entry, records of "Finalized corrections (main)" and "Contents to be sent (converted to target)" are created. At this time, the status field of the record of "Finalized corrections (main)" displays "Final," and the status field of the record of "Contents to be sent (converted to target)" displays "Unprocessed." The standby unit 34 then imports the journal entry data 38 for which the final journal entry has been performed, and the journal entry is performed by the journal entry creation unit 50 of the target system 300.

インポート画面W4には、図12のレコード(1)に対応する、メインシステム200がターゲットシステム300から受信した修正前の仕訳の内容と、この修正前の仕訳の内容に対して同期サブシステム210が逆変換した仕訳の内容と、図12のレコード(3)に対応する、メインシステム200がターゲットシステム300に送信する確定仕訳である修正後の内容とが並べて表示される。
この時点では、「受信した修正前の内容(ターゲットから)」、「受信した修正前の内容(メインに逆変換)」、「受信した修正後の内容(ターゲットから)」のレコードのステータス欄は空欄であり、「受信した修正後の内容(メインに逆変換)」のレコードのステータス欄は「未確定」が表示される。また、「確定した修正内容(メインで)」、「送信する内容(ターゲットに変換)」のレコードにおけるターゲットシステム300の伝票番号は空欄である。メインシステム200を操作するユーザーは、ターゲットシステム300から修正の仕訳が1件あったことを確認すると、修正された仕訳に対して確定又は取消の処理を行う。そして、ユーザーが更新ボタンを押すと、処理済みのデータが削除される。
The import screen W4 displays side by side the contents of the journal entry before correction that the main system 200 received from the target system 300, which corresponds to record (1) in Figure 12, the contents of the journal entry that the synchronization subsystem 210 reverse-converted from the contents of this journal entry before correction, and the contents of the revised journal entry that the main system 200 will send to the target system 300, which corresponds to record (3) in Figure 12.
At this point, the status fields for the records "Received content before correction (from target),""Received content before correction (reverse converted to main)," and "Received content after correction (from target)" are blank, and the status field for the record "Received content after correction (reverse converted to main)" displays "Unconfirmed." Also, the slip number for the target system 300 in the records "Confirmed correction content (in main)" and "Content to send (converted to target)" is blank. When the user operating the main system 200 confirms that there is one journal entry for correction from the target system 300, they can confirm or cancel the corrected journal entry. Then, when the user presses the update button, the processed data is deleted.

図20の画面表示例(3)は、アップストリーム削除の処理にてメインシステム200の表示装置に表示される画面である。図14のアップストリーム削除の処理のレコード(1)に示す内容の削除の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、画面表示例(3)に示すメインシステム200のインポート画面W4がメインシステム200に表示される。受信部35が削除の内容を含む仕訳データ51を受信した時は、メインシステム200による確定仕訳が行われていないので未確定の状態であり、確定仕訳が行われると正常の状態に変わる。 Screen display example (3) in Figure 20 is a screen displayed on the display device of the main system 200 during upstream deletion processing. When the deletion journal entry for the content shown in record (1) of the upstream deletion processing in Figure 14 is performed in the target system 300, the main system 200 imports the journal entry via the synchronization subsystem 210. Thereafter, the main system 200 import screen W4 shown in screen display example (3) is displayed on the main system 200. When the receiving unit 35 receives journal entry data 51 including the deletion content, the main system 200 has not yet performed a final journal entry, so the status is unconfirmed; once a final journal entry is performed, the status changes to normal.

確定仕訳が行われる前は、「受信した内容(ターゲットから)」のステータス欄が空欄である。また、メインシステム200による確定仕訳が行われると、「送信する内容(メインに逆変換)」のレコードが作成される。この時、「送信する内容」のレコードのステータス欄は「未処理」と表示されるその後、待受部34が確定仕訳の行われた仕訳データ38を取り込み、ターゲットシステム300の仕訳作成部50により仕訳が行われた後、「送信する内容(メインに逆変換)」のステータス欄は「正常」と表示される。 Before the final journal entry is made, the status field for "Received content (from target)" is blank. Furthermore, once the main system 200 has made the final journal entry, a record for "Content to be sent (reverse converted to main)" is created. At this time, the status field for the "Content to be sent" record displays "Unprocessed." After that, the standby unit 34 imports the journal entry data 38 for which the final journal entry has been made, and the journal entry is made by the journal entry creation unit 50 of the target system 300, and the status field for "Content to be sent (reverse converted to main)" displays "Normal."

インポート画面W4には、図14のレコード(1)に対応する、メインシステム200がターゲットシステム300から受信した削除の仕訳の内容と、図14のレコード(3)に対応する、メインシステム200がターゲットシステム300から受信した確定仕訳である削除の内容とが並べて表示される。なお、ターゲットシステム300では、仕訳が削除されたので、画面表示例(3)の「受信した内容(ターゲットから)」の行には、ステータス項目以外の内容は表示されない。メインシステム200を操作するユーザーは、ターゲットシステム300から削除の仕訳が1件あったことを確認すると、削除された仕訳に対して確定又は取消の処理を行う。そして、ユーザーが更新ボタンを押すと、処理済みのデータが削除される。 The import screen W4 displays side-by-side the contents of the deletion journal entry received by the main system 200 from the target system 300, corresponding to record (1) in Figure 14, and the contents of the confirmed deletion journal entry received by the main system 200 from the target system 300, corresponding to record (3) in Figure 14. Note that because the journal entry was deleted in the target system 300, the "Received Content (from Target)" row in screen display example (3) displays no content other than the status item. When the user operating the main system 200 confirms that there is one deletion journal entry from the target system 300, they can confirm or cancel the deleted journal entry. Then, when the user presses the update button, the processed data is deleted.

<アップストリーム追加、修正、削除の取消処理のインポート画面>
図21と図22は、アップストリーム追加、修正、削除の取消処理にてターゲットシステム300に表示されるインポート画面W5の表示例を示す図である。図21と図22では、ターゲットシステム300が作成した仕訳をメインシステム200が受信する処理を「インポート」と呼ぶ。インポート画面W5では、メインシステム200がターゲットシステム300から受信した仕訳だけでなく、メインシステム200が修正し、ターゲットシステム300に送信する仕訳も表示される。そして、図21と図22に示すインポート画面W5は、データ連携システム100にてアップストリームにおけるメインシステム200がターゲットシステム300から仕訳を受信し、確定又は取消の仕訳を行う時にメインシステム200に表示される。
<Import screen for canceling upstream addition, modification, and deletion>
21 and 22 are diagrams showing an example of the import screen W5 displayed on the target system 300 during the process of canceling upstream additions, modifications, and deletions. In FIGS. 21 and 22, the process in which the main system 200 receives journal entries created by the target system 300 is called "import." The import screen W5 displays not only the journal entries received by the main system 200 from the target system 300, but also the journal entries modified by the main system 200 and sent to the target system 300. The import screen W5 shown in FIGS. 21 and 22 is displayed on the main system 200 when the main system 200 in the upstream part of the data linkage system 100 receives journal entries from the target system 300 and confirms or cancels the journal entries.

図21の画面表示例(1)は、アップストリーム追加の取消処理にてメインシステム200の表示装置に表示される画面である。図11のアップストリーム追加の取消処理のレコード(1)に示す追加の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、画面表示例(1)に示すメインシステム200のインポート画面W5がメインシステム200に表示される。 Screen display example (1) in Figure 21 is a screen displayed on the display device of the main system 200 during the upstream addition cancellation process. When the additional journal entry shown in record (1) of the upstream addition cancellation process in Figure 11 is performed in the target system 300, the journal entry is imported into the main system 200 via the synchronization subsystem 210. After that, the main system 200 import screen W5 shown in screen display example (1) is displayed on the main system 200.

受信部35が追加の内容を含む仕訳データ51を受信した時は、メインシステム200による確定仕訳が行われていない未確定の状態なので、「受信した内容(メインに逆変換)」のステータス欄は「未確定」と表示される。また、メインシステム200による確定仕訳が行われると、「確定した内容(メインで)」、「送信する内容(ターゲットに変換)」のレコードが作成される。この時、「確定した内容(メインで)」のレコードのステータス欄は「取消」と表示され、「送信する内容(ターゲットに変換)」のレコードのステータス欄は「削除未処理」と表示される。 When the receiving unit 35 receives journal data 51 including additional content, it is in an unconfirmed state where final journalization has not yet been performed by the main system 200, so the status field for "Received content (reverse conversion to main)" displays "Unconfirmed." Furthermore, when final journalization is performed by the main system 200, records for "Confirmed content (main)" and "Content to be sent (converted to target)" are created. At this time, the status field for the record for "Confirmed content (main)" displays "Cancelled," and the status field for the record for "Content to be sent (converted to target)" displays "Deletion not yet processed."

図21に示すインポート画面W5には、図11のレコード(1)に対応する、メインシステム200がターゲットシステム300から受信した追加の仕訳の内容と、図11のレコード(3)に対応する、メインシステム200がターゲットシステム300に送信する仕訳の内容とが並べて表示される。この時点では、「受信した内容(ターゲットから)」の行におけるメインシステム200の伝票番号と、「受信した内容(メインに逆変換)」、「確定した内容(メインで)」、「送信する内容(ターゲットに変換)」の行におけるターゲットシステム300の伝票番号は空欄である。メインシステム200を操作するユーザーは、ターゲットシステム300から追加の仕訳を1件受信したことを確認すると、追加の仕訳に対して確定又は取消の処理を行う。そして、ユーザーが更新ボタンを押すと、処理済みのデータが削除される。 The import screen W5 shown in Figure 21 displays the contents of the additional journal entry received by the main system 200 from the target system 300, corresponding to record (1) in Figure 11, and the contents of the journal entry to be sent by the main system 200 to the target system 300, corresponding to record (3) in Figure 11, side by side. At this point, the main system 200 voucher number in the "Received contents (from target)" row and the target system 300 voucher numbers in the "Received contents (reverse converted to main)," "Confirmed contents (main)," and "Content to be sent (converted to target)" rows are blank. When the user operating the main system 200 confirms that one additional journal entry has been received from the target system 300, they can confirm or cancel the additional journal entry. Then, when the user presses the update button, the processed data is deleted.

図22の画面表示例(2)は、アップストリーム修正の取消処理にてメインシステム200の表示装置に表示される画面である。図13のアップストリーム修正の取消処理のレコード(1)の追加A(修正後)に示す内容の修正の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、画面表示例(2)に示すメインシステム200のインポート画面W5がメインシステム200に表示される。受信部35が修正の内容を含む仕訳データ51を受信すると、「受信した修正前の内容(ターゲットから)」、「受信した修正前の内容(メインに逆変換)」、「受信した修正後の内容(ターゲットから)」、「受信した修正後の内容(メインに逆変換)」のレコードが作成される。受信部35が修正の内容を含む仕訳データ51を受信した時は、メインシステム200による確定仕訳が行われていないので未確定の状態であり、「受信した修正後の内容(メインに逆変換)」のレコードのステータス欄は「未確定」と表示される。 Screen display example (2) in Figure 22 is a screen displayed on the display device of the main system 200 during the upstream correction cancellation process. When the target system 300 journalizes the correction shown in Addition A (after correction) of record (1) of the upstream correction cancellation process in Figure 13, the main system 200 imports the journalization via the synchronization subsystem 210. Thereafter, the main system 200 import screen W5 shown in screen display example (2) is displayed on the main system 200. When the receiving unit 35 receives journalization data 51 including the correction details, records of "Received pre-correction contents (from target)," "Received pre-correction contents (reverse converted to main)," "Received post-correction contents (from target)," and "Received post-correction contents (reverse converted to main)" are created. When the receiving unit 35 receives journalization data 51 including the correction details, the data is in an unconfirmed state because the main system 200 has not yet performed a final journalization, and the status column of the record for "Received post-correction contents (reverse converted to main)" displays "unconfirmed."

また、メインシステム200による確定仕訳が行われると「確定した修正内容(メインで)」、「送信する内容(ターゲットに変換)」のレコードが作成される。この時、「確定した修正内容(メインで)」のレコードのステータス欄は「取消」と表示され、「送信する内容(ターゲットに変換)」のレコードのステータス欄は「修正前に」と表示される。その後、待受部34が確定仕訳の行われた仕訳データ38を取り込み、ターゲットシステム300の仕訳作成部50により仕訳が行われる。 Furthermore, when the main system 200 performs the final journal entry, records of "Confirmed correction details (main)" and "Contents to be sent (converted to target)" are created. At this time, the status field of the record of "Confirmed correction details (main)" displays "Cancelled," and the status field of the record of "Contents to be sent (converted to target)" displays "Before correction." The standby unit 34 then imports the journal entry data 38 for which the final journal entry has been performed, and the journal entry is performed by the journal entry creation unit 50 of the target system 300.

インポート画面W5には、図13のレコード(1)に対応する、メインシステム200がターゲットシステム300から受信した修正前の仕訳の内容と、この修正前の仕訳の内容に対して同期サブシステム210が逆変換した仕訳の内容と、図13のレコード(3)に対応する、メインシステム200がターゲットシステム300に送信する修正後の仕訳の内容とが並べて表示される。
この時点では、「受信した修正前の内容(ターゲットから)」、「受信した修正前の内容(メインに逆変換)」、「受信した修正後の内容(ターゲットから)」のレコードのステータス欄は空欄であり、「受信した修正後の内容(メインに逆変換)」のレコードのステータス欄は「未確定」が表示される。また、「確定した修正内容(メインで)」のレコードにおけるターゲットシステム300の伝票番号は空欄である。メインシステム200を操作するユーザーは、ターゲットシステム300から修正の仕訳が1件あったことを確認すると、修正された仕訳に対して確定又は取消の処理を行う。そして、ユーザーが更新ボタンを押すと、処理済みのデータが削除される。
The import screen W5 displays side by side the contents of the journal entry before correction that the main system 200 received from the target system 300, which corresponds to record (1) in Figure 13, the contents of the journal entry that the synchronization subsystem 210 reverse-converted from the contents of this journal entry before correction, and the contents of the journal entry after correction that the main system 200 will send to the target system 300, which corresponds to record (3) in Figure 13.
At this point, the status fields for the records "Received contents before correction (from target),""Received contents before correction (reverse converted to main)," and "Received contents after correction (from target)" are blank, and the status field for the record "Received contents after correction (reverse converted to main)" displays "Unconfirmed." Also, the slip number for the target system 300 in the record "Confirmed correction contents (in main)" is blank. When the user operating the main system 200 confirms that there is one journal entry for correction from the target system 300, they can confirm or cancel the corrected journal entry. Then, when the user presses the update button, the processed data is deleted.

図22の画面表示例(3)は、アップストリーム削除の取消処理にてメインシステム200の表示装置に表示される画面である。図15のアップストリーム削除の取消処理のレコード(1)に示す内容の削除の仕訳がターゲットシステム300で行われると、同期サブシステム210を経てメインシステム200が仕訳を取り込む。その後、画面表示例(3)に示すメインシステム200のインポート画面W5がメインシステム200に表示される。このインポート画面W5には、図15のレコード(1)に対応する、メインシステム200がターゲットシステム300から受信した削除の仕訳の内容と、図15のレコード(3)に対応する、メインシステム200がターゲットシステム300から受信した確定仕訳である削除の内容とが並べて表示される。例えば、「受信した内容(ターゲットから)」、「送信する内容(メインに逆変換)」、「送信する内容(ターゲットに変換)」のレコードがメインシステム200に表示される。「受信した内容(ターゲットから)」のレコードのステータス欄は空欄であり、「送信する内容(メインに逆変換)」のレコードのステータス欄は「取消」と表示され、「送信する内容(ターゲットに変換)」のレコードのステータス欄は「削除前に」と表示される。 Screen display example (3) in Figure 22 is a screen displayed on the display device of the main system 200 during the upstream deletion cancellation process. When the deletion journal entry for the content shown in record (1) of the upstream deletion cancellation process in Figure 15 is performed in the target system 300, the main system 200 imports the journal entry via the synchronization subsystem 210. Subsequently, the import screen W5 of the main system 200 shown in screen display example (3) is displayed on the main system 200. This import screen W5 displays side by side the deletion journal entry content received by the main system 200 from the target system 300, corresponding to record (1) in Figure 15, and the deletion content, which is the confirmed journal entry received by the main system 200 from the target system 300, corresponding to record (3) in Figure 15. For example, the records "Received content (from target)," "Content to be sent (reverse converted to main)," and "Content to be sent (converted to target)" are displayed on the main system 200. The status field for the "Received content (from target)" record is blank, the status field for the "Sent content (revert to main)" record displays "Cancelled", and the status field for the "Sent content (convert to target)" record displays "Before deletion".

メインシステム200を操作するユーザーは、ターゲットシステム300から削除の仕訳が1件あったことを確認すると、削除された仕訳に対して確定又は取消の処理を行う。そして、ユーザーが更新ボタンを押すと、処理済みのデータが削除される。 When the user operating the main system 200 confirms that there is one journal entry to be deleted from the target system 300, they can confirm or cancel the deleted journal entry. Then, when the user presses the update button, the processed data is deleted.

図23は、未確定仕訳に対する確定処理画面の表示例を示す。図23に示す確定処理画面は、図19~図22の各処理項目に示す処理ボタンを押すことでメインシステム200の表示装置に表示される。ここでは、図20の画面表示例(2)の処理ボタンを押して表示された確定処理画面の例を示す。 Figure 23 shows an example of the confirmation processing screen display for unconfirmed journal entries. The confirmation processing screen shown in Figure 23 is displayed on the display device of the main system 200 by pressing the processing button shown for each processing item in Figures 19 to 22. Here, an example of the confirmation processing screen displayed by pressing the processing button for screen display example (2) in Figure 20 is shown.

確定処理画面の上段には、メインシステム200がターゲットシステム300から受信した未確定仕訳の内容の表示欄が示される。この表示欄には、図20の画面表示例(2)に示した、「受信した修正前の内容」と「受信した修正後の内容」とが表示される。また、仕訳候補ボタンを押すと、自動仕訳部22により抽出された複数の仕訳候補が表示され、ユーザーが任意の仕訳候補を選択可能である。 The upper section of the confirmation processing screen displays a display field for the contents of the unconfirmed journal entry received by the main system 200 from the target system 300. This display field displays the "received contents before correction" and "received contents after correction," as shown in screen display example (2) in Figure 20. In addition, when the journal entry candidate button is pressed, multiple journal entry candidates extracted by the automatic journal entry unit 22 are displayed, and the user can select any journal entry candidate.

確定処理画面の下段には、振替伝票として、図20の画面表示例(2)に示した、「送信する修正後の内容」が表示される。ユーザーは、振替伝票を確認して、正しい内容で仕訳を修正し、仕訳を確定することができる。また、この表示欄には、「追加」、「削除」、「戻す」、「行追加」、「行削除」、「伝票の取消」、「同期の更新」の操作ボタンが表示され、振替伝票に対する任意の操作が可能である。例えば、ターゲットシステム300から受信した追加の仕訳に対して取り消す場合、「伝票の取消」ボタンが押されることで、追加の仕訳が取り消される。 The bottom section of the confirmation processing screen displays the "Corrected Contents to Send" as a transfer slip, as shown in screen display example (2) in Figure 20. The user can check the transfer slip, correct the journal entry with the correct content, and confirm the journal entry. This display area also displays operation buttons for "Add," "Delete," "Revert," "Add Row," "Delete Row," "Cancel Voucher," and "Update Synchronization," allowing any operation to be performed on the transfer slip. For example, to cancel an additional journal entry received from the target system 300, the "Cancel Voucher" button is pressed, and the additional journal entry is canceled.

<計算機のハードウェア構成>
次に、データ連携システム100,100Aの各システムを構成する計算機110のハードウェア構成を説明する。
図24は、計算機110のハードウェア構成例を示すブロック図である。計算機110は、本実施の形態に係るメインシステム200,200A、同期サブシステム210、ターゲットシステム300,300A、同期し捨てMう400として動作可能なコンピューターとして用いられるハードウェアの一例である。本実施の形態に係るデータ連携システム100,100Aの各システムは、計算機110(コンピューター)がプログラムを実行することにより、図2~図5に示した各機能ブロックが連携して行うデータの同期方法を実現する。
<Computer hardware configuration>
Next, the hardware configuration of the computer 110 that constitutes each of the data linkage systems 100 and 100A will be described.
24 is a block diagram showing an example of the hardware configuration of the computer 110. The computer 110 is an example of hardware used as a computer capable of operating as the main systems 200, 200A, synchronization subsystem 210, target systems 300, 300A, and synchronization subsystem 400 according to this embodiment. Each of the data linkage systems 100, 100A according to this embodiment realizes a data synchronization method in which the functional blocks shown in FIGS. 2 to 5 cooperate with each other by the computer 110 executing a program.

計算機110は、バス114にそれぞれ接続されたCPU(Central Processing Unit)111、ROM(Read Only Memory)112、及びRAM(Random Access Memory)113を備える。さらに、計算機110は、表示装置115、入力装置116、不揮発性ストレージ117及びネットワークインターフェイス118を備える。 Computer 110 includes a CPU (Central Processing Unit) 111, a ROM (Read Only Memory) 112, and a RAM (Random Access Memory) 113, each connected to a bus 114. Furthermore, computer 110 includes a display device 115, an input device 116, non-volatile storage 117, and a network interface 118.

CPU111は、本実施の形態に係る各機能を実現するソフトウェアのプログラムコードをROM112から読み出してRAM113にロードし、実行する。RAM113には、CPU111の演算処理の途中で発生した変数やパラメーター等が一時的に書き込まれ、これらの変数やパラメーター等がCPU111によって適宜読み出される。ただし、CPU111に代えてMPU(Micro Processing Unit)を用いてもよい。メインシステム200,200A及びターゲットシステム300,300Aにおける各機能部の機能、並びに同期サブシステム210、同期システム400における各機能部の機能は、CPU111がROM112から読み出した同期プログラムを実行することで実現される。 The CPU 111 reads from the ROM 112 the program code of the software that realizes each function of this embodiment, loads it into the RAM 113, and executes it. Variables, parameters, etc. generated during the calculation processing of the CPU 111 are temporarily written to the RAM 113, and these variables, parameters, etc. are read by the CPU 111 as appropriate. However, an MPU (Micro Processing Unit) may be used instead of the CPU 111. The functions of each functional unit in the main systems 200, 200A and the target systems 300, 300A, as well as the functions of each functional unit in the synchronization subsystem 210 and synchronization system 400, are realized by the CPU 111 executing the synchronization program read from the ROM 112.

表示装置115は、例えば、液晶ディスプレイモニターであり、計算機110で行われる処理の結果等をユーザーに表示する。入力装置116には、例えば、キーボード、マウス等が用いられ、ユーザーが所定の操作入力、指示を行うことが可能である。なお、同期サブシステム210、同期システム400には、表示装置115及び入力装置116が設けられない構成としてもよい。 The display device 115 is, for example, an LCD monitor, and displays the results of processing performed by the computer 110 to the user. The input device 116 is, for example, a keyboard, mouse, etc., and allows the user to input predetermined operations and give instructions. Note that the synchronization subsystem 210 and synchronization system 400 may be configured without the display device 115 and input device 116.

不揮発性ストレージ117としては、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、フレキシブルディスク、光ディスク、光磁気ディスク、CD-ROM、CD-R、磁気テープ又は不揮発性のメモリ等が用いられる。この不揮発性ストレージ117には、OS(Operating System)、各種のパラメーターの他に、計算機110を機能させるためのプログラムが記録されている。ROM112及び不揮発性ストレージ117は、CPU111が動作するために必要なプログラムやデータ等を記録しており、計算機110によって実行されるプログラムを格納したコンピューター読取可能な非一過性の記憶媒体の一例として用いられる。不揮発性ストレージ117には、例えば、変換テーブル31、同期テーブル33、逆変換テーブル37等が構成される。 The non-volatile storage 117 may be, for example, a hard disk drive (HDD), solid state drive (SSD), flexible disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, or non-volatile memory. This non-volatile storage 117 stores the OS (operating system), various parameters, and programs for running the computer 110. The ROM 112 and non-volatile storage 117 store programs and data necessary for the CPU 111 to operate, and are used as examples of computer-readable, non-transitory storage media that store programs executed by the computer 110. The non-volatile storage 117 stores, for example, a conversion table 31, a synchronization table 33, and a reverse conversion table 37.

ネットワークインターフェイス118には、例えば、NIC(Network Interface Card)等が用いられ、NICの端子に接続されたLAN(Local Area Network)、専用線等を介して各種のデータをシステム間で送受信することが可能である。ネットワークインターフェイス118により、各システムの送信部及び受信部の機能が実現される。 The network interface 118 may be, for example, a network interface card (NIC), which allows various types of data to be sent and received between systems via a local area network (LAN) or dedicated line connected to the NIC terminal. The network interface 118 realizes the functions of the transmitter and receiver of each system.

以上説明した第1の実施の形態に係るデータ連携システム100によれば、ダウンストリームの処理にてメインシステム200が作成し、送信した仕訳データを同期サブシステム210が変換することでターゲットシステム300が変換後の仕訳データを取り込むことができる。このため、メインシステム200で作成された仕訳をターゲットシステム300の仕訳に同期させることができる。 According to the data linkage system 100 according to the first embodiment described above, the journal data created and transmitted by the main system 200 in downstream processing is converted by the synchronization subsystem 210, allowing the target system 300 to import the converted journal data. This allows the journal entries created by the main system 200 to be synchronized with the journal entries of the target system 300.

逆に、アップストリームの処理にてターゲットシステム300が作成し、送信した仕訳データを同期サブシステム210が逆変換することでメインシステム200が仕訳を確定した後、逆変換後の仕訳データを取り込むことができる。このため、ターゲットシステム300で作成された仕訳をメインシステム200の仕訳に同期させることができる。 Conversely, the synchronization subsystem 210 reverse-converts the journal data created and sent by the target system 300 in upstream processing, allowing the main system 200 to confirm the journal entry and then import the reverse-converted journal entry data. This allows the journal entries created in the target system 300 to be synchronized with the journal entries in the main system 200.

また、第2の実施の形態に係るデータ連携システム100Aによれば、ダウンストリームの処理にてメインシステム200Aが作成し、送信した仕訳データを同期システム400が変換することでターゲットシステム300Aが変換後の仕訳データを取り込むことができる。このため、メインシステム200Aで作成された仕訳をターゲットシステム300Aの仕訳に同期させることができる。 Furthermore, according to the data linkage system 100A of the second embodiment, the synchronization system 400 converts the journal data created and transmitted by the main system 200A in downstream processing, allowing the target system 300A to import the converted journal data. Therefore, the journal data created by the main system 200A can be synchronized with the journal data of the target system 300A.

逆に、アップストリームの処理にてターゲットシステム300Aが作成し、送信した仕訳データを同期システム400が逆変換することでメインシステム200Aが仕訳を確定した後、逆変換後の仕訳データを取り込むことができる。このため、ターゲットシステム300Aで作成された仕訳をメインシステム200Aの仕訳に同期させることができる。 Conversely, the synchronization system 400 reverse-converts the journal data created and transmitted by the target system 300A in upstream processing, allowing the main system 200A to confirm the journal entry and then import the reverse-converted journal entry data. This allows the journal entries created in the target system 300A to be synchronized with the journal entries in the main system 200A.

また、第1及び第2の実施の形態に係るデータ連携システム100,100Aでは、アップストリームの処理にてターゲットシステム300,300Aが追加、修正、又は削除した仕訳データに対して、メインシステム200,200Aが確定処理を行う。このため、ターゲットシステム300,300Aにて行われた不正確な仕訳は、メインシステム200,200Aにて是正される。 Furthermore, in the data linkage systems 100, 100A according to the first and second embodiments, the main systems 200, 200A perform confirmation processing on journal data that has been added, modified, or deleted by the target systems 300, 300A in upstream processing. Therefore, inaccurate journal entries made by the target systems 300, 300A are corrected by the main systems 200, 200A.

また、メインシステム200,200Aは、アップストリームの処理にて確定処理を行った結果、ターゲットシステム300,300Aにて行われた追加、修正、又は削除を取り消すことができる。取り消された追加、修正、又は削除は、ターゲットシステム300に取り込まれると、ターゲットシステム300,300Aが行った追加、修正、又は削除が取り消される。 Furthermore, the main systems 200, 200A can cancel additions, modifications, or deletions made by the target systems 300, 300A as a result of performing confirmation processing in upstream processing. When the canceled additions, modifications, or deletions are imported into the target system 300, the additions, modifications, or deletions made by the target systems 300, 300A are canceled.

また、メインシステム200,200Aで追加、修正、又は削除された仕訳は、ターゲットシステム300で確認された後、ターゲットシステム300に取り込まれる。また、ターゲットシステム300,300Aで追加、修正、又は削除された仕訳についても、メインシステム200,200Aで確定仕訳が行われ、メインシステム200,200Aとターゲットシステム300,300Aで取り込まれる。その後、同期サブシステム210、同期システム400の同期テーブル33に保存される仕訳データは削除されるので、同期テーブル33の記録容量を削減することができる。 In addition, journal entries added, modified, or deleted in the main systems 200, 200A are confirmed in the target system 300 and then imported into the target system 300. Furthermore, journal entries added, modified, or deleted in the target systems 300, 300A are also finalized in the main systems 200, 200A and imported into the main systems 200, 200A and target systems 300, 300A. The journal entry data stored in the synchronization table 33 of the synchronization subsystem 210 and synchronization system 400 is then deleted, thereby reducing the recording capacity of the synchronization table 33.

また、ダウンストリームの処理にて、ターゲットシステム300,300Aにはインポート画面が表示される。また、アップストリームの処理にて、ターゲットシステム300,300Aにはエクスポート画面が表示され、メインシステム200,200Aにはインポート画面が表示される。各システムに表示される画面から、各システムのユーザーが仕訳の内容を確認することができる。 In addition, during downstream processing, an import screen is displayed on the target systems 300 and 300A. In addition, during upstream processing, an export screen is displayed on the target systems 300 and 300A, and an import screen is displayed on the main systems 200 and 200A. Users of each system can check the contents of the journal entries from the screens displayed on each system.

[変形例]
なお、上述した実施の形態は、会計システム間の仕訳データの送受信をAPI連携で行う例を説明したものであった。しかし、ダウンストリームの処理と、アップストリームの処理は、送信される仕訳データのデータ量が異なることが多い。そこで、仕訳データのデータ量に応じて、仕訳データの送信処理を変更する例について、図25を参照して説明する。
図25は、第2の実施の形態の変形例に係るデータ連携システム100Aの全体構成例を示す図である。
[Modification]
The above-described embodiment describes an example in which journal data is sent and received between accounting systems through API linkage. However, downstream processing and upstream processing often have different amounts of journal data sent. Therefore, an example in which the journal data sending process is changed depending on the amount of journal data will be described with reference to FIG. 25 .
FIG. 25 is a diagram illustrating an example of the overall configuration of a data linkage system 100A according to a modification of the second embodiment.

メインシステム200Aの表示装置には、確定処理部23による確定仕訳のために、ユーザーが仕訳を確認可能な確認画面が表示される。ダウンストリームの処理にてメインシステム200Aにて仕訳の追加、修正、又は削除が行われると、メインシステム200Aから同期システム400に追加、修正前後、又は削除の仕訳データが送信される。ダウンストリームの処理にてメインシステム200Aから同期システム400に送信される仕訳データ20のデータ件数は多いため、API連携で1件ごとに送信する処理は時間がかかる。そこで、メインシステム200Aから同期システム400に送信される仕訳データ20は、CSV形式のファイルで一括して送信されるとよい。 A confirmation screen is displayed on the display device of the main system 200A, allowing the user to confirm the journal entries for finalization by the confirmation processing unit 23. When a journal entry is added, modified, or deleted in the main system 200A during downstream processing, the main system 200A sends the journal entry data for the addition, pre- and post-modification, or deletion to the synchronization system 400. Because the number of data items in the journal entry data 20 sent from the main system 200A to the synchronization system 400 during downstream processing is large, sending each item individually via API integration takes time. Therefore, it is preferable that the journal entry data 20 sent from the main system 200A to the synchronization system 400 be sent all at once in a CSV format file.

ターゲットシステム300Aの表示装置には、アップストリームの処理にて、ユーザーが仕訳を登録するための仕訳登録画面が表示される。また、ターゲットシステム300Aの表示装置には、メインシステム200Aにより確定された仕訳を確認するための確認画面が表示される。アップストリームの処理にてターゲットシステム300Aにて仕訳の追加、修正、又は削除が行われると、ターゲットシステム300Aから同期システム400に追加、修正前後、又は削除の仕訳データが送信される。アップストリームの処理はデータ件数が少ないことが多い。このため、ターゲットシステム300Aからメインシステム200Aに仕訳データを送信する際は、API連携としてもよい。 In upstream processing, the display device of the target system 300A displays a journal entry registration screen that allows the user to register journal entries. In addition, the display device of the target system 300A displays a confirmation screen that allows the user to confirm the journal entries confirmed by the main system 200A. When a journal entry is added, modified, or deleted in the target system 300A in upstream processing, the target system 300A sends the journal entry data for the addition, before and after modification, or deletion to the synchronization system 400. Upstream processing often involves a small number of data items. For this reason, when sending journal entry data from the target system 300A to the main system 200A, API integration may be used.

なお、本発明は上述した実施の形態に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りその他種々の応用例、変形例を取り得ることは勿論である。
例えば、上述した実施の形態は本発明を分かりやすく説明するためにシステムの構成を詳細かつ具体的に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されない。また、本実施の形態の構成の一部について、他の構成の追加、削除、置換をすることも可能である。
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。
The present invention is not limited to the above-described embodiment, and it goes without saying that various other applications and modifications are possible without departing from the gist of the present invention as set forth in the claims.
For example, the above-described embodiment has described the system configuration in detail and specifically in order to clearly explain the present invention, and is not necessarily limited to a system having all of the described configurations. Furthermore, it is also possible to add, delete, or replace part of the configuration of the present embodiment with other configurations.
In addition, the control lines and information lines shown are those that are considered necessary for the explanation, and do not necessarily show all the control lines and information lines in the product. In reality, it can be assumed that almost all components are interconnected.

22…自動仕訳部、23…確定処理部、30…変換部、31…変換テーブル、33…同期テーブル、34…待受部、36…逆変換部、37…逆変換テーブル、50…仕訳作成部、100,100A…データ連携システム、200,200A…メインシステム、210…同期サブシステム、300,300A…ターゲットシステム、400…同期システム 22...Automatic journalization unit, 23...Confirmation processing unit, 30...Conversion unit, 31...Conversion table, 33...Synchronization table, 34...Standby unit, 36...Inverse conversion unit, 37...Inverse conversion table, 50...Journalization creation unit, 100, 100A...Data linkage system, 200, 200A...Main system, 210...Synchronization subsystem, 300, 300A...Target system, 400...Synchronization system

Claims (12)

会計仕訳の候補を抽出して確定仕訳が行われる第1会計システムと、
前記第1会計システムで行われた確定仕訳を受け入れる第2会計システムと、
前記第1会計システムが作成した第1仕訳データを前記第2会計システムが取込可能なデータ形式に変換する変換部と、変換後の前記第1仕訳データを前記第2会計システムが取込可能に保存する同期テーブルとを有する同期装置と、を備え
前記同期装置は、
前記第2会計システムから前記第1仕訳データの取込要求を待ち受け、前記第2会計システムから前記取込要求を受信すると、前記同期テーブルから読み出した、前記第2会計システムが未取込である、変換後の前記第1仕訳データを前記第2会計システムに送信する待受部を有する
データ連携システム。
a first accounting system that extracts accounting entry candidates and performs finalized entries;
a second accounting system that accepts the finalized journal entries made in the first accounting system;
a synchronization device having a conversion unit that converts the first journal data created by the first accounting system into a data format that can be imported by the second accounting system, and a synchronization table that stores the converted first journal data so that the second accounting system can import the data ;
The synchronization device
a waiting unit that waits for an import request for the first journal data from the second accounting system, and that, upon receiving the import request from the second accounting system, transmits to the second accounting system the converted first journal data that has been read from the synchronization table and that has not yet been imported by the second accounting system;
Data linkage system.
前記待受部は、前記取込要求を待ち受け、前記取込要求に応じて前記同期テーブルから読み出した変換後の前記第1仕訳データを前記第2会計システムに送信し、前記第2会計システムから正常に変換後の前記第1仕訳データを取込んだことを表す情報を受信することにより、前記第2会計システムが変換後の前記第1仕訳データを正常に取込んだことを管理し、前記第2会計システムから正常に変換後の前記第1仕訳データにより正常に仕訳を更新できたことを表す情報を受信することにより、前記第2会計システムが変換後の前記第1仕訳データにより正常に仕訳を更新できたことを管理し、前記同期テーブルのレコードを更新済みに変更するThe standby unit waits for the import request, transmits the converted first journal data read from the synchronization table in response to the import request to the second accounting system, receives information from the second accounting system indicating that the converted first journal data has been successfully imported, thereby managing that the second accounting system has successfully imported the converted first journal data, receives information from the second accounting system indicating that the journal entry has been successfully updated with the converted first journal data, thereby managing that the second accounting system has successfully updated the journal entry with the converted first journal data, and changes the record in the synchronization table to "updated."
請求項1に記載のデータ連携システム。The data linkage system according to claim 1 .
前記同期装置は、
前記第1仕訳データの項目ごとに、前記第1会計システム及び前記第2会計システムで用いられる語句の対応関係を保持する変換テーブルを有し、
記変換部は、前記変換テーブルを参照して、前記第1仕訳データを前記第2会計システムが取込可能なデータ形式に変換する
請求項に記載のデータ連携システム。
The synchronization device
a conversion table for storing correspondence between words and phrases used in the first accounting system and the second accounting system for each item of the first journal data ;
The data linkage system according to claim 2 , wherein the conversion unit refers to the conversion table to convert the first journal data into a data format that can be imported into the second accounting system.
前記同期装置は、前記第2会計システムで作成された仕訳の第2仕訳データを前記第1会計システムが取込可能なデータ形式に逆変換し、前記第2会計システムで行われた仕訳に対して前記第1会計システムが確定仕訳を行った前記第2仕訳データを前記第2会計システムが取込可能なデータ形式に変換し、変換後の前記第2仕訳データを前記第2会計システムに送信する
請求項に記載のデータ連携システム。
The data linkage system described in claim 3, wherein the synchronization device converts second journal entry data of journal entries created in the second accounting system back into a data format that can be imported by the first accounting system, converts the second journal entry data in which the first accounting system has made a final journal entry for the journal entry made in the second accounting system into a data format that can be imported by the second accounting system, and transmits the converted second journal entry data to the second accounting system.
前記同期装置は、
第2仕訳データの項目ごとに、前記第1会計システム及び前記第2会計システムで用いられる語句の対応関係を保持する逆変換テーブルと、
前記逆変換テーブルを参照して、前記第2仕訳データを前記第1会計システムが取込可能なデータ形式に逆変換する逆変換部と、
逆変換後の前記第2仕訳データを格納する同期テーブルと、を有する
請求項に記載のデータ連携システム。
The synchronization device
a reverse conversion table that stores correspondences between words and phrases used in the first accounting system and the second accounting system for each item of second journal data;
an inverse conversion unit that refers to the inverse conversion table and inversely converts the second journal data into a data format that can be imported into the first accounting system;
The data linkage system according to claim 4 , further comprising: a synchronization table that stores the second journal data after inverse conversion.
前記第1会計システムは、
逆変換後の前記第2仕訳データに対して仕訳の候補を抽出する仕訳候補抽出部と、
抽出された前記仕訳の候補から一の仕訳を確定し、前記第1仕訳データを作成する確定処理部と、を有する
請求項又はに記載のデータ連携システム。
The first accounting system
a journalization candidate extraction unit that extracts journalization candidates for the second journalization data after inverse conversion;
The data linkage system according to claim 4 or 5 , further comprising: a confirmation processing unit that confirms one journal entry from the extracted journal entry candidates and creates the first journal entry data.
前記同期装置は、前記第1会計システムと一体化された同期サブシステムであって、
前記同期サブシステムと前記第2会計システムとは、API連携で前記第1仕訳データ及び前記第2仕訳データを送受信する
請求項のいずれか一項に記載のデータ連携システム。
The synchronizer is a synchronization subsystem integrated with the first accounting system,
The data linkage system according to any one of claims 4 to 6 , wherein the synchronization subsystem and the second accounting system transmit and receive the first journal data and the second journal data via API linkage.
前記同期装置は、前記第1会計システムと別体で構成された同期システムであって、
前記同期テーブルから読み出した逆変換後の前記第2仕訳データを前記第1会計システムに送信する第1送信部を有し、
前記第1会計システムは、
前記同期装置から逆変換後の前記第2仕訳データを受信する第2受信部と、
確定仕訳が行われた前記第2仕訳データを前記同期装置に送信する第2送信部と、を有し、
前記第1会計システムと前記同期システムとの間、及び前記同期システムと前記第2会計システムとの間は、API連携で前記第2仕訳データが送受信される
請求項のいずれか一項に記載のデータ連携システム。
The synchronization device is a synchronization system configured separately from the first accounting system,
a first transmission unit that transmits the second journal data after reverse conversion read from the synchronization table to the first accounting system;
The first accounting system
a second receiving unit that receives the second journal data after inverse conversion from the synchronization device;
a second transmission unit that transmits the second journalized data for which final journalization has been performed to the synchronization device;
A data linkage system as described in any one of claims 4 to 6 , wherein the second journal data is sent and received between the first accounting system and the synchronization system, and between the synchronization system and the second accounting system via API linkage.
会計仕訳の候補を抽出して確定仕訳が行われる第1会計システムが作成した第1仕訳データを、前記第1会計システムで行われた確定仕訳を受け入れる第2会計システムが取込可能なデータ形式に変換する変換部と、
変換後の前記第1仕訳データを前記第2会計システムが取込可能に保存する同期テーブルと、
前記第2会計システムから前記第1仕訳データの取込要求を待ち受け、前記第2会計システムから前記取込要求を受信すると、前記同期テーブルから読み出した、前記第2会計システムが未取込である、変換後の前記第1仕訳データを前記第2会計システムに送信する待受部と、を備える
同期装置。
a conversion unit that converts first journal entry data created by a first accounting system that extracts accounting journal entry candidates and performs final journal entries into a data format that can be imported by a second accounting system that accepts the final journal entries performed by the first accounting system;
a synchronization table that stores the converted first journal data so that the second accounting system can import the converted first journal data;
a standby unit that waits for a request to import the first journal data from the second accounting system, and that, upon receiving the import request from the second accounting system, transmits the converted first journal data that has been read from the synchronization table and that has not yet been imported by the second accounting system to the second accounting system .
前記第2会計システムで作成された仕訳の第2仕訳データを前記第1会計システムが取込可能なデータ形式に逆変換する逆変換部を有し、
前記変換部は、逆変換された前記仕訳データに対して前記第1会計システムが確定仕訳を行った前記第2仕訳データを前記第2会計システムが取込可能なデータ形式に変換する
請求項に記載の同期装置。
an inverse conversion unit that inversely converts second journal data of the journal created in the second accounting system into a data format that can be imported into the first accounting system;
The synchronization device according to claim 9 , wherein the conversion unit converts the second journal data, for which the first accounting system has performed final journalization on the reverse-converted journal data, into a data format that can be imported by the second accounting system.
会計仕訳の候補を抽出して確定仕訳が行われる第1会計システムが作成した第1仕訳データを、前記第1会計システムで行われた確定仕訳を受け入れる第2会計システムが取込可能なデータ形式に変換する手順と、
変換後の前記第1仕訳データを前記第2会計システムが取込可能に同期テーブルに保存する手順と、
前記第2会計システムから前記第1仕訳データの取込要求を待ち受け、前記第2会計システムから前記取込要求を受信すると、前記同期テーブルから読み出した、前記第2会計システムが未取込である、変換後の前記第1仕訳データを前記第2会計システムに送信する手順と、
コンピューターに実行させるための同期プログラム。
A procedure for converting first journal entry data created by a first accounting system that extracts accounting journal entry candidates and performs final journal entries into a data format that can be imported by a second accounting system that accepts the final journal entries performed by the first accounting system;
a step of storing the converted first journal data in a synchronization table so that the second accounting system can import the converted first journal data;
A synchronization program for causing a computer to execute the following steps: awaiting a request to import the first journal data from the second accounting system; and, upon receiving the import request from the second accounting system, sending the converted first journal data that has not yet been imported by the second accounting system and that has been read from the synchronization table to the second accounting system .
前記第2会計システムで作成された仕訳の第2仕訳データを前記第1会計システムが取込可能なデータ形式に逆変換する手順と、
逆変換された前記仕訳データに対して前記第1会計システムが確定仕訳を行った前記第2仕訳データを前記第2会計システムが取込可能なデータ形式に変換する手順と、を
コンピューターに実行させるための請求項1に記載の同期プログラム。
a step of converting second journal entry data of the journal entry created in the second accounting system back into a data format that can be imported into the first accounting system;
A synchronization program as described in claim 11, for causing a computer to execute the following steps: converting the second journal data, which the first accounting system has confirmed and entered into a data format that can be imported by the second accounting system, for the reverse-converted journal data.
JP2022015847A 2022-02-03 2022-02-03 Data linkage system, synchronization device, and synchronization program Active JP7741739B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022015847A JP7741739B2 (en) 2022-02-03 2022-02-03 Data linkage system, synchronization device, and synchronization program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022015847A JP7741739B2 (en) 2022-02-03 2022-02-03 Data linkage system, synchronization device, and synchronization program

Publications (2)

Publication Number Publication Date
JP2023113459A JP2023113459A (en) 2023-08-16
JP7741739B2 true JP7741739B2 (en) 2025-09-18

Family

ID=87566277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022015847A Active JP7741739B2 (en) 2022-02-03 2022-02-03 Data linkage system, synchronization device, and synchronization program

Country Status (1)

Country Link
JP (1) JP7741739B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241325A (en) 2004-12-21 2007-09-20 Nippon Telegr & Teleph Corp <Ntt> Multiplexed database system, synchronization method thereof, mediation apparatus, and mediation program
JP2010102602A (en) 2008-10-27 2010-05-06 Ntt Docomo Inc Communication device and data synchronization method
JP2011181024A (en) 2010-03-04 2011-09-15 Hitachi Solutions Ltd Csv file output device for cooperation between systems
JP2011204253A (en) 1999-12-16 2011-10-13 Sumitomo Mitsui Banking Corp Conversion engine and financial reporting system using the same
JP2011227780A (en) 2010-04-21 2011-11-10 Fujitsu Ltd Financial data processing apparatus, financial data processing method and financial data processing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011204253A (en) 1999-12-16 2011-10-13 Sumitomo Mitsui Banking Corp Conversion engine and financial reporting system using the same
JP2007241325A (en) 2004-12-21 2007-09-20 Nippon Telegr & Teleph Corp <Ntt> Multiplexed database system, synchronization method thereof, mediation apparatus, and mediation program
JP2010102602A (en) 2008-10-27 2010-05-06 Ntt Docomo Inc Communication device and data synchronization method
JP2011181024A (en) 2010-03-04 2011-09-15 Hitachi Solutions Ltd Csv file output device for cooperation between systems
JP2011227780A (en) 2010-04-21 2011-11-10 Fujitsu Ltd Financial data processing apparatus, financial data processing method and financial data processing program

Also Published As

Publication number Publication date
JP2023113459A (en) 2023-08-16

Similar Documents

Publication Publication Date Title
US8036989B2 (en) Transmission of messages related to electronic documents
US5978779A (en) Distributed architecture utility
US9256655B2 (en) Dynamic access of data
US7630989B2 (en) Transaction management system
US7552132B2 (en) Management of contract data
US20130073521A1 (en) Mechanism for synchronizing olap system structure and oltp system structure
AU2014204479A1 (en) Formatted intellectual property data exchange over a network
CN102194163A (en) Enterprise resource planning management method, server and system
JP6055050B1 (en) Bank system, method and program executed by bank system
US8527995B2 (en) Synchronization system for entities maintained by multiple applications
CA2332401A1 (en) Work-flow system for web-based applications
Frank Architecture for integration of distributed ERP systems and e‐commerce systems
US20180068383A1 (en) Bank system, method and program for corporate finance overseas credit management
CN115099914A (en) Financial business accounting system and equipment based on NCC framework
CN109816499A (en) Transaction reconciliation system
JP4459538B2 (en) Reorganization fund management system, reorganization fund management system program, and recording medium recording the program
JP7741739B2 (en) Data linkage system, synchronization device, and synchronization program
JP2003346023A (en) Ordering and order-reception processing system
KR100334249B1 (en) Intelligent data structure, processing apparatus, and medium using network
TW381220B (en) Financial on-line system and its information replacing processing method
US20130097092A1 (en) Unclaimed property method and system
WO2017021998A1 (en) Electronic managerial decision request form updating method and system
JP5850546B1 (en) Government bond principal and interest distribution system and method
JP5848785B2 (en) Electronic record receivable management system
JP7813442B1 (en) Back office support equipment

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20240213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20240213

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240430

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20240517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250311

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250502

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250905

R150 Certificate of patent or registration of utility model

Ref document number: 7741739

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150