JP2004310186A - Automatic journalization process, device for implementing it, its process program, and recording medium - Google Patents

Automatic journalization process, device for implementing it, its process program, and recording medium Download PDF

Info

Publication number
JP2004310186A
JP2004310186A JP2003099197A JP2003099197A JP2004310186A JP 2004310186 A JP2004310186 A JP 2004310186A JP 2003099197 A JP2003099197 A JP 2003099197A JP 2003099197 A JP2003099197 A JP 2003099197A JP 2004310186 A JP2004310186 A JP 2004310186A
Authority
JP
Japan
Prior art keywords
journal
data
processing
storage device
slip data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003099197A
Other languages
Japanese (ja)
Inventor
Yuji Kaneko
裕司 金子
Nobuyuki Miwakeichi
信之 三分一
Kazuyoshi Suzuki
和義 鈴木
Katsu Noji
克 野地
Tomohisa Tazaki
朝久 田崎
Tadashi Ono
廉 大野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Systems and Services Ltd
Original Assignee
Hitachi Systems and Services Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Systems and Services Ltd filed Critical Hitachi Systems and Services Ltd
Priority to JP2003099197A priority Critical patent/JP2004310186A/en
Publication of JP2004310186A publication Critical patent/JP2004310186A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique for changing or adding journalization requirements or journalization methods without changing a program when changing or adding the process of journalizing slip data. <P>SOLUTION: An automatic journalization process for performing the work of journalizing slips includes a step for reading an external definition rule file in which the journalization requirements showing the requirements of the journalization process and journalization methods showing the contents of the journalization process are registered and for retaining in a storage device the journalization requirements and the journalization methods registered in the external definition rule file; and a step for reading pre-journalization slip data registered in a pre-journalization slip data file and retaining the data in the storage device. The process further includes a step for journalizing the pre-journalization slip data using a journalization method retained in a pair with a journalization requirement, if the pre-journalization data retained in the storage device meet the journalization requirement, and for retaining the data in the storage device as journalized slip data. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は伝票の仕訳作業を行う自動仕訳処理装置に関し、特にコンピュータ装置を使用して会計伝票の仕訳作業を自動的に行う自動仕訳処理装置に適用して有効な技術に関するものである。
【0002】
【従来の技術】
従来、会計業務における会計伝票(例えば、「売上伝票」)をコンピュータを用いて仕訳する場合、本来人手で行ってきた会計伝票から貸方及び借方の勘定科目を発生させて仕訳を行う方法(以下、仕訳方法)について業務を自動化する必要があり、まず、仕訳の対象となる会計伝票をデータ化して伝票データとして外部記憶装置に保持し、仕訳を行う為の自動仕訳プログラムを作成してコンピュータの記憶装置に読み込み、外部記憶装置に保持している伝票データを入力してコンピュータのCPUで自動仕訳プログラムを実行して仕訳を行っている。
【0003】
この時、自動仕訳プログラムでは入力した伝票データに対してどの様な仕訳を行うかを決定する必要があり、この決定には通常、伝票データから伝票項目データ(例えば、「仕入先店舗名」)を取得し、前記伝票項目データを用いてデータベース等の外部記憶装置を検索して、仕訳方法を示した仕訳コード(例えば、「仕訳方法−1」)を取得し、この仕訳コードにより自動仕訳プログラム内に記述された複数の仕訳方法、若しくは単一の仕訳方法が記述された自動仕訳プログラム自身を選択して仕訳方法を決定する。そして仕訳方法が決定した後、入力した伝票データを仕訳方法に従って加工する処理(以下、仕訳処理)を行っている。
【0004】
この様な自動仕訳システムの例として、企業の経済活動で発生する取引からその企業の財政状態や損益に関する情報を容易に作成するためのシステム及び方法が提供されており(例えば特許文献1参照)、仕訳方法を記述しているプログラムの実行により仕訳処理を行っている。
【0005】
【特許文献1】
特開2000−215263号公報
【0006】
【発明が解決しようとする課題】
前記従来技術の自動仕訳処理では、仕訳条件や仕訳方法を処理アルゴリズムや内部データの形でプログラム内部に記述している為、新しく仕訳方法を追加したり、若しくは既存の仕訳方法を変更しようとする場合や、仕訳方法を決定する為の伝票項目データが変更になった場合に、自動仕訳処理用のプログラムを変更する必要があり、プログラムの保守コストが増大するという問題がある。
本発明の目的は上記問題を解決し、伝票データの仕訳処理の変更・追加を行う際に、プログラムに変更を加えること無く仕訳条件または仕訳方法の変更・追加に対応することが可能な技術を提供することにある。
【0007】
【課題を解決するための手段】
本発明は、伝票の仕訳作業を行う自動仕訳処理装置において、外部定義ルールファイルに保持された仕訳条件及び仕訳方法により伝票データの仕訳処理を行うものである。
【0008】
本発明の自動仕訳処理装置では、まず、仕訳処理を行う際の条件として伝票データ中の任意の項目内容を定義した仕訳条件と、その仕訳条件に一致する伝票データへの仕訳処理の内容を示す仕訳方法とを登録した外部定義ルールファイルを読み込み、その外部定義ルールファイルに登録されている仕訳条件及び仕訳方法を記憶装置に保持する。
【0009】
次に、仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持し、その記憶装置に保持した仕訳処理前伝票データ中の項目内容が、前記記憶装置に保持された仕訳条件中に示されている任意の伝票項目の内容と一致しているかどうかを調べることにより仕訳条件の検索を行う。
【0010】
前記検索の結果、仕訳処理前伝票データ中の項目内容が満たしている仕訳条件が検索された場合には、その仕訳条件と対に保持されている仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する。その際、所定の規則に従って変換するか若しくは新たにデータを伝票データへ追加する命令(以下、仕訳変換命令)、或いはその組み合わせの指定(以下、仕訳変換命令指定)を実行することにより、当該仕訳処理前伝票データに対する仕訳処理を行って仕訳処理済み伝票データを生成する。その際に、前記仕訳方法により仕訳処理前伝票データ中に含まれている明細データから複数の明細データを生成するものとしても良い。
そして、全ての伝票データに対して仕訳処理を行った後、記憶装置に保持されている仕訳処理された仕訳処理済み伝票データを外部記憶装置へ全て出力する。
【0011】
また、前記外部定義ルールファイルを読み込む際に、複数個の外部定義ルールファイルより、それぞれ別々の仕訳条件及び仕訳方法を記憶装置に保持し、前記記憶装置に保持した仕訳処理前伝票データに対して、該当する仕訳条件と対に保持されている仕訳方法により仕訳を行う処理を、前記別々に保持されている仕訳条件及び仕訳方法について順次実行するものとしても良い。
【0012】
更に、前記仕訳処理が終了した後、前記仕訳処理済み伝票データ単位に別プログラムを呼び出し、当該仕訳処理済み伝票データをその別プログラムへ渡して所定の処理を行うものとしても良い。
【0013】
前記の様に本発明では、入力した伝票データを所定の規則に従って変換するか若しくは新たにデータを伝票データに追加する仕訳変換命令、或いはその組み合わせを示す仕訳変換命令指定を、仕訳方法として外部記憶装置の外部定義ルールファイルに保持しているので、伝票データへの仕訳方法の変更・追加が必要となった際に、プログラムに変更を加えること無く仕訳方法の追加・変更に対応することができる。
【0014】
また本発明では、仕訳方法を決定する際に使用する仕訳条件を、その伝票項目データを任意に設定可能な仕訳条件とし、この仕訳条件を外部定義ルールファイルに保持することで、伝票データの仕訳条件の変更・追加が必要となった際に、プログラムに変更を加えること無く仕訳条件の追加・変更に対応することができる。
【0015】
以上の様に本発明の自動仕訳処理装置によれば、外部定義ルールファイルに保持された仕訳条件及び仕訳方法により伝票データの仕訳処理を行うので、伝票データの仕訳処理の変更・追加を行う際に、プログラムに変更を加えること無く仕訳条件または仕訳方法の変更・追加に対応することが可能である。
【0016】
【発明の実施の形態】
以下に外部定義ルールファイルに保持された仕訳条件及び仕訳方法により伝票データの仕訳処理を行う一実施形態の自動仕訳処理装置について説明する。
【0017】
図1は本実施形態の自動仕訳処理装置のシステム構成を示す図である。図1に示す様に本実施形態の自動仕訳処理装置は、外部定義ルールファイル読み込み処理部112と、項目出現順序設定ファイル読み込み処理部113と、仕訳処理前伝票データファイル読み込み処理部114と、仕訳条件検索処理部115と、仕訳処理部117とを有している。
【0018】
外部定義ルールファイル読み込み処理部112は、仕訳処理を行う際の条件を示す仕訳条件とその仕訳処理の内容を示す仕訳方法とを登録した外部定義ルールファイルを読み込み、その外部定義ルールファイルに登録されている仕訳条件及び仕訳方法を記憶装置109に保持する処理部である。
【0019】
項目出現順序設定ファイル読み込み処理部113は、伝票項目データの出現順序を示す出現順序情報を登録した項目出現順序設定ファイルを読み込み、その項目出現順序設定ファイルに登録されている出現順序情報を記憶装置109に保持する処理部である。
【0020】
仕訳処理前伝票データファイル読み込み処理部114は、仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置109に保持する処理部である。仕訳条件検索処理部115は、記憶装置109に保持した仕訳処理前伝票データ中の項目内容が、記憶装置109に保持された仕訳条件中に示されている任意の伝票項目の内容と一致しているかどうかを調べることにより仕訳条件の検索を行う処理部である。
【0021】
仕訳処理部117は、前記検索された仕訳条件と対に保持されている仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置109に保持する処理部であり、所定の規則に従って変換するか若しくは新たにデータを伝票データへ追加する仕訳変換命令、或いはその組み合わせを示す仕訳変換命令指定を実行するものである。
【0022】
本実施形態の自動仕訳処理装置を、外部定義ルールファイル読み込み処理部112、項目出現順序設定ファイル読み込み処理部113、仕訳処理前伝票データファイル読み込み処理部114、仕訳条件検索処理部115及び仕訳処理部117として機能させる為のプログラムは、CD−ROM等の記録媒体に記録され磁気ディスク等に格納された後、メモリにロードされて実行されるものとする。なお前記プログラムを記録する記録媒体はCD−ROM以外の他の記録媒体でも良い。また前記プログラムを当該記録媒体から情報処理装置にインストールして使用しても良いし、ネットワークを通じて当該記録媒体にアクセスして前記プログラムを使用するものとしても良い。
【0023】
図1のコンピュータ装置107には、記憶装置109、及び記憶装置109に読み込まれたプログラムを実行するCPU108が搭載されていて、記憶装置109には、CPU108で実行するプログラムが使用する記憶領域が含まれている。また、コンピュータ装置107には、外部記憶装置101、102、103、104、105、106、111、及び入力装置110が接続されていて、コンピュータ装置107は、各外部記憶装置に保持されたファイルの入出力、及び入力装置からの入力を処理する機能を持っている。
【0024】
外部記憶装置101には、仕訳処理を行う前の状態の伝票データ(以下、仕訳処理前伝票データ)として仕訳処理前伝票データファイルが格納されており、外部記憶装置102及び外部記憶装置111には、仕訳条件及び仕訳変換命令指定を複数件登録している、外部定義ルールファイルが格納され、外部記憶装置103には、入力した伝票データを自動仕訳する為のプログラムである、自動仕訳プログラムが格納され、外部記憶装置104には、仕訳処理で使用する出現順序情報を登録している項目出現順序設定ファイルが格納されている。尚、出現順序情報については後述する。また外部記憶装置105には、自動仕訳プログラムとは別のプログラムが格納されており、外部記憶装置106には、仕訳処理を行った後の伝票データとして(以下、仕訳処理済み伝票データ)仕訳処理済み伝票データファイルが格納される。
【0025】
次に自動仕訳プログラムの処理内容について図1、図2を参照して説明する。入力装置110より、自動仕訳プログラムの実行開始命令が入力されると、外部記憶装置103から自動仕訳プログラムが読み込まれて記憶装置109上に前記各処理部が形成され、CPU108を使って各処理部の処理が実行される。このとき、入力装置110より自動仕訳プログラムの実行開始命令が入力される際、仕訳処理前伝票データファイル、外部定義ルールファイル、項目出現順序設定ファイル、仕訳処理済み伝票データファイルの格納場所が同時に指定されるものとする。また、格納場所とは、外部記憶装置における各ファイルの位置を示す名称である。
【0026】
図2は本実施形態の自動仕訳処理の処理手順を示すフローチャートである。入力装置110より、自動仕訳プログラムの実行開始命令が入力されると、外部定義ルールファイル読み込み処理部112は、同時に指定された格納場所の外部記憶装置102から、外部定義ルールファイルを読み込み、前記外部定義ルールファイルに登録されている仕訳条件及び仕訳変換命令指定を記憶装置109に保持する。また、このとき複数個の外部定義ルールファイルの格納場所の指定を受け付けることで、複数個の外部定義ルールファイルより、それぞれ別々の仕訳条件及び仕訳変換命令指定として、記憶装置109に保持することができる。尚、複数個の外部定義ルールファイル指定による仕訳処理については後述する(ステップ21)。
【0027】
項目出現順序設定ファイル読み込み処理部113は、自動仕訳プログラム実行時に同時に指定された格納場所の外部記憶装置104から、項目出現順序設定ファイルを読み込み、項目出現順序設定ファイルに登録されている出現順序情報を記憶装置109に保持する(ステップ22)。
【0028】
仕訳処理前伝票データファイル読み込み処理部114は、自動仕訳プログラム実行時に同時に指定された格納場所の外部記憶装置101から、仕訳処理前伝票データを1件分読み込み、記憶装置109に保持する(ステップ23)。
【0029】
仕訳条件検索処理部115は、ステップ23で記憶装置109に保持した1件分の仕訳処理前伝票データに対して、同じく記憶装置109に保持している仕訳条件から、条件一致する仕訳条件を検索して(ステップ24)、条件一致したかを判断する(ステップ25)。
条件一致した場合にはステップ26へ進み、条件一致しない場合にはステップ26を実行せず、ステップ27へ進む。
【0030】
ステップ25で条件一致した場合、仕訳処理部117は、記憶装置109に条件一致した仕訳条件と対に保持されている仕訳変換命令指定により、条件一致した仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置109に保持する(ステップ26)。
外部記憶装置101に格納されている仕訳処理前伝票データファイルに、まだ仕訳処理を行っていない伝票データがあるかを判断する(ステップ27)。
【0031】
仕訳処理を行っていない伝票データがある場合、ステップ23へ進み、全ての伝票データに対して仕訳処理を行っていた場合にはステップ28へ進む。
ステップ28で、記憶装置109に保持されている仕訳処理された仕訳処理済み伝票データを外部記憶装置106へ全て出力する。全ての仕訳処理済み伝票データを出力した後、自動仕訳処理を終了する。
【0032】
次に外部記憶装置101に格納されている仕訳処理前伝票データファイル、及び外部記憶装置106に格納されている仕訳処理済み伝票データファイルの、共通したフォーマットである伝票データファイルについて、図3を参照して説明する。
【0033】
図3は本実施形態の伝票データファイルの概要を示す図である。伝票データファイル31は、伝票データ32によって構成されていて、また、伝票データ32を、伝票データファイル31に複数指定することができるものとする。
【0034】
伝票データ32は、伝票項目データ33と、明細データ36で構成されており、また、伝票項目データ33及び明細データ36を、伝票データ32に複数指定することができるものとする。
明細データ36は、伝票項目データ37で構成されており、また、伝票項目データ37を、明細データ36に複数指定することができるものとする。
伝票項目データ33は、伝票項目データの名称である伝票項目データ名称34と、前記伝票項目データ名称34の値である伝票項目データ値35で構成されている。また、前記伝票項目データ33と、明細データ36を構成する伝票項目データ37の記述方法に相違点は無い。但し、伝票データ32の中で、伝票項目データ名称は重複してはならないものとする。
【0035】
次に、外部記憶装置102に格納されている外部定義ルールファイルについて、図3、図4を参照して説明する。
図4は本実施形態の外部定義ルールファイルの概要を示す図である。外部定義ルールファイル41は、仕訳条件指定43と仕訳変換命令指定46を対にしたルールブロック42から成る。また、ルールブロック42を、外部定義ルールファイルに複数指定することができるものとする。
【0036】
仕訳条件指定43は、仕訳処理前伝票データへ適用する仕訳変換命令指定を選択する為の条件であり、伝票項目データ名称指定44と伝票項目データ値指定45によって構成されている。また、仕訳条件指定43には、複数の伝票項目データ名称と伝票項目データ値を指定することができるものとする。
【0037】
伝票項目データ名称指定44には、仕訳処理前伝票データを構成する項目名称を指定し、伝票項目データ値指定45には、前記項目名称に設定されている値を指定する。
【0038】
本実施形態の仕訳条件検索処理では、仕訳処理の対象となる仕訳処理前伝票データに、仕訳条件指定43を構成している伝票項目データ名称指定、及び前記伝票項目データ名称の伝票項目データ値指定が全て記述されていた場合、条件一致となり、仕訳条件指定43と対を成す仕訳変換命令指定46が、前記仕訳処理前伝票データの仕訳処理に用いられる。
【0039】
仕訳変換命令指定46は、仕訳処理前伝票データの仕訳処理に用いられる仕訳変換命令47と、仕訳変換命令47が適用される際に用いられる変換値48から成る。また、仕訳変換命令47と変換値48を、仕訳変換命令指定46に複数指定することができるものとする。
【0040】
次に、仕訳処理前伝票データに適用する仕訳変換命令指定を決定する為の仕訳条件の指定方法について、図4、図5を参照して説明する。
図5は本実施形態の伝票データファイルの例を示す図である。図5で示す伝票データファイル51には、伝票データ52から伝票データ59が格納されている状態であり、仕訳処理の行われる対象を伝票データ56としたとき、図4で示す外部定義ルールファイル41の伝票項目データ名称指定44に「営業店名」と指定し、伝票項目データ値指定45には「高尾山営業所」と指定することで、条件一致して、適用する仕訳変換命令指定を決定することができる。これは、伝票データ52から伝票データ59の中で、伝票データ56だけが「営業店名」に「高尾山営業所」と指定されているからである。
【0041】
仕訳処理の行われる対象を伝票データ57としたとき、伝票項目データ名称指定44に「営業店名」と指定し、尚且つ伝票項目データ値指定45に「富士山営業所」と指定すると、条件一致する伝票データは伝票データ52、伝票データ57、伝票データ59になる。この為、伝票データ57のみを仕訳処理する為には、更に仕訳条件を追加する必要があり、追加する新たな仕訳条件としては、伝票項目データ名称指定44に「起票日」と指定し、尚且つ伝票項目データ値指定45に「2003/02/10」と指定する。これにより前記伝票データ57に対して条件一致となり、仕訳処理を行うことができる。
【0042】
次に、項目出現順序設定ファイルが格納されている出現順序情報について、図1、図2、図6を参照して説明する。
図6は本実施形態の出現順序情報の例を示す図である。図1に示す外部記憶装置104に格納されている項目出現順序設定ファイルには、仕訳処理を行う際に必要となる出現順序情報81が保持されている。出現順序情報81は、伝票項目データ名称82と、出現順序83で構成されており、伝票項目データ名称82には、伝票項目データ及び仕訳変換命令に指定する伝票項目データ名称が全て登録されている。また、出現順序83は重複することは無く、一意の番号となるものとする。
【0043】
ステップ26では、伝票項目データ及び仕訳変換命令の伝票項目データ名称の出現順序を、それぞれ記憶装置109に保持されている出現順序情報81から取得し、その大小比較を行うことで仕訳処理を行う。
【0044】
次に、仕訳処理を行う伝票データに対して適用する仕訳変換命令指定と、図2のステップ26に示す仕訳処理について、図1及び図5〜図14を参照して説明する。
【0045】
図7は本実施形態の仕訳変換命令指定の例を示す図である。図7で示す仕訳変換命令62は、仕訳処理を行う伝票データのどの伝票項目データへ適用するかを示した伝票項目データ名称情報(例えば、「明細1の仕訳処理日」)と、変換動作を示した変換動作情報(例えば、「追加若しくは上書き」)で構成されており、変換値63は、仕訳処理後の伝票項目データ値を示している。この仕訳変換命令62と変換値63で構成されている仕訳変換命令行を用いて、仕訳処理を行う。
【0046】
図8は本実施形態の仕訳処理の処理手順を示すフローチャートである。図8に示す様に自動仕訳処理装置の仕訳処理部117は、前記検索された仕訳条件と対に保持されている仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置109に保持する処理を行う。以下の説明の例では、仕訳処理の行われる対象を伝票データ52とし、仕訳条件指定によって条件一致したときに適用されるのは仕訳変換命令指定61であるものとする。
まず、仕訳処理が開始されると、伝票データを読み込む処理を呼び出す(ステップ701)。
【0047】
図9は本実施形態の伝票データ読み込み処理の処理手順を示すフローチャートである。伝票データ読み込み処理では、記憶装置109に格納されている伝票データ52より、1行分のデータを取り出し(例えば、「起票日−2003/02/01」)、変換対象行データとして記憶装置109へ保持する(ステップ702)。
【0048】
ステップ703において、伝票データ52中の全ての伝票項目データに対して仕訳処理が終了したかを判定し、仕訳処理が終了していない場合にはステップ704へ進み、仕訳処理が終了している場合にはステップ705へ進む。
【0049】
記憶装置109に保持している変換対象行データより、伝票項目データ名称を取得し(例えば、「起票日」)、この伝票項目データ名称を用いて、記憶装置109に既に保持している出現順序情報81より出現順序83(例えば、「起票日」の場合には出現順序は「110」になる)を取得して、伝票データの読み込み処理を終了し、処理を戻す(ステップ704)。
【0050】
伝票データ52中の全ての伝票項目データに対して仕訳処理が終了していた場合、記憶装置109に既に保持している出現順序情報81より出現順序83(例えば、「999」)を取得して、伝票データの読み込み処理を終了し、処理を戻す(ステップ705)。
次に図8のステップ706において、仕訳変換命令指定を読み込む処理を呼び出す。
【0051】
図10は本実施形態の仕訳変換命令指定読み込み処理の処理手順を示すフローチャートである。仕訳変換命令指定読み込み処理では、記憶装置109に格納されている仕訳変換命令指定61より、仕訳変換命令行(例えば、「明細1−仕訳処理日−追加若しくは上書き−2003/03/10」)を取り出し、変換命令データとして記憶装置109へ保持する(ステップ707)。
【0052】
ステップ708において、仕訳変換命令指定61中の全ての仕訳変換命令が読み込まれたかを判定し、まだ読み込まれていない仕訳変換命令がある場合にはステップ709へ進み、全て読み込まれたならばステップ710へ進む。
【0053】
記憶装置109に保持している変換命令データより、伝票項目データ名称を取得し(例えば、「仕訳処理日」)、この伝票項目データ名称を用いて、記憶装置109に既に保持している出現順序情報81(例えば、「仕訳処理日」の場合には出現順序は「105」になる)を取得して、仕訳変換命令指定読み込み処理を終了し、処理を戻す(ステップ709)。
【0054】
仕訳変換命令指定61の全ての変換命令データが読み込まれている場合、記憶装置109に既に保持している出現順序情報81より出現順序83(例えば、「998」)を取得して、仕訳変換命令指定読み込み処理を終了し、処理を戻す(ステップ710)。
【0055】
記憶装置109に保持している変換命令データより、仕訳処理を行う基点を取得(例えば、「明細1」)し、基点情報として記憶装置109へ保持する(ステップ711)。
【0056】
次に図8のステップ712では、伝票データ読み込み処理において取得した変換対象行データの出現順序が最大値になるか、若しくは仕訳変換命令指定読み込み処理で取得した変換命令データの出現順序が最大値になるまで、ステップ713からステップ720の処理を繰り返し、どちらかの条件を満たした場合、繰り返し処理を終了し、ステップ721へ進む。
【0057】
伝票データ読み込み処理において取得した変換対象行データの出現順序と、仕訳変換命令指定読み込み処理で取得した変換命令データの出現順序を比較し(ステップ713)、比較した結果、同一であった場合にはステップ714へ進み、変換対象行データの出現順序の方が小さい場合にはステップ733へ進み、大きい場合にはステップ735へ進む。
【0058】
ステップ713で出現順序が同一であった場合、記憶装置109に保持している変換命令データより変換動作情報を取得し、その内容が例えば「追加若しくは上書き」であったときには、記憶装置109に保持している変換対象行データの伝票項目データ値を変換命令データの変換値で上書きし、仕訳処理する(ステップ714)。また、変換動作情報の種類については、図11に示す。
【0059】
図11は本実施形態の変換命令一覧とその変換動作説明の内容を示す図である。図11に示す様に変換命令データ中の変換動作情報の内容に応じて、仕訳処理時の動作が定義されており、この定義内容に従って仕訳処理が行われる。
【0060】
ステップ714で仕訳処理を行った後の変換対象行データを、仕訳処理済み行データとして、記憶装置109に保持する(ステップ715)。
次に、伝票データ読み込み処理を呼び出し(ステップ716)、仕訳変換命令指定読み込み処理を呼び出し(ステップ717)、記憶装置109に保持している変換命令データより、仕訳処理を行う基点を取得(例えば、「明細1」)して記憶装置109に保持し(ステップ718)、既にステップ711で取得して記憶装置109に保持している基点情報と比較する。
【0061】
比較した結果、同一であった場合にはステップ720へ進み、異なる場合にはステップ728へ進む(ステップ719)。
ステップ720では、ステップ716の伝票データ読み込み処理において取得した変換対象行データの出現順序が最大値か、若しくはステップ717の仕訳変換命令指定読み込み処理で取得した変換命令データの出現順序が最大値であった場合には終了処理へ進み、どちらも最大値ではなかった場合にはステップ713へ進む。
【0062】
図12は本実施形態の終了処理の処理手順を示すフローチャートである。終了処理では、ステップ716の伝票データ読み込み処理において取得した変換対象行データの出現順序と、ステップ717の仕訳変換命令指定読み込み処理で取得した変換命令データの出現順序が最大値であった場合にはステップ726へ進み、仕訳変換命令指定読み込み処理で取得した変換命令データの出現順序のみが最大値であった場合にはステップ722へ進み、変換対象行データの出現順序のみが最大値であった場合にはステップ727へ進む(ステップ721)。
【0063】
ステップ722では、仕訳処理の対象となっている伝票データ52に適用する仕訳変換命令指定61が全て実行されており、尚且つ伝票データ52の読み込みが終了していない場合、伝票データ52の読み込みが終了するまで、ステップ723からステップ725の処理を繰り返す。
【0064】
記憶装置109に保持している変換対象行データをそのまま仕訳処理済み行データとして記憶装置109に保持し(ステップ723)、伝票データ読み込み処理を呼び出し(ステップ724)、伝票データ52の読み込みが終了していない場合にはステップ722へ進み、全て終了した場合にはステップ726へ進む(ステップ725)。
【0065】
記憶装置109に保持している全ての仕訳処理済み行データを纏め、仕訳処理済み伝票データ、若しくは明細データとして記憶装置109に保持して(ステップ726)、終了処理を終了する。
【0066】
ステップ721において、変換対象行データの出現順序のみが最大値であった場合には、仕訳処理の対象となる伝票データ52に対して適用される仕訳変換命令指定61の仕訳変換命令62が全て実行されていない状態であり、このとき、実行していない仕訳変換命令62を全て実行するため、仕訳変換命令指定61の読み込みが全て終了するまでステップ727からステップ752までを繰り返す(ステップ727)。
【0067】
すなわち、記憶装置109に保持している変換命令データの変換動作情報を取得し、その取得した変換動作情報が例えば「追加若しくは上書き」である場合には、前記変換命令データの伝票項目データ名称情報と変換値により、仕訳処理済み行データを生成して記憶装置109に保持し(ステップ750)、仕訳変換命令指定読み込み処理(ステップ751)を呼び出して、仕訳変換命令指定61の読み込みが終了していない場合にはステップ721へ進み、全て終了した場合にはステップ726へ進む(ステップ752)。
【0068】
図13は本実施形態のステップ719で基点情報が異なっていた場合の処理手順を示すフローチャートである。ステップ719において、ステップ711とステップ718で取得した基点情報とを比較して異なっていた場合、ステップ721からステップ726で示した終了処理を行う(ステップ728)。
【0069】
記憶装置109に保持されている伝票データ52を再び先頭から読み込む為、読み込み位置を伝票データ52の先頭に戻し(ステップ730)、伝票データ読み込み処理を呼び出す(ステップ731)。
ステップ718で取得した変換命令データの基点情報を現在の基点として記憶装置109に保持し(ステップ732)、ステップ712へ進む。
【0070】
図8のステップ713において、伝票データ読み込み処理で取得した変換対象行データの出現順序と、仕訳変換命令指定読み込み処理で取得した変換命令データの出現順序を比較した結果、変換対象行データの出現順序の方が小さい場合には、記憶装置109に保持している変換対象行データをそのまま仕訳処理済み行データとして記憶装置109に保持し(ステップ733)、伝票データ読み込み処理を呼び出して(ステップ734)、伝票データ読み込み処理終了後にステップ718へ進む。
【0071】
ステップ713において、伝票データ読み込み処理で取得した変換対象行データの出現順序と、仕訳変換命令指定読み込み処理で取得した変換命令データの出現順序を比較した結果、変換命令データの出現順序の方が小さい場合には、記憶装置109に保持している変換命令データの変換動作情報を取得し、その取得した変換動作情報が例えば「追加若しくは上書き」である場合には、前記変換命令データの伝票項目データ名称情報と変換値により、仕訳処理済み行データを生成して記憶装置109に保持し(ステップ735)、ステップ717へ進む。
【0072】
図14は本実施形態の仕訳処理後の伝票データの例を示す図である。仕訳処理の行われる対象を伝票データ52とし、仕訳条件指定によって条件一致したときに適用されるのは仕訳変換命令指定61であるものとした場合、上記ステップ701からステップ735を行うことで、仕訳処理の対象である伝票データ52は、図14で示す仕訳処理済み伝票データ1002へ仕訳処理され、ステップ28で仕訳処理済み伝票データファイル1001へ保持される。
【0073】
次に、伝票データに含まれる1つの明細データに対して仕訳処理を行い、複数明細データへ仕訳処理する方法について、図1及び図5〜図14を参照して説明する。
【0074】
仕訳処理の行われる対象を伝票データ52とし、この伝票データ52に仕訳変換命令指定64を適用したとき、仕訳変換命令指定64中の仕訳変換命令65が、ステップ717で示す仕訳変換命令指定読み込み処理で読み込まれるまで、ステップ711で記憶装置109に保持している基点情報は「明細1」である。
【0075】
ステップ717にて仕訳変換命令65が読み込まれ、ステップ718において記憶装置109に保持している変換命令データより、基点情報として「明細2」が取得される。
【0076】
記憶装置109に保持している基点情報「明細1」と、記憶装置109に保持している変換命令データより取得した基点情報「明細2」をステップ719で比較して、基点情報が異なっている為、ステップ728へ進む。
【0077】
ステップ728で示す終了処理で、記憶装置109に保持している仕訳処理済み行データを、仕訳処理済み伝票データ1003の明細1部分1004として記憶装置109に保持し、ステップ730において現在仕訳処理中の伝票データ52の先頭位置(例えば、「起票日」)まで戻し、ステップ731で示す伝票データ読み込み処理を行う。また、ステップ732において、仕訳変換命令65の基点情報「明細2」を記憶装置109へ現在の基点情報として保持し、ステップ712へ進み、仕訳変換命令指定64が終了するまで仕訳処理を行う。
上記の仕訳処理を行うことで、伝票データ52より2つ目の明細データである、仕訳処理済み伝票データ1003の明細2部分1005を生成する。
【0078】
次に、それぞれ異なる仕訳方法を保持している複数個の外部定義ルールファイルを読み込み、別々の仕訳方法としてコンピュータの記憶装置に保持し、仕訳処理前伝票データに対して順次に前記記憶装置に保持した仕訳方法によって仕訳処理を行う方法について、図1を参照して説明する。
【0079】
入力装置110より、自動仕訳プログラムの実行開始命令を入力するとき、同時に複数の外部定義ルールファイルの格納場所の指定を受け付けることにより、外部定義ルールファイル読み込み処理部112は、複数個の外部定義ルールファイルを読み込み(例えば、外部記憶装置102と外部記憶装置111)、それぞれの外部定義ルールファイルが格納している仕訳条件及び仕訳変換命令指定を、記憶装置109に別々の仕訳処理を行う仕訳条件及び仕訳変換命令指定として保持する。また、外部定義ルールファイルの格納場所の指定順序により、記憶装置109に別々に保持されている仕訳条件及び仕訳変換命令指定の仕訳処理の順序を指定することができるものとする。
【0080】
例えば、外部記憶装置111、外部記憶装置102の順序で格納場所を指定することで、仕訳処理部117は、最初に外部記憶装置111に格納されている外部定義ルールファイルの仕訳条件及び仕訳変換命令指定を仕訳処理前伝票データに適用し、この仕訳処理が終了した後で、次に外部記憶装置102に格納されている外部定義ルールファイルの仕訳条件及び仕訳変換命令指定を適用して仕訳処理を行う。
【0081】
次に、仕訳処理を行った仕訳処理済み伝票データの単位に、自動仕訳プログラムとは別プログラムへ前記仕訳処理済み伝票データを渡し、前記別プログラムを実行する方法を、図1、図2を参照して説明する。
【0082】
ステップ26に示す仕訳処理により、記憶装置109に保持されている仕訳処理前伝票データが仕訳処理され、記憶装置109に仕訳処理済み伝票データとして保持されると、仕訳処理部117は、外部記憶装置105に示す別プログラムを記憶装置109に読み込み、記憶装置109に読み込まれた別プログラムをCPU108を使って実行させる。このとき、仕訳処理部117から別プログラムの実行開始命令と同時に、ステップ26で仕訳処理した記憶装置109に保持している仕訳処理済み伝票データを渡す。
【0083】
仕訳処理部117によって実行された別プログラムでは、渡された仕訳処理済み伝票データに対して何らかの加工を行うか、若しくは仕訳処理済み伝票データに加工を行わず、別の処理を実行する。別プログラムの処理が終了すると、別プログラムは、仕訳処理部117へ仕訳処理済み伝票データを渡す。
【0084】
前記の様に本実施形態により、次の効果が得られる。すなわち、入力した伝票データへの仕訳処理を行う為の仕訳方法、及びこの仕訳方法を決定する為の仕訳条件を、自動仕訳プログラムに持つこと無く、外部記憶装置に保持して、自動仕訳プログラムの実行時に前記外部記憶装置を読み込み、コンピュータ装置の記憶装置に保持して仕訳処理を行うことで、仕訳方法及び仕訳条件の追加や変更の際にプログラムの内容を変更すること無く対応することができる。また、仕訳処理を行う仕訳変換命令指定により、伝票データ中の1つの明細データより複数明細を生成することができ、更に、仕訳条件と仕訳方法を複数個の外部記憶装置に分散して保持することにより、1つの外部記憶装置中の仕訳条件数を少なくすることができる。
【0085】
ここで、従来の方法を用いて、自動仕訳プログラム中に仕訳条件及び仕訳方法を記述した場合の仕訳条件数を図15を参照して説明する。
図15は従来技術を含む一般的な自動仕訳処理における取引先コード、部門コード、処理コードの組み合わせ例を示す図である。図15の1101で示す取引先−Aから取引先−Jには、それぞれの取引先にある部署を示したコードとして、取引先コード1105がそれぞれ3つあり、1102で示す部門−aから部門−dには、それぞれの部門で使用するコードとして、部門コード1106がそれぞれ3つあり、1103で示す会計システム−αから会計システム−βには、それぞれの会計システムで使用するコードとして、処理コード1107がそれぞれ5つある。また、各部門1102では、各々取引先−Aから取引先−Jを取引先としており、それぞれ別の処理を行う会計システム−αと会計システム−βを使用して、伝票データ1104を作成している。
【0086】
自動仕訳プログラム1108では、伝票データ1104を入力し、伝票データ中の取引先コード1105と、部門コード1106と、処理コード1107を仕訳条件として、仕訳方法を決定して仕訳処理を行う。
【0087】
この際の各組み合わせ数と全体の組み合わせ数は、以下の数1の様になる。
【数1】
取引先コードの組み合わせ数=
取引先数 × それぞれの取引先の取引先コード数
部門コードの組み合わせ数=
部門数 × それぞれの部門の部門コード数
処理コードの組み合わせ数=
会計システム数 × それぞれの会計システムの処理コード数
全体の組み合わせ数=
取引先コードの組み合わせ数 × 部門コードの組み合わせ数 ×
処理コードの組み合わせ数
そして、上記式に図15の数値を当てはめると以下の数2の様になり、全体の組み合わせ数は3600通りになる。
【0088】
【数2】
全体の組み合わせ数=(10×3)×(4×3)×(2×5)
よって従来技術の自動仕訳プログラム1108では、仕訳条件として、前記の様に3600通りの仕訳条件が必要となり、前記仕訳条件数分だけ自動仕訳プログラム1108に仕訳方法を記述する必要がある。
【0089】
次に本実施形態を用いて、複数の外部定義ルールファイルに仕訳条件、及び仕訳方法を分散させた場合の仕訳条件数について、図15を参照して説明する。
【0090】
本実施形態では、取引先コード、部門コード及び処理コードの組み合わせ数については前記の数1と同じであるが、それぞれを別々の外部定義ルールファイルとし、仕訳処理を分割することにより、全体の組み合わせ数は次の数3の様になる。
【0091】
【数3】
全体の組み合わせ数=
取引先コードの組み合わせ数 + 部門コードの組み合わせ数 +
処理コードの組み合わせ数
【0092】
上記式に図15の数値を当てはめると、数4の様になり、全体の組み合わせ数は52通りになる。
【数4】
全体の組み合わせ数=(10×3)+(4×3)+(2×5)
【0093】
すなわち本実施形態では、取引先コード1105の組み合わせを満たす仕訳条件と仕訳方法を指定した外部定義ルールファイルと、部門コード1106の組み合わせを満たす仕訳条件と仕訳方法を指定した外部定義ルールファイルと、処理コード1107の組み合わせを満たす仕訳条件と仕訳方法を指定した外部定義ルールファイルを、自動仕訳プログラム1108の実行時に指定し、それぞれの外部定義ルールファイルを別々の仕訳方法としたとき、前記の様に52通りの仕訳条件と仕訳方法を、それぞれ別々の外部定義ルールファイルに記述することにより、全ての組み合わせについて、伝票データ1104を仕訳処理することができる。
【0094】
以上説明した様に本実施形態の自動仕訳処理装置によれば、外部定義ルールファイルに保持された仕訳条件及び仕訳方法により伝票データの仕訳処理を行うので、伝票データの仕訳処理の変更・追加を行う際に、プログラムに変更を加えること無く仕訳条件または仕訳方法の変更・追加に対応することが可能である。
【0095】
【発明の効果】
本発明によれば外部定義ルールファイルに保持された仕訳条件及び仕訳方法により伝票データの仕訳処理を行うので、伝票データの仕訳処理の変更・追加を行う際に、プログラムに変更を加えること無く仕訳条件または仕訳方法の変更・追加に対応することが可能である。
【図面の簡単な説明】
【図1】本実施形態の自動仕訳処理装置のシステム構成を示す図である。
【図2】本実施形態の自動仕訳処理の処理手順を示すフローチャートである。
【図3】本実施形態の伝票データファイルの概要を示す図である。
【図4】本実施形態の外部定義ルールファイルの概要を示す図である。
【図5】本実施形態の伝票データファイルの例を示す図である。
【図6】本実施形態の出現順序情報の例を示す図である。
【図7】本実施形態の仕訳変換命令指定の例を示す図である。
【図8】本実施形態の仕訳処理の処理手順を示すフローチャートである。
【図9】本実施形態の伝票データ読み込み処理の処理手順を示すフローチャートである。
【図10】本実施形態の仕訳変換命令指定読み込み処理の処理手順を示すフローチャートである。
【図11】本実施形態の変換命令一覧とその変換動作説明の内容を示す図である。
【図12】本実施形態の終了処理の処理手順を示すフローチャートである。
【図13】本実施形態のステップ719で基点情報が異なっていた場合の処理手順を示すフローチャートである。
【図14】本実施形態の仕訳処理後の伝票データの例を示す図である。
【図15】従来の術を含む一般的な自動仕訳処理における取引先コード、部門コード、処理コードの組み合わせ例を示す図である。
【符号の説明】
101、102、103、104、105、106、111…外部記憶装置、107…コンピュータ装置、108…CPU、109…記憶装置、110…入力装置、112…外部定義ルールファイル読み込み処理部、113…項目出現順序設定ファイル読み込み処理部、114…仕訳処理前伝票データファイル読み込み処理部、115…仕訳条件検索処理部、117…仕訳処理部、31…伝票データファイル、32…伝票データ、33…伝票項目データ、34…伝票項目データ名称、35…伝票項目データ値、36…明細データ、37…伝票項目データ、38…伝票項目データ名称、39…伝票項目データ値、41…外部定義ルールファイル、42…ルールブロック、43…仕訳条件指定、44…伝票項目データ名称指定、45…伝票項目データ値指定、46…仕訳変換命令指定、47…仕訳変換命令、48…変換値、51…伝票データファイル、52…伝票データ、53…起票日、54…起票日データ、55〜59…伝票データ、81…出現順序情報、82…伝票項目データ名称、83…出現順序、61…仕訳変換命令指定、62…仕訳変換命令、63…変換値、64…仕訳変換命令指定、65…仕訳変換命令、1001…伝票データファイル、1002及び1003…伝票データ、1004…明細1部分、1005…明細2部分、1101…取引先、1102…部門、1103…会計システム、1104…伝票データ、1105…取引先コード、1106…部門コード、1107…処理コード、1108…自動仕訳プログラム。
[0001]
TECHNICAL FIELD OF THE INVENTION
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic journal processing apparatus for performing journal entry work, and more particularly to a technique effective when applied to an automatic journal processing apparatus for automatically performing accounting journal entry work using a computer device.
[0002]
[Prior art]
Conventionally, when journalizing accounting slips (for example, “sales slips”) in an accounting operation using a computer, a method of generating credit and debit accounts from accounting slips originally performed manually (hereinafter referred to as “journaling”) is used. It is necessary to automate the business with regard to the journal entry method). First, the accounting slips to be journalized are converted into data, held as slip data in an external storage device, and an automatic journalizing program for performing journal entries is created and stored in a computer. The journal is read by inputting the slip data held in the external storage device and executing the automatic journalizing program by the CPU of the computer.
[0003]
At this time, it is necessary for the automatic journalizing program to determine what kind of journal entry is to be performed on the input slip data. This determination is usually made based on the slip data from the slip item data (for example, “supplier store name”). ), A search of an external storage device such as a database using the slip item data, a journal code indicating the journal entry method (for example, “journal entry method-1”), and automatic journal entry using this journal entry code. A plurality of journalizing methods described in the program or the automatic journalizing program itself in which a single journalizing method is described is selected to determine the journalizing method. After the journalizing method is determined, processing for processing the input slip data in accordance with the journalizing method (hereinafter, journalizing process) is performed.
[0004]
As an example of such an automatic journalizing system, a system and a method for easily creating information on the financial condition and profit and loss of a company from a transaction occurring in the economic activity of the company are provided (for example, see Patent Document 1). The journalizing process is performed by executing a program describing the journalizing method.
[0005]
[Patent Document 1]
JP 2000-215263 A
[0006]
[Problems to be solved by the invention]
In the prior art automatic journalizing process, since the journalizing conditions and the journalizing method are described in a program in the form of a processing algorithm and internal data, a new journalizing method is added or an existing journalizing method is changed. In this case, or when the slip item data for determining the journal entry method is changed, it is necessary to change the program for automatic journal entry processing, and there is a problem that the maintenance cost of the program increases.
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problem and provide a technology capable of responding to a change or addition of a journal condition or a journal method without changing a program when changing or adding journal processing of slip data. To provide.
[0007]
[Means for Solving the Problems]
According to the present invention, in an automatic journal processing device that performs a journal journaling operation, journal data is journalized according to journal conditions and a journal method held in an externally defined rule file.
[0008]
In the automatic journal processing apparatus of the present invention, first, as a condition for performing the journal processing, a journal condition defining any item content in the slip data and a content of the journal processing to the slip data matching the journal condition are shown. The external definition rule file in which the journalizing method is registered is read, and the journalizing conditions and the journalizing method registered in the external definition rule file are stored in the storage device.
[0009]
Next, the pre-journalization processing slip data registered in the pre-journalization processing slip data file is read and stored in a storage device, and the item contents in the pre-journalization processing slip data stored in the storage device are stored in the storage device. A search for journal conditions is performed by checking whether or not the contents match any of the slip items indicated in the entered journal conditions.
[0010]
As a result of the search, when a journal condition that satisfies the item content in the pre-journal processing voucher data is searched, the pre-journal processing voucher data is subjected to the journal processing by the journaling method held in pair with the journal condition. Then, it is stored in the storage device as journalized slip data. At that time, the journal is converted by executing a command for converting the data in accordance with a predetermined rule or newly adding data to the slip data (hereinafter, a journal conversion command) or a combination thereof (hereinafter, a journal conversion command designation). The journal processing is performed on the pre-processed slip data to generate journal processed slip data. At this time, a plurality of detailed data may be generated from the detailed data included in the pre-journal processing slip data by the above-mentioned journalizing method.
Then, after performing the journalizing process on all the slip data, all the journalized slip data that have been subjected to the journalizing process and held in the storage device are output to the external storage device.
[0011]
Also, when reading the external definition rule file, a plurality of external definition rule files, from the plurality of external definition rule files, respectively holding different journal conditions and journal methods in a storage device, and before the journal processing slip data held in the storage device Alternatively, the process of performing journaling using the journaling method held in pairs with the corresponding journaling condition may be sequentially executed for the separately held journalizing condition and journalizing method.
[0012]
Further, after the journal processing is completed, another program may be called for the journal processed slip data unit, and the journal processed slip data may be passed to the separate program to perform predetermined processing.
[0013]
As described above, in the present invention, a journal conversion command for converting input slip data according to a predetermined rule or adding new data to slip data, or a journal conversion command designation indicating a combination thereof, is designated as an external storage as a journaling method. Since it is stored in the external definition rule file of the device, when it is necessary to change or add the journal entry method to the slip data, it is possible to respond to the addition / change of the journal entry method without making any changes to the program. .
[0014]
Further, in the present invention, the journal condition used when determining the journal method is set as a journal condition which can arbitrarily set the voucher item data, and the journal condition is retained in an external definition rule file, so that the journal data can be journalized. When it becomes necessary to change or add conditions, it is possible to respond to adding or changing journal conditions without changing the program.
[0015]
As described above, according to the automatic journal processing device of the present invention, the journal data is journalized according to the journal conditions and the journal method retained in the externally defined rule file. In addition, it is possible to respond to a change or addition of a journal condition or a journal method without making a change to the program.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
An automatic journal processing apparatus according to an embodiment that performs journal entry processing of voucher data based on journal conditions and a journal method held in an externally defined rule file will be described below.
[0017]
FIG. 1 is a diagram showing the system configuration of the automatic journal processing device of the present embodiment. As shown in FIG. 1, the automatic journal processing device of the present embodiment includes an external definition rule file reading processing unit 112, an item appearance order setting file reading processing unit 113, a pre-journal processing slip data file reading processing unit 114, It has a condition search processing unit 115 and a journal processing unit 117.
[0018]
The external definition rule file reading processing unit 112 reads an external definition rule file in which journal conditions indicating conditions for performing the journal processing and a journal method indicating the contents of the journal processing are registered, and is registered in the external definition rule file. This is a processing unit that stores the journalizing conditions and the journalizing method in the storage device 109.
[0019]
The item appearance order setting file reading processing unit 113 reads the item appearance order setting file in which the appearance order information indicating the appearance order of the slip item data is registered, and stores the appearance order information registered in the item appearance order setting file in the storage device. 109 is a processing unit to be held.
[0020]
The pre-journalization processing slip data file reading processing unit 114 is a processing unit that reads the pre-journalization processing slip data registered in the pre-journalization processing slip data file and stores it in the storage device 109. The journalizing condition search processing unit 115 determines that the item contents in the pre-journalization processing slip data held in the storage device 109 match the contents of any slip item indicated in the journaling conditions held in the storage device 109. This is a processing unit for searching for journalizing conditions by checking whether or not there is a journal entry.
[0021]
The journal processing unit 117 is a processing unit that performs journal processing on the pre-journal processing voucher data using a journal method held in pairs with the searched journal conditions and stores the journal data in the storage device 109 as journal processed voucher data. It executes a journal conversion command for converting according to a predetermined rule or adding new data to the slip data, or a journal conversion command designation indicating a combination thereof.
[0022]
The automatic journal processing apparatus according to the present embodiment includes an external definition rule file reading processing unit 112, an item appearance order setting file reading processing unit 113, a pre-journal processing slip data file reading processing unit 114, a journal condition search processing unit 115, and a journal processing unit. A program for functioning as the program 117 is recorded on a recording medium such as a CD-ROM, stored on a magnetic disk or the like, and then loaded into a memory and executed. The recording medium for recording the program may be a recording medium other than the CD-ROM. Further, the program may be installed from the recording medium to the information processing apparatus and used, or the recording medium may be accessed through a network to use the program.
[0023]
The computer device 107 in FIG. 1 includes a storage device 109 and a CPU 108 that executes a program read by the storage device 109. The storage device 109 includes a storage area used by the program executed by the CPU 108. Have been. The external storage devices 101, 102, 103, 104, 105, 106, and 111 and the input device 110 are connected to the computer device 107. The computer device 107 stores the files stored in each external storage device. It has a function of processing input / output and input from an input device.
[0024]
The external storage device 101 stores a pre-journal processing slip data file as slip data in a state before performing the journal processing (hereinafter, pre-journal processing slip data), and the external storage device 102 and the external storage device 111 store therein. An external definition rule file storing a plurality of journal conditions and journal conversion command designations is stored. The external storage device 103 stores an automatic journal program, which is a program for automatically journalizing input slip data. The external storage device 104 stores an item appearance order setting file in which appearance order information used in the journalizing process is registered. The appearance order information will be described later. The external storage device 105 stores a program different from the automatic journalizing program. The external storage device 106 stores the journal data as the voucher data after the journalizing process (hereinafter, journalized voucher data). Stored slip data file.
[0025]
Next, processing contents of the automatic journalizing program will be described with reference to FIGS. When an automatic journal program execution start command is input from the input device 110, the automatic journal program is read from the external storage device 103, and the respective processing units are formed on the storage device 109. Is performed. At this time, when the execution start command of the automatic journal program is input from the input device 110, the storage locations of the pre-journal processing slip data file, the external definition rule file, the item appearance order setting file, and the journal processed slip data file are simultaneously specified. Shall be The storage location is a name indicating the position of each file in the external storage device.
[0026]
FIG. 2 is a flowchart showing a processing procedure of the automatic journalizing processing according to the present embodiment. When the execution start command of the automatic journalizing program is input from the input device 110, the external definition rule file reading processing unit 112 simultaneously reads the external definition rule file from the external storage device 102 at the designated storage location, and reads the external definition rule file. The journal condition and the journal conversion command designation registered in the definition rule file are stored in the storage device 109. Also, at this time, by accepting the designation of the storage location of the plurality of external definition rule files, the storage device 109 can hold the separate journal condition and journal conversion command designation from the plurality of external definition rule files, respectively. it can. The journalizing process by specifying a plurality of external definition rule files will be described later (step 21).
[0027]
The item appearance order setting file reading processing unit 113 reads the item appearance order setting file from the external storage device 104 in the storage location specified at the same time when the automatic journalizing program is executed, and displays the appearance order information registered in the item appearance order setting file. Is stored in the storage device 109 (step 22).
[0028]
The pre-journal processing slip data file reading processing unit 114 reads one pre-journal processing slip data from the external storage device 101 at the storage location specified at the same time as the automatic journalizing program is executed, and stores it in the storage device 109 (step 23). ).
[0029]
The journalizing condition search processing unit 115 searches for journalizing conditions that match the conditions from the journalizing conditions also stored in the storage device 109 for one pre-journalization processing slip data stored in the storage device 109 in step 23. (Step 24), and it is determined whether the conditions are met (step 25).
If the conditions match, the process proceeds to step 26. If the conditions do not match, the process proceeds to step 27 without executing step 26.
[0030]
If the conditions match in step 25, the journal processing unit 117 performs journal processing on the pre-journal processing slip data that matches the conditions according to the specification of the journal conversion command held in pairs with the journal conditions that matched the conditions in the storage device 109. It is stored in the storage device 109 as processed slip data (step 26).
It is determined whether the pre-journal processing slip data file stored in the external storage device 101 has slip data that has not yet been subjected to journal processing (step 27).
[0031]
If there is slip data for which journal processing has not been performed, the process proceeds to step 23, and if journal data has been processed for all slip data, the process proceeds to step 28.
In step 28, all the journalized slip data that has been subjected to the journalizing process and held in the storage device 109 are output to the external storage device 106. After outputting all journalized slip data, the automatic journalizing process ends.
[0032]
Next, refer to FIG. 3 for a slip data file which is a common format of the pre-journal processing slip data file stored in the external storage device 101 and the journal processing slip data file stored in the external storage device 106. Will be explained.
[0033]
FIG. 3 is a diagram showing an outline of the slip data file of the present embodiment. The slip data file 31 is composed of slip data 32, and a plurality of slip data 32 can be specified in the slip data file 31.
[0034]
The slip data 32 is composed of slip item data 33 and detailed data 36, and a plurality of slip item data 33 and detailed data 36 can be specified in the slip data 32.
The detailed data 36 is composed of the slip item data 37, and a plurality of the slip item data 37 can be specified in the detailed data 36.
The slip item data 33 includes a slip item data name 34, which is the name of the slip item data, and a slip item data value 35, which is the value of the slip item data name 34. Further, there is no difference in the description method of the slip item data 33 and the slip item data 37 constituting the detail data 36. However, the slip item data names in the slip data 32 must not be duplicated.
[0035]
Next, the external definition rule file stored in the external storage device 102 will be described with reference to FIGS.
FIG. 4 is a diagram showing an outline of the external definition rule file of the present embodiment. The external definition rule file 41 includes a rule block 42 in which a journal condition specification 43 and a journal conversion command specification 46 are paired. It is assumed that a plurality of rule blocks 42 can be specified in the externally defined rule file.
[0036]
The journal condition specification 43 is a condition for selecting a journal conversion command specification to be applied to the voucher data before the journal processing, and includes a slip item data name specification 44 and a slip item data value specification 45. It is assumed that a plurality of slip item data names and slip item data values can be specified in the journal condition specification 43.
[0037]
The form item data name designation 44 designates an item name constituting the form data before journal processing, and the form item data value designation 45 designates the value set in the item name.
[0038]
In the journal condition search process according to the present embodiment, in the pre-journal processing form data to be subjected to the journal processing, the form item data name designation constituting the journal condition designation 43 and the form item data value designation of the form item data name are specified. Are all described, the condition is matched, and the journal conversion command designation 46, which forms a pair with the journal condition designation 43, is used for the journalizing process of the slip data before the journalizing process.
[0039]
The journal conversion command designation 46 is composed of a journal conversion command 47 used for journal processing of the pre-journal processing slip data and a conversion value 48 used when the journal conversion command 47 is applied. It is assumed that a plurality of journal conversion commands 47 and conversion values 48 can be specified in the journal conversion command specification 46.
[0040]
Next, a method for specifying journalizing conditions for determining the specification of a journal conversion command to be applied to the voucher data before journalizing processing will be described with reference to FIGS.
FIG. 5 is a diagram illustrating an example of a slip data file according to the present embodiment. The slip data file 51 shown in FIG. 5 stores the slip data 59 from the slip data 52. When the journal processing is performed on the slip data 56, the external definition rule file 41 shown in FIG. By specifying "business office name" in the form item data name specification 44 and "Takaoyama office" in the form item data value specification 45, the conditions are matched and the journal conversion instruction specification to be applied is determined. be able to. This is because, among the slip data 52 to the slip data 59, only the slip data 56 is designated as "Takao Sales Office" in the "business office name".
[0041]
Assuming that the journal data is to be processed in the slip data 57, if the slip item data name specification 44 is specified as “business office name” and the slip item data value specification 45 is specified as “Mt. The slip data is slip data 52, slip data 57, and slip data 59. For this reason, in order to process only the slip data 57, it is necessary to further add a journal condition. As a new journal condition to be added, the “slip date data” is specified in the slip item data name specification 44, In addition, "2003/02/10" is designated in the slip item data value designation 45. As a result, the condition is satisfied for the slip data 57, and the journalizing process can be performed.
[0042]
Next, the appearance order information in which the item appearance order setting file is stored will be described with reference to FIGS. 1, 2, and 6. FIG.
FIG. 6 is a diagram illustrating an example of the appearance order information according to the present embodiment. The item appearance order setting file stored in the external storage device 104 shown in FIG. 1 holds the appearance order information 81 necessary for performing the journalizing process. The appearance order information 81 includes a slip item data name 82 and an appearance order 83. In the slip item data name 82, all the slip item data and the slip item data names specified in the journal conversion command are registered. . The appearance order 83 does not overlap and is a unique number.
[0043]
In step 26, the order of appearance of the slip item data and the slip item data name of the journal conversion command is obtained from the appearance order information 81 held in the storage device 109, and the size is compared to perform the journalizing process.
[0044]
Next, the specification of a journal conversion command to be applied to the slip data to be subjected to the journal processing and the journal processing shown in step 26 of FIG. 2 will be described with reference to FIGS. 1 and 5 to 14.
[0045]
FIG. 7 is a diagram showing an example of specifying a journal conversion command according to the present embodiment. The journal conversion command 62 shown in FIG. 7 includes slip item data name information (for example, “journal processing date of item 1”) indicating which slip item data of the slip data to be subjected to journal processing to be applied, and a conversion operation. The conversion value 63 is composed of the indicated conversion operation information (for example, “add or overwrite”), and the conversion value 63 indicates the slip item data value after the journalizing process. The journal conversion process is performed by using the journal conversion command line including the journal conversion command 62 and the conversion value 63.
[0046]
FIG. 8 is a flowchart illustrating a processing procedure of the journalizing process according to the present embodiment. As shown in FIG. 8, the journal processing unit 117 of the automatic journal processing device performs journal processing on the pre-journal processing voucher data according to the journal method held in pairs with the searched journal conditions and converts the data into journal processed voucher data. The processing held in the storage device 109 is performed. In the example described below, it is assumed that the subject of the journal processing is the slip data 52, and the journal conversion command specification 61 is applied when the condition is matched by the specification of the journal condition.
First, when the journalizing process is started, a process for reading slip data is called (step 701).
[0047]
FIG. 9 is a flowchart showing the processing procedure of the slip data reading processing of the present embodiment. In the slip data reading process, one line of data is extracted from the slip data 52 stored in the storage device 109 (for example, “Draft date-2003/02/01”), and is converted as the conversion target line data into the storage device 109. (Step 702).
[0048]
In step 703, it is determined whether the journal processing has been completed for all the slip item data in the slip data 52. If the journal processing has not been completed, the process proceeds to step 704, and if the journal processing has been completed. To step 705.
[0049]
The slip item data name is acquired from the conversion target row data stored in the storage device 109 (for example, “date of draft”), and the appearance data already stored in the storage device 109 is obtained using the slip item data name. The appearance order 83 (for example, the appearance order becomes “110” in the case of “date of draft”) is obtained from the order information 81, the reading process of the slip data is completed, and the process is returned (step 704).
[0050]
If the journal processing has been completed for all the slip item data in the slip data 52, the appearance order 83 (for example, “999”) is acquired from the appearance order information 81 already stored in the storage device 109. Then, the slip data reading process is terminated, and the process returns (step 705).
Next, in step 706 of FIG. 8, a process of reading the journal conversion command designation is called.
[0051]
FIG. 10 is a flowchart showing the processing procedure of the journal conversion command designation reading process of the present embodiment. In the journal conversion instruction designation reading process, the journal conversion instruction line (for example, “specification 1—journal processing date—addition or overwrite—2003 / 03/10”) is read from the journal conversion instruction designation 61 stored in the storage device 109. It is extracted and stored in the storage device 109 as conversion instruction data (step 707).
[0052]
In step 708, it is determined whether all the journal conversion commands in the journal conversion command specification 61 have been read. If there are journal conversion commands that have not been read yet, the process proceeds to step 709. If all the journal conversion commands have been read, step 710 is performed. Proceed to.
[0053]
The slip item data name is acquired from the conversion command data stored in the storage device 109 (for example, “journal processing date”), and the appearance order already stored in the storage device 109 is used by using the slip item data name. The information 81 (for example, in the case of “journal processing date”, the appearance order is “105”) is obtained, the journal conversion instruction designation reading process is completed, and the process is returned (step 709).
[0054]
If all the conversion command data of the journal conversion command designation 61 has been read, the appearance conversion order 83 (for example, “998”) is acquired from the appearance order information 81 already stored in the storage device 109, and the journal conversion command is acquired. The designated reading process ends, and the process returns (step 710).
[0055]
Based on the conversion command data stored in the storage device 109, a base point for performing the journalizing process is acquired (for example, “specification 1”) and stored in the storage device 109 as base point information (step 711).
[0056]
Next, in step 712 of FIG. 8, the order of appearance of the conversion target line data obtained in the slip data reading process becomes the maximum value, or the order of appearance of the conversion command data obtained in the journal conversion command designation reading process becomes the maximum value. Until the process from step 713 to step 720 is repeated, if either condition is satisfied, the repetition process is terminated and the process proceeds to step 721.
[0057]
The order of appearance of the conversion target line data acquired in the slip data reading process is compared with the order of appearance of the conversion instruction data acquired in the journal conversion instruction designation reading process (step 713). Proceeding to step 714, the process proceeds to step 733 if the order of appearance of the conversion target row data is smaller, and proceeds to step 735 if it is larger.
[0058]
If the appearance order is the same in step 713, the conversion operation information is obtained from the conversion command data stored in the storage device 109, and if the content is, for example, "addition or overwrite", the conversion operation information is stored in the storage device 109. The entry item data value of the conversion target line data is overwritten with the conversion value of the conversion command data, and journal processing is performed (step 714). FIG. 11 shows the types of conversion operation information.
[0059]
FIG. 11 is a diagram showing a list of conversion instructions according to the present embodiment and the contents of the conversion operation. As shown in FIG. 11, the operation at the time of the journalizing process is defined according to the content of the conversion operation information in the conversion command data, and the journalizing process is performed according to the definition.
[0060]
The conversion target row data after the journal processing is performed in step 714 is stored in the storage device 109 as the journalized row data (step 715).
Next, the slip data reading process is called (step 716), the journal conversion command designation reading process is called (step 717), and the base point for performing the journal processing is obtained from the conversion command data stored in the storage device 109 (for example, “Specification 1”), stored in the storage device 109 (Step 718), and compared with the base point information already acquired in Step 711 and stored in the storage device 109.
[0061]
As a result of the comparison, if they are the same, the process proceeds to step 720, and if they are different, the process proceeds to step 728 (step 719).
In step 720, the order of appearance of the conversion target line data obtained in the slip data reading process of step 716 is the maximum value, or the order of conversion command data obtained in the journal conversion command designation reading process of step 717 is the maximum value. If both are not the maximum values, the process proceeds to step 713.
[0062]
FIG. 12 is a flowchart illustrating the processing procedure of the termination processing according to the present embodiment. In the end process, if the appearance order of the conversion target line data obtained in the slip data reading process in step 716 and the appearance order of the conversion command data obtained in the journal conversion command designation reading process in step 717 are the maximum values, Proceeding to step 726, if only the order of appearance of the conversion command data obtained in the journal conversion command designation reading process is the maximum value, proceed to step 722, and if only the order of appearance of the conversion target line data is the maximum value Proceeds to step 727 (step 721).
[0063]
In step 722, if all the journal conversion instruction designations 61 to be applied to the slip data 52 subject to journal processing have been executed, and the reading of the slip data 52 has not been completed, the reading of the slip data 52 is performed. Until the processing ends, the processing from step 723 to step 725 is repeated.
[0064]
The conversion target line data held in the storage device 109 is held as it is as journalized line data in the storage device 109 (step 723), and the slip data reading process is called (step 724), and the reading of the slip data 52 is completed. If not, the process proceeds to step 722. If all processes have been completed, the process proceeds to step 726 (step 725).
[0065]
All the journalized row data held in the storage device 109 are collected and held in the storage device 109 as journalized voucher data or detailed data (step 726), and the end process ends.
[0066]
In step 721, if only the appearance order of the conversion target row data is the maximum value, all the journal conversion commands 62 of the journal conversion command specification 61 applied to the voucher data 52 to be subjected to the journal processing are executed. Since the journal conversion command 62 that has not been executed is executed at this time, steps 727 to 752 are repeated until reading of all the journal conversion command designations 61 is completed (step 727).
[0067]
In other words, the conversion operation information of the conversion instruction data stored in the storage device 109 is acquired, and when the acquired conversion operation information is, for example, “addition or overwrite”, the slip item data name information of the conversion instruction data is obtained. Based on this and the conversion value, the journalized line data is generated and stored in the storage device 109 (step 750), and the journal conversion instruction designation reading process (step 751) is called, and the reading of the journal conversion instruction designation 61 has been completed. If not, the process proceeds to Step 721. If all processes are completed, the process proceeds to Step 726 (Step 752).
[0068]
FIG. 13 is a flowchart showing a processing procedure when the base point information is different in step 719 of the present embodiment. In step 719, if the base point information obtained in step 711 is different from the base point information obtained in step 718, the end processing shown in steps 721 to 726 is performed (step 728).
[0069]
In order to read the form data 52 held in the storage device 109 again from the beginning, the reading position is returned to the top of the form data 52 (step 730), and the form data reading process is called (step 731).
The base point information of the conversion command data acquired in step 718 is stored in the storage device 109 as the current base point (step 732), and the process proceeds to step 712.
[0070]
In step 713 of FIG. 8, as a result of comparing the appearance order of the conversion target line data acquired in the slip data reading process with the appearance order of the conversion instruction data acquired in the journal conversion instruction designation reading process, the appearance order of the conversion target line data If is smaller, the conversion target line data held in the storage device 109 is held as it is as journalized line data in the storage device 109 (step 733), and the slip data reading process is called (step 734). After the slip data reading process is completed, the process proceeds to step 718.
[0071]
In step 713, as a result of comparing the appearance order of the conversion target line data acquired in the slip data reading process with the appearance order of the conversion instruction data acquired in the journal conversion instruction designation reading process, the appearance order of the conversion instruction data is smaller. In this case, the conversion operation information of the conversion instruction data stored in the storage device 109 is obtained. If the obtained conversion operation information is, for example, “addition or overwrite”, the slip item data of the conversion instruction data is obtained. Based on the name information and the converted value, journalized line data is generated and stored in the storage device 109 (step 735), and the process proceeds to step 717.
[0072]
FIG. 14 is a diagram illustrating an example of the slip data after the journalizing process according to the present embodiment. If it is assumed that the journal processing is performed on the slip data 52 and that the journal conversion command specification 61 is applied when the conditions are matched by the specification of the journal conditions, the above-described steps 701 to 735 are performed. The voucher data 52 to be processed is subjected to journalizing processing into journalized voucher data 1002 shown in FIG. 14, and is held in the journalized voucher data file 1001 in step 28.
[0073]
Next, a method of performing a journalizing process on one piece of detailed data included in the slip data and performing a journalizing process on a plurality of detailed data will be described with reference to FIGS. 1 and 5 to 14.
[0074]
The journal processing is performed on the slip data 52. When the journal conversion instruction designation 64 is applied to the slip data 52, the journal conversion instruction 65 in the journal conversion instruction designation 64 is changed to the journal conversion instruction designation reading processing shown in step 717. Until it is read in, the base point information held in the storage device 109 in step 711 is “specification 1”.
[0075]
In step 717, the journal conversion command 65 is read, and in step 718, "specification 2" is acquired as base information from the conversion command data stored in the storage device 109.
[0076]
The base point information “specification 1” held in the storage device 109 and the base point information “specification 2” acquired from the conversion command data held in the storage device 109 are compared in step 719, and the base point information is different. Therefore, the process proceeds to step 728.
[0077]
In the end processing shown in step 728, the journalized line data held in the storage device 109 is held in the storage device 109 as the detail 1 portion 1004 of the journalized slip data 1003, and in step 730, The slip data 52 is returned to the head position (for example, “due date”), and the slip data reading process shown in step 731 is performed. Further, in step 732, the base point information “specification 2” of the journal conversion command 65 is stored as the current base point information in the storage device 109, and the process proceeds to step 712 to execute the journal processing until the journal conversion command designation 64 is completed.
By performing the above-described journal processing, the second detail data of the journalized slip data 1003, which is the second detail data from the slip data 52, is generated.
[0078]
Next, a plurality of externally defined rule files each having a different journaling method are read, held in a storage device of a computer as a separate journaling method, and the slip data before the journalizing process are sequentially held in the storage device. A method for performing the journalizing process according to the journalizing method described above will be described with reference to FIG.
[0079]
When inputting an automatic journal program execution start command from the input device 110, the external definition rule file read processing unit 112 accepts designation of storage locations of a plurality of external definition rule files at the same time. The file is read (for example, the external storage device 102 and the external storage device 111), and the journal conditions and the journal conversion command specification stored in the respective external definition rule files are stored in the storage device 109. It is retained as a journal conversion command specification. Also, the order of the journal processing in which the journal conditions and the journal conversion command specified separately are stored in the storage device 109 can be specified by the specification order of the storage location of the external definition rule file.
[0080]
For example, by specifying the storage location in the order of the external storage device 111 and the external storage device 102, the journal processing unit 117 first executes the journal condition and the journal conversion command of the external definition rule file stored in the external storage device 111. The specification is applied to the voucher data before the journal processing, and after the journal processing is completed, the journal processing is performed by applying the journal condition and the journal conversion command specification of the external definition rule file stored in the external storage device 102 next. Do.
[0081]
Next, a method of passing the journalized voucher data to a program different from the automatic journalizing program in units of the journalized voucher data subjected to the journalizing process and executing the separate program will be described with reference to FIGS. Will be explained.
[0082]
By the journalizing process shown in step 26, the journal data before journal processing held in the storage device 109 is subjected to journal processing, and is held in the storage device 109 as journal processed slip data. The other program indicated by 105 is read into the storage device 109, and the other program read into the storage device 109 is executed using the CPU. At this time, the journalized slip data held in the storage device 109 subjected to the journalizing process in step 26 is transferred at the same time as the command to start execution of another program from the journalizing processor 117.
[0083]
The separate program executed by the journal processing unit 117 performs some processing on the passed journalized slip data, or executes another process without processing the journal processed slip data. When the processing of the separate program is completed, the separate program passes the journal processed slip data to the journal processing unit 117.
[0084]
As described above, according to the present embodiment, the following effects can be obtained. That is, the journalizing method for performing the journalizing process on the input voucher data, and the journalizing conditions for determining this journaling method are held in an external storage device without having the automatic journalizing program, and the By reading the external storage device at the time of execution and holding the data in the storage device of the computer device and performing the journalizing process, it is possible to cope with adding or changing the journalizing method and the journalizing conditions without changing the contents of the program. . In addition, by specifying a journal conversion command for performing the journal processing, a plurality of specifications can be generated from one item data in the slip data, and the journal conditions and the journal method are distributed and held in a plurality of external storage devices. Thus, the number of journal conditions in one external storage device can be reduced.
[0085]
Here, the number of journalizing conditions when the journalizing conditions and the journalizing method are described in the automatic journalizing program using a conventional method will be described with reference to FIG.
FIG. 15 is a diagram showing an example of a combination of a supplier code, a department code, and a processing code in a general automatic journalizing process including a conventional technology. The customer-A to the customer-J shown by 1101 in FIG. 15 have three customer codes 1105 as codes indicating the departments of each customer, respectively. d has three department codes 1106 as codes used in respective departments. The accounting system-α to the accounting system-β denoted by 1103 have processing codes 1107 as codes used in the respective accounting systems. There are five each. In each department 1102, the business partner-A to the business partner-J are used as business partners, and the accounting data-α and the accounting system-β which perform different processing are used to create the slip data 1104, respectively. I have.
[0086]
In the automatic journalizing program 1108, the slip data 1104 is input, and a journalizing method is determined and a journalizing process is performed using the supplier code 1105, the department code 1106, and the processing code 1107 in the slip data as journaling conditions.
[0087]
At this time, the number of combinations and the total number of combinations are as shown in Equation 1 below.
(Equation 1)
Number of supplier code combinations =
Number of business partners × number of business partner codes for each business partner
Number of department code combinations =
Number of departments × number of department codes for each department
Number of processing code combinations =
Number of accounting systems × number of processing codes for each accounting system
Total number of combinations =
Number of business partner code combinations × Number of department code combinations ×
Number of processing code combinations
Then, when the numerical values in FIG. 15 are applied to the above expression, the following Expression 2 is obtained, and the total number of combinations becomes 3,600.
[0088]
(Equation 2)
Total number of combinations = (10 × 3) × (4 × 3) × (2 × 5)
Therefore, in the automatic journalizing program 1108 of the prior art, 3600 kinds of journalizing conditions are required as the journaling conditions as described above, and it is necessary to describe a journaling method in the automatic journalizing program 1108 by the number of the journalizing conditions.
[0089]
Next, referring to FIG. 15, the number of journalizing conditions when the journalizing conditions and the journalizing method are distributed to a plurality of external definition rule files using the present embodiment will be described.
[0090]
In the present embodiment, the number of combinations of the supplier code, the department code and the processing code is the same as the above-described formula 1, but each is defined as a separate external definition rule file, and the journalizing process is divided to obtain the overall combination. The number is as shown in the following Equation 3.
[0091]
[Equation 3]
Total number of combinations =
Number of business partner code combinations + Number of department code combinations +
Number of processing code combinations
[0092]
When the numerical values in FIG. 15 are applied to the above equation, the result is as shown in Expression 4, and the total number of combinations is 52.
(Equation 4)
Total number of combinations = (10 × 3) + (4 × 3) + (2 × 5)
[0093]
That is, in this embodiment, an external definition rule file that specifies a journal condition and a journal method that satisfies the combination of the supplier code 1105, an external definition rule file that specifies the journal condition and the journal method that satisfies the combination of the department code 1106, When an external definition rule file that specifies a journal condition and a journal method that satisfies the combination of the code 1107 is specified when the automatic journal program 1108 is executed, and each external definition rule file is a separate journal method, 52 By describing the different journal conditions and the different journal methods in separate external definition rule files, the journal data 1104 can be journaled for all combinations.
[0094]
As described above, according to the automatic journal processing device of the present embodiment, the journal data is journalized according to the journal conditions and the journal method held in the externally defined rule file. At the time of the change, it is possible to cope with a change or addition of a journal condition or a journal method without making a change to the program.
[0095]
【The invention's effect】
According to the present invention, the journal data is journalized according to the journal conditions and the journal method held in the externally defined rule file. Therefore, when the journal data is changed or added to the journal data, the journal is processed without changing the program. It is possible to respond to changes or additions to conditions or journal entry methods.
[Brief description of the drawings]
FIG. 1 is a diagram showing a system configuration of an automatic journal processing device according to an embodiment.
FIG. 2 is a flowchart illustrating a procedure of an automatic journalizing process according to the embodiment.
FIG. 3 is a diagram showing an outline of a slip data file according to the embodiment.
FIG. 4 is a diagram showing an outline of an external definition rule file of the embodiment.
FIG. 5 is a diagram showing an example of a slip data file according to the embodiment.
FIG. 6 is a diagram illustrating an example of appearance order information according to the embodiment;
FIG. 7 is a diagram showing an example of specifying a journal conversion command according to the embodiment;
FIG. 8 is a flowchart showing a processing procedure of a journalizing process according to the embodiment.
FIG. 9 is a flowchart showing a processing procedure of a slip data reading process according to the embodiment.
FIG. 10 is a flowchart illustrating a processing procedure of a journal conversion command designation reading process according to the embodiment;
FIG. 11 is a diagram showing a list of conversion instructions according to the embodiment and the contents of the conversion operation description;
FIG. 12 is a flowchart illustrating a processing procedure of a termination process according to the embodiment;
FIG. 13 is a flowchart illustrating a processing procedure when base point information is different in step 719 according to the present embodiment.
FIG. 14 is a diagram illustrating an example of slip data after the journalizing process according to the embodiment;
FIG. 15 is a diagram showing an example of a combination of a supplier code, a department code, and a processing code in a general automatic journalizing process including a conventional technique.
[Explanation of symbols]
101, 102, 103, 104, 105, 106, 111: external storage device, 107: computer device, 108: CPU, 109: storage device, 110: input device, 112: external definition rule file read processing unit, 113: item Appearance order setting file reading processing unit, 114: Slip data file reading processing unit before journal processing, 115: Journal condition search processing unit, 117: Journal processing unit, 31: Slip data file, 32: Slip data, 33: Slip item data , 34: slip item data name, 35: slip item data value, 36: detail data, 37: slip item data name, 38: slip item data name, 39: slip item data value, 41: external definition rule file, 42: rule Block, 43: journal entry condition designation, 44: slip item data name designation, 45: slip item data Data specification, 46: journal conversion command specification, 47: journal conversion command, 48: conversion value, 51: slip data file, 52: slip data, 53: draft date, 54: draft date data, 55-59 ... Slip data, 81: appearance order information, 82: slip item data name, 83: appearance order, 61: journal conversion instruction designation, 62: journal conversion instruction, 63: conversion value, 64: journal conversion instruction designation, 65: journal conversion Instructions, 1001... Slip data file, 1002 and 1003... Slip data, 1004... Description 1 part, 1005... Description 2 part, 1101... Business partner, 1102... Department, 1103... Accounting system, 1104. Code: 1106: department code, 1107: processing code, 1108: automatic journalizing program.

