JP3766854B2 - Data processing device - Google Patents

Data processing device Download PDF

Info

Publication number
JP3766854B2
JP3766854B2 JP17564499A JP17564499A JP3766854B2 JP 3766854 B2 JP3766854 B2 JP 3766854B2 JP 17564499 A JP17564499 A JP 17564499A JP 17564499 A JP17564499 A JP 17564499A JP 3766854 B2 JP3766854 B2 JP 3766854B2
Authority
JP
Japan
Prior art keywords
information
transfer
item
posting
storage means
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.)
Expired - Fee Related
Application number
JP17564499A
Other languages
Japanese (ja)
Other versions
JP2001005886A (en
Inventor
充治 神谷
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP17564499A priority Critical patent/JP3766854B2/en
Publication of JP2001005886A publication Critical patent/JP2001005886A/en
Application granted granted Critical
Publication of JP3766854B2 publication Critical patent/JP3766854B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、納品書等の転記元情報を得意先元帳等の転記先情報に自動的に転記するデータ処理装置に関する。
【0002】
【従来の技術】
近年、納品書の伝票情報等の帳票を作成、修正する際に、データ処理装置が利用されている。従来手書きで行われていた事務処理は、この様なデータ処理装置により機械化されることにより、以下の様な効果が得られた。(1)1度の入力操作により、複数の記帳が可能である。(2)計算処理や印刷処理を迅速且つ正確に行える。(3)1度入力されたデータの並び替え、印刷等の処理が容易である。
【0003】
この様なコンピュータによるデータ処理の特長を活かした事務処理を実現するために、データ処理装置の管理者等が必要なプログラム、ファイル等を事務処理ごとに個別に設計、開発していた。
【0004】
【発明が解決しようとする課題】
しかしながら、従来のデータ処理装置によるデータ処理では、以下の様に手書き事務処理の特長が失われるという問題点があった。以下、手書き事務処理の例として納品伝票、入金伝票の発行と得意先元帳への転記、印刷を例に説明する。
【0005】
納品書、入金伝票、得意先元帳は記帳、転記された情報が各々のファイルに一旦保存されるが、ファイルの内容は帳票イメージと大きく異なるため、ユーザは、ファイルを見ても記帳内容を容易に把握することができない。また、帳票を保存するファイルの構造は、ファイルの設計者により作成されるため、一般のユーザが必要に応じて帳票レイアウト等を簡単に変更することはできない。
【0006】
また、納品書、入金伝票、得意先元帳等の帳票レイアウトは導入する企業ごとに異なる。そのため、それらの帳票に合わせて機械化するためには、業務知識やコンピュータ処理に関する知識を有する管理者がプログラムを開発する必要がある。しかし、一般に、係る開発コストは機械化により削減される人件費等のコストと比較して高いため、従来通り手書き事務処理を継続せざるを得ないユーザも多数存在する。
【0007】
また、帳票は各ファイルごとに用意された表示印刷プログラムを通して見ることしかできないため、プログラムの内容次第で帳票出力イメージが実際の印刷帳票とは異なる。加えて、表示・印刷の操作手順も帳票ごとに異なり、ユーザは、個別に操作手順を覚える必要がある。更に、事務処理の中には、高度な分析や集計が必要ではなく、単に伝票が正確に発行でき、情報管理上必要とする帳票に正確に転記、集計することさえできれば、事務処理の目的が達成される業務が多数存在する。
【0008】
本発明の課題は、納品書等の転記元情報を得意先元帳等の転記先情報に自動的に転記できるデータ処理装置及び記憶媒体を提供することである。
【0009】
【課題を解決するための手段】
請求項1記載のデータ処理装置は、複数の転記元情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記元情報記憶手段と、この転記元情報記憶手段に記憶された転記元情報を当該転記元情報に対応する項目情報と共に表示する転記元情報表示手段と、複数の転記先情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記先情報記憶手段と、この転記先情報記憶手段に記憶された転記先情報を当該転記先情報に対応する項目情報と共に表示する転記先情報表示手段と、を備えたデータ処理装置において、
前記転記元情報記憶手段に記憶された任意の項目情報と前記転記先情報記憶手段に記憶された任意の項目情報とを各々別に指定する入力手段と、この入力手段による入力指示に基づいて、転記の際の転記元情報と転記先情報間の対応関係を定義する転記定義情報を生成する転記定義情報生成手段と、前記転記元情報記憶手段は、前記転記先情報記憶手段の所定の項目に転記される日付情報と、帳票ごとに割り当てられ当該帳票の締日単位を設定する締日単位情報を記憶し、前記日付情報と前記締日単位情報に基づいて、前記転記先情報記憶手段の中から転記先となる帳票の頁を特定する頁特定手段と、前記転記定義情報生成手段により生成された転記定義情報に従って、前記転記元情報記憶手段に記憶された所定の項目情報に対応する転記元情報を、転記先情報記憶手段の前記頁特定手段で特定された頁の所望の項目に転記する転記手段と、を備えたことを特徴としている。
【0011】
したがって、転記元情報の項目と転記先情報の項目との関連付けによる表示画面上の簡単な指示により転記元情報を転記先情報に自動的に転記できるので、データベース言語等の専門知識やデータファイル設計の知識等をもたない一般のユーザであっても、手書き事務処理をする感覚で事務処理を機械化することができる。このため、業務知識のある人であれば、導入企業の帳票フォーマットに沿った電子帳票化を短期間で行うことが可能となり、従来外部に支払っていた高額なプログラム開発コストの削減も可能となる。また、転記済帳票上におけるデータの並び順や転記位置の指定、変更を迅速且つ正確に行うことができる。
【0012】
【発明の詳細な説明】
以下、図を参照して本発明の実施の形態を詳細に説明する。
最初に構成を説明する。図1は、本発明に係るデータ処理装置1の概略構成を示すブロック図である。図1において、データ処理装置1は、CPU2、入力装置3、RAM4、表示装置5、記憶媒体6aを備えた記憶装置6、印刷装置7により構成され、記憶媒体6aを除く各部はバス8により接続されている。
【0013】
CPU2は、記憶装置6に記憶されている当該データ処理装置1に対応する各種アプリケーションプログラムの中から指定されたアプリケーションプログラム、入力装置3から入力される各種指示或いはデータをRAM4内のワークメモリエリアに格納し、この入力指示及び入力データに応じてRAM4内に格納したアプリケーションプログラムに従って各種処理を実行し、その処理結果をRAM4内のワークメモリエリアに格納するとともに、表示装置5に表示させる。そして、ワークメモリエリアに格納した処理結果を入力装置3から入力指示される記憶装置6内の記憶媒体6aの保存先に保存する。
【0014】
また、CPU2は、後述する転記定義情報生成処理(図9参照)において、転記元帳票の帳票定義情報61a及び転記先帳票の帳票定義情報61bを表示装置5に描画させ、転記先帳票IDに基づいて転記定義ファイルを生成し、記憶装置6内の転記定義ファイルに転記先帳票IDを記録し、帳票索引項目の有無を判定し、転記定義の転記先、転記元の項目番号等を記録し、転記項目の有無を判定し、転記定義ファイルをクローズする。
【0015】
また、CPU2は、後述する転記情報生成処理(図16参照)において、記憶装置6から帳票定義ファイルを読み出し、帳票固定フォーム描画情報を表示装置5に表示させ、表示装置5への帳票表示、入力装置3による帳票入力及び、印刷装置7による帳票印刷処理を行い、記憶装置6への帳票保存が必要であるか否かを判定し、記帳情報ファイルにデータを書き出し、記憶装置6内の転記定義ファイルの読み出しを行い、転記定義情報の有無を判定し、最終転記項目であるか否かを判定する。
【0016】
また、CPU2は、後述する転記処理(図18参照)において、記憶装置6から転記情報ファイルを読み出し、帳票IDに基づいて転記先ファイルをオープンし、帳票索引項目から転記先頁を検索し、該当頁の有無を判定し、明細部の転記が必要であるか否かを判定し、カウントされた最終明細行が最大明細行内に収まるか否かの判定を行い、帳票連番と項目位置から情報IDを計算し、記憶装置6内の記帳情報ファイルに転記データの書き込みを行う。
【0017】
また、CPU2は、後述する転記頁検索処理(図19参照)において、転記情報部から転記先帳票IDを取得し、転記情報部から締日単位日付を取得し、帳票IDの帳簿管理部から締日区分を取得し、帳票IDの帳簿管理部から締日基準日を取得し、締日基準日が年次単位であるか否かを判定し、締日基準日が月次単位であるか否かを判定し、計算日付を検索日付にセットし、帳票IDの帳票索引部内の締日単位日付を検索し、検索日付の有無を判定し、帳票IDの記帳情報部での新規頁位置を計算し、検索日付を記憶装置6内の帳票索引部の締日単位日付に記録し、新規頁位置を帳票索引部の頁位置に記録する。
【0018】
また、CPU2は、後述する転記頁検索処理(図21参照)において、転記情報部から転記先帳票IDを取得し、転記情報部から締日単位日付を取得し、帳票IDの帳簿管理部からコード格納先を取得し、転記情報部から連番1の索引データを取得し、帳票IDの帳簿管理部から索引帳票IDを取得し、索引帳票のコード項目番号を取得し、検索データに基づいて索引帳票IDの帳票索引部内を索引し、検索帳票IDの記帳情報部から締日基準を取得し、締日基準から月次日付を計算し、計算日付を検索日付にセットし、帳票IDの帳票索引部内の連番1を検索データで検索し、データの有無を判定し、検索日付の有無を判定し、検索データを帳票索引部連番1に記録し、帳票IDの記録情報部頁位置を取得する。
【0019】
また、CPU2は、後述する修正転記データ生成処理(図23参照)において、帳票定義部からデータブロック番号、項目番号を取得し、帳票定義部内の転記元データブロック番号、項目番号を検索し、対象項目が転記定義項目であるか否かを判定し、対応する転記先の種類、番号、項目番号、処理を取得し、転記定義部の帳票ID、帳票索引項目番号を取得し、転記情報部の帳票IDに転記先帳票IDを記録し、帳票記帳部から帳票索引項目番号のデータを取得し、転記情報部の帳票索引項目に上記データを記録し、転記情報部の転記先の種類、番号、項目番号、処理を記録し、当該処理における転記の種類を判定し、次のデータ修正の有無の判定を行う。
【0020】
また、CPU2は、後述する修正データ転記処理(図24、25参照)において、転記先頁の特定を行い、帳票IDの記帳情報部頁位置を取得し、転記情報部の転記先の転記種類及び処理の種類を取得し、処理の種類の判定を行い、転記先帳票IDの帳票索引項目から帳票連番を取得し、帳票連番と転記先番号、項目番号、行番号で情報IDを生成し、記憶装置6内の記帳情報部の頁最終行に色、表示属性を記憶し、記帳情報部の最終行に転記先ID、情報ID、データを記憶し、対象項目が転記最終項目であるか否かの判定を行う。
【0021】
入力装置3は、カーソルキー、数字入力キー及び各種機能キー等を備えたキーボードと、ポインティングデバイスであるマウスと、を備え、キーボードで押下されたキーの押下信号をCPU2に出力するとともに、マウスによる操作信号をCPU2に出力する。
【0022】
RAM4は、上記CPU2により実行される上記各処理に必要なファイル及びパラメータを格納するメモリエリアを形成している。また、RAM4は、上記CPU2により実行される各種処理において記憶装置6から取得される各種項目に該当する各種データを格納する。
【0023】
表示装置5は、CRT、液晶表示装置等により構成され、CPU2から入力される各種表示データを表示し、例えば、上記CPU2により実行される各種処理に必要なパラメータを入力する入力画面、或いは上記各処理において作成された帳票データ等を表示する。印刷装置7は、CPU2から入力される印字データを所定の記録紙に印字して出力する。
【0024】
記憶装置6は、プログラムやデータ等が予め記憶されている記憶媒体6aを有しており、この記憶媒体6aは磁気的記録媒体、光学的記録媒体、若しくは半導体メモリで構成されている。この記憶媒体6aは記憶装置6に固定的に設けたもの、若しくは着脱自在に装着するものであり、この記憶媒体6aには当該データ処理装置1に対応する各種アプリケーションプログラム、及び各処理プログラムで処理されたデータ等を記憶する。
【0025】
また、この記憶媒体6aに記憶するプログラム、データ等は、通信回線等を介して接続された他の機器から受信して記憶する構成にしてもよく、更に、通信回線等を介して接続された他の機器側に上記記憶媒体6aを備えた記憶装置を設け、この記憶媒体6aに記憶されているプログラム、データ等を通信回線を介して使用する構成にしてもよい。
【0026】
次に、本実施の形態における記憶装置6に格納されている転記処理に必要な各種ファイルについて図2のファイル構成図を参照して説明する。
【0027】
帳票定義ファイル61は、帳票定義に従って作成された転記元帳票定義情報61a(図3参照)、転記先帳票定義情報61b(図6参照)が記憶されている帳票定義部である。この帳票定義部は、項目定義番号、描画範囲、描画書式の各項目により構成され、当該ファイル内のデータは、各帳票IDに対応する帳票ごとに記憶されている。
【0028】
転記定義ファイル62は、帳票間で作成された転記定義情報62a(図12参照)が記憶されている転記定義部である。この転記定義部には、図13に示す様に、転記先帳票の頁を特定する帳票索引項目と転記元帳票項目の関連付け情報と転記元帳票項目と転記先帳票項目との関連付け情報が転記先帳票IDごとに記憶されている。
【0029】
記帳情報ファイル63は、入力、索引、計算、転記等の処理がなされた帳票項目データが各帳票ID単位で記憶されている記帳情報部である。この記帳情報部には、図14に示す様に、各情報IDごとに対応する記帳データ情報が、記帳データの表示・非表示の種別、記帳データの表示色と共に記憶されている。
【0030】
転記情報ファイル64は、転記定義された項目に対して前記入力等の処理がなされた際に、転記定義ファイル62に記憶された情報に従って、自動的に生成される転記情報64aが記憶されている転記情報部である。この転記情報部には、図17に示す様に、情報ID等の転記元帳票情報に対応する項目番号等の転記先帳票情報が各レコードごとに対応付けて記憶されている。
【0031】
帳票管理ファイル65は、帳票の頁単位に印刷日時、記帳日時、転記日時が記憶されている帳票管理部である。この帳票管理部には、帳票明細の定義情報に基づいて、明細ブロック別に最大行数、記帳済み行数、印刷済み行数等の情報が記憶されている。
【0032】
帳票索引ファイル66は、帳票の頁記憶領域を索引する際に必要な帳票索引項目が記憶されている帳票索引部である。また、帳簿管理ファイル67は、帳票の集合体である帳簿の状態や帳簿の照会レベル等、帳簿単位で管理を行う情報が記憶されている帳簿管理部である。
【0033】
次に動作を説明する。本実施の形態において、CPU2により実行される転記定義情報生成処理について図9のフローチャートを参照して詳細に説明する。
【0034】
最初に、CPU2は、図3に示す帳票定義情報61aに基づいて、入力装置3からの入力操作により指定された転記元帳票の帳票定義データ600(図4参照)を描画する(ステップS1)。また、この帳票定義データ600に基づいて作成される転記元帳票の一例を転記元帳票610として図5に示す。
【0035】
同様に、CPU2は、図6に示す帳票定義情報61bに基づいて、入力装置3からの入力操作によって指定された転記先帳票の帳票定義データ620(図7参照)を描画する(ステップS2)。また、この帳票定義データ620に基づいて作成される転記先帳票の一例を転記先帳票630として図8に示す。
【0036】
次に、CPU2は、転記先帳票IDに基づいて転記定義ファイルを生成する(ステップS3)。そして、転記定義情報内の帳票IDに基づいて、ステップS3で生成された転記定義ファイルに転記先帳票IDを記録する(ステップS4)。次に、CPU2は、帳票索引項目の有無を判定し(ステップS5)、帳票索引項目がある場合(ステップS5;Yes)、指定された転記元帳票の項目位置により項目番号を取得し(ステップS6)、転記定義の帳票索引項目に項目番号を記録する(ステップS7)。そして、再度ステップS5に戻り、CPU2は、ステップS5〜S7の処理を帳票索引項目がなくなるまで繰り返し実行する。また、ステップS5において、帳票索引項目が無い場合、ステップS8以降の処理に移行する。
【0037】
次に、CPU2は、入力装置3からの入力操作によって指定された転記元帳票の項目位置により項目番号を取得する(ステップS8)。同様に、CPU2は、入力装置3からの入力操作によって指定された転記先帳票の項目位置により項目番号を取得する(ステップS9)。
【0038】
次に、ユーザの入力装置3からの入力操作によって、転記、集計等の転記種類が選択されると(ステップS10)、CPU2は、転記定義の転記先、転記元の項目番号等を記録する(ステップS11)。そして、転記項目の有無を判定し(ステップS12)、転記項目がある場合(ステップS12;Yes)、再度ステップS8に戻り、CPU2は、ステップS8〜S12の処理を転記項目がなくなるまで繰り返し実行する。
【0039】
また、ステップS12において、転記項目が無い場合(ステップS12;No)、CPU2は、転記定義ファイルをクローズし(ステップS13)、当該転記定義情報生成処理を終了する。
【0040】
次に、上記各処理に基づく具体的処理例として、図10〜15に示す実際の表示画面及び定義情報等を参照して転記定義情報生成方法を説明する。
【0041】
図10は、帳票の転記定義ファイル62に格納される転記定義情報62a(図13参照)に基づいて実行される転記元帳票定義データ600から転記先帳票定義データ620への転記処理の概要を示す図である。また、図11は、転記情報ファイル64に格納される後述の転記情報64a(図17参照)を介して実行される転記元帳票定義データ600から転記先帳票定義データ620への転記処理の概要を示す図である。即ち、転記元帳票の各項目に割当てられた転記元情報は、転記定義ファイル62に格納された転記定義情報、及び、転記情報ファイル64に格納された転記情報に基づいて、当該転記元情報に対応する転記先帳票の各項目に転記される。
【0042】
図12は、転記元帳票定義データ600と転記先帳票定義データ620において、ヘッダ部の各情報の転記処理を示す図である。図12において、転記元帳票のヘッダ部に割り当てられた“帳票連番”、“伝票日付”、“得意先連番”の各転記元情報は、矢印で示された転記先帳票の各項目を転記先項目として転記される。
【0043】
図13は、納品書から得意先元帳へ転記する際に転記定義ファイル62に格納される転記定義情報62aを示す図である。図13において、転記定義情報62aには、転記対象となる帳票の“帳票索引項目”と、“転記元定義情報”と、“転記先定義情報”の各情報が格納されている。即ち、転記元定義情報の各項目に対応する転記先帳票の“転記種類”、“記載部の種別”、“項目No”、“処理の種類”が定義されている。
【0044】
図14は、記帳情報ファイル63に格納される転記元帳票の記帳情報63aを示す図である。即ち、記帳情報ファイル63には、“帳票名”、“帳票ID”、“記載部の種別”、“記載行”、“情報ID”、“表示色”、“表示・非表示の種別”、“表示データ”等の各記帳情報が格納されており、CPU2は、これらの記帳情報に基づいて表示データの配置等を行い、図5に示した転記元帳票を表示装置5に表示させる。
【0045】
図15は、記帳情報ファイル63に格納される転記先帳票の記帳情報63bを示す図である。即ち、記帳情報ファイル63には、“帳票名”、“帳票ID”、“記載部の種別”、“記載行”、“転記元ID”、“情報ID”、“表示色”、“表示・非表示の種別”、“表示データ”等の各記帳情報が格納されており、CPU2は、これらの記帳情報に基づいて表示データの再配置等を行い、図8に示した転記先帳票を表示装置5に表示させる。
【0046】
次に、本実施の形態において、CPU2により実行される転記情報生成処理について図16のフローチャートを参照して詳細に説明する。
【0047】
まず、CPU2は、帳票定義ファイルを読み出し(ステップS21)、帳票固定フォーム描画情報を表示装置5に表示させる(ステップS22)。次に、CPU2は、表示装置5への帳票表示処理、入力装置3による帳票入力処理、印刷装置7による帳票印刷処理を行う(ステップS23)。
【0048】
次に、CPU2は、ユーザの入力装置3からの指示入力の有無により、記憶装置6への帳票保存が必要であるか否かを判定する(ステップS24)。帳票保存が必要であれば(ステップS24;Yes)、CPU2は、帳票連番と項目位置に基づいて情報IDを計算する(ステップS25)。次に、CPU2は、記帳情報ファイルにデータを書き出し(ステップS26)、転記定義ファイルの読み出しを行う(ステップS27)。また、ステップS24において、帳票保存が必要でなければ(ステップS24;No)、ステップS25〜27の処理を省略してステップS28以降の処理に移行する。
【0049】
次に、CPU2は、転記定義情報の有無を判定し(ステップS28)、転記定義情報が有れば(ステップS28;Yes)、転記索引項目のデータを作成し(ステップS29)、転記定義情報から転記先項目データを作成し(ステップS30)、記帳情報から転記元項目データを作成する(ステップS31)。次に、CPU2は、最終転記項目であるか否かを判定し(ステップS32)、最終転記項目であれば(ステップS32;Yes)、転記情報ファイルに転記データの書込みを行う(ステップS33)。また、最終転記項目でなければ(ステップS32;No)、再度ステップS29に戻り、それ以降の処理を繰り返し実行する。
【0050】
そして、ステップS33の書込み処理終了後、ステップS28に戻り、CPU2は、再度転記定義情報の有無の判定を行う(ステップS28)。CPU2は、ステップS28〜33の処理を、転記定義情報が無くなるまで繰り返し実行し、ステップS28において、転記定義情報が無くなると(ステップS28;No)、当該転記情報生成処理を終了する。
【0051】
図17は、一連の転記情報生成処理によって生成された転記情報の一例を示す。図示の様に、当該転記情報64aは、転記対象となる帳票の“帳票索引項目”と、“転記元定義情報”と、“転記先定義情報”により構成されており、転記元定義情報の各項目に対応する転記先情報である“転記種類”、“記載部の種別”、“項目番号”、“処理の種類”の各情報を記録している。
【0052】
次に、本実施の形態において、CPU2により実行される転記処理について図18のフローチャートを参照して詳細に説明する。
【0053】
まず、CPU2は、転記情報ファイルを読み出し(ステップS41)、帳票IDから転記先ファイルをオープンし(ステップS42)、帳票索引項目から転記先頁を検索する(ステップS43)。次に、CPU2は、該当頁の有無を判定する(ステップS44)。ここで、該当頁があれば(ステップS44;Yes)、ステップS48以降の処理に移行し、該当頁がなければ(ステップS44;No)、帳票索引項目から新規頁を生成し(ステップS45)、帳票索引項目を帳票索引ファイルに記録し(ステップS46)、帳票管理データを帳票管理ファイルに記録する(ステップS47)。
【0054】
次に、CPU2は、明細部の転記が必要であるか否かを判定し(ステップS48)、必要であれば(ステップS48;Yes)、帳票管理ファイルの最終明細行数を読み出し(ステップS49)、最終明細行に+1をカウントする(ステップS50)。次に、CPU2は、ステップS50でカウントされた最終明細行が最大明細行内に収まるか否かの判定を行う(ステップS51)。なお、ステップS48において、明細部の転記が不要であれば(ステップS48;No)、CPU2は、ステップS49〜51の処理を省略して、ステップS52以降の処理に移行する。
【0055】
次に、ステップS51において、最大明細行内に収まる場合(ステップS51;Yes)、CPU2は、帳票連番と項目位置から情報IDを計算し(ステップS52)、記帳情報ファイルに転記データを書き込む(ステップS53)。そして、CPU2は、対象項目が最終転記項目であるか否かの判定を行う(ステップS54)。また、ステップS51において、最大明細行内に収まらない場合(ステップS51;No)、再度ステップS45に戻り、CPU2は、それ以降の処理を実行する。
【0056】
次に、ステップS54において、対象項目が最終転記項目である場合(ステップS54;Yes)、CPU2は、帳票管理データを帳票管理ファイルに記録し(ステップS55)、当該転記処理を終了する。また、対象項目が最終転記項目でない場合(ステップS54;No)、再度ステップS48に戻り、CPU2は、それ以降の処理を実行する。
【0057】
次に、本実施の形態において、図18のステップS43で転記先頁を検索する場合において、CPU2により実行される帳票締日単位の転記頁検索処理について図19のフローチャートを参照して詳細に説明する。
【0058】
まず、CPU2は、転記情報部から転記先帳票IDを取得する(ステップS61)。次に、CPU2は、転記情報部から締日単位日付を取得する(ステップS62)。次に、CPU2は、帳票IDの帳簿管理部から締日区分を取得する(ステップS63)。次に、CPU2は、帳票IDの帳簿管理部から締日基準日を取得する(ステップS64)。
【0059】
次に、CPU2は、ステップS64で取得された締日基準日が年次単位であるか否かを判定する(ステップS65)。年次単位であれば(ステップS65;Yes)、CPU2は、締日単位日付から年次日付を計算し(ステップS75)、年次単位でなければ(ステップS65;No)、締日基準日が月次単位であるか否かを判定する(ステップS66)。月次単位であれば(ステップS66;Yes)、CPU2は、締日単位日付から月次日付を計算し(ステップS76)、月次単位でなければ(ステップS66;No)、締日基準日が週次単位であるか否かを判定する(ステップS66)。週次単位であれば(ステップS67;Yes)、CPU2は、締日単位日付から週次日付を計算し(ステップS77)、週次単位でなければ(ステップS67;No)、CPU2は、検索日付を“00000000”にセットする(ステップS68)。
【0060】
また、ステップS75、76、77終了後、CPU2は、計算日付を検索日付にセットする(ステップS78)。その後、CPU2は、帳票IDの帳票索引部内の締日単位日付を検索し(ステップS69)、検索日付の有無を判定する(ステップS70)。ここで、検索日付がない場合(ステップS70;No)、CPU2は、帳票IDの記帳情報部での新規頁位置を計算し(ステップS71)、検索日付を帳票索引部の締日単位日付に記録し(ステップS72)、新規頁位置を帳票索引部の頁位置に記録する(ステップS73)。
【0061】
また、ステップS70において、検索日付がある場合(ステップS70;Yes)、CPU2は、ステップS71〜73の処理を省略して、ステップS74の処理に移行する。そして、ステップS74において、CPU2は、帳票IDの記帳情報部頁位置を取得し(ステップS74)、当該帳票締日単位の転記頁検索処理を終了する。
【0062】
図20は、上記各処理に基づく具体的処理例として、毎月20日締めの転記先帳票に転記する際の転記頁検索処理を示す図である。この図に示す様に、データ処理装置1は、転記先の帳票索引項目に転記される日付と帳票ごとに設定されている年締、月締、週締等の締日単位により、転記する帳票の頁を特定する。また、該当頁がない時には、転記先となる頁領域を自動的に生成する。
【0063】
次に、本実施の形態において、図18のステップS43で転記先頁を検索する場合において、CPU2により実行される得意先締日単位の転記頁検索処理について図21のフローチャートを参照して詳細に説明する。
【0064】
まず、CPU2は、前述の帳票締日単位の転記頁検索処理と同様に、転記情報部から転記先帳票IDを取得し(ステップS81)、転記情報部から締日単位日付を取得する(ステップS82)。次に、CPU2は、帳票IDの帳簿管理部からコード格納先を取得する(ステップS83)。次いで、CPU2は、転記情報部から連番1の索引データを取得する(ステップS84)。次いで、CPU2は、帳票IDの帳簿管理部から索引帳票IDを取得する(ステップS85)。次いで、CPU2は、索引帳票のコード項目番号を取得し(ステップS86)、検索データで索引帳票IDの帳票索引部内を索引し(ステップS87)、検索帳票IDの記帳情報部から締日基準を取得する(ステップS88)。
【0065】
次に、CPU2は、ステップS88で取得された締日基準から月次日付を計算し(ステップS89)、計算日付を検索日付にセットし(ステップS90)、帳票IDの帳票索引部内の連番1を検索データで検索する(ステップS91)。次に、CPU2は、データの有無を判定し(ステップS92)、データが有れば(ステップS92;Yes)、帳票IDの帳票索引部内の締日単位日付を検索する(ステップS93)。また、データが無ければ(ステップS92;No)、CPU2は、ステップS93、94の処理を省略してステップS95以降の処理に移行する。
【0066】
次に、CPU2は、検索日付の有無を判定し(ステップS94)、検索日付が無ければ(ステップS94;No)、帳票IDの記帳情報部での新規頁位置を計算し(ステップS95)、検索日付を帳票索引部の締日単位日付に記録し(ステップS96)、新規頁位置を帳票索引部の頁位置に記録する(ステップS97)。
【0067】
次いで、CPU2は、検索データを帳票索引部連番1に記録し(ステップS98)、帳票IDの記録情報部頁位置を取得する(ステップS99)。また、ステップS94において、検索日付がある場合(ステップS94;Yes)、CPU2は、ステップS95〜98の処理を省略して、ステップS99の処理に移行する。ステップS99の処理が終了すると、当該帳票締日単位の転記頁検索処理を終了する。
【0068】
図22は、上記各処理に基づく具体的処理例として、A社20日締め、B社月末締め時において、得意先締日単位に転記する際の転記頁検索処理を示す図である。データ処理装置1は、この図に示す様に、転記先の帳票索引項目に転記される日付と、転記される得意先等の管理対象ごとに設定されている締日単位とを組み合わせることにより、転記する帳票の頁を特定する。また、該当頁がない時には、転記先となる頁領域を自動的に生成する。
【0069】
次に、本実施の形態において、CPU2により実行される修正転記データ生成処理について図23のフローチャートを参照して詳細に説明する。
【0070】
まず、CPU2は、入力装置3からの入力操作によって転記元帳票の記帳情報部内データを修正があると(ステップS101)、帳票定義部からデータブロック番号、項目番号を取得し(ステップS102)、帳票定義部内の転記元データブロック番号、項目番号を検索する(ステップS103)。次に、CPU2は、対象項目が転記定義項目であるか否かを判定する(ステップS104)。
【0071】
ここで、転記定義項目である場合(ステップS104;Yes)、CPU2は、対応する転記先の種類、番号、項目番号、処理を取得し(ステップS105)、転記定義部の帳票ID、帳票索引項目番号を取得する(ステップS106)。次に、CPU2は、転記情報部の帳票IDに転記先帳票IDを記録し(ステップS107)、帳票記帳部から帳票索引項目番号のデータを取得し(ステップS108)、転記情報部の帳票索引項目に上記データを記録し(ステップS109)、転記情報部の転記先の種類、番号、項目番号、処理を記録する(ステップS110)。
【0072】
次に、CPU2は、当該処理における転記の種類を判定する(ステップS111)。転記種類が“転記”であれば、ステップS113以降の処理に移行し、CPU2は、転記情報部の転記元番号、項目番号、情報ID、データを記録する(ステップS113)。また、転記種類が“集計”であれば、CPU2は、修正前と修正後のデータの差分を計算し(ステップS112)、ステップS113以降の処理に移行する。また、ステップS104において、転記定義項目でない場合(ステップS104;No)、ステップS114以降の処理に移行する。
【0073】
そして、CPU2は、次のデータ修正の有無を判定する(ステップS114)。ここで、次のデータ修正があれば(ステップS114;Yes)、再度ステップS101に戻り、それ以降の処理を実行する。また、次のデータ修正がなければ(ステップS114;No)、当該修正転記データ生成処理を終了する。
【0074】
次に、本実施の形態において、CPU2により実行される修正データ転記処理について図24及び図25のフローチャートを参照して詳細に説明する。
【0075】
まず、CPU2は、転記先頁の特定処理を実行する(ステップS121)。次に、CPU2は、帳票IDの記帳情報部頁位置を取得し(ステップS122)、転記情報部の転記先の転記種類、処理の種類を取得する(ステップS123)。次に、CPU2は、処理の種類の判定を行う(ステップS124)。ここで、処理種類が“訂正”の場合(図24参照)、ステップS125以降の処理に移行し、処理種類が“追加”の場合(図25参照)、ステップS131以降の処理に移行する。
【0076】
第一に、処理種類が“訂正”の場合、CPU2は、転記情報部の転記元情報ID、データを取得し(ステップS125)、転記先帳票IDの記帳情報部の転記元IDを検索する(ステップS126)。次に、CPU2は、転記種類の判定を行う(ステップS127)。ここで、当該転記種類が“転記”の場合、IDが一致した記帳情報部のデータを修正データに置換する(ステップS128)。また、ステップS127において、当該転記種類が“集計”の場合、IDが一致した記帳情報部のデータに対して修正データの集計処理を行う(ステップS129)。次に、CPU2は、IDが一致した記帳情報部の色属性を+1カウントする(ステップS130)。そして、ステップS142以降の処理に移行する。
【0077】
第二に、処理種類が“追加”の場合、CPU2は、転記情報部の転記先番号、項目番号を取得し(ステップS131)、転記情報部の転記元情報ID、データを取得する(ステップS132)。次いで、CPU2は、当該転記が明細部への転記であるか否かを判定する(ステップS133)。ここで、明細部への転記である場合(ステップS133;Yes)、CPU2は、転記先帳票IDの帳票管理部の最終明細行数を取得し(ステップS134)、最終明細行数に+1をカウントする(ステップS135)。次に、CPU2は、その値が最大明細行内に収まるか否かを判定する(ステップS136)。
【0078】
ここで、最大明細行内である場合(ステップS136;Yes)、CPU2は、転記先帳票IDの帳票索引項目から帳票連番を取得し(ステップS138)、帳票連番と転記先番号、項目番号、行番号で情報IDを生成し(ステップS139)、記帳情報部の頁最終行に色、表示属性を記憶し(ステップS140)、記帳情報部の最終行に転記先ID、情報ID、データを記憶する(ステップS141)。また、ステップS136において、最大明細行内でない場合(ステップS136;No)、CPU2は、帳票IDの記帳情報部に新規頁を生成し(ステップS137)、ステップS134に戻り、再度それ以降の処理を実行する。
【0079】
また、前述のステップS133において、明細部への転記でない場合(ステップS133;No)、CPU2は、ステップS138以降の処理に移行する。
【0080】
そして、CPU2は、対象項目が転記最終項目であるか否かを判定する(ステップS142)。ここで、転記最終項目である場合(ステップS142;Yes)、当該修正データ転記処理を終了し、転記最終項目でない場合(ステップS142;No)、再度ステップS121に戻り、それ以降の処理を実行する。
【0081】
上述の様に、データ処理装置1は、帳票定義された転記元帳票と転記先帳票を表示装置5に表示する(図10、11参照)。また、データ処理装置1は、転記元の帳票項目と、それに対応する転記先の帳票項目を指示する情報及び、転記先帳票の頁を特定するために必要な帳票索引項目に転記元の帳票項目を指示する情報から構成される帳票転記定義情報62を有する。これにより、転記に要する個別のプログラムを備えることなく、転記処理に必要な情報を自動生成し、転記先帳票の頁や明細行位置を自動設定する帳票転記を行うことができる。
【0082】
図26〜28は、納品書のデータが修正された際に、得意先元帳の転記データを修正するしくみを示す図である。図26に示す様に、データ処理装置1は、すべての帳票項目の識別が可能なユニークな情報IDを、対応する項目データと併せて記録することにより、転記元帳票のデータ修正が発生した際に、転記先帳票上の任意の明細行に転記されている項目位置を検索し、当該項目位置に対する転記修正を可能とする。
【0083】
【発明の効果】
請求項1の発明によれば、転記元情報の項目と転記先情報の項目との関連付けによる表示画面上の簡単な指示により転記元情報を転記先情報に自動的に転記できるので、データベース言語等の専門知識やデータファイル設計の知識等をもたない一般のユーザであっても、手書き事務処理をする感覚で事務処理を機械化することができる。このため、業務知識のある人であれば、導入企業の帳票フォーマットに沿った帳票化を短期間で行うことが可能となり、従来外部に支払っていた高額なプログラム開発コストの削減も可能となる。また、転記済帳票上におけるデータの並び順や転記位置の指定、変更を迅速且つ正確に行うことができる。加えて、帳票毎に年次、月次単位等の締日基準を設定することによって、転記元帳票の日付により自動的に転記処理を実行するので、帳票を直ちに整理した形で見ることができる。また、得意先、仕入先、商品等の他の管理対象と組み合わせることにより、業務管理に必要な帳票転記基準に合った運用形態の提供が可能となる。
【0085】
請求項3または4記載の発明によれば、請求項1記載の発明の効果に加えて、締日基準を転記元の管理対象データからその管理対象に対する締日基準に変更するので、客締めの請求書発行等の複雑な請求期間に合わせた請求書等の帳票の転記作業の自動化が可能となる。
【0086】
請求項5記載の発明によれば、請求項1記載の発明の効果に加えて、すべての帳票項目を識別できる任意の識別情報を帳票項目データと共に記憶するので、転記元帳票のデータ修正が発生した際に、転記先帳票における転記済み項目の記憶領域を識別情報により自動的に特定、修正することが可能となり、従来必要であった転記先帳票ごとのデータ修正プログラムを要せず、帳票データを修正できる。
【図面の簡単な説明】
【図1】本発明を適用したデータ処理装置1の全体構成を示すブロック図である。
【図2】記憶装置6に格納されるファイル構成図である。
【図3】帳票定義ファイル61に格納される転記元帳票定義情報61aを示す図である。
【図4】帳票定義ファイル61に格納される転記元帳票定義データ600を示す図である。
【図5】転記元帳票定義情報61aに基づく転記元帳票610の表示例を示す図である。
【図6】帳票定義ファイル61に格納される転記先帳票定義情報61bを示す図である。
【図7】帳票定義ファイル61に格納される転記先帳票定義データ620を示す図である。
【図8】転記先帳票定義情報61bに基づく転記先帳票630の表示例を示す図である。
【図9】データ処理装置1のCPU2によって実行される転記定義情報生成処理を示すフローチャートである。
【図10】帳票の転記定義ファイル62に基づいて実行される転記元帳票定義データ600から転記先帳票定義データ620への転記処理の概要を示す図である。
【図11】転記情報ファイル64を介して実行される転記元帳票定義データ600から転記先帳票定義データ620への転記処理の概要を示す図である。
【図12】転記元帳票定義データ600と転記先帳票定義データ620において、ヘッダ部の各情報の転記処理を示す図である。
【図13】転記定義ファイル62に格納される転記定義情報62aを示す図である。
【図14】記帳情報ファイル63に格納される転記元帳票の記帳情報63aを示す図である。
【図15】記帳情報ファイル63に格納される転記先帳票の記帳情報63bを示す図である。
【図16】データ処理装置1のCPU2によって実行される転記情報生成処理を示すフローチャートである。
【図17】転記情報ファイル64に格納される転記情報64aを示す図である。
【図18】データ処理装置1のCPU2によって実行される転記処理を示すフローチャートである。
【図19】データ処理装置1のCPU2によって実行される帳票締日単位の転記頁検索処理を示すフローチャートである。
【図20】図19のフローチャートに基づいて実行される帳票締日単位の転記頁検索処理例を示す図である。
【図21】データ処理装置1のCPU2によって実行される得意先締日単位の転記頁検索処理を示すフローチャートである。
【図22】図21のフローチャートに基づいて実行される得意先締日単位の転記頁検索処理例を示す図である。
【図23】データ処理装置1のCPU2によって実行される修正転記データ生成処理を示すフローチャートである。
【図24】データ処理装置1のCPU2によって実行される修正データ転記処理を示すフローチャートである。
【図25】データ処理装置1のCPU2によって実行される修正データ転記処理を示すフローチャートである。
【図26】図23〜25のフローチャートに基づいて実行される修正データ転記処理例における転記元帳票の記帳情報63aを示す図である。
【図27】図23〜25のフローチャートに基づいて実行される修正データ転記処理例における転記情報64bを示す図である。
【図28】図23〜25のフローチャートに基づいて実行される修正データ転記処理例における転記情報64b及び転記先帳票の記帳情報63bを示す図である。
【符号の説明】
1 データ処理装置
2 CPU
3 入力装置
4 RAM
5 表示装置
6 記憶装置
6a 記憶媒体
7 印刷装置
8 バス
61 帳票定義ファイル
61a、61b、62a 帳票定義情報
62 転記定義ファイル
63 記帳情報ファイル
63a、63b 記帳情報
64 転記情報ファイル
64a、64b 転記情報
65 帳票管理ファイル
66 帳票索引ファイル
67 帳簿管理ファイル
600 転記元帳票定義データ
610 転記元帳票
620 転記先帳票定義データ
630 転記先帳票
601、621 帳票連番
602、631 伝票日付
603、622 得意先連番
604、623 得意先名
605 税込合計金額
606 消費税率
607 消費税合計額
608 税抜合計金額
611 伝票処理区分
612 商品連番
613、634 商品名
614、635 数量
615、636 単価
616、638 金額
617、637 消費税額
624 締日単位
625 記帳日付
626 繰越処理名
627 繰越金額
632 伝票年
633 伝票番号
639 入金額
640 差引残高
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing apparatus for automatically transferring transfer source information such as a delivery note to transfer destination information such as a customer ledger.
[0002]
[Prior art]
In recent years, data processing apparatuses have been used to create and modify forms such as slip information on delivery notes. The office work which has been conventionally performed by handwriting is mechanized by such a data processing apparatus, and the following effects are obtained. (1) A plurality of entries can be made by one input operation. (2) Calculation processing and printing processing can be performed quickly and accurately. (3) Processing such as rearrangement and printing of input data once is easy.
[0003]
In order to realize business processing that takes advantage of such data processing by a computer, a manager of a data processing apparatus or the like has designed and developed programs and files necessary for each business processing individually.
[0004]
[Problems to be solved by the invention]
However, the data processing by the conventional data processing apparatus has a problem that the features of the handwritten office processing are lost as follows. Hereinafter, as an example of the handwritten paperwork, a delivery slip and a payment slip will be described, and posting to a customer ledger and printing will be described as an example.
[0005]
Invoices, receipt slips, customer ledgers are booked, and the transferred information is temporarily saved in each file, but the contents of the file are very different from the form image, so the user can easily view the contents of the book even when viewing the file. Can't figure out. In addition, since the structure of the file for storing the form is created by the file designer, a general user cannot easily change the form layout or the like as necessary.
[0006]
In addition, the layout of forms such as invoices, payment slips, customer ledgers, etc., varies from company to company. Therefore, in order to mechanize according to these forms, it is necessary for an administrator who has business knowledge and knowledge about computer processing to develop a program. However, since the development cost is generally higher than the cost such as labor cost reduced by mechanization, there are many users who have to continue handwritten paperwork as usual.
[0007]
Further, since the form can only be viewed through a display print program prepared for each file, the form output image differs from the actual print form depending on the contents of the program. In addition, the display / printing operation procedure differs for each form, and the user needs to learn the operation procedure individually. Furthermore, there is no need for sophisticated analysis and tabulation in the paperwork, and the purpose of the paperwork is as long as the slip can be issued accurately and it can be accurately transferred and tabulated in the form required for information management. There are many tasks to be accomplished.
[0008]
An object of the present invention is to provide a data processing apparatus and a storage medium capable of automatically transferring transfer source information such as a delivery note to transfer destination information such as a customer ledger.
[0009]
[Means for Solving the Problems]
The data processing device according to claim 1 includes a transcription source information storage unit that stores a plurality of pieces of transcription source information in association with a plurality of item information for each item information, and a transcription source stored in the transcription source information storage unit. A transfer source information display unit that displays information together with item information corresponding to the transfer source information, a transfer destination information storage unit that stores a plurality of pieces of transfer destination information in association with a plurality of item information, and the item information. In a data processing apparatus comprising: a destination information display means for displaying the destination information stored in the destination information storage means together with item information corresponding to the destination information,
Input means for individually specifying arbitrary item information stored in the transfer source information storage means and arbitrary item information stored in the transfer destination information storage means, and transfer based on an input instruction by the input means The posting definition information generating means for generating the posting definition information for defining the correspondence between the posting source information and the posting destination information at the time of the transfer, and the posting source information storage means transfer the predetermined item of the posting destination information storage means Stored date information and the closing date unit information that is assigned to each form and sets the closing date unit of the form, and based on the date information and the closing date unit information, from the transfer destination information storage means A page specifying unit that specifies a page of a form that is a transfer destination, and a transfer source corresponding to predetermined item information stored in the transfer source information storage unit according to the transfer definition information generated by the transfer definition information generating unit The distribution is characterized by comprising a posting means for posting the desired item of the page page identified by the identifying means posting destination information storing means.
[0011]
Therefore, it is possible to automatically transfer the posting source information to the posting destination information by a simple instruction on the display screen by associating the item of the posting source information with the item of the posting destination information. Even general users who do not have the knowledge and the like can mechanize office work as if they were handwriting office work. For this reason, it is possible for a person with business knowledge to quickly create an electronic form according to the form format of the introducing company, and it is possible to reduce expensive program development costs that have been paid to the outside. . In addition, it is possible to quickly and accurately specify and change the data arrangement order and the posting position on the posted form.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
First, the configuration will be described. FIG. 1 is a block diagram showing a schematic configuration of a data processing apparatus 1 according to the present invention. In FIG. 1, the data processing device 1 includes a CPU 2, an input device 3, a RAM 4, a display device 5, a storage device 6 having a storage medium 6 a, and a printing device 7, and each unit except for the storage medium 6 a is connected by a bus 8. Has been.
[0013]
The CPU 2 stores, in the work memory area in the RAM 4, application programs designated from various application programs corresponding to the data processing apparatus 1 stored in the storage device 6 and various instructions or data input from the input device 3. In accordance with the input instruction and input data, various processes are executed according to the application program stored in the RAM 4, and the processing results are stored in the work memory area in the RAM 4 and displayed on the display device 5. Then, the processing result stored in the work memory area is stored in the storage destination of the storage medium 6a in the storage device 6 instructed to be input from the input device 3.
[0014]
Further, the CPU 2 causes the display device 5 to draw the form definition information 61a of the transfer source form and the form definition information 61b of the transfer destination form in the transfer definition information generation process (see FIG. 9) to be described later, and based on the transfer destination form ID. To create a posting definition file, record the posting destination form ID in the posting definition file in the storage device 6, determine the presence or absence of the form index item, record the posting destination of the posting definition, the item number of the posting source, etc. Judge whether there is a posting item and close the posting definition file.
[0015]
In addition, the CPU 2 reads a form definition file from the storage device 6 and displays the form fixed form drawing information on the display device 5 in a transfer information generation process (see FIG. 16) described later, and displays and inputs the form on the display device 5. The form input by the apparatus 3 and the form printing process by the printing apparatus 7 are performed, it is determined whether the form needs to be stored in the storage device 6, the data is written to the book entry information file, and the transfer definition in the storage device 6 is determined. The file is read, the presence / absence of the transcription definition information is determined, and it is determined whether or not it is the final transcription item.
[0016]
Further, the CPU 2 reads the transfer information file from the storage device 6 in the transfer process (see FIG. 18) to be described later, opens the transfer destination file based on the form ID, searches the transfer destination page from the form index item, and Determine whether there is a page, determine whether it is necessary to transfer the detail part, determine whether the counted last detail line fits within the maximum detail line, and determine information from the form serial number and item position The ID is calculated, and the transfer data is written to the book entry information file in the storage device 6.
[0017]
In addition, in the post page search process (see FIG. 19), which will be described later, the CPU 2 acquires the transfer destination form ID from the transfer information part, acquires the closing date unit date from the transfer information part, and locks it from the form ID book management part. Acquires the day classification, acquires the base date of the cutoff date from the book management department of the form ID, determines whether the base date of the cutoff date is an annual unit, and whether the base date of the cutoff date is a monthly unit , Set the calculation date as the search date, search the closing date unit date in the form index part of the form ID, determine the existence of the search date, and calculate the new page position in the entry information part of the form ID The search date is recorded as the closing date unit date of the form index part in the storage device 6, and the new page position is recorded as the page position of the form index part.
[0018]
In addition, in the post page search process (see FIG. 21) to be described later, the CPU 2 acquires the transfer destination form ID from the transfer information part, acquires the closing date unit date from the transfer information part, and the code from the form ID book management part. Get storage location, get index data of serial number 1 from posting information part, get index form ID from book management part of form ID, get code item number of index form, index based on search data Index in the form index section of the form ID, get the cutoff date standard from the record information section of the search form ID, calculate the monthly date from the cutoff date base, set the calculation date to the search date, and the form ID form index Search the serial number 1 in the department with the search data, determine the presence or absence of data, determine the presence or absence of the search date, record the search data in the form index part serial number 1, and obtain the record information part page position of the form ID To do.
[0019]
In addition, the CPU 2 obtains the data block number and the item number from the form definition unit, searches the transfer source data block number and the item number in the form definition unit in the modified posting data generation process (see FIG. 23) described later, Determine whether the item is a posting definition item, get the corresponding posting destination type, number, item number, and processing, get the form ID of the posting definition part, form index item number, Record the transfer destination form ID in the form ID, acquire the data of the form index item number from the form entry part, record the above data in the form index item of the transfer information part, type of the transfer destination in the transfer information part, number, The item number and process are recorded, the type of transfer in the process is determined, and the presence or absence of the next data correction is determined.
[0020]
In addition, the CPU 2 specifies a transfer destination page in a correction data transfer process (see FIGS. 24 and 25), which will be described later, acquires a page position of the book information section of the form ID, and sets the transfer type and the transfer destination of the transfer information section. Acquires the type of processing, determines the type of processing, acquires the form serial number from the form index item of the transfer destination form ID, and generates the information ID with the form serial number, the transfer destination number, the item number, and the line number In the storage device 6, the color and display attributes are stored in the last line of the book information section, the transfer destination ID, information ID, and data are stored in the last line of the book information section, and the target item is the last transfer item. Determine whether or not.
[0021]
The input device 3 includes a keyboard having cursor keys, numeric input keys, various function keys, and the like, and a mouse that is a pointing device. The input device 3 outputs a key pressing signal pressed by the keyboard to the CPU 2 and uses the mouse. An operation signal is output to CPU2.
[0022]
The RAM 4 forms a memory area for storing files and parameters necessary for the processes executed by the CPU 2. The RAM 4 stores various data corresponding to various items acquired from the storage device 6 in various processes executed by the CPU 2.
[0023]
The display device 5 is composed of a CRT, a liquid crystal display device, etc., and displays various display data input from the CPU 2, for example, an input screen for inputting parameters necessary for various processes executed by the CPU 2, The form data created in the process is displayed. The printing device 7 prints the print data input from the CPU 2 on a predetermined recording paper and outputs it.
[0024]
The storage device 6 includes a storage medium 6a in which programs, data, and the like are stored in advance, and the storage medium 6a includes a magnetic recording medium, an optical recording medium, or a semiconductor memory. The storage medium 6a is fixedly attached to the storage device 6 or is detachably mounted. The storage medium 6a is processed by various application programs and processing programs corresponding to the data processing apparatus 1. Stored data and the like are stored.
[0025]
Further, the program, data, and the like stored in the storage medium 6a may be configured to be received and stored from another device connected via a communication line or the like, and further connected via a communication line or the like. A storage device including the storage medium 6a may be provided on the other device side, and a program, data, or the like stored in the storage medium 6a may be used via a communication line.
[0026]
Next, various files necessary for the transfer process stored in the storage device 6 in the present embodiment will be described with reference to the file configuration diagram of FIG.
[0027]
The form definition file 61 is a form definition unit that stores transfer source form definition information 61a (see FIG. 3) and transfer destination form definition information 61b (see FIG. 6) created according to the form definition. This form definition unit is composed of items of item definition number, drawing range, and drawing format, and data in the file is stored for each form corresponding to each form ID.
[0028]
The transcription definition file 62 is a transcription definition section in which transcription definition information 62a (see FIG. 12) created between forms is stored. As shown in FIG. 13, the posting definition section includes association information between the form index item for specifying the page of the posting destination form and the posting source form item, and the association information between the posting source form item and the posting destination form item. Stored for each form ID.
[0029]
The book entry information file 63 is a book entry information section in which form item data on which input, index, calculation, transfer, and the like have been performed is stored for each form ID unit. As shown in FIG. 14, in the book entry information section, book data information corresponding to each information ID is stored together with the display / non-display type of book data and the display color of book data.
[0030]
The transcription information file 64 stores transcription information 64a that is automatically generated in accordance with the information stored in the transcription definition file 62 when the input process is performed on the item defined for transcription. It is a transcription information part. As shown in FIG. 17, the transfer information section stores transfer destination form information such as item numbers corresponding to the transfer source form information such as information IDs in association with each record.
[0031]
The form management file 65 is a form management unit that stores a printing date, a writing date, and a posting date for each page of the form. In the form management unit, information such as the maximum number of lines, the number of lines that have been written, the number of lines that have been printed, and the like is stored for each detail block based on the definition information of the form details.
[0032]
The form index file 66 is a form index section in which form index items necessary for indexing the page storage area of the form are stored. The book management file 67 is a book management unit that stores information to be managed in book units, such as the state of the book as a collection of forms and the inquiry level of the book.
[0033]
Next, the operation will be described. In the present embodiment, the transcription definition information generation processing executed by the CPU 2 will be described in detail with reference to the flowchart of FIG.
[0034]
First, the CPU 2 draws the form definition data 600 (see FIG. 4) of the transfer source form designated by the input operation from the input device 3 based on the form definition information 61a shown in FIG. 3 (step S1). Further, an example of a transfer source form created based on the form definition data 600 is shown in FIG. 5 as a transfer source form 610.
[0035]
Similarly, the CPU 2 draws the form definition data 620 (see FIG. 7) of the transfer destination form designated by the input operation from the input device 3 based on the form definition information 61b shown in FIG. 6 (step S2). An example of a transfer destination form created based on the form definition data 620 is shown as a transfer destination form 630 in FIG.
[0036]
Next, the CPU 2 generates a transcription definition file based on the transcription destination form ID (step S3). Then, based on the form ID in the transfer definition information, the transfer destination form ID is recorded in the transfer definition file generated in step S3 (step S4). Next, the CPU 2 determines whether or not there is a form index item (step S5). If there is a form index item (step S5; Yes), the CPU 2 acquires an item number based on the item position of the designated transfer source form (step S6). ), The item number is recorded in the form index item of the posting definition (step S7). And it returns to step S5 again and CPU2 repeatedly performs the process of step S5-S7 until there is no form index item. If there is no form index item in step S5, the process proceeds to step S8 and subsequent steps.
[0037]
Next, the CPU 2 acquires an item number from the item position of the transfer source form designated by the input operation from the input device 3 (step S8). Similarly, the CPU 2 acquires an item number from the item position of the transfer destination form designated by the input operation from the input device 3 (step S9).
[0038]
Next, when a posting type such as posting or aggregation is selected by the user's input operation from the input device 3 (step S10), the CPU 2 records the posting destination of the posting definition, the item number of the posting source, and the like ( Step S11). Then, the presence / absence of a transfer item is determined (step S12). If there is a transfer item (step S12; Yes), the process returns to step S8 again, and the CPU 2 repeatedly executes the processes of steps S8 to S12 until there are no more transfer items. .
[0039]
In step S12, when there is no posting item (step S12; No), the CPU 2 closes the posting definition file (step S13) and ends the posting definition information generation process.
[0040]
Next, as a specific processing example based on each of the above processes, a transcription definition information generation method will be described with reference to an actual display screen and definition information shown in FIGS.
[0041]
FIG. 10 shows an outline of the posting process from the posting source form definition data 600 to the posting destination form definition data 620 executed based on the posting definition information 62a (see FIG. 13) stored in the form posting definition file 62. FIG. FIG. 11 shows an overview of the posting process from the posting source form definition data 600 to the posting destination form definition data 620, which is executed via the later-described posting information 64a (see FIG. 17) stored in the posting information file 64. FIG. That is, the posting source information assigned to each item of the posting source form is stored in the posting source information based on the posting definition information stored in the posting definition file 62 and the posting information stored in the posting information file 64. It is posted to each item of the corresponding posting destination form.
[0042]
FIG. 12 is a diagram showing a transfer process of each piece of information in the header part in the transfer source form definition data 600 and the transfer destination form definition data 620. In FIG. 12, the “form serial number”, “slip date”, and “customer serial number” posting source information assigned to the header part of the posting source form are the items in the posting destination form indicated by arrows. It is posted as a posting destination field.
[0043]
FIG. 13 is a diagram showing the posting definition information 62a stored in the posting definition file 62 when posting from the delivery note to the customer ledger. In FIG. 13, the posting definition information 62a stores “form index item”, “posting source definition information”, and “posting destination definition information” of the form to be posted. That is, “posting type”, “type of description”, “item number”, and “type of processing” of the transfer destination form corresponding to each item of the transfer source definition information are defined.
[0044]
FIG. 14 is a diagram showing book entry information 63 a of the transfer source form stored in the book entry information file 63. That is, the book entry information file 63 includes “form name”, “form ID”, “type of description”, “description line”, “information ID”, “display color”, “type of display / non-display”, Each entry information such as “display data” is stored, and the CPU 2 arranges the display data based on the entry information and displays the transfer source form shown in FIG. 5 on the display device 5.
[0045]
FIG. 15 is a diagram showing the bookkeeping information 63 b of the transfer destination form stored in the bookkeeping information file 63. In other words, the book entry information file 63 includes “form name”, “form ID”, “type of description”, “description line”, “transfer source ID”, “information ID”, “display color”, “display / color”. Each entry information such as “non-display type” and “display data” is stored. The CPU 2 rearranges display data based on these entry information and displays the transfer destination form shown in FIG. It is displayed on the device 5.
[0046]
Next, in the present embodiment, the transcription information generation process executed by the CPU 2 will be described in detail with reference to the flowchart of FIG.
[0047]
First, the CPU 2 reads the form definition file (step S21), and displays the form fixed form drawing information on the display device 5 (step S22). Next, the CPU 2 performs a form display process on the display device 5, a form input process by the input apparatus 3, and a form print process by the printing apparatus 7 (step S23).
[0048]
Next, the CPU 2 determines whether or not it is necessary to save the form in the storage device 6 based on whether or not an instruction is input from the user input device 3 (step S24). If it is necessary to save the form (step S24; Yes), the CPU 2 calculates an information ID based on the form serial number and the item position (step S25). Next, the CPU 2 writes data to the book entry information file (step S26) and reads the transcription definition file (step S27). If it is not necessary to save the form in step S24 (step S24; No), the process of steps S25 to 27 is omitted and the process proceeds to step S28 and subsequent steps.
[0049]
Next, the CPU 2 determines the presence / absence of the posting definition information (step S28). If there is the posting definition information (step S28; Yes), it creates the data of the posting index item (step S29), and from the posting definition information. Transfer destination item data is created (step S30), and transfer source item data is created from the book entry information (step S31). Next, the CPU 2 determines whether or not it is a final transfer item (step S32), and if it is the final transfer item (step S32; Yes), the transfer data is written in the transfer information file (step S33). If it is not the last transfer item (step S32; No), the process returns to step S29 again, and the subsequent processing is repeatedly executed.
[0050]
Then, after completion of the writing process in step S33, the process returns to step S28, and the CPU 2 again determines the presence / absence of the transcription definition information (step S28). The CPU 2 repeatedly executes the processes of steps S28 to S33 until there is no transcription definition information. When there is no transcription definition information in step S28 (step S28; No), the transcription information generation process ends.
[0051]
FIG. 17 shows an example of the transfer information generated by a series of transfer information generation processing. As shown in the figure, the posting information 64a is composed of “form index item”, “posting source definition information”, and “posting destination definition information” of the form to be posted. Each information of “transfer type”, “type of description part”, “item number”, and “type of processing”, which is the transfer destination information corresponding to the item, is recorded.
[0052]
Next, the transfer process executed by the CPU 2 in the present embodiment will be described in detail with reference to the flowchart of FIG.
[0053]
First, the CPU 2 reads the transfer information file (step S41), opens the transfer destination file from the form ID (step S42), and searches the transfer destination page from the form index item (step S43). Next, the CPU 2 determines whether or not there is a corresponding page (step S44). If there is a corresponding page (step S44; Yes), the process proceeds to step S48 and subsequent steps. If there is no corresponding page (step S44; No), a new page is generated from the form index item (step S45). The form index item is recorded in the form index file (step S46), and the form management data is recorded in the form management file (step S47).
[0054]
Next, the CPU 2 determines whether or not the detailed part needs to be transferred (step S48). If necessary (step S48; Yes), the final detailed number of lines in the form management file is read (step S49). +1 is counted in the last detail line (step S50). Next, the CPU 2 determines whether or not the final detailed line counted in step S50 is within the maximum detailed line (step S51). If it is not necessary to transfer the detailed part in step S48 (step S48; No), the CPU 2 skips the processes in steps S49 to 51 and proceeds to the processes in and after step S52.
[0055]
Next, in step S51, when it falls within the maximum detail line (step S51; Yes), the CPU 2 calculates an information ID from the form serial number and the item position (step S52), and writes the transfer data to the book entry information file (step S52). S53). Then, the CPU 2 determines whether or not the target item is the final transfer item (step S54). In step S51, if it does not fit within the maximum detail line (step S51; No), the process returns to step S45 again, and the CPU 2 executes the subsequent processing.
[0056]
Next, in step S54, when the target item is the final transfer item (step S54; Yes), the CPU 2 records the form management data in the form management file (step S55), and ends the transfer process. If the target item is not the final posting item (step S54; No), the process returns to step S48 again, and the CPU 2 executes the subsequent processing.
[0057]
Next, in the present embodiment, when searching for the transfer destination page in step S43 of FIG. 18, the transfer page search processing in units of form closing dates executed by the CPU 2 will be described in detail with reference to the flowchart of FIG. To do.
[0058]
First, the CPU 2 acquires a transfer destination form ID from the transfer information section (step S61). Next, the CPU 2 acquires a closing date unit date from the transcription information section (step S62). Next, the CPU 2 acquires the deadline classification from the book management unit for the form ID (step S63). Next, the CPU 2 obtains the cutoff date reference date from the book management unit for the form ID (step S64).
[0059]
Next, the CPU 2 determines whether or not the cutoff date reference date acquired in step S64 is an annual unit (step S65). If it is an annual unit (step S65; Yes), the CPU 2 calculates an annual date from the closing date unit date (step S75). If it is not an annual unit (step S65; No), the closing date reference date is It is determined whether it is a monthly unit (step S66). If it is a monthly unit (step S66; Yes), the CPU 2 calculates a monthly date from the closing date unit date (step S76). If it is not a monthly unit (step S66; No), the closing date reference date is It is determined whether it is a weekly unit (step S66). If it is a weekly unit (step S67; Yes), the CPU 2 calculates a weekly date from the closing date unit date (step S77). If it is not a weekly unit (step S67; No), the CPU 2 calculates the search date. Is set to “00000000” (step S68).
[0060]
Further, after step S75, 76, 77 is completed, the CPU 2 sets the calculation date to the search date (step S78). Thereafter, the CPU 2 searches for a closing date unit date in the form index part of the form ID (step S69), and determines whether there is a search date (step S70). Here, when there is no search date (step S70; No), the CPU 2 calculates a new page position in the entry information part of the form ID (step S71), and records the search date in the closing date unit date of the form index part. In step S72, the new page position is recorded in the page position of the form index part (step S73).
[0061]
Moreover, when there exists a search date in step S70 (step S70; Yes), CPU2 abbreviate | omits the process of steps S71-73 and transfers to the process of step S74. In step S74, the CPU 2 acquires the book information part page position of the form ID (step S74), and finishes the transfer page search process in units of the form closing date.
[0062]
FIG. 20 is a diagram showing a transfer page search process when transferring to a transfer destination form that ends on the 20th of every month as a specific process example based on the above processes. As shown in this figure, the data processing apparatus 1 is a form to be transcribed in accordance with the date to be posted in the form index item to be transcribed and the closing date unit such as yearly, monthly, weekly, etc. set for each form. Specify the page. Further, when there is no corresponding page, a page area as a transfer destination is automatically generated.
[0063]
Next, in the present embodiment, in the case where the transfer destination page is searched in step S43 of FIG. 18, the transfer page search processing in units of customer closing dates executed by the CPU 2 will be described in detail with reference to the flowchart of FIG. explain.
[0064]
First, the CPU 2 acquires the transfer destination form ID from the posting information part (step S81) and the closing date unit date from the posting information part (step S82) in the same manner as the above-described posting page search process for the form closing date. ). Next, the CPU 2 acquires a code storage destination from the book ID management unit for the form ID (step S83). Next, the CPU 2 acquires index data of serial number 1 from the transcription information section (step S84). Next, the CPU 2 acquires an index form ID from the form management part of the form ID (step S85). Next, the CPU 2 acquires the code item number of the index form (step S86), indexes the inside of the form index part of the index form ID with the search data (step S87), and acquires the closing date standard from the entry information part of the search form ID. (Step S88).
[0065]
Next, the CPU 2 calculates a monthly date from the cutoff date standard acquired in step S88 (step S89), sets the calculation date to the search date (step S90), and serial number 1 in the form index part of the form ID. Is searched with the search data (step S91). Next, the CPU 2 determines the presence / absence of data (step S92), and if there is data (step S92; Yes), searches the closing date unit date in the form index part of the form ID (step S93). If there is no data (step S92; No), the CPU 2 skips the processes of steps S93 and S94 and proceeds to the processes after step S95.
[0066]
Next, the CPU 2 determines whether or not there is a search date (step S94). If there is no search date (step S94; No), the CPU 2 calculates a new page position in the entry information portion of the form ID (step S95), and searches. The date is recorded in the closing date unit date of the form index part (step S96), and the new page position is recorded in the page position of the form index part (step S97).
[0067]
Next, the CPU 2 records the search data in the form index part sequence number 1 (step S98), and acquires the record information part page position of the form ID (step S99). Moreover, when there exists a search date in step S94 (step S94; Yes), CPU2 abbreviate | omits the process of steps S95-98 and transfers to the process of step S99. When the process of step S99 is completed, the transfer page search process for each form closing date is terminated.
[0068]
FIG. 22 is a diagram showing a transferred page search process when posting is performed in units of customer closing dates when A company closes on the 20th and B ends on the last day of the month as a specific processing example based on each of the above processes. As shown in this figure, the data processing device 1 combines the date posted to the form index item of the posting destination and the closing date unit set for each management target such as the customer to be posted, Specify the page of the form to be posted. Further, when there is no corresponding page, a page area as a transfer destination is automatically generated.
[0069]
Next, the modified transcription data generation process executed by the CPU 2 in the present embodiment will be described in detail with reference to the flowchart of FIG.
[0070]
First, when the data in the posting information section of the transfer source form is corrected by an input operation from the input device 3 (step S101), the CPU 2 acquires a data block number and an item number from the form definition section (step S102). The transfer source data block number and item number in the definition part are searched (step S103). Next, the CPU 2 determines whether or not the target item is a posting definition item (step S104).
[0071]
Here, if it is a posting definition item (step S104; Yes), the CPU 2 acquires the type, number, item number, and processing of the corresponding posting destination (step S105), the form ID of the posting definition section, and the form index item. A number is acquired (step S106). Next, the CPU 2 records the transfer destination form ID in the form ID of the transfer information part (step S107), acquires the form index item number data from the form entry part (step S108), and the form index item of the transfer information part. The above data is recorded (step S109), and the type, number, item number, and processing of the transfer destination in the transfer information section are recorded (step S110).
[0072]
Next, the CPU 2 determines the type of transcription in the process (step S111). If the transcription type is “transcription”, the process proceeds to step S113 and subsequent steps, and the CPU 2 records the transcription source number, item number, information ID, and data in the transcription information section (step S113). If the posting type is “total”, the CPU 2 calculates the difference between the data before correction and the data after correction (step S112), and proceeds to the processing after step S113. Moreover, when it is not a transcription | transfer definition item in step S104 (step S104; No), it transfers to the process after step S114.
[0073]
Then, the CPU 2 determines whether or not the next data correction is performed (step S114). If there is the next data correction (step S114; Yes), the process returns to step S101 again, and the subsequent processing is executed. Moreover, if there is no next data correction (step S114; No), the said correction transcription | transfer data generation process will be complete | finished.
[0074]
Next, correction data transfer processing executed by the CPU 2 in the present embodiment will be described in detail with reference to the flowcharts of FIGS.
[0075]
First, the CPU 2 executes a transfer destination page specifying process (step S121). Next, the CPU 2 obtains the book information part page position of the form ID (step S122), and obtains the transcription type and process type of the transcription destination of the transcription information part (step S123). Next, the CPU 2 determines the type of processing (step S124). Here, when the process type is “correction” (see FIG. 24), the process proceeds to step S125 and after, and when the process type is “add” (see FIG. 25), the process proceeds to step S131 and later.
[0076]
First, when the processing type is “correction”, the CPU 2 acquires the transfer source information ID and data of the transfer information section (step S125), and searches for the transfer source ID of the transfer information section of the transfer destination form ID ( Step S126). Next, the CPU 2 determines the type of transcription (step S127). Here, if the posting type is “posting”, the data in the book entry information section with the matching ID is replaced with the modified data (step S128). If the posting type is “total” in step S127, correction data is totaled for the data in the book entry information section with the matching ID (step S129). Next, the CPU 2 counts +1 the color attribute of the bookkeeping information part with the matching ID (step S130). And it transfers to the process after step S142.
[0077]
Second, when the processing type is “addition”, the CPU 2 acquires the transfer destination number and item number of the transfer information section (step S131), and acquires the transfer source information ID and data of the transfer information section (step S132). ). Subsequently, CPU2 determines whether the said transcription | transfer is a transcription | transfer to a detail part (step S133). Here, when the transfer is to the detail part (step S133; Yes), the CPU 2 acquires the final detail line number of the form management part of the transfer destination form ID (step S134), and counts +1 as the final detail line number. (Step S135). Next, the CPU 2 determines whether or not the value falls within the maximum detail line (step S136).
[0078]
Here, if it is within the maximum detail line (step S136; Yes), the CPU 2 obtains the form serial number from the form index item of the transfer destination form ID (step S138), and the form serial number, the transfer destination number, the item number, An information ID is generated with the line number (step S139), the color and display attributes are stored in the last line of the book information section (step S140), and the transfer destination ID, information ID, and data are stored in the last line of the book information section. (Step S141). In step S136, if it is not within the maximum detail line (step S136; No), the CPU 2 generates a new page in the book entry information part of the form ID (step S137), returns to step S134, and executes the subsequent processing again. To do.
[0079]
Moreover, in the above-mentioned step S133, when it is not transfer to a detailed part (step S133; No), CPU2 transfers to the process after step S138.
[0080]
Then, the CPU 2 determines whether or not the target item is a transcription final item (step S142). Here, if it is the final posting item (step S142; Yes), the modified data posting process is terminated. If it is not the final posting item (step S142; No), the process returns to step S121 again to execute the subsequent processing. .
[0081]
As described above, the data processing apparatus 1 displays the transfer source form and the transfer destination form defined in the form on the display device 5 (see FIGS. 10 and 11). In addition, the data processing apparatus 1 adds the form item of the transfer source to the form item of the transfer source, the information indicating the corresponding form item of the transfer destination, and the form index item necessary for specifying the page of the transfer destination form. Form posting definition information 62 composed of information for instructing. Thus, without providing a separate program required for posting, information necessary for the posting process can be automatically generated, and form posting for automatically setting the page and detail line position of the transfer destination form can be performed.
[0082]
26 to 28 are diagrams showing a mechanism for correcting the posting data of the customer ledger when the data of the delivery note is corrected. As shown in FIG. 26, the data processing apparatus 1 records a unique information ID that can identify all the form items, together with the corresponding item data, so that data correction of the transfer source form occurs. In addition, the item position posted in an arbitrary detail line on the posting destination form is searched, and the posting correction to the item position is enabled.
[0083]
【The invention's effect】
According to the first aspect of the present invention, the transfer source information can be automatically transferred to the transfer destination information by a simple instruction on the display screen by associating the item of the transfer source information with the item of the transfer destination information. Even general users who do not have any specialized knowledge or knowledge of data file design can mechanize office work as if they were handwriting office work. For this reason, if it is a person with business knowledge, it becomes possible to make a form according to the form format of the introducing company in a short period of time, and it is possible to reduce the expensive program development cost conventionally paid to the outside. In addition, it is possible to quickly and accurately specify and change the data arrangement order and the posting position on the posted form. In addition, by setting a closing date standard such as annual or monthly unit for each form, the posting process is automatically executed according to the date of the posting source form, so the form can be viewed immediately in an organized form. . In addition, by combining with other management targets such as customers, suppliers, products, etc., it is possible to provide an operation mode that meets the form posting standards necessary for business management.
[0085]
According to the invention described in claim 3 or 4, in addition to the effect of the invention described in claim 1, the cutoff date standard is changed from the management target data of the transfer source to the cutoff date standard for the management target. It is possible to automate the transfer operation of a bill or other form in accordance with a complicated billing period such as invoicing.
[0086]
According to the invention described in claim 5, in addition to the effect of the invention described in claim 1, since arbitrary identification information that can identify all the form items is stored together with the form item data, the data correction of the transfer source form occurs. The storage area of the posted items in the posting destination form can be automatically specified and corrected based on the identification information, and form data is not required without the need for a data correction program for each posting destination form. Can be corrected.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of a data processing apparatus 1 to which the present invention is applied.
FIG. 2 is a configuration diagram of files stored in a storage device 6;
FIG. 3 is a diagram showing transfer source form definition information 61a stored in a form definition file 61;
FIG. 4 is a diagram showing transfer source form definition data 600 stored in a form definition file 61;
FIG. 5 is a diagram showing a display example of a transfer source form 610 based on the transfer source form definition information 61a.
6 is a diagram showing transfer destination form definition information 61b stored in a form definition file 61. FIG.
7 is a diagram showing transfer destination form definition data 620 stored in a form definition file 61. FIG.
FIG. 8 is a diagram showing a display example of a transfer destination form 630 based on the transfer destination form definition information 61b.
FIG. 9 is a flowchart showing a transcription definition information generation process executed by the CPU 2 of the data processing apparatus 1;
FIG. 10 is a diagram showing an overview of a transfer process from a transfer source form definition data 600 to a transfer destination form definition data 620 executed based on a form transfer definition file 62;
FIG. 11 is a diagram showing an outline of a transfer process from a transfer source form definition data 600 to a transfer destination form definition data 620, which is executed via a transfer information file 64.
FIG. 12 is a diagram showing a transfer process for each piece of information in the header part in the transfer source form definition data 600 and the transfer destination form definition data 620;
13 is a diagram showing transcription definition information 62a stored in a transcription definition file 62. FIG.
14 is a diagram showing book entry information 63a of a transfer source form stored in a book entry information file 63. FIG.
15 is a diagram showing book entry information 63b of a transfer destination form stored in a book entry information file 63. FIG.
FIG. 16 is a flowchart showing a transcription information generation process executed by the CPU 2 of the data processing apparatus 1;
17 is a diagram showing transcription information 64a stored in a transcription information file 64. FIG.
18 is a flowchart showing a transcription process executed by the CPU 2 of the data processing apparatus 1. FIG.
FIG. 19 is a flowchart showing a transfer page search process in units of form closing dates, which is executed by the CPU 2 of the data processing apparatus 1;
20 is a diagram showing an example of a transfer page search process in units of form closing dates, which is executed based on the flowchart of FIG.
FIG. 21 is a flowchart showing a transfer page search process for each customer closing date, which is executed by the CPU 2 of the data processing apparatus 1;
22 is a diagram showing an example of a transfer page search process for each customer closing date, which is executed based on the flowchart of FIG. 21. FIG.
FIG. 23 is a flowchart showing a modified transcription data generation process executed by the CPU 2 of the data processing apparatus 1;
FIG. 24 is a flowchart showing a modified data transfer process executed by the CPU 2 of the data processing apparatus 1;
FIG. 25 is a flowchart showing a corrected data transfer process executed by the CPU 2 of the data processing apparatus 1;
FIG. 26 is a diagram showing book entry information 63a of a transfer source form in a modified data transfer process example executed based on the flowcharts of FIGS.
FIG. 27 is a diagram showing transfer information 64b in a modified data transfer process example executed based on the flowcharts of FIGS.
FIG. 28 is a diagram showing posting information 64b and posting information 63b of a transfer destination form in a modified data posting processing example executed based on the flowcharts of FIGS.
[Explanation of symbols]
1 Data processing device
2 CPU
3 Input devices
4 RAM
5 display devices
6 Storage device
6a storage media
7 Printing device
8 Bus
61 Form definition file
61a, 61b, 62a Form definition information
62 Posting definition file
63 Book information file
63a, 63b Book information
64 Posting information file
64a, 64b Posting information
65 Form management file
66 Report index file
67 Book management file
600 Posting ledger definition data
610 Posting ledger form
620 Posting destination ledger definition data
630 Posting Ledger
601 and 621 form serial number
602, 631 Document date
603, 622 Customer serial number
604, 623 Customer name
605 total amount including tax
606 consumption tax rate
607 Total consumption tax
608 Total price excluding tax
611 Document processing classification
612 product serial number
613, 634 Product name
614, 635 Quantity
615,636 unit price
616, 638
617, 637 consumption tax
624 Closing Date Unit
625 Date of entry
626 Carry forward processing name
627 Amount carried forward
632 slip year
633 Document number
639 deposit amount
640 balance

