JP2006216067A - Program and method for managing issuance of accounting book, and recording medium therefor - Google Patents
Program and method for managing issuance of accounting book, and recording medium therefor Download PDFInfo
- Publication number
- JP2006216067A JP2006216067A JP2006039607A JP2006039607A JP2006216067A JP 2006216067 A JP2006216067 A JP 2006216067A JP 2006039607 A JP2006039607 A JP 2006039607A JP 2006039607 A JP2006039607 A JP 2006039607A JP 2006216067 A JP2006216067 A JP 2006216067A
- Authority
- JP
- Japan
- Prior art keywords
- book
- transaction data
- management
- unit
- read
- 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
Links
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
本発明は会計処理装置に関し、特に、会計帳簿の発行および帳簿記載を行う帳簿発行管理装置および帳簿発行管理方法に関する。 The present invention relates to an accounting processing apparatus, and more particularly to a book issuance management apparatus and book issuance management method for issuing an accounting book and writing a book.
コンピュータを利用した会計処理装置には様々な種類があるが、会計事務所等で用いている顧客取引データ処理用の装置は、基本的には入力用伝票に基づいてデータを入力し、入力したデータを自動仕訳して格納装置に格納し、入力と同時或いは別時点にデータの修正処理を行い、格納データを更新して会計処理を行うよう構成されている。なお、データ入力は当初はキーボード入力が主流であったが今日ではOCRによるOCR伝票の読み取りによるデータ入力が主となり、キーボード入力はデータ修正時等に用いられる付随的なものとなっている。また、会計処理時に出力される処理結果としては貸借対照表や損益計算書等の財務諸表や、税務申告用の書類、または得意先別売上一覧表等の営業管理用のものがある。 There are various types of accounting processing devices using computers, but the device for processing customer transaction data used in accounting firms etc. basically inputs and inputs data based on input slips. Data is automatically journalized and stored in a storage device, data correction processing is performed at the same time as input or at a different time, and stored data is updated to perform accounting processing. In addition, keyboard input is mainly used for data input at first, but today, data input is mainly performed by reading an OCR slip by OCR, and keyboard input is an incidental one used when data is corrected. In addition, the processing results output at the time of accounting include financial statements such as a balance sheet and profit and loss statement, tax reporting documents, and sales management-specific items such as customer-specific sales lists.
また、後述する帳簿の読取・印字に関連すると考えられる技術に、ATM(自動預金機)における預貯金の入出金状況の通帳記帳に関する技術がある。具体的には、ATMでは通帳差し入れ口に挿入された通帳上の所定情報を読み取って預貯金の入出金状況(入出金明細データ)を記帳(出力)する方法および装置が開発されている。例えば、(1)通帳の所定領域を画像素子で走査して得られる画像信号を符号化して読み取りデータとし、ノイズ判定を行って検知エリアにおける印字の有無を判定した後に読み取りデータのデータ・パターンと予め設定されているデータ・パターンとを比較・判別することにより、前回印字行を検知して前回の印字行の次の行から新たな入出金明細データを記帳する、通帳の印字行位置決め方法がある(特許文献1参照)。
(2)また、イメージセンサを用いて通帳等の印字行をスキャンする場合に、1スキャン毎の検知エリアを印字行の長手方向に分割して、各分割エリアにおける印字の有無を検出する手段と、その検出手段からの検出信号に基づいて検知エリアに印字がされているか否かを判定する手段を備えた通帳等の印字行検知装置がある(特許文献2参照)。
(3)また、通帳の印字位置のずれによる印字文字範囲の検出ミスの発生を防止するため、通帳の印字にずれがあっても最終印字行を正確に認識するための、印字行の位置検出方式がある(特許文献3参照)。
(4)また、ATMに関し、出金伝票に印字された出金データをOCR等の読み取り手段で読み取り、ホストコンピュータのデータと照合し、その結果を当該伝票或いは通帳に*等で印字する技術がある(特許文献4参照)。
(2) When scanning a print line such as a passbook using an image sensor, the detection area for each scan is divided in the longitudinal direction of the print line, and means for detecting the presence or absence of printing in each divided area; There is a printing line detection device such as a bankbook provided with means for determining whether or not printing is performed in a detection area based on a detection signal from the detection means (see Patent Document 2).
(3) Print line position detection to accurately recognize the final print line even if there is a shift in the passbook printing in order to prevent the detection error of the print character range due to a shift in the passbook print position. There is a method (see Patent Document 3).
(4) Also, with regard to ATM, there is a technology in which withdrawal data printed on a withdrawal slip is read by reading means such as OCR, collated with host computer data, and the result is printed on the slip or passbook with * etc. Yes (see Patent Document 4).
従来のコンピュータ会計処理では、(イ)伝票の起票、(ロ)出納帳,売掛帳等の実帳簿への記入(手書き)、(ハ)コンピュータへの入力(なお、入力は上記(イ)での伝票をもとにキーボードから入力するか、OCR入力用帳票を起こしてOCR入力する)、(ニ)入力済みデータに基づいて会計処理を行う、という会計処理のサイクル中、(ロ)の実帳簿(経理帳簿)については(イ)と平行して手書き記入されるか、または後で記入されており、単に、法定帳簿として融資調査や税務調査等に備え事務所に保存する意味での管理のために記入されているだけであり、実帳簿に記入したデータが(ハ)の入力処理(OCR入力)につながらないという問題点があった。すなわち、会計処理のコンピュータ化は様々な便宜をユーザに与えているが、一方で実帳簿のもつ唯一性を犠牲にし、手書き帳簿のもつ「何時でも、どこでも、誰でも」利用できるという利用の容易性および帳簿管理の明確性を犠牲にしているという問題点があった。 In conventional computer accounting processing, (b) drafting of slips, (b) filling in real books such as cashbooks, accounts receivables, etc. (handwriting), and (c) input to computers ( ) Input from the keyboard based on the slips in () or wake up OCR input form and enter OCR), (d) During the accounting processing cycle of performing accounting processing based on entered data (b) The actual book (accounting book) is either handwritten in parallel with (a) or later, and is simply stored in the office as a statutory book for loan investigation or tax investigation. However, there is a problem that the data entered in the real book is not connected to the input process (OCR input) of (c). In other words, computerization of accounting processing gives users various conveniences, but on the other hand, at the expense of the uniqueness of the real book, easy use of "anytime, anywhere, anyone" with the handwritten book There is a problem of sacrificing sex and clarity of book management.
ここで、顧客側で帳簿の記載を取引データの入力に連動させて行うようにすれば、帳簿と取引データの整合性が保たれる。また、その取引データを会計処理装置で用いることにより、上記問題点の解決が可能となる。即ち、コンピュータ会計処理のサイクルを、(イ) 顧客側A.伝票の起票、B.コンピュータへの入力(なお、入力は上記 での伝票をもとにキーボードから入力するか、帳簿に手書きしたデータをOCR入力する)。
C.コンピュータによる出納帳,売掛帳等の実帳簿への自動記帳(帳簿の入力済データとの整合性チェックを含む)、(ロ) 会計事務所側D.入力済みデータに基づいて会計処理を行う、という処理サイクルに変更することにより、コンピュータ側に格納されている入力済みデータと帳簿に記帳されている結果との整合性を得るとともに、会計処理の全サイクルをコンピュータ化することが可能となる。
Here, if the account is entered on the customer side in conjunction with the input of transaction data, consistency between the book and transaction data is maintained. Further, by using the transaction data in the accounting processing device, the above problem can be solved. That is, the computer accounting processing cycle is as follows. Voucher draft, B. Input to the computer (Note that the input is performed from the keyboard based on the above slip, or the data handwritten in the book is OCR input).
C. Automatic book entry (including consistency check with entered data in the book) to the real books such as cashbooks and accounts receivable by computer, (b) Accounting firm side By changing to a processing cycle in which accounting processing is performed based on entered data, consistency between the entered data stored on the computer side and the results recorded in the book is obtained, and all accounting processing is performed. The cycle can be computerized.
ここで、前記従来技術について考えると、ATMでは前述したように上記特許文献1〜3に開示の通帳差し入れ口に挿入された通帳上の所定情報を読み取って預貯金の入出金状況を記帳する方法や装置が開発されているが、いずれも最終印字行を検知し今回の印字位置を決定するものであり、預金通帳などのようにデータの経時的発生状況をそのまま時系列に記帳する場合には適してはいるが、会計処理では様々な要因により、通常作業としてのデータ入力およびその修正の他に、数日後、あるいは場合によっては何ヶ月も後に帳簿の訂正の必要が生ずることがあるので、このような場合にも対応を要する会計帳簿の記帳等にはATMによる帳票記帳技術では対処できないという欠点がある。
Here, when considering the prior art, as described above, ATM reads a predetermined information on a passbook inserted in a passbook insertion slot disclosed in
また、上記特許文献4に開示の技術はATMにおいて、OCR等の読み取り手段で読み取った出金伝票上の出金データをホストコンピュータのデータと照合し、照合結果を当該伝票或いは通帳に印字するが、これは読み取ったデータとファイル上のデータを比較・照合する方法であり、取引データに比べ極度にデータ数の少ない銀行預金通帳等には適応可能であるが、データ量の多い会計処理では用いられず、会計処理では読み取った伝票データとコンピュータ装置側に格納されたデータとの照合は非効率的であるという問題点がある。 Further, in the technique disclosed in Patent Document 4 described above, in ATM, the withdrawal data on the withdrawal slip read by the reading means such as OCR is collated with the data of the host computer, and the collation result is printed on the slip or passbook. This is a method of comparing and collating the read data with the data on the file, and can be applied to bank deposit books, etc., where the number of data is extremely small compared to transaction data, but it is used for accounting processing with a large amount of data. However, in the accounting process, there is a problem that collation between the read slip data and the data stored on the computer device side is inefficient.
本発明は上記会計処理の全サイクルをコンピュータ処理の対象とするため、帳簿発行管理装置のコンピュータに帳簿への記帳および帳簿と仕訳データの整合性のチェックおよび発行済帳簿の有効性の判断を自動的に行なう機能を実行させる帳簿発行管理方法、帳簿発行管理プログラム、および帳簿発行管理プログラムを記録した記録媒体の提供を目的とする。 In the present invention, the entire cycle of the above accounting process is subject to computer processing, so the book issue management device computer automatically checks the book entry and the consistency between the book and journal data and determines the validity of the issued book. It is an object of the present invention to provide a book issue management method, a book issue management program, and a recording medium on which a book issue management program is recorded.
上記の目的を達成するために、請求項1に記載の発明では、CPUと、内部メモリーと、少なくとも、帳簿管理ファイルおよび取引データファイルを格納した記憶媒体を収容し、該記憶媒体への情報の書込/読み出しを行う格納部と、を有するコンピュータ本体と、帳簿を含む帳票を光学的に読み取ってイメージデータに変換する光学的読み取り機構と、該イメージデータから所定の領域を切出して文字認識処理を行って認識結果を前記本体に送出する認識処理部を含む読取部と、印字機構を有し、前記本体から受け取った帳簿登録情報および/または取引データをイメージデータに変換して帳簿上に印字することにより記帳を行う印字部と、前記制御部の制御の下に帳簿発行に関する指示或いは取引データの入力を行うための入力部と、前記本体から受け取った帳簿管理情報および/または取引データを画面表示する表示部と、を備えた帳簿発行管理装置における帳簿発行管理方法であって、前記コンピュータ本体に、下記(1)から(5)に記載のステップを実行させることを特徴とする帳簿管理発行方法を提供する。;(1)読み取った帳簿の認識結果を基に帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照するステップと、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較するステップと、からなるステップと、上記比較結果が一致しない場合には、読み取った帳簿上に無効印字処理を行うステップ;(2)上記認識結果を基に取引データファイル上の上記読み取った帳簿に対応する取引データを参照するステップと、未記帳の取引データの有無を判定するステップと、からなるステップ;(3)未記帳の取引データがあった場合に、上記読み取った帳簿に上記未記帳の取引データの記帳が可能か否かを確認するステップと、記帳可能な場合には該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なうステップと、記帳が不可能な場合には読み取った帳簿上に無効印字処理を行なうステップと、新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うと共に帳簿管理ファイルを更新するステップと、からなるステップ;(4)新たな帳簿の発行或いは帳簿のページ替えのために帳簿管理情報を記帳し帳簿管理レコード上の帳簿管理情報の更新処理を行うステップ;(5)入力装置からの帳簿再発行情報により、該帳簿再発行情報に基づいて帳簿管理ファイルを参照するステップと、対応の帳簿管理レコード上の帳簿管理情報の更新処理を行い、読み取った帳簿に対応する帳簿の発行処理を行うステップ。
また、請求項2に記載の発明では、(3)のステップが、a;未記帳の取引データがあった場合に、上記読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認するステップと、b;記帳が不可能な場合には読み取った帳簿上に無効印字処理を行ない新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うステップと、c;記帳可能な場合には読取部の認識処理部に該読み取った帳簿の前回記帳行の次の行の認識処理を行わせるステップと、d;認識結果を基に取引データファイル上の該読み取った帳簿に対応する取引データを参照し、上記cの認識処理結果と対応する取引データとを比較して一致する場合には、次の行の認識のために上記cのステップに戻るステップと、からなるステップである、ことを特徴とする請求項1に記載の帳簿発行管理方法を提供する。
To achieve the above object, according to the first aspect of the present invention, a CPU, an internal memory, and a storage medium storing at least a book management file and a transaction data file are accommodated, and information stored in the storage medium is stored. A computer body having a storage unit for writing / reading; an optical reading mechanism for optically reading a form including a book and converting it into image data; and a character recognition process by cutting out a predetermined area from the image data A reading unit including a recognition processing unit that sends a recognition result to the main body and a printing mechanism, and converts the book registration information and / or transaction data received from the main body into image data and prints it on the book A printing section for performing bookkeeping, an input section for inputting instructions relating to book issuance or transaction data under the control of the control section, A book issuance management method in a book issuance management apparatus comprising a display unit for displaying book management information and / or transaction data received from a main body, wherein the computer main body includes the following (1) to (5) A book management issuance method characterized by executing the described steps. (1) referring to the book management record corresponding to the read book on the book management file based on the recognition result of the read book, the book management information written in the read book, and the book management record A step of comparing with the above book management information, and a step of performing invalid printing on the read book if the comparison result does not match; (2) transaction data based on the recognition result A step comprising: referring to transaction data corresponding to the read book on the file; and determining whether there is unrecorded transaction data; (3) if there is unrecorded transaction data, A step of confirming whether or not it is possible to record the transaction data of the unrecorded book in the read book, and if it can be booked, next to the previous book line of the read book Steps for performing bookkeeping from the line, steps for performing invalid print processing on the read book if bookkeeping is impossible, registering book management information on new book paper, and generating transaction data for the unbooked book (4) The book management information is recorded and the book management information is recorded for issuing a new book or changing the page of the book. Updating the book management information of the book; (5) referring to the book management file based on the book reissue information from the book reissue information from the input device, and the book management on the corresponding book management record A step of performing information update processing and issuing a book corresponding to the read book.
Further, in the invention according to
また、請求項3に記載の発明では、コンピュータと、内部メモリーと、少なくとも、帳簿管理ファイルおよび取引データファイルを格納した記憶媒体を収容し、該記憶媒体への情報の書込/読み出しを行う格納部と、を有する本体と、帳簿を含む帳票を光学的に読み取ってイメージデータに変換する光学的読み取り機構と、該イメージデータから所定の領域を切出して文字認識処理を行って認識結果を本体に送出する認識処理部を含む読取部と、印字機構を有し、本体から受け取った帳簿登録情報および/または取引データをイメージデータに変換して帳簿上に印字することにより記帳を行う印字部と、コンピュータの制御の下に帳簿発行に関する指示或いは取引データの入力を行うための入力部と、本体から受け取った帳簿管理情報および/または取引データを画面表示する表示部と、を備えた帳簿発行管理装置における帳簿発行管理プログラムであって、帳簿発行管理装置のコンピュータに、読取部からの読み取った帳簿の認識結果を基に、帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照し、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較する機能と、上記比較結果が一致しない場合には、印字部を制御して読み取った帳簿上に無効印字処理を行わせる機能と、認識結果を基に取引データファイル上の読み取った帳簿に対応する取引データを参照し、未記帳の取引データの有無を判定する機能と、上記判定により、未記帳の取引データがあった場合に、読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認する機能と、記帳可能な場合には印字部を制御して該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なわせる機能と、記帳が不可能な場合には印字部を制御して読み取った帳簿上に無効印字処理を行なわせてから新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行なわせると共に帳簿管理ファイルを更新する機能と、新たな帳簿の発行或いは帳簿のページ替えのために印字部を制御して帳簿管理情報を記帳させると共に帳簿管理レコード上の帳簿管理情報の更新処理を行う機能と、入力装置からの帳簿再発行情報に基づいて帳簿管理ファイルを参照し、対応する帳簿管理レコード上の帳簿管理情報の更新処理を行い、読み取った帳簿に対応する帳簿の発行処理を行う機能と、を実行させる帳簿発行管理プログラムを提供する。
また、請求項4に記載の発明では、請求項1に記載の帳簿発行管理方法の各ステップをコンピュータに実行させるためのプログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体を提供する。
また、請求項5に記載の発明では、請求項3に記載の帳簿発行管理プログラムをコンピュータに実行させるためのプログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体を提供する。
According to a third aspect of the present invention, a computer, an internal memory, and a storage medium storing at least a book management file and a transaction data file are accommodated, and storage for writing / reading information to / from the storage medium An optical reading mechanism that optically reads a form including a book and converts it into image data, and extracts a predetermined area from the image data and performs character recognition processing to obtain a recognition result in the main body. A reading unit including a recognition processing unit to send out, a printing unit, and a printing unit that performs bookkeeping by converting the book registration information and / or transaction data received from the main body into image data and printing on the book; Under the control of the computer, an input unit for inputting books or issuing transaction data, book management information received from the main unit, and Or a book issuance management program in a book issuance management device comprising a display unit for displaying transaction data on the screen, and the book issuance management device computer stores the book based on the recognition result of the book read from the reading unit A function for referring to a book management record corresponding to the read book in the management file and comparing the book management information described in the read book with the book management information on the book management record, and the comparison result is If they do not match, refer to the transaction data corresponding to the read book on the transaction data file on the basis of the recognition result and the function to cause the invalid printing process to be performed on the book read by controlling the printing unit, If there is unrecorded transaction data based on the above determination and the above determination, the unregistered transaction data is recorded in the read book. A function to check whether or not it is possible, a function to control the printing unit when it is possible to book, and a book entry process from the line following the previous book line of the read book, and a case where book entry is impossible In this case, invalid printing processing is performed on a book read by controlling the printing unit, and then book management information is registered on a new book sheet, and transaction data is recorded on and after the transaction data generation date of the unrecorded book. And a function to update the book management file, and to control the printing unit to issue a new book or change the page of the book, to record the book management information and to update the book management information on the book management record Refers to the book management file based on the function and the book reissue information from the input device, updates the book management information on the corresponding book management record, and generates the book corresponding to the read book. A book issue management program for executing a line processing function is provided.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing a program for causing a computer to execute each step of the book issuance management method according to the first aspect.
According to a fifth aspect of the present invention, there is provided a computer-readable storage medium storing a program for causing a computer to execute the book issuance management program according to the third aspect.
以上説明したように、本発明の帳簿発行管理方法および帳簿管理発行プログラムによれば、読み取った帳簿上に記載されている内容と格納されている取引データとの整合性がチェックされるので、保管している帳簿が有効か無効かを簡単に知ることができ、帳簿、格納データ、および帳簿発行管理装置とデータを介して連動する会計処理装置の信頼性が確認できる。
また、管理上で不明となった帳簿についても帳簿発行管理装置を用いることにより照合ができ、不明帳簿を帳簿管理ファイル上で無効にしてから再発行ができるので、あとで不明帳簿がでてきても混同して記帳するようなことが生じない。また、帳簿管理ファイルを用いるので帳簿の履歴管理が可能となる。また、従来の会計処理装置と連動可能で、利用法そのものが従来の会計処理を変更する事なくその延長線上でできるので、使用者にとって利用が容易であり、これにより、会計処理の全サイクルがコンピュータ処理の対象となり、会計処理のコンピュータ化に対する障壁(従来のコンピュータ会計処理における帳簿記帳と入力作業の重複による使用者の負荷)が緩和される。
As described above, according to the book issuance management method and book management issuance program of the present invention, the consistency between the contents written on the read book and the stored transaction data is checked. It is possible to easily know whether the book is valid or invalid, and it is possible to confirm the reliability of the book, stored data, and the accounting processing device linked with the book issue management device via the data.
In addition, it is possible to collate the books that are unknown in management by using the book issuance management device, and since the unknown books can be reissued after being invalidated in the book management file, an unknown book appears later. There is no such thing as confusion. Further, since a book management file is used, book history management is possible. In addition, it can be used in conjunction with a conventional accounting processing device, and the usage method itself can be extended without changing the conventional accounting processing, so it is easy for users to use. It becomes an object of computer processing, and the barrier to computerization of accounting processing (the burden on the user due to duplication of bookkeeping and input work in conventional computer accounting processing) is alleviated.
図1は本発明の帳簿発行管理装置の構成例を示すブロック図であり、帳簿発行管理装置100は、CPU12,操作判定手段13,帳簿発行管理手段14,およびOS(オペレーションシステム)15等からなる制御部11と、内部メモリー17と、データ格納部18と、を有するコンピュータ本体10と、コンピュータ本体10側に対し指示またはデータの入力を行うための入力装置20と、コントローラ31,帳簿55を光学的に読み取ってイメージデータに変換し認識処理を行い、認識データおよび帳簿管理情報をコンピュータ本体10に送る読取部32,およびコンピュータ本体10側からの指示に基づいて帳簿管理情報および/またはデータを印字することにより帳簿55に記帳する印字部33とからなる読取・印字部30と、帳簿管理情報及び編集されたデータ等を所定のフォーマットで画面に表示する表示部40から構成されている。なお、読取部32は入力帳票(OCR帳票)の読み取りもできるよう構成されていることが望ましい。
FIG. 1 is a block diagram showing a configuration example of a book issuance management apparatus according to the present invention. A book
制御部11で、CPU12は帳簿発行管理装置100全体の動作制御を行うと共にOS15の管理下で、望ましい実施形態ではプログラムから構成されている操作判定手段13および帳簿発行管理手段14の実行に基づく制御を行い、内部メモリー17とのデータの受渡し、格納部18へのデータの格納または読み出し指示、および入力部20,読取・印字部30と表示部40とのデータ授受等およびその制御を行う。
In the
操作判定手段13は後述する読取部32の読み取りスタックに帳簿55がセットされている場合とそうでない場合の処理の判定を行う。この判定はコントローラ31から送出されるスタック状態確認信号に基づいて行われる。
The
帳簿発行管理手段14は望ましい実施形態ではプログラムで構成されており、操作判定手段13の判定に基づいて、帳簿の記帳・更新処理,新規登録処理,或いは再発行処理を行う(図5〜図7の説明参照)。
In the preferred embodiment, the book
なお、操作判定手段13および帳簿発行管理手段14は実施例ではOS15と共にROM(図示せず)に書込まれており、帳簿発行管理装置100の電源投入時に内部メモリー17に書込まれるよう構成されているが、FD(フレキシブルディスク)またはMO(Magnet Optical disk)または磁気ディスク等の媒体に格納し、それらの書込装置(図1の格納部18が相当する)により帳簿発行管理装置100の電源投入時に内部メモリー17に書込まれるよう構成してもよい。内部メモリー17にはデータの書込/読み出しのための処理領域、設定値の設定領域、帳簿発行管理装置の動作開始時に書込まれる操作判定手段13,帳簿発行管理手段14のための実行プログラム領域,帳簿データ用作業領域,その他処理上必要とする作業領域,およびシステム管理領域が確保されており、制御部11からの指示によりこれらの領域へのデータ等の書込/読み出しが行われる。なお、帳簿データ用作業領域は図示されていないが、図2の帳簿の記載項目のうちの帳簿管理項目データ(例えば、帳簿コード221,帳簿名印字欄223,ページ欄224,再発行回数欄224)および帳簿の行の項目データ(例えば、日付226,摘要227,貸方金額228,借方金額229,残高230)の行数分の領域が確保されており、各項目は所定の順序で並べられている。
In the embodiment, the
格納部18はFD,MO,または磁気ディスク等の記憶媒体の読み取り/書込装置およびそれら対応の記憶媒体から構成され、媒体上にはディレクトリおよび後述の帳簿管理ファイルと取引データファイルが格納されている。帳簿管理ファイルは発行済の帳簿の種類毎に作成され更新される帳簿管理レコードで構成され、各レコードのそれぞれの項目(アイテム)には該当する記帳情報が書込まれ、または更新される(図3参照)。また、取引データファイルは取引データから構成されている(図4参照)。
The
入力部20は使用者による帳簿発行管理装置100の操作指令の入力および帳簿データの訂正入力等と、必要とされる場合には帳簿管理情報の入力を行うために用いられ、実施例ではキーボード装置を用いている。
The
読取・印字部30は、コントローラ31,読取部32,および印字部33と、図示しない画像メモリーおよび出力バッファを有している。コントローラ31はCPU,内部メモリー,および制御プログラムを含んでいる。読取部32はコントローラ31の制御の下に光学的読み取り機構を有し、帳簿55に印刷された帳簿識別記号(コード)を光学的に読み取って認識処理し、コンピュータ本体10に識別結果を与える。また、印字部33は印字機構を有しコントローラ31の制御の下にコンピュータ本体10の帳簿発行管理手段14からの指示およびデータにより帳簿55上にデータを印字したり、または無効マークを帳簿55上の所定の位置に印字する。
The reading /
なお、読取部32に帳簿55が傾いて取込まれた場合にもその傾きを検知する傾き検知部を設け、印字部33に検出された傾きに沿った印字を行うことにより帳簿55上の印字位置に正しい姿勢で文字を印字するための印字姿勢決定部を設けることが望ましい(実施例1(図8)参照)。
In addition, even when the
また、他の実施態様として読取・印字部30を帳簿55に印刷された帳簿識別記号(コード)を読んで認識すると共に、今回印字行以降に記入(手書き或いは印字による記入)されている情報を読み取って認識し、識別した帳簿管理情報および認識した記入情報を与えるよう構成してもよい(実施例2(図9)参照)。なお、この場合も読取部32に傾き検知部を設け、印字部33に印字姿勢決定部を設けることが望ましい。
As another embodiment, the reading /
なお、上記各説明では読取・印字部30は読取部32および印字部33により一体として構成されたものとしているが、読取部32と印字部33をハードウエア的に独立した装置とし、コンピュータ本体10側で個々に制御するように構成してもよい。
In the above description, the reading /
表示部40はコンピュータ本体10から送られる帳簿管理情報及び編集されたデータ等を所定のフォーマットで画面に表示すると共に、コンピュータ本体10からの指令により処理選択用メニューおよび必要なメッセージを画面に表示する。なお、画面に表示される表示用フォーマットは帳簿型式のウインドウと入力用ウインドウのフォーマットを含むことが望ましい。
The
図2は、帳簿発行管理装置100で用いる帳簿55の例であり、帳簿55には売掛帳,買掛帳,現金出納帳等の帳簿に対応する必要事項が印字(或いは記入)可能で所定の配列により配置されると共に、コンピュータ処理上で必要な帳簿識別情報等を印刷(または記入或いは印字)する領域が設けられている。
FIG. 2 shows an example of a
図2で、221は帳簿の種類を識別するための帳簿コード、222−1,222−2は読取部32による帳簿55の光学的読み取りのタイミングを得るための読み取り開始タイミングマークであり、帳簿55の傾きを知るための傾き検出マークを兼ねている。また、223は帳簿名を印字するための帳簿名印字欄、224は帳簿のページ欄、224は当該ページの再発行回数欄、225−1,225−2は印字位置識別マークである。なお、印字位置識別マーク225は後述の実施例1では必要としているが、実施例2では省略可能である。また、表頭の226は取引の発生月日欄、227は摘要欄、228は貸方金額欄、229は借方金額欄、230は残高あるいは累計欄であり、また、231は印字行であり上記欄224〜227に対応する仕訳ファイル上の取引データの内容がそれぞれ印字され、欄230には計算結果がそれぞれ印字される(なお、実施例2ではこれらの欄に手書き記入される場合もある)。また、上述の印字欄等は帳簿様式は帳簿用紙の両面に印刷されている。
In FIG. 2, 221 is a book code for identifying the type of book, 222-1 and 222-2 are reading start timing marks for obtaining the optical reading timing of the
管理帳簿ファイルは帳簿55の記帳情報および再発行情報を格納し、図3は帳簿管理ファイルを構成する管理データの構成例を示す図である。
The management book file stores the book information and reissue information of the
図3で、帳簿管理レコード60は図3(a)に示すような項目、すなわち、帳簿区分項目61、年度項目62、最終印字ページ項目64、最終印字行項目65、発行月日項目66、前回印字月日項目67、および再発行項目68を含んでいる。
3, the
帳簿区分項目61には帳簿の種類を表わすコードが格納され、年度項目62には当該帳簿の属する西暦または元号を記録する(通常は西暦の下2桁を用いる)が格納され、最終印字ページ項目64には前回の最終印字ページが格納され、最終印字行項目65には前回の最終印字行が格納され、発行月日項目66には当該年度の帳簿の最初の発行日が格納され、前回印字月日項目67には前回の印字日が格納され、再発行項目68には帳簿再発行の履歴が記録される。なお、再発行項目68は再発行を行ったか否かを示す単なるフラグでもよいし、図3(b)に示すように再発行ページ68−nおよびそのページを何回改定したかを示す再発行回数カウンタ69−nの組から構成してもよい(この場合、再発行ページ68ーnと再発行回数カウンタ68−nの組の個数はファイル容量からシステム上決定すればよい)。また、図3(c)は帳簿レコード60に帳簿が綴合帳簿の場合にその冊数を記録する項目63を加えた例である。また、帳簿管理ファイルと取引データファイルに主従関係をもたせるよう構成し、主ファイルとしての帳簿管理ファイルの帳簿管理レコードに前回記帳した取引データの格納先を示すポインタを設けるよう構成してもよいし、前回記帳した帳簿のページに記帳された全ての取引データの格納先を示す複数(行数分)のポインタを設けるよう構成してもよい。
The
図4は、取引データファイルを構成する取引データの構成例を示す図である。取引データファイルは仕訳レコードが所定の順序で整列して格納されているいわゆる順編成ファイル(シーケンシャルファイル)であるが、取引データの順序は物理的に一定の順序(例えば昇順)に並んでいる必要はなく、例えば、インデクスド・シーケンシャルファイルのように索引ファイルを有し、索引ファイルのソートなどにより取引データが論理的に一定の順序で並べられるファイルでもよい。また、前述したように帳簿管理ファイルを主とし、取引データファイルを従として、帳簿管理データと取引データを帳簿管理データに設けたポインタで関連づけるよう構成してもよい。 FIG. 4 is a diagram showing a configuration example of transaction data constituting the transaction data file. The transaction data file is a so-called sequential file (sequential file) in which journal records are arranged and stored in a predetermined order. However, the order of the transaction data needs to be in a physically fixed order (for example, ascending order). Instead, for example, a file having an index file such as an indexed sequential file and in which transaction data is logically arranged in a certain order by sorting the index file or the like may be used. Further, as described above, the book management file may be the main, the transaction data file may be the slave, and the book management data and the transaction data may be associated with the pointer provided in the book management data.
取引データ41は図4(a)に示すような項目、すなわち、帳簿区分項目42,ページ項目43,行数項目44,科目コード項目45,相手科目コード項目46,取引年月日47,摘要項目48,および貸方金額項目49,および借方金額項目50を含んでいる。
The
帳簿区分項目42には帳簿の種類を表わすコードが格納され、ページ項目43には当該取引データが印字されている帳簿のページが格納され、行数項目44には当該取引データが印字(記帳)されている帳簿上の行番が格納され、科目項目45には当該取引データの科目が、相手科目項目46には当該取引データの相手科目が格納され、年月日項目47には取引発生日付が格納され、適要項目48には適用が格納され、貸方金額項目49には貸方金額或いは入金額が格納され、借方金額項目50には借方金額或いは出金額が格納される。
A code indicating the type of book is stored in the book category item 42, the page of the book on which the transaction data is printed is stored in the
なお、図4(b)は上記(a)の取引データの貸方項目49,借方項目50の代り貸借コード49および金額項目50を設けた例である。この場合、貸方、借方金額は貸借コード49を基に帳簿編集用作業領域に振分けられる。また、図3の説明で述べたように、帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には帳簿区分項目42,ページ項目43,行数項目44は不要である。ただし、この場合は記帳済か否かを判定するための記帳済フラグを格納する項目を設けることが望ましい。
FIG. 4B is an example in which a
<実施例1>
本実施例は帳簿発行管理装置100を帳簿55の特定の範囲(ゾーン)にある帳簿管理情報を読み取って帳簿55を特定し、前回の印字行の次の行(以下、今回印字行と記す)から当該帳簿に対応の取引データの内容を印字するよう構成した例であり、帳簿55を単票(表裏に記帳可能)とした例である。
<Example 1>
In this embodiment, the book
図5は帳簿発行管理手段14の構成例を示すブロック図、図6は管理装置100の基本的動作を示すブロックフローチャート(今回印字行に既に記入されて内容を判定する場合については実施例2参照)、図7は帳簿発行管理装置100の制御構成の例を示すブロック図であり、図8は認識処理部323及び印字姿勢決定部331の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration example of the book issuance management means 14, and FIG. 6 is a block flowchart showing the basic operation of the management apparatus 100 (see the second embodiment for the case where the contents already entered in the current print line are judged) 7 is a block diagram illustrating an example of a control configuration of the book
図5で、(a)は帳簿発行管理手段14の構成例を示すブロック図であり、(b)は帳簿発行管理手段14の新規登録手段145の構成を例示すブロック図、(c)は帳簿発行管理手段14再発行手段146の構成を例示すブロック図である。
5A is a block diagram illustrating a configuration example of the book
帳簿発行管理手段14は帳簿55が読取部32の読み取りスタックにセットされ、読み取られた場合には、認識処理部323からの認識結果と、格納部18の帳簿管理ファイルからの帳簿管理情報,および取引データファイルからのデータを基に、帳簿管理情報比較手段141,データ判定手段142,および記帳確認手段143により記帳処理を行う。また、帳簿55が読取部32の読み取りスタックにセットされていない場合には、取引データの入力処理か入力部20(実施例ではキーボードが相当)からの指示により新規登録手段145による帳簿の新規発行処理または再発行手段147による帳簿の無効処理および再発行処理を行う(各手段の動作詳細については、以下の説明参照))。以下、図6及び図7により説明する。
When the
図6のステップS1では、CPU12は操作判定手段13の実行制御を行い、読取・印字部30のコントローラ31に対し読み取りスタック確認部321でのスタック状態確認要求を行う(図7)。読取・印字部30のコントローラ31が読み取りスタック確認部321に帳簿55が読み取りスタックにあるか否かの判定を指示すると、スタック確認部321は原稿確認信号a1を帳簿情報読取部322およびCPU12に送出する。
In step S1 of FIG. 6, the
CPU12は操作判定手段13によりa1の値を調べ、帳簿がセットされている場合にはステップS2以降に移行し、セットされていない場合には表示部40にコマンド入力要求メッセージを表示して使用者による入力部40からのコマンド入力を待つ。コマンド入力があった場合には新規登録処理要求か再発行処理要求かを判定するためにステップS21に移行する。
The
ステップS2で、CPU12は帳簿管理情報比較手段141の実行制御を開始するが、読取・印字部30のコントローラ31の制御により並行して読取部32による1ページ目の帳簿の読み取りが開始され、帳簿情報読取部322は光学的読み取り機構により光学的に帳簿1ページ分を読み取ってイメージデータに変換し読取・印字部30の画像メモリー(図示せず)に格納する。認識処理部323では傾き検出手段1により用紙の傾きの有無を検出し、傾きのある場合にはこれを傾き補正手段2で補正してから認識処理手段3でフォーム(レイアウト)の解析、文字の切出し等の認識処理を行う(図8参照)。
In step S2, the
認識処理は、画像メモリーの帳簿1ページ分のイメージデータについて、帳簿コード221と帳簿ページ224および再発行欄224を切出して認識辞書324を参照することにより行われる。なお、帳簿55のフォーム(レイアウト)の解析、文字の切出し及び認識等の認識処理については、例えば、特開平7−85215号(名称「文字認識装置」)に開示の手法を用いることができる。
The recognition process is performed by referring to the
ステップS3,S4で、認識処理部323からの認識結果を受け取ったCPU12は帳簿管理情報比較手段141によりその認識結果を内部メモリー17に記憶させると共に、格納部18の帳簿管理ファイルから帳簿管理レコード60を順次読み出して、受け取った帳簿コード221と帳簿管理レコード60の帳簿区分61のデータとを比較する。
In steps S3 and S4, the
全ての管理情報レコードの帳簿区分61に書込まれたデータと受け取った帳簿コードが一致しない場合か、データとコードが一致しても当該管理情報レコード60の再発行項目68の該当ページの再発行回数と受け取った再発行欄224の再発行回数と比較し、一致しない場合には無効帳簿としてステップS41に移行する(管理情報レコードの再発行項目68の該当ページの再発行回数が0の場合で、受け取った再発行欄224の再発行回数がスペースまたは0でない場合も不一致とする)。
Reissue of the corresponding page of the
ある管理情報レコード60の帳簿区分61に書込まれたデータと受け取った帳簿コードが一致し、かつその管理情報レコードの最終印字ページ項目64に書込まれたページ数が受け取った帳簿ページ数以上であり、且つ、再発行回数が一致する場合には当該一致の帳簿管理レコード60を内部メモリー17に保持させて、帳簿55を有効帳簿としてステップS5に移行する。
The data written in the
ステップS5,S6で、データ判定手段142は、先ず、帳簿や取引データファイルのデータの変更の有無(即ち、帳簿に記載すべき取引データの有無)を調べる(S5)。記載すべき取引データがない場合には当該帳簿の排出指示をコントローラ31を介して印字部33に与えて当該帳簿の処理を終了すると共に、その旨のメッセージを表示部40の画面に表示して当該帳簿の処理を終了する。記載すべき取引データがある場合にはステップS7に移行する(S6)。
In steps S5 and S6, the
帳簿55に記載すべき取引データの有無判定の例として、データ判定手段142を帳簿の帳簿コード221と取引データ41の科目コードとを対応させるテーブルを持つよう構成し、検索条件を帳簿コード221と取引データ41の科目コード45が対応し、且つ、取引データ41のページ数項目43(或いは行数項目44)にデータがあること(即ち、ページ数項目43(或いは行数項目44)がスペースあるいはゼロでないこと)として、取引データを日付順に検索し、該当データなしの場合を帳簿に記載すべき取引データなしと判定する(処理の終了)。取引データの検索途中で、取引データ41のページ数項目43(或いは行数項目44)にデータがあった場合には記載すべき取引データありとすることができる(S7に移行)。
As an example of the presence / absence determination of transaction data to be described in the
なお、図4の説明で述べたように帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には、取引データ41の記帳済みフラグを参照して帳簿に記載すべき取引データの有無を判定するように構成する。
In addition, as described in the explanation of FIG. 4, when the book management file is set as the main and the transaction data is set as the subordinate, and the pointer for associating the transaction data with the book management data is provided, the
ステップS7,S8では、記帳確認手段143により取引データファイルの変更内容を帳簿に反映可能か否かの確認を行う。すなわち、単に、当該帳簿の今回印字行から順次取引データの内容を印字して記帳することができるか、或いは訂正取引データや遡及記入取引データの存在により、帳簿の再発行を要するかを判定するため、取引データファイルに訂正取引データや遡及記入取引データが存在しているかを判定し、その取引データを編集して表示部40に送り、確認を促すメッセージと共に画面表示してステップS81に移行し、存在していない場合にはステップS9に移行する。
In steps S7 and S8, the book
訂正取引データや遡及記入取引データの存在の有無判定の例として、上記ステップS6での取引データの検索途中で、取引データ41のページ数項目43(或いは行数項目44)にデータがある場合に、その取引データの取引日(年月日項目47の内容)を調べ、その日付がメモリー17に保持された帳簿管理レコード60の前回印字月日項目67の日付以前の場合には、前回記帳後に修正処理により仕訳ファイルのデータ訂正や遡及データの追加があったものと判定し、また、取引データの取引日が前回印字月日項目67の日付の次の日以降の場合には、当該帳簿に追記することができるものと判定する(S9に移行)。
As an example of the presence / absence determination of corrected transaction data and retroactive transaction data, when there is data in the page number item 43 (or the line number item 44) of the
ステップS9では、制御を記帳確認手段143の実行に移し、該当する取引データ41について順次その記録内容を当該帳簿の各記入項目に対応させて内部メモリー17の帳票データ用作業領域に記憶して、1ページ分のデータがそろった場合に印字部33に帳票データ用作業領域の内容を送出する(送出後、帳票データ用作業領域の内容はクリアされる)。また、帳簿管理ファイル60の記録内容を更新し記帳後の取引データ41のページ数項目43(或いは行数項目44)にその取引データを記帳した帳簿のページおよび行を記録する。帳簿管理ファイル60の更新は前回印字月日以後の該当する取引データについて記帳が終了した後、帳簿管理レコード60の最終印字ページ項目64,最終印字行項目65,前回印字月日項目67について行う。印字部33は受け取ったデータをイメージ化して印字(記帳)する。また、記帳する取引データの数が帳簿の残存行数を超える場合には新規帳簿用紙への記入のためにステップS22に移行する。また、取引データの数が帳簿の残存行数以内の場合には帳簿記帳後に処理を終了し、ステップS1に戻る。
In step S9, control is transferred to the execution of the book check means 143, and the recorded contents of the
なお、図4の説明で述べたように帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には、帳簿管理ファイル60の記録内容の更新時に記帳済みフラグを記載済とするようステップS9を構成する。
As described in the explanation of FIG. 4, when the book management file is set as the main and the transaction data is set as the slave, and the pointer for associating the book management data with the transaction data is provided, the record in the
ステップS21では、操作判定手段13が入力部20からの処理指示入力を待ち、指示入力があった場合には新規帳簿の登録処理要求か判定し、新規帳簿の登録処理要求の場合にはステップS22に移行し、そうでない場合にはステップS31に移行する。
In step S21, the operation determination means 13 waits for a processing instruction input from the
ステップS22では、新規登録手段145(図5(b)参照)に制御が移され、帳簿情報登録手段145ー1により表示部40の画面に使用者に読み取りスタックへの新しい帳簿用紙のセットを促すメッセージおよび帳簿の種類の入力を促すメッセージを表示し、帳簿用紙がセットされ、帳簿の種類(コード)が入力されると、帳簿管理ファイルに初期値(帳簿区分、年度、印字ページ、印字行数=0、発行年月日、前回印字月日=0)をセットした新しい帳簿管理レコード60を登録する。登録後に記帳登録手段145ー2は内部メモリー17の帳票データ用作業領域に帳簿管理情報(帳簿コード、帳簿名、年度、発行月日等)を記憶し、1ページ分のデータがそろった場合に印字部33に帳票データ用作業領域の内容を送出する(送出後、帳票データ用作業領域の内容はクリアされる)。印字部33は受け取ったデータをイメージ化し、帳簿用紙上に印字(記帳)する。なお、新規帳簿登録処理が終了した後で制御をステップS9に移行するよう構成することが望ましい(これにより、帳簿に記入する取引データが何ページ分もある場合の操作効率が向上する)。
In step S22, control is transferred to the new registration unit 145 (see FIG. 5B), and the book information registration unit 145-1 prompts the user to set a new book sheet on the reading stack on the screen of the
ステップS31では、操作判定手段13が入力部20からの処理指示入力を待ち、指示入力があった場合には帳簿の再発行要求か否かを判定し、帳簿の再発行処理要求の場合にはステップS33に移行し、そうでない場合には処理を終了する。
In step S31, the operation determination means 13 waits for a processing instruction input from the
ステップS33では、再発行手段147(図5(c)参照)に制御が移され、帳簿特定手段147ー1により表示部40の画面に再発行すべき帳簿の種類とそのページ数の入力を促すメッセージを表示させ、入力部20からの入力を待つ。入力があると、入力された帳簿の種類とそのページ数をキーとして格納部18の帳簿管理ファイルを検索し、帳簿管理レコード60の前回印字月日と最終印字ページ数および最終印字行を取り出す。なお、指定したページが再発行されたページの場合には最終印字ページ数と一致しない場合があるが、その場合には再発行項目18の再発行ページ数との一致をとる。
In step S33, control is transferred to the reissuing means 147 (see FIG. 5C), and the book specifying means 147-1 prompts the screen of the
帳簿無効化手段147−2は帳簿管理レコード60の再発行項目68を調べ、再発行項目68の中に当該帳簿の再発行履歴が記録されている場合にはその回数を更新し、記録されていない場合には、新たに再発行ページと回数(=1)を書込む。これにより、例えば、再発行後紛失していた前回の帳簿が見つかって、管理装置100で記帳処理しようとしても再発行回数が異なるのでその帳簿はステップS3,S4で無効帳簿とされ、後述のステップS41でその帳簿上に無効マークが印字されることになり、失効帳簿への記入等の誤りを防止できる。次に、帳簿特定手段147−1により前回印字月日と最終印字ページ数および最終印字行が取り出せた場合には、登録・記帳手段147−3によりそれらをキーとして取引データファイルを検索し、前回の最終印字行に記帳した取引データを特定し、帳簿コード,帳簿名称,ページ数,および更新された発行回数(初めての場合は発行回数=1)等の帳簿情報を内部メモリー17の帳簿データ用作業領域の対応の位置に記憶させる。その後、次の行数=帳簿の最大行数−当該行数として、行数をセットしてその行数および前回印字月日と最終印字ページ数をキーとして取引データファイルを検索し、1行上の行に記帳した取引データを特定し、上記テーブルの当該行に編集して記憶する。この動作を繰返して、帳簿用紙の第1行目までをテーブルに編集して記憶した後、上記作業領域の内容を表示部40および印字部33に送出する。表示部40では画面表示用に編集された再発行帳簿の内容を閲覧しフォーマットで表示する。使用者が画面に表示された帳簿内容を確認し、入力部20による確認入力を行うと、CPU12は帳簿再発行指示を読取・印字部30のコントローラ31に送る。コントローラ31は印字機構332に対し上記受け取った帳簿データの出力を指示し、印字機構332はイメージ化されたデータを帳簿用紙上に印字(記帳)する。
The book invalidation means 147-2 checks the
ステップS41では、読取部32で読み取った帳簿が無効帳簿であることを、目視により一見して明らかにするため、読み取った無効帳簿上に無効マークを印字する。このため、帳簿管理情報比較手段141はCPU12を介して帳簿無効印字指示を読取・印字部30のコントローラ31に送る。コントローラ31は印字機構332に対し無効マークの出力を指示し、印字機構332は帳簿用紙上の指定位置(出力フォーマットにより規定)に無効マークのイメージを印字する。
In step S41, an invalid mark is printed on the read invalid book in order to visually reveal that the book read by the
ステップS81では読取部32で読み取った帳簿が記載内容の変更が必要であるため無効処理した帳簿であることを、目視により一見して明らかにするため、読み取った無効帳簿上に無効マークを印字する。このため、記帳確認手段143はCPU12を介して帳簿無効印字指示を読取・印字部30のコントローラ31に送る。コントローラ31は印字機構332に対し無効マークの出力を指示し、印字機構332は帳簿用紙上の指定位置に無効マークのイメージを印字する。
In step S81, an invalid mark is printed on the read invalid book so that it is clear at a glance that the book read by the
ステップS82では、取引データファイル41上の訂正取引データや遡及記入取引データ(取引データの年月日項目47の値が帳簿管理レコード60の前回印字月日項目67の値未満で、かつ、取引データ41のページ数項目43(或いは行数項目)にページ数或いは行数が記録されていない取引データ)のうち最も月日項目44の値が小さい取引データのページ数項目43のページ数を読み取って、そのページ分から帳簿を再発行する。
In step S82, the corrected transaction data or retroactive transaction data on the transaction data file 41 (the value of the
この場合、帳簿コード,帳簿名称,ページ数,および更新した発行回数を更新してメモリー17の帳簿データ用作業領域の対応の位置に記憶させると共に、当該取引月日の前で直近の取引データがある場合にはページ数項目43から当該ページの1ページ以降のデータについて順次そのデータをメモリー17の帳簿データ用作業領域の対応の行に記憶させ、その直近の日の取引データについての処理が終った後に、続く行から当該取引付日以降の取引データについて、順次そのデータをメモリー17の帳簿データ用作業領域の該当行に記憶させると共に、取引レコード41のページ数項目43の内容を更新する。記帳する取引データの数が帳簿の残存行数を超える場合には帳簿の更新のために帳簿データ用作業領域のデータを印字部33に送出する(帳簿データ用作業領域のデータはクリアされる)。印字部33は帳簿用紙上に送られてきたデータをイメージ化して印字することにより更新帳簿を発行する。
In this case, the book code, the book name, the number of pages, and the updated number of issuances are updated and stored in the corresponding positions in the work area for book data in the
次に、ページ数に1を加えてから、続く取引データについて順次その記録内容をメモリー17の帳簿データ用作業領域の1行目から順に記憶させると共に、仕訳レコード60のページ数項目43の内容を更新する。記帳する取引データの数が帳簿の残存行数を超える場合には帳簿の更新のために帳簿データ用作業領域のデータを印字部33に送出する(帳簿データ用作業領域のデータはクリアされる)。印字部33は帳簿用紙上に送られてきたデータをイメージ化して印字することにより更新帳簿を発行する。この動作を繰返して記帳した最後の取引データの行が帳簿の最大行数以内になった場合には、該当の帳簿管理レコード60の最終印字ページ項目64,最終印字行項目65,前回印字月日項目67,及び再発行項目68の再発行ページおよび再発行回数を更新して処理を終了する。
Next, after adding 1 to the number of pages, the recorded contents of subsequent transaction data are sequentially stored from the first line of the book data work area of the
また、上記ステップS41,S81で印字部33が無効帳簿にマークを印字するものとしたが、マークの印字に限られることなく、例えば、帳簿上に「無効帳簿」と拡大文字で印字するようにしてもよい。
In addition, the
また、図4の説明で述べたように帳簿管理ファイルを主とし取引データを従とするよう構成し、帳簿管理データに取引データとを関連づけるポインタを設けた場合には、ステップS82での取引ファイルのページ数項目43の参照および更新に関する処理は不要となる。
Further, as described in the explanation of FIG. 4, when the book management file is set as the main and the transaction data is set as the subordinate, and a pointer for associating the book management data with the transaction data is provided, the transaction file in step S82 The processing relating to the reference and update of the
なお、印字姿勢決定部331は図8(b)に示すように前述した傾き検出手段1により検出された傾きだけ出力データの印字位置情報を補正する印字位置情報補正手段6を含んでおり、印字位置情報補正手段6は用紙がだけ傾いているときその規定用紙のそれぞれの開始座標(x,y)および終了座標(x+a,y)を補正する。また、印字姿勢補正手段7は帳簿55が傾きθだけ傾いている場合に、出力バッファ(図示せず)でθだけ回転させたイメージデータ(文字のドットイメージ)を印字機構332に送る。これによりイメージデータは帳簿の傾きに合ったドットイメージとして出力されるので、帳簿55のを傾きゼロにした場合にもデータを正しい姿勢で印字できる。本実施例の認識処理部323および印字姿勢決定部331の構成及び動作については、本案出願人が平成7年8月16日に出願した「印字位置決定機能付プリンタ」(特願平7−232021号)に開示の手法を用いることができる。
As shown in FIG. 8B, the printing
<実施例2>
本実施例は、帳簿発行管理装置100が帳簿55上の今回印字行の記入内容を判定する例であり、図1〜図6については本実施例にそのまま適用できるので説明を省略する。
<Example 2>
The present embodiment is an example in which the book
本実施例では図7のステップS7以降の動作が実施例1の場合と異なる。実施例1ではステップS7において、記帳確認手段143により取引データの変更内容を帳簿に反映可能か否かの確認を行う場合に、訂正取引データや遡及記入取引データの存在による帳簿の更新発行の必要性の判定及び更新処理を行い、訂正取引データや遡及記入取引データが存在がない場合には単に、当該帳簿の今回印字行から順次取引データの内容を印字して記帳することができるものとして記帳処理を行なっているが、本実施例では訂正取引データや遡及記入取引データの存在がない場合にも当該帳簿の今回印字行に手書き(或いは印字)による記帳がされているか否かの判定とその判定結果に基づく処理を行う。 In the present embodiment, the operation after step S7 in FIG. 7 is different from that in the first embodiment. In the first embodiment, it is necessary to issue an update of the book due to the presence of the corrected transaction data or retroactive transaction data when it is confirmed in the step S7 by the book confirmation means 143 whether or not the transaction data changes can be reflected in the book. If there is no correction transaction data or retroactive transaction data, the transaction data will be printed and recorded sequentially from the current print line of the book. In this embodiment, even if there is no correction transaction data or retroactive transaction data, it is determined whether or not a handwritten (or printed) entry has been made in the current print line of the book. Processing based on the determination result is performed.
図9は、図7のステップS6で訂正取引データや遡及記入取引データの存在がない場合の本実施例による動作例を示すフローチャートである。図9のステップS6−10の判定で訂正取引データや遡及記入取引データが存在する場合にはステップS8に移行し、存在しない場合にはステップS6−11に移行する。 FIG. 9 is a flowchart showing an operation example according to this embodiment when there is no corrected transaction data or retroactive transaction data in step S6 of FIG. If correction transaction data or retroactive transaction data exists in the determination in step S6-10 of FIG. 9, the process proceeds to step S8, and if not, the process proceeds to step S6-11.
ステップS6−11では、CPU12はコントローラ31を介して読取部32に対し帳簿の今回印字行j以降の文字認識指示を出す。読取部32は認識処理部323により帳簿イメージデータから帳簿のj行を切出して、順次文字認識して結果をCPU12に送出する。
In step S <b> 6-11, the
ステップS6−12で、認識結果である取引の発生月日、摘要,貸方金額または借方金額と、対応する取引データの年月日項目47,貸方金額項目49,および借方金額項目50の内容との比較を行い、いずれか1つでも異なっている場合には、ステップS6ー13に移行する。一致している場合には認識結果を編集して原稿イメージの作業領域の当該行対応位置に記憶させ、次の行について同様の比較を繰返す。
In step S6-12, the transaction occurrence date, description, credit amount or debit amount as a recognition result and the contents of the corresponding transaction
ステップS6−13ではその行が未記入行(スペース)か否かを確認し、未記入行の場合にはS9に移行し、そうでない場合にはS81の更新帳簿発行処理に移行する。 In step S6-13, it is confirmed whether or not the line is an unfilled line (space). If it is an unfilled line, the process proceeds to S9, and if not, the process proceeds to an update book issuing process in S81.
11 制御部
12 CPU
14 帳簿発行管理手段
17 内部メモリー
18 格納部
10 コンピュータ本体
20 入力部
30 読取・印字部
31 コントローラ
32 読取部
33 印字部
40 表示部
41 取引データ
47 取引発生年月日
55 帳簿
60,60 帳簿管理レコード
64 最終印字ページ(最終記帳ページ)
65 最終印字行(最終記帳行)
67 前回印字月日
68 再発行項目
100 管理装置
141 帳簿管理情報比較手段
142 データ判定手段
143 記帳確認手段
145 新規登録手段
147 再発行手段
221 帳簿コード(帳簿管理情報;再発行情報)
224 ページ(帳簿管理情報;再発行情報)
224 再発行回数(帳簿管理情報;再発行情報)
323 認識処理部
331 印字姿勢決定部
11 Control unit
12 CPU
14 Book issue management means
17 Internal memory
18 Storage
10 Computer body
20 Input section
30 Reading / printing section
31 controller
32 Reading unit
33 Printing section
40 display section
41 Transaction data
47 Date of transaction
55 books
60,60 book management record
64 Last printed page (last entry page)
65 Last print line (last book line)
67 Last printing date
68 Reissue items
100 management device
141 Book management information comparison means
142 Data judging means
143 Booking confirmation means
145 New registration means
147 Reissue means
221 book code (book management information; reissue information)
224 pages (book management information; reissue information)
224 Number of reissues (book management information; reissue information)
323 Recognition processing unit
331 Print orientation determination unit
Claims (5)
前記コンピュータ本体に、下記(1)から(5)に記載のステップを実行させることを特徴とする帳簿管理発行方法;
(1)読み取った帳簿の認識結果を基に帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照するステップと、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較するステップと、からなるステップと、上記比較結果が一致しない場合には、前記読み取った帳簿上に無効印字処理を行うステップ;
(2)上記認識結果を基に取引データファイル上の上記読み取った帳簿に対応する取引データを参照するステップと、未記帳の取引データの有無を判定するステップと、からなるステップ;
(3)未記帳の取引データがあった場合に、上記読み取った帳簿に上記未記帳の取引データの記帳が可能か否かを確認するステップと、記帳可能な場合には該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なうステップと、記帳が不可能な場合には前記読み取った帳簿上に無効印字処理を行なうステップと、新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うと共に帳簿管理ファイルを更新するステップと、からなるステップ;
(4)新たな帳簿の発行或いは帳簿のページ替えのために帳簿管理情報を記帳し帳簿管理レコード上の帳簿管理情報の更新処理を行うステップ;
(5)入力装置からの帳簿再発行情報により、該帳簿再発行情報に基づいて帳簿管理ファイルを参照するステップと、対応の帳簿管理レコード上の帳簿管理情報の更新処理を行い、前記読み取った帳簿に対応する帳簿の発行処理を行うステップ。 A computer main body having a CPU, an internal memory, a storage unit storing at least a book management file and a transaction data file, and a storage unit for writing / reading information to / from the storage medium; An optical reading mechanism that optically reads a form including the image and converts it into image data, and a reading unit including a recognition processing unit that cuts out a predetermined area from the image data, performs character recognition processing, and sends a recognition result to the main body And a printing unit that has a printing mechanism and performs bookkeeping by converting the book registration information and / or transaction data received from the main body into image data and printing it on the book, and under the control of the control unit An input unit for inputting an instruction relating to book issuance or transaction data, and book management information and / or transaction data received from the main body. A book issuing management method in carrying issuing management device including a display unit for screen display of,
A book management issuance method characterized by causing the computer main body to execute the following steps (1) to (5);
(1) A step of referring to a book management record corresponding to the read book in the book management file based on a recognition result of the read book, book management information described in the read book, and the book management record A step of comparing the book management information with each other and a step of performing an invalid printing process on the read book if the comparison result does not match with the step comprising:
(2) A step comprising: referring to transaction data corresponding to the read book on the transaction data file based on the recognition result; and determining whether or not there is unrecorded transaction data;
(3) When there is unrecorded transaction data, a step of confirming whether or not the unrecorded transaction data can be recorded in the read book; A step of performing a bookkeeping process from the next line of the bookkeeping line, a step of performing an invalid printing process on the read book if the bookkeeping is impossible, a registration of book management information on a new book sheet, and Performing a transaction processing of transaction data after the date of occurrence of unrecorded transaction data and updating a book management file;
(4) A step of recording the book management information for issuing a new book or changing the page of the book and updating the book management information on the book management record;
(5) By referring to the book reissue information from the input device, referring to the book management file based on the book reissue information, updating the book management information on the corresponding book management record, and reading the book A step of issuing a book corresponding to
a;未記帳の取引データがあった場合に、上記読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認するステップと、
b;記帳が不可能な場合には前記読み取った帳簿上に無効印字処理を行ない新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行うステップと、
c;記帳可能な場合には読取部の認識処理部に該読み取った帳簿の前回記帳行の次の行の認識処理を行わせるステップと、
d;前記認識結果を基に取引データファイル上の該読み取った帳簿に対応する取引データを参照し、上記cの認識処理結果と対応する取引データとを比較して一致する場合には、次の行の認識のために上記cのステップに戻るステップと、
からなるステップである、ことを特徴とする帳簿管理発行方法。 The book issue management method according to claim 1, wherein the step (3) includes:
a; a step of confirming whether or not the unbooked transaction data can be recorded in the read book when there is unrecorded transaction data;
b: When it is impossible to book, the invalid printing process is performed on the read book, the book management information is registered on the new book sheet, and the transaction data is recorded after the transaction data generation date of the unrecorded book Steps,
c; causing the recognition processing unit of the reading unit to perform a recognition process for the next line of the previous book line of the read book, if possible.
d; referring to the transaction data corresponding to the read book on the transaction data file based on the recognition result, and comparing the recognition processing result of c and the corresponding transaction data, Returning to step c above for line recognition;
A book management issuing method characterized by comprising the steps of:
前記帳簿発行管理装置のコンピュータに、
前記読取部からの読み取った帳簿の認識結果を基に、前記帳簿管理ファイル上の該読み取った帳簿に対応する帳簿管理レコードを参照し、読み取った帳簿に記載されていた帳簿管理情報と該帳簿管理レコード上の帳簿管理情報とを比較する機能と、
上記比較結果が一致しない場合には、前記印字機構を制御して前記読み取った帳簿上に無効印字処理を行わせる機能と、
前記認識結果を基に取引データファイル上の前記読み取った帳簿に対応する取引データを参照し、未記帳の取引データの有無を判定する機能と、
上記判定により、未記帳の取引データがあった場合に、前記読み取った帳簿に該未記帳の取引データの記帳が可能か否かを確認する機能と、記帳可能な場合には前記印字部を制御して該読み取った帳簿の前回記帳行の次の行からの記帳処理を行なわせる機能と、記帳が不可能な場合には前記印字部を制御して前記読み取った帳簿上に無効印字処理を行なわせてから新たな帳簿用紙上に帳簿管理情報の登録および当該未記帳の取引データ発生日以降の取引データの記帳処理を行なわせると共に帳簿管理ファイルを更新する機能と、
新たな帳簿の発行或いは帳簿のページ替えのために前記印字部を制御して帳簿管理情報を記帳させると共に帳簿管理レコード上の帳簿管理情報の更新処理を行う機能と、
入力装置からの帳簿再発行情報に基づいて帳簿管理ファイルを参照し、対応する帳簿管理レコード上の帳簿管理情報の更新処理を行い、前記読み取った帳簿に対応する帳簿の発行処理を行う機能と、
を実行させる帳簿発行管理プログラム。 A main body having a computer, an internal memory, a storage unit storing at least a book management file and a transaction data file, and a storage unit for writing / reading information to / from the storage medium; An optical reading mechanism for optically reading a form and converting it into image data; a reading unit including a recognition processing unit for cutting out a predetermined area from the image data, performing character recognition processing, and sending a recognition result to the main body; A printing unit that has a printing mechanism and converts the book registration information and / or transaction data received from the main body into image data and prints it on the book, and book issuance under the control of the computer An input section for inputting instructions or transaction data, and book management information and / or transaction data received from the main body. A book issuing management program in carrying issuing management device including a display unit for screen display of,
In the computer of the book issue management device,
Based on the recognition result of the book read from the reading unit, the book management record corresponding to the read book in the book management file is referred to, and the book management information and the book management described in the read book A function to compare the book management information on the record;
If the comparison results do not match, a function for controlling the printing mechanism to perform an invalid printing process on the read book;
A function of referring to the transaction data corresponding to the read book on the transaction data file based on the recognition result, and determining the presence or absence of unrecorded transaction data;
Based on the above determination, when there is unrecorded transaction data, a function for confirming whether or not the unrecorded transaction data can be recorded in the read book, and if it can be recorded, the printing unit is controlled. And a function for performing the book-recording process from the line following the previous book line of the read book, and if the book is not possible, the print unit is controlled to perform invalid print processing on the read book. A function for registering the book management information on a new book form and performing the bookkeeping process of the transaction data after the date of occurrence of the unbooked transaction data and updating the book management file;
A function of controlling the printing unit to issue a new book or change the page of the book to record the book management information and update the book management information on the book management record;
A function of referring to the book management file based on the book reissue information from the input device, updating the book management information on the corresponding book management record, and issuing the book corresponding to the read book;
Book issuance management program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006039607A JP2006216067A (en) | 2006-02-16 | 2006-02-16 | Program and method for managing issuance of accounting book, and recording medium therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006039607A JP2006216067A (en) | 2006-02-16 | 2006-02-16 | Program and method for managing issuance of accounting book, and recording medium therefor |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP06529496A Division JP3790575B2 (en) | 1996-02-27 | 1996-02-27 | Book issue management device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006216067A true JP2006216067A (en) | 2006-08-17 |
Family
ID=36979193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006039607A Pending JP2006216067A (en) | 2006-02-16 | 2006-02-16 | Program and method for managing issuance of accounting book, and recording medium therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006216067A (en) |
-
2006
- 2006-02-16 JP JP2006039607A patent/JP2006216067A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100314637B1 (en) | Handwriting data input device with coordinate detection tablet | |
JPH0736979A (en) | Security exchange processor | |
JP6154209B2 (en) | Customer guidance system and customer guidance method | |
JP6681235B2 (en) | Deposit machine, deposit record printing method and program | |
JP3790575B2 (en) | Book issue management device | |
JP3904292B2 (en) | Auxiliary book interlocking bookkeeping device | |
JP3892535B2 (en) | Book issue management device | |
JP2922140B2 (en) | Window management system and window management method | |
JP6672593B2 (en) | Information processing apparatus and program | |
JP2006216067A (en) | Program and method for managing issuance of accounting book, and recording medium therefor | |
JP4041834B2 (en) | Auxiliary book automatic interlocking device, auxiliary book interlocking processing method, and computer-readable recording medium recording program | |
US8223367B2 (en) | Document processing apparatus and method for creating an image of information identifying a document | |
US20020003899A1 (en) | Method for determination of input data in sheet handling apparatus | |
JP6974264B2 (en) | Transaction processing system and transaction processing method | |
JP2015005155A (en) | Clientele guidance system and clientele guidance method | |
JPH10222760A (en) | Pos terminal device | |
JP6095499B2 (en) | Customer guidance system and customer guidance method | |
JP2015005156A (en) | Clientele guidance system and clientele guidance method | |
JPH091889A (en) | Apparatus for registering passbook | |
JP2001101482A (en) | Bankbook processing system | |
JP2001195636A (en) | Image data recognizing device of automatic transaction device | |
JP2014219819A (en) | Character recognition device and method therefor | |
JP2019159757A (en) | Automatic transaction device and automatic transaction system | |
JP2020035487A (en) | Money receipt machine, money receipt record printing method, program and printer | |
JP6191180B2 (en) | Program, error determination method, and error determination device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070313 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070710 |