Claims (24)

伝票の仕訳作業を行う自動仕訳処理方法において、
仕訳処理を行う際の条件を示す仕訳条件とその仕訳処理の内容を示す仕訳方法とを登録した外部定義ルールファイルを読み込み、その外部定義ルールファイルに登録されている仕訳条件及び仕訳方法を記憶装置に保持するステップと、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持するステップと、
前記記憶装置に保持した仕訳処理前伝票データが前記仕訳条件を満たす場合に、その仕訳条件と対に保持されている仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持するステップとを有することを特徴とする自動仕訳方法。
In the automatic journal processing method for journal entry work,
Reads an external definition rule file in which journal conditions indicating conditions for performing the journal processing and a journal method indicating the contents of the journal processing are registered, and stores the journal conditions and the journal methods registered in the external definition rule file in a storage device. Holding the
Reading the pre-journal processing slip data registered in the pre-journal processing slip data file and holding it in a storage device;
When the pre-journal processing voucher data held in the storage device satisfies the journal conditions, the pre-journal processing voucher data is subjected to journal processing by a journaling method held in pairs with the journal conditions, and the journal data is processed as journal processed voucher data. Storing in a storage device.
複数個の外部定義ルールファイルより、それぞれ別々の仕訳条件及び仕訳方法を記憶装置に保持し、前記記憶装置に保持した仕訳処理前伝票データに対して、該当する仕訳条件と対に保持されている仕訳方法により仕訳を行う処理を、前記別々に保持されている仕訳条件及び仕訳方法について順次実行することを特徴とする請求項1に記載された自動仕訳処理方法。From a plurality of externally defined rule files, separate journal conditions and journal methods are respectively stored in a storage device, and the journal data before journal processing held in the storage device is stored in a pair with the corresponding journal condition. 2. The automatic journalizing method according to claim 1, wherein the journalizing process is performed sequentially on the separately held journalizing conditions and the journalizing method. 伝票の仕訳作業を行う自動仕訳処理方法において、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持するステップと、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が、任意の伝票項目の内容を示す仕訳条件を満たす場合に、その仕訳条件に対応する仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持するステップとを有することを特徴とする自動仕訳処理方法。
In the automatic journal processing method for journal entry work,
Reading the pre-journal processing slip data registered in the pre-journal processing slip data file and holding it in a storage device;
If the item content of the pre-journal processing slip data held in the storage device satisfies the journal condition indicating the content of any slip item, the journal processing of the pre-journal processing slip data is performed by a journaling method corresponding to the journal condition. Holding the data as journalized slip data in a storage device.
伝票の仕訳作業を行う自動仕訳処理方法において、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持するステップと、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が所定の仕訳条件を満たす場合に、所定の規則に従って変換するか若しくは新たにデータを伝票データへ追加する命令を含む仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持するステップとを有することを特徴とする自動仕訳処理方法。
In the automatic journal processing method for journal entry work,
Reading the pre-journal processing slip data registered in the pre-journal processing slip data file and holding it in a storage device;
When the item content of the pre-journal processing slip data held in the storage device satisfies a predetermined journal condition, the journal processing is performed according to a journal method including a command for converting according to a predetermined rule or newly adding data to the slip data. Journalizing the previous voucher data and holding the same as journalized voucher data in a storage device.
前記仕訳方法により仕訳処理前伝票データ中に含まれている明細データから複数の明細データを生成して前記仕訳処理を行うことを特徴とする請求項1乃至請求項4のいずれか1項に記載された自動仕訳処理方法。5. The journal processing according to claim 1, wherein the journal processing is performed by generating a plurality of detailed data from the detailed data included in the voucher data before the journal processing by the journal method. 6. Automatic journal processing method. 前記仕訳処理が終了した後、前記仕訳処理済み伝票データ単位に別プログラムを呼び出し、当該仕訳処理済み伝票データをその別プログラムへ渡して所定の処理を行うことを特徴とする請求項1乃至請求項5のいずれか1項に記載された自動仕訳処理方法。4. The system according to claim 1, wherein after the journal processing is completed, another program is called for each of the journal processed slip data units, and the journal processed slip data is passed to the separate program to perform predetermined processing. 5. The automatic journal processing method according to any one of 5. 伝票の仕訳作業を行う自動仕訳処理装置において、
仕訳処理を行う際の条件を示す仕訳条件とその仕訳処理の内容を示す仕訳方法とを登録した外部定義ルールファイルを読み込み、その外部定義ルールファイルに登録されている仕訳条件及び仕訳方法を記憶装置に保持する外部定義ルールファイル読み込み処理部と、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データが前記仕訳条件を満たす場合に、その仕訳条件と対に保持されている仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部とを備えることを特徴とする自動仕訳処理装置。
In an automatic journal processing unit that performs journal entry work,
Reads an external definition rule file in which journal conditions indicating conditions for performing the journal processing and a journal method indicating the contents of the journal processing are registered, and stores the journal conditions and the journal methods registered in the external definition rule file in a storage device. External definition rule file reading processing unit to be stored in the
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
When the pre-journal processing voucher data held in the storage device satisfies the journal conditions, the pre-journal processing voucher data is subjected to journal processing by a journaling method held in pairs with the journal conditions, and the journal data is processed as journal processed voucher data. An automatic journal processing device, comprising: a journal processing unit that holds the data in a storage device.
前記外部定義ルールファイル読み込み処理部は、複数個の外部定義ルールファイルより、それぞれ別々の仕訳条件及び仕訳方法を記憶装置に保持するものであり、前記仕訳処理部は、前記記憶装置に保持した仕訳処理前伝票データに対して、該当する仕訳条件と対に保持されている仕訳方法により仕訳を行う処理を、前記別々に保持されている仕訳条件及び仕訳方法について順次実行するものであることを特徴とする請求項7に記載された自動仕訳処理装置。The external definition rule file reading processing unit stores, in a storage device, different journal conditions and a different journaling method from a plurality of external definition rule files, and the journal processing unit stores the journal stored in the storage device. It is characterized in that the process of performing journalizing on the pre-processing slip data by the journalizing method held in pairs with the corresponding journaling conditions is sequentially executed for the separately held journalizing conditions and the journalizing method. 8. The automatic journal processing device according to claim 7, wherein: 伝票の仕訳作業を行う自動仕訳処理装置において、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が、任意の伝票項目の内容を示す仕訳条件を満たす場合に、その仕訳条件に対応する仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部とを備えることを特徴とする自動仕訳処理装置。
In an automatic journal processing unit that performs journal entry work,
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
If the item content of the pre-journal processing slip data held in the storage device satisfies the journal condition indicating the content of any slip item, the journal processing of the pre-journal processing slip data is performed by a journaling method corresponding to the journal condition. And a journal processing unit for holding the journal data as journal processed slip data in a storage device.
伝票の仕訳作業を行う自動仕訳処理装置において、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が所定の仕訳条件を満たす場合に、所定の規則に従って変換するか若しくは新たにデータを伝票データへ追加する命令を含む仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部とを備えることを特徴とする自動仕訳処理装置。
In an automatic journal processing unit that performs journal entry work,
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
When the item content of the pre-journal processing slip data held in the storage device satisfies a predetermined journal condition, the journal processing is performed according to a journal method including a command for converting according to a predetermined rule or newly adding data to the slip data. A journal processing unit for journalizing pre-voucher data and holding the same as journalized voucher data in a storage device.
前記仕訳処理部は、前記仕訳方法により仕訳処理前伝票データ中に含まれている明細データから複数の明細データを生成して前記仕訳処理を行うものであることを特徴とする請求項7乃至請求項10のいずれか1項に記載された自動仕訳処理装置。7. The journal processing unit according to claim 7, wherein the journal processing unit generates the plurality of detailed data from the detailed data included in the pre-journal processing slip data by the journal method and performs the journal processing. Item 11. The automatic journal processing device according to any one of Items 10. 前記仕訳処理部は、前記仕訳処理が終了した後、前記仕訳処理済み伝票データ単位に別プログラムを呼び出し、当該仕訳処理済み伝票データをその別プログラムへ渡して所定の処理を行うものであることを特徴とする請求項7乃至請求項11のいずれか1項に記載された自動仕訳処理装置。After the journal processing is completed, the journal processing unit calls a separate program for the journal processed slip data unit, and passes the journal processed slip data to the separate program to perform a predetermined process. The automatic journal processing apparatus according to claim 7, wherein the automatic journalizing processing apparatus includes: 伝票の仕訳作業を行う自動仕訳処理装置としてコンピュータを機能させる為のプログラムにおいて、
仕訳処理を行う際の条件を示す仕訳条件とその仕訳処理の内容を示す仕訳方法とを登録した外部定義ルールファイルを読み込み、その外部定義ルールファイルに登録されている仕訳条件及び仕訳方法を記憶装置に保持する外部定義ルールファイル読み込み処理部と、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データが前記仕訳条件を満たす場合に、その仕訳条件と対に保持されている仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部としてコンピュータを機能させることを特徴とするプログラム。
In a program for causing a computer to function as an automatic journal processing device that performs journal entry work,
Reads an external definition rule file in which journal conditions indicating conditions for performing the journal processing and a journal method indicating the contents of the journal processing are registered, and stores the journal conditions and the journal methods registered in the external definition rule file in a storage device. External definition rule file reading processing unit to be stored in the
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
When the pre-journal processing voucher data held in the storage device satisfies the journal conditions, the pre-journal processing voucher data is subjected to journal processing by a journaling method held in pairs with the journal conditions, and the journal data is processed as journal processed voucher data. A program for causing a computer to function as a journal processing unit held in a storage device.
前記外部定義ルールファイル読み込み処理部は、複数個の外部定義ルールファイルより、それぞれ別々の仕訳条件及び仕訳方法を記憶装置に保持するものであり、前記仕訳処理部は、前記記憶装置に保持した仕訳処理前伝票データに対して、該当する仕訳条件と対に保持されている仕訳方法により仕訳を行う処理を、前記別々に保持されている仕訳条件及び仕訳方法について順次実行するものであることを特徴とする請求項13に記載されたプログラム。The external definition rule file reading processing unit stores, in a storage device, different journal conditions and a different journaling method from a plurality of external definition rule files, and the journal processing unit stores the journal stored in the storage device. It is characterized in that the process of performing journalizing on the pre-processing slip data by the journalizing method held in pairs with the corresponding journaling conditions is sequentially executed for the separately held journalizing conditions and the journalizing method. The program according to claim 13, wherein: 伝票の仕訳作業を行う自動仕訳処理装置としてコンピュータを機能させる為のプログラムにおいて、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が、任意の伝票項目の内容を示す仕訳条件を満たす場合に、その仕訳条件に対応する仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部としてコンピュータを機能させることを特徴とするプログラム。
In a program for causing a computer to function as an automatic journal processing device that performs journal entry work,
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
If the item content of the pre-journal processing slip data held in the storage device satisfies the journal condition indicating the content of any slip item, the journal processing of the pre-journal processing slip data is performed by a journaling method corresponding to the journal condition. A program that causes a computer to function as a journal processing unit that holds the journal processed slip data in a storage device.
伝票の仕訳作業を行う自動仕訳処理装置としてコンピュータを機能させる為のプログラムにおいて、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が所定の仕訳条件を満たす場合に、所定の規則に従って変換するか若しくは新たにデータを伝票データへ追加する命令を含む仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部としてコンピュータを機能させることを特徴とするプログラム。
In a program for causing a computer to function as an automatic journal processing device that performs journal entry work,
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
When the item content of the pre-journal processing slip data held in the storage device satisfies a predetermined journal condition, the journal processing is performed according to a journal method including a command for converting according to a predetermined rule or newly adding data to the slip data. A program for causing a computer to function as a journal processing unit for journalizing pre-slip data and holding the journal data as journal processed slip data in a storage device.
前記仕訳処理部は、前記仕訳方法により仕訳処理前伝票データ中に含まれている明細データから複数の明細データを生成して前記仕訳処理を行うものであることを特徴とする請求項13乃至請求項16のいずれか1項に記載されたプログラム。14. The journal processing unit according to claim 13, wherein the journal processing unit generates the plurality of detail data from the detail data included in the pre-journal processing slip data by the journal method and performs the journal processing. Item 18. The program according to any one of items 16. 前記仕訳処理部は、前記仕訳処理が終了した後、前記仕訳処理済み伝票データ単位に別プログラムを呼び出し、当該仕訳処理済み伝票データをその別プログラムへ渡して所定の処理を行うものであることを特徴とする請求項13乃至請求項17のいずれか1項に記載されたプログラム。After the journal processing is completed, the journal processing unit calls a separate program for the journal processed slip data unit, and passes the journal processed slip data to the separate program to perform a predetermined process. The program according to any one of claims 13 to 17, characterized by: 伝票の仕訳作業を行う自動仕訳処理装置としてコンピュータを機能させる為のプログラムを記録したコンピュータ読み取り可能な記録媒体において、
仕訳処理を行う際の条件を示す仕訳条件とその仕訳処理の内容を示す仕訳方法とを登録した外部定義ルールファイルを読み込み、その外部定義ルールファイルに登録されている仕訳条件及び仕訳方法を記憶装置に保持する外部定義ルールファイル読み込み処理部と、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データが前記仕訳条件を満たす場合に、その仕訳条件と対に保持されている仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部としてコンピュータを機能させるプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
In a computer-readable recording medium that records a program for causing a computer to function as an automatic journal processing device that performs a journal entry operation,
Reads an external definition rule file in which journal conditions indicating conditions for performing the journal processing and a journal method indicating the contents of the journal processing are registered, and stores the journal conditions and the journal methods registered in the external definition rule file in a storage device. External definition rule file reading processing unit to be stored in the
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
When the pre-journal processing voucher data held in the storage device satisfies the journal conditions, the pre-journal processing voucher data is subjected to journal processing by a journaling method held in pairs with the journal conditions, and the journal data is processed as journal processed voucher data. A computer-readable recording medium on which a program for causing a computer to function as a journal processing unit held in a storage device is recorded.
前記外部定義ルールファイル読み込み処理部は、複数個の外部定義ルールファイルより、それぞれ別々の仕訳条件及び仕訳方法を記憶装置に保持するものであり、前記仕訳処理部は、前記記憶装置に保持した仕訳処理前伝票データに対して、該当する仕訳条件と対に保持されている仕訳方法により仕訳を行う処理を、前記別々に保持されている仕訳条件及び仕訳方法について順次実行するものであることを特徴とする請求項19に記載されたコンピュータ読み取り可能な記録媒体。The external definition rule file reading processing unit stores, in a storage device, different journal conditions and a different journaling method from a plurality of external definition rule files, and the journal processing unit stores the journal stored in the storage device. It is characterized in that the process of performing journalizing on the pre-processing slip data by the journalizing method held in pairs with the corresponding journaling conditions is sequentially executed for the separately held journalizing conditions and the journalizing method. 20. The computer-readable recording medium according to claim 19, wherein: 伝票の仕訳作業を行う自動仕訳処理装置としてコンピュータを機能させる為のプログラムを記録したコンピュータ読み取り可能な記録媒体において、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が、任意の伝票項目の内容を示す仕訳条件を満たす場合に、その仕訳条件に対応する仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部としてコンピュータを機能させるプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
In a computer-readable recording medium that records a program for causing a computer to function as an automatic journal processing device that performs a journal entry operation,
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
If the item content of the pre-journal processing slip data held in the storage device satisfies the journal condition indicating the content of any slip item, the journal processing of the pre-journal processing slip data is performed by a journaling method corresponding to the journal condition. A computer-readable recording medium characterized by recording a program for causing a computer to function as a journal processing unit that holds the journal processed slip data in a storage device.
伝票の仕訳作業を行う自動仕訳処理装置としてコンピュータを機能させる為のプログラムを記録したコンピュータ読み取り可能な記録媒体において、
仕訳処理前伝票データファイルに登録されている仕訳処理前伝票データを読み込んで記憶装置に保持する仕訳処理前伝票データファイル読み込み処理部と、
前記記憶装置に保持した仕訳処理前伝票データの項目内容が所定の仕訳条件を満たす場合に、所定の規則に従って変換するか若しくは新たにデータを伝票データへ追加する命令を含む仕訳方法により前記仕訳処理前伝票データを仕訳処理して仕訳処理済み伝票データとして記憶装置に保持する仕訳処理部としてコンピュータを機能させるプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
In a computer-readable recording medium that records a program for causing a computer to function as an automatic journal processing device that performs a journal entry operation,
A pre-journal processing slip data file reading processing unit that reads the pre-journal processing slip data registered in the pre-journal processing slip data file and holds the data in a storage device;
When the item content of the pre-journal processing slip data held in the storage device satisfies a predetermined journal condition, the journal processing is performed according to a journal method including a command for converting according to a predetermined rule or newly adding data to the slip data. A computer-readable recording medium in which a program for causing a computer to function as a journal processing unit for journalizing pre-slip data and holding the journal data as journal processed slip data in a storage device is recorded.
前記仕訳処理部は、前記仕訳方法により仕訳処理前伝票データ中に含まれている明細データから複数の明細データを生成して前記仕訳処理を行うものであることを特徴とする請求項19乃至請求項22のいずれか1項に記載されたコンピュータ読み取り可能な記録媒体。20. The journal processing unit according to claim 19, wherein the journal processing unit generates the plurality of item data from the item data included in the voucher data before the journal processing by the journal method and performs the journal processing. Item 23. A computer-readable recording medium according to any one of Item 22. 前記仕訳処理部は、前記仕訳処理が終了した後、前記仕訳処理済み伝票データ単位に別プログラムを呼び出し、当該仕訳処理済み伝票データをその別プログラムへ渡して所定の処理を行うものであることを特徴とする請求項19乃至請求項23のいずれか1項に記載されたコンピュータ読み取り可能な記録媒体。After the journal processing is completed, the journal processing unit calls a separate program for the journal processed slip data unit, and passes the journal processed slip data to the separate program to perform a predetermined process. A computer-readable recording medium according to any one of claims 19 to 23.
JP2003099197A 2003-04-02 2003-04-02 Automatic journalization process, device for implementing it, its process program, and recording medium Pending JP2004310186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003099197A JP2004310186A (en) 2003-04-02 2003-04-02 Automatic journalization process, device for implementing it, its process program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003099197A JP2004310186A (en) 2003-04-02 2003-04-02 Automatic journalization process, device for implementing it, its process program, and recording medium