Claims (5)

複数の転記元情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記元情報記憶手段と、この転記元情報記憶手段に記憶された転記元情報を当該転記元情報に対応する項目情報と共に表示する転記元情報表示手段と、複数の転記先情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記先情報記憶手段と、この転記先情報記憶手段に記憶された転記先情報を当該転記先情報に対応する項目情報と共に表示する転記先情報表示手段と、を備えたデータ処理装置において、
前記転記元情報記憶手段に記憶された任意の項目情報と前記転記先情報記憶手段に記憶された任意の項目情報とを各々別に指定する入力手段と、
この入力手段による入力指示に基づいて、転記の際の転記元情報と転記先情報間の対応関係を定義する転記定義情報を生成する転記定義情報生成手段と、
前記転記元情報記憶手段は、前記転記先情報記憶手段の所定の項目に転記される日付情報と、帳票ごとに割り当てられ当該帳票の締日単位を設定する締日単位情報を記憶し、前記日付情報と前記締日単位情報に基づいて、前記転記先情報記憶手段の中から転記先となる帳票の頁を特定する頁特定手段と、
前記転記定義情報生成手段により生成された転記定義情報に従って、前記転記元情報記憶手段に記憶された所定の項目情報に対応する転記元情報を、転記先情報記憶手段の前記頁特定手段で特定された頁の所望の項目に転記する転記手段と、
を備えたことを特徴とするデータ処理装置。
A transfer source information storage means for storing a plurality of transfer source information in association with a plurality of item information for each item information, and an item corresponding to the transfer source information stored in the transfer source information storage means A transfer source information display means for displaying together with information, a transfer destination information storage means for storing a plurality of transfer destination information in association with a plurality of item information for each item information, and a transfer stored in the transfer destination information storage means In a data processing apparatus comprising a transfer destination information display means for displaying destination information together with item information corresponding to the transfer destination information,
Input means for individually specifying any item information stored in the transfer source information storage means and any item information stored in the transfer destination information storage means;
Based on the input instruction by the input means, the posting definition information generating means for generating the posting definition information for defining the correspondence between the posting source information and the posting destination information at the time of posting,
The transfer source information storage means stores date information to be transferred to a predetermined item of the transfer destination information storage means, and closing date unit information that is assigned to each form and sets a closing date unit of the form. Based on the information and the closing date unit information, a page specifying means for specifying a page of a form to be transferred from the transfer destination information storage means,
According to the transfer definition information generated by the transfer definition information generating means, the transfer source information corresponding to the predetermined item information stored in the transfer source information storage means is specified by the page specifying means of the transfer destination information storage means . Posting means for posting to the desired item on the page ;
A data processing apparatus comprising:
前記頁特定手段により特定される該当頁が存在しない場合は、当該頁領域を自動生成する頁生成手段を更に備えたことを特徴とする請求項1記載のデータ処理装置。  2. The data processing apparatus according to claim 1, further comprising page generation means for automatically generating the page area when there is no corresponding page specified by the page specification means. 複数の転記元情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記元情報記憶手段と、この転記元情報記憶手段に記憶された転記元情報を当該転記元情報に対応する項目情報と共に表示する転記元情報表示手段と、複数の転記先情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記先情報記憶手段と、この転記先情報記憶手段に記憶された転記先情報を当該転記先情報に対応する項目情報と共に表示する転記先情報表示手段と、を備えたデータ処理装置において、
前記転記元情報記憶手段に記憶された任意の項目情報と前記転記先情報記憶手段に記憶された任意の項目情報とを各々別に指定する入力手段と、
この入力手段による入力指示に基づいて、転記の際の転記元情報と転記先情報間の対応関係を定義する転記定義情報を生成する転記定義情報生成手段と、
前記転記元情報記憶手段は、前記転記先情報記憶手段の所定の項目に転記される日付情報と、転記される管理対象ごとに割り当てられ当該管理対象の締日単位を設定する締日単位情報を記憶し、前記日付情報と前記締日単位情報に基づいて、前記転記先情報記憶手段の中から転記先となる帳票の頁を特定する頁特定手段と、
前記転記定義情報生成手段により生成された転記定義情報に従って、前記転記元情報記憶手段に記憶された所定の項目情報に対応する転記元情報を、転記先情報記憶手段の前記頁特定手段で特定された頁の所望の項目に転記する転記手段と、
を備えたことを特徴とするデータ処理装置。
A transfer source information storage means for storing a plurality of transfer source information in association with a plurality of item information for each item information, and an item corresponding to the transfer source information stored in the transfer source information storage means A transfer source information display means for displaying together with information, a transfer destination information storage means for storing a plurality of transfer destination information in association with a plurality of item information for each item information, and a transfer stored in the transfer destination information storage means In a data processing apparatus comprising a transfer destination information display means for displaying destination information together with item information corresponding to the transfer destination information,
Input means for individually specifying any item information stored in the transfer source information storage means and any item information stored in the transfer destination information storage means;
Based on the input instruction by the input means, the posting definition information generating means for generating the posting definition information for defining the correspondence between the posting source information and the posting destination information at the time of posting,
The transfer source information storage means includes date information to be transferred to a predetermined item of the transfer destination information storage means, and closing date unit information which is assigned to each management object to be transferred and sets a closing date unit of the management object. Storing, based on the date information and the closing date unit information, a page specifying means for specifying a page of a form as a transfer destination from the transfer destination information storage means,
According to the transfer definition information generated by the transfer definition information generating means, the transfer source information corresponding to the predetermined item information stored in the transfer source information storage means is specified by the page specifying means of the transfer destination information storage means. Posting means for posting to the desired item on the page ;
A data processing apparatus comprising:
前記頁特定手段により特定される該当頁が存在しない場合は、当該頁領域を自動生成する頁生成手段を更に備えたことを特徴とする請求項3記載のデータ処理装置。  4. The data processing apparatus according to claim 3, further comprising page generation means for automatically generating the page area when there is no corresponding page specified by the page specification means. 複数の転記元情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記元情報記憶手段と、この転記元情報記憶手段に記憶された転記元情報を当該転記元情報に対応する項目情報と共に表示する転記元情報表示手段と、複数の転記先情報を複数の項目情報に対応付けて当該項目情報ごとに記憶する転記先情報記憶手段と、この転記先情報記憶手段に記憶された転記先情報を当該転記先情報に対応する項目情報と共に表示する転記先情報表示手段と、を備えたデータ処理装置において、
前記転記元情報記憶手段に記憶された任意の項目情報と前記転記先情報記憶手段に記憶された任意の項目情報とを各々別に指定する入力手段と、
この入力手段による入力指示に基づいて、転記の際の転記元情報と転記先情報間の対応関係を定義する転記定義情報を生成する転記定義情報生成手段と、
前記転記元情報記憶手段は、任意の項目識別情報を各項目情報に対応付けて記憶し、前記転記先情報記憶手段は、前記項目識別情報を各項目情報に対応付けて記憶し、前記転記元情報記憶手段に記憶された転記元情報が修正された際に、前記項目識別情報に基づいて、前記転記先情報記憶手段に記憶された当該項目識別情報に対応する項目情報を検索する検索手段と、
この検索手段により検索された項目情報に対応する転記先情報を前記転記元情報の修正内容に従って修正する修正手段と、
前記転記定義情報生成手段により生成された転記定義情報に従って、前記転記元情報記憶手段に記憶された所定の項目情報に対応する転記元情報を、前記修正手段で修正された転送先情報に基づいて、転記先情報記憶手段の所望の項目に転記する転記手段と、
を備えたことを特徴とするデータ処理装置。
A transfer source information storage means for storing a plurality of transfer source information in association with a plurality of item information for each item information, and an item corresponding to the transfer source information stored in the transfer source information storage means A transfer source information display means for displaying together with information, a transfer destination information storage means for storing a plurality of transfer destination information in association with a plurality of item information for each item information, and a transfer stored in the transfer destination information storage means In a data processing apparatus comprising a transfer destination information display means for displaying destination information together with item information corresponding to the transfer destination information,
Input means for individually specifying any item information stored in the transfer source information storage means and any item information stored in the transfer destination information storage means;
Based on the input instruction by the input means, the posting definition information generating means for generating the posting definition information for defining the correspondence between the posting source information and the posting destination information at the time of posting,
The transfer source information storage unit stores arbitrary item identification information in association with each item information, the transfer destination information storage unit stores the item identification information in association with each item information, and the transfer source Search means for searching for item information corresponding to the item identification information stored in the transfer destination information storage means based on the item identification information when the transfer source information stored in the information storage means is modified; ,
Correction means for correcting the transfer destination information corresponding to the item information searched by the search means according to the correction contents of the transfer source information;
Based on the transfer definition information generated by the transfer definition information generation means, the transfer source information corresponding to the predetermined item information stored in the transfer source information storage means is based on the transfer destination information corrected by the correction means. , A transfer means for transferring to a desired item in the transfer destination information storage means,
A data processing apparatus comprising:
JP17564499A 1999-06-22 1999-06-22 Data processing device Expired - Fee Related JP3766854B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17564499A JP3766854B2 (en) 1999-06-22 1999-06-22 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17564499A JP3766854B2 (en) 1999-06-22 1999-06-22 Data processing device