Publications (1)

Publication Number Publication Date
JP2004310186A true JP2004310186A (en) 2004-11-04

Family

ID=33463730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003099197A Pending JP2004310186A (en) 2003-04-02 2003-04-02 Automatic journalization process, device for implementing it, its process program, and recording medium

Country Status (1)

Country Link
JP (1) JP2004310186A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100643536B1 (en) 2006-04-05 2006-11-13 아토정보기술 주식회사 Automatic journalizing system
JP2008102829A (en) * 2006-10-20 2008-05-01 Yoshizo Hashimoto Accounting data input system and program for accounting data input
JP2015212851A (en) * 2014-05-01 2015-11-26 株式会社オービックビジネスコンサルタント Slip processor, terminal device, slip processing method, and program
JP2016126489A (en) * 2014-12-26 2016-07-11 株式会社日本デジタル研究所 Account processing system, method, and program
JP6263831B1 (en) * 2017-03-31 2018-01-24 ファーストアカウンティング株式会社 Accounting system and accounting method
WO2022157913A1 (en) * 2021-01-22 2022-07-28 株式会社KPMG Ignition Tokyo Journalizing device and journalizing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233706A (en) * 1992-02-25 1993-09-10 Hitachi Ltd Document classification storage system
JPH08180123A (en) * 1994-12-26 1996-07-12 Casio Comput Co Ltd Data processor
JP2000215263A (en) * 1998-11-17 2000-08-04 Fujitsu Ltd Accounting system/method processing transaction data, and storage medium storing program for the same
JP2001337971A (en) * 2000-05-29 2001-12-07 Ricoh Co Ltd Device and method for classifying document, and storage medium recorded with program for document classifying method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233706A (en) * 1992-02-25 1993-09-10 Hitachi Ltd Document classification storage system
JPH08180123A (en) * 1994-12-26 1996-07-12 Casio Comput Co Ltd Data processor
JP2000215263A (en) * 1998-11-17 2000-08-04 Fujitsu Ltd Accounting system/method processing transaction data, and storage medium storing program for the same
JP2001337971A (en) * 2000-05-29 2001-12-07 Ricoh Co Ltd Device and method for classifying document, and storage medium recorded with program for document classifying method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梅田 弘之: "良いシステムを設計/構築できるエンジニアになる グラス片手に業務別DBデザイン", DB MAGAZINE, vol. 第12巻 第7号, JPN6008056286, 1 October 2002 (2002-10-01), JP, pages 168 - 175, ISSN: 0001174072 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100643536B1 (en) 2006-04-05 2006-11-13 아토정보기술 주식회사 Automatic journalizing system
JP2008102829A (en) * 2006-10-20 2008-05-01 Yoshizo Hashimoto Accounting data input system and program for accounting data input
JP2015212851A (en) * 2014-05-01 2015-11-26 株式会社オービックビジネスコンサルタント Slip processor, terminal device, slip processing method, and program
JP2016126489A (en) * 2014-12-26 2016-07-11 株式会社日本デジタル研究所 Account processing system, method, and program
JP6263831B1 (en) * 2017-03-31 2018-01-24 ファーストアカウンティング株式会社 Accounting system and accounting method
WO2018179411A1 (en) * 2017-03-31 2018-10-04 ファーストアカウンティング株式会社 Accounting system and accounting method
WO2022157913A1 (en) * 2021-01-22 2022-07-28 株式会社KPMG Ignition Tokyo Journalizing device and journalizing method
JPWO2022157913A1 (en) * 2021-01-22 2022-07-28
JP7258322B2 (en) 2021-01-22 2023-04-17 株式会社KPMG Ignition Tokyo journalizing device, journalizing method