Publications (2)

Publication Number Publication Date
JP2001005886A JP2001005886A (en) 2001-01-12
JP3766854B2 true JP3766854B2 (en) 2006-04-19

Family

ID=15999704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17564499A Expired - Fee Related JP3766854B2 (en) 1999-06-22 1999-06-22 Data processing device

Country Status (1)

Country Link
JP (1) JP3766854B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4641415B2 (en) * 2004-12-07 2011-03-02 株式会社情報基盤開発 Information posting system and information posting method
JP4977368B2 (en) 2005-12-28 2012-07-18 富士通株式会社 Medium processing apparatus, medium processing method, medium processing system, and computer-readable recording medium recording medium processing program
JP5511016B2 (en) * 2011-04-04 2014-06-04 Necシステムテクノロジー株式会社 Document creation device, document creation method, and program
JP6201638B2 (en) * 2013-10-28 2017-09-27 富士ゼロックス株式会社 Form processing apparatus and program
JP6393137B2 (en) * 2014-09-26 2018-09-19 エヌ・ティ・ティ・コムウェア株式会社 Form management system, management book service server, management book data update method, and program
JP6423671B2 (en) * 2014-09-26 2018-11-14 エヌ・ティ・ティ・コムウェア株式会社 Web page copying apparatus, web page copying method, and program