Similar Documents

Publication Publication Date Title
CN102214187B (en) Complex event processing method and device
JP2017027116A (en) Process control device and process control program
US9256850B2 (en) Orphan token management during in-flight process system migration
JPH11259559A (en) Financial information processing system
JP2018163583A (en) Accounting data creating device, accounting data creating method, and accounting data creating program
JP6048957B2 (en) Information processing apparatus, program, and information processing method
JP2004310186A (en) Automatic journalization process, device for implementing it, its process program, and recording medium
JP2008226054A (en) Manhour management system, server terminal, manhour management method, program and computer readable recording medium
JP2010224881A (en) Transaction data processing method, system, and program
JP2925042B2 (en) Information link generation method
JPH02165353A (en) Conversation type data processing system
JP5144974B2 (en) Module management method, module management apparatus, and module management program
JP5718256B2 (en) System performance analysis apparatus, system performance analysis method, and system performance analysis program
CN112783927B (en) Database query method and system
US7197554B2 (en) Data linkage method and system
JP7029989B2 (en) Pre-receivable journal linkage device, pre-receipt journal linkage method, and pre-receipt journal linkage program
JP4948558B2 (en) Data search apparatus, data search method and program
JP4580670B2 (en) Test case generation method and test case generation apparatus
JP2004302803A (en) Method and apparatus for automatic journalizing, journalizing program, and its recording medium
JP2006251891A (en) Data collection device and data collection program
JP2005267036A (en) Trace output control method and trace system
CN113205421A (en) Accounting method and device for financial products
JP3900268B2 (en) Form processing device for ERP package
CN114331408A (en) Digital asset transaction method, apparatus and storage medium
JP2002251302A (en) Batch retrieval tool for log file and computer program used for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060309

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090420

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090526