Also Published As

Publication number Publication date
JP2001005886A (en) 2001-01-12

Similar Documents

Publication Publication Date Title
US10860848B2 (en) Multi-page document recognition in document capture
JP5898126B2 (en) Journal analysis center system that provides a journal analysis service using cloud computing
JP4580518B2 (en) Database design system
US9213893B2 (en) Extracting data from semi-structured electronic documents
JP7348944B2 (en) Accounting equipment and programs
JP6938408B2 (en) Calculator and template management method
US20090049375A1 (en) Selective processing of information from a digital copy of a document for data entry
JP5424798B2 (en) METADATA SETTING METHOD, METADATA SETTING SYSTEM, AND PROGRAM
JP2022125220A (en) Image processing apparatus, image processing method, and program
JP2013164740A (en) Accounting information reading system, accounting information reading method, and program
JP3766854B2 (en) Data processing device
JP6976763B2 (en) Journal information processing device, journal information processing method, and program
JP2016192223A (en) Accounting information reading system and program
WO2022029874A1 (en) Data processing device, data processing method, and data processing program
JP5168706B2 (en) Automatic definition system of data retrieval item information in electronic form system
JP2003323581A (en) Entry system, entry image plane, entry method, entry processing program and storage medium
JPH11296578A (en) Accounting processor, transaction data input device, and regressive correcting method for error data
JP6855641B1 (en) Data processing equipment, data processing methods and programs
JP7377565B2 (en) Drawing search device, drawing database construction device, drawing search system, drawing search method, and program
WO2022024262A1 (en) Data processing device, data processing method, and program
JP6653822B2 (en) Accounting system, method and program
JP2022050756A (en) Transaction details reconciliation system and transaction details reconciliation method
TWM610766U (en) Cloud accounting system
JP2024025219A (en) PDF form reading device, reading method, and reading program
JP2005196378A (en) Sales/accounting processor, sales/accounting processing method and sales/accounting processing program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 19990622

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20030718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051011

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051226

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090210

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees