JP2580601B2 - Form data processing method - Google Patents

Form data processing method

Info

Publication number
JP2580601B2
JP2580601B2 JP62141105A JP14110587A JP2580601B2 JP 2580601 B2 JP2580601 B2 JP 2580601B2 JP 62141105 A JP62141105 A JP 62141105A JP 14110587 A JP14110587 A JP 14110587A JP 2580601 B2 JP2580601 B2 JP 2580601B2
Authority
JP
Japan
Prior art keywords
data processing
data
processing
information
execution
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
JP62141105A
Other languages
Japanese (ja)
Other versions
JPS63305460A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62141105A priority Critical patent/JP2580601B2/en
Publication of JPS63305460A publication Critical patent/JPS63305460A/en
Application granted granted Critical
Publication of JP2580601B2 publication Critical patent/JP2580601B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数帳票間にわたるデータの処理方式に関
し、特に各帳票毎に独立に定義された帳票内データ処理
情報のみで、必要な関連帳票間の全データ処理を自動実
行制御するのに好適な、帳票データ処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a data processing method for a plurality of forms, and in particular, only data processing information in a form independently defined for each form, and a required form between related forms is required. The present invention relates to a form data processing method suitable for automatically controlling execution of all data processing.

〔従来の技術〕[Conventional technology]

従来、この種の帳票間データ処理に関するものとして
は、例えば、特開昭61−118872号公報に開示された技術
が知られている。この技術は、複数帳票間でのデータエ
ントリ回数削減を目的とし、帳票間演算式を定義するこ
とにより、ある帳票に対するエントリデータに基づき、
帳票間演算式の実行により、他帳票へのデータ入力をも
自動的に行うというものである。
Conventionally, as a technique related to this type of inter-form data processing, a technique disclosed in, for example, Japanese Patent Application Laid-Open No. 61-18872 is known. This technique aims to reduce the number of data entries between a plurality of forms, and by defining a calculation formula between forms, based on entry data for a form,
By executing the calculation formula between forms, data input to other forms is automatically performed.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、この方式では、「一件帳票」という事
前に定義された同一グループ内の帳票群のみを対象とし
ており、また、帳票間データ処理は演算式で定義するた
め、参照および代入アドレス固定の単純なデータ転記
や、集計結果転記に適用対象が限定され、更に、帳票間
データ処理関係が何段階にも結合され、かつ、帳票間で
データ処理が相互に関係する場合の処理方式については
配慮がなされていないという問題があった。
However, in this method, only a group of documents in the same group defined in advance as “one form” is targeted, and data processing between forms is defined by an arithmetic expression. The application method is limited to simple data transfer and posting of summary results.Furthermore, consideration should be given to the processing method when the data processing relationship between forms is combined in multiple stages and the data processing is related between forms. There was a problem that was not done.

本発明は上記事情に鑑みてなされたもので、従来の帳
票データ処理方式における上述の問題を解消し、帳票間
のデータ処理関係が多段階かつ相互依存となる場合にお
いても、全体のデータ処理関係およびデータ処理実行順
序の情報を一切持たずに、任意の帳票に対するデータエ
ントリまたはデータ変更をトリガとして、関連する全帳
票のデータ処理を正しい順序で実行制御可能とした帳票
データ処理方式を提供することを目的とするものであ
る。
The present invention has been made in view of the above circumstances, and solves the above-mentioned problems in the conventional form data processing method, and can realize the entire data processing relation even when the data processing relation between forms is multi-step and interdependent. Provide a form data processing method that can control execution of data processing of all related forms in the correct order, triggered by data entry or data change for any form, without any information on the execution order of data processing. It is intended for.

〔問題点を解決するための手段〕[Means for solving the problem]

本発明の上記目的は、ディスプレイ・キーボードと、
帳票定義データベースおよび帳票処理装置を有する帳票
データ処理装置において、前記帳票定義データベース
は、各帳票単位に設定された帳票データ,他帳票のデー
タ処理内容や処理順番を全く意識することなく、各帳票
単位に独立して設定されたデータ処理情報,他帳票参照
情報および帳票フォーマットから構成される帳票定義情
報を格納し、また、前記帳票処理装置は、帳票格納制御
部,データ処理実行制御部および他帳票を参照するデー
タ処理を格納する実行制御テーブルを有し、操作者によ
り前記ディスプレイ・キーボードを通して入力される、
前記帳票定義データベース上の任意の帳票の任意の入力
項目についてのデータエントリまたはデータ更新を行っ
た場合、当該データエントリまたはデータ更新により実
行が必要なデータ処理を、前記帳票定義データベース上
のすべての帳票について検索し、前記実行制御テーブル
の内容に基づいて、帳票定義データベース上の全帳票の
中で処理実行が必要なデータ処理のみを正しい実行順序
で自動実行することを特徴とする帳票データ処理方式に
よって達成される。
The object of the present invention is to provide a display keyboard,
In a form data processing device having a form definition database and a form processing device, the form definition database is provided for each form unit without being conscious of the form data set for each form unit, the data processing contents of other forms, and the processing order. And form definition information composed of independently set data processing information, other form reference information, and a form format, and the form processing device includes a form storage control unit, a data processing execution control unit, and another form Having an execution control table for storing data processing referring to the data, and input by the operator through the display keyboard,
When a data entry or data update is performed for any input item of any form on the form definition database, data processing required to be executed by the data entry or data update is performed on all forms on the form definition database. And a form data processing method characterized in that, based on the contents of the execution control table, only data processing that needs to be executed in all forms on the form definition database is automatically executed in a correct execution order. Achieved.

〔作用〕[Action]

本発明の帳票データ処理方式においては、帳票処理装
置中のデータ処理実行制御部が、データエントリまたは
データ変更の発生した帳票のデータ処理情報,帳票デー
タを参照し、前項で述べたデータ処理の実行と参照デー
タ処理情報の検出のサイクルを繰り返すことにより、デ
ータ処理結果が代入されたデータを参照しているデータ
処理情報は必ず実行される、もしくは、実行起動情報の
設定がなされるため、複数帳票間にわたるデータ処理の
正しい順序での自動実行、もしくは、操作者指定による
処理開始および不正実行防止の機能が実現できる。
In the form data processing method according to the present invention, the data processing execution control unit in the form processing apparatus refers to data processing information and form data of a form in which a data entry or data change has occurred, and executes the data processing described in the preceding section. By repeating the cycle of detecting the data processing information and the reference data processing information, the data processing information that refers to the data to which the data processing result is assigned is always executed, or the execution start information is set. It is possible to automatically execute the data processing in the correct order in the correct order, or to start the processing by the operator and prevent the illegal execution.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は本発明の一実施例を示す帳票データ処理シス
テムの構成図である。図において、1はディスプレイ・
キーボード、11は帳票処理装置、4は帳票定義データベ
ースを示している。上記帳票処理装置11は、帳票格納制
御部2,データ処理実行制御部3,実行制御テーブル10から
構成されている。また、上記帳票定義データベース4
は、後述する如く、帳票データ6,データ処理情報7,他帳
票参照情報8,帳票フォーマット9から成る帳票定義情報
5を複数個有している。
FIG. 2 is a configuration diagram of a form data processing system showing one embodiment of the present invention. In the figure, 1 is a display
A keyboard 11, a form processing device 4, and a form definition database 4 are shown. The form processing device 11 includes a form storage control unit 2, a data processing execution control unit 3, and an execution control table 10. The form definition database 4
Has a plurality of form definition information 5 including form data 6, data processing information 7, other form reference information 8, and form format 9, as described later.

帳票の定義修正,データエントリは、ディスプレイ・
キーボード1を通じて入力され、帳票格納制御部2によ
り、帳票定義データベース4中に、帳票定義情報5とし
て帳票単位で格納される。該帳票定義情報5は、帳票内
のデータを保持する帳票データ6,帳票内および他帳票の
データを参照するデータ処理を記述したデータ処理情報
7,他帳票からデータ処理用に当該帳票内データ参照の関
係を記述した他帳票参照情報8および帳票フォーマット
9から構成され、上記帳票データ6,データ処理情報7お
よび帳票フォーマット9は、自帳票定義時に、前記帳票
格納制御部2を介して格納され、他帳票参照情報8は、
データ処理情報定義時に、他帳票データ参照が発生した
場合に、参照データが存在する帳票の帳票定義情報5に
格納される。
Modification of form definition, data entry
The information is input through the keyboard 1 and stored in the form definition database 4 as form definition information 5 by the form storage control unit 2 on a form-by-form basis. The form definition information 5 includes form data 6 holding data in the form, and data processing information describing data processing referring to data in the form and other forms.
7. The other form reference information 8 and the form format 9 which describe the relation of the data reference in the form for data processing from the other form. The form data 6, the data processing information 7 and the form format 9 are defined by the own form definition. Sometimes, the other form reference information 8 is stored via the form storage control unit 2 and
If another form data reference occurs during data processing information definition, it is stored in the form definition information 5 of the form in which the reference data exists.

前記データ処理実行制御部3は、上記帳票データ6,デ
ータ処理情報7および他帳票参照情報8の内容に基づ
き、必要なデータ処理の実行制御を行い、処理結果を上
記帳票データ6に格納し、次に処理結果のデータ参照関
係から再び必要なデータ処理の実行制御を逐次繰り返す
ことにより、関連する全帳票のデータ処理の正しい順序
での実行制御を行う。また、前記実行制御テーブル10
は、後述する如く、上述の他帳票参照情報8の内容に基
づくデータ処理の実行順序を示す制御テーブルである。
The data processing execution control unit 3 controls the execution of necessary data processing based on the contents of the form data 6, the data processing information 7 and the other form reference information 8, and stores the processing result in the form data 6. Next, the execution control of the necessary data processing is sequentially repeated again from the data reference relation of the processing result, thereby performing the execution control of the data processing of all the related forms in the correct order. The execution control table 10
Is a control table indicating the execution order of data processing based on the contents of the other form reference information 8 as described later.

なお、各帳票のディスプレイ・キーボード1への表示
は、帳票格納制御部2が上記帳票データ6と帳票フォー
マット9の内容を基に、必要な編集を行って実行する。
The form is displayed on the display / keyboard 1 by the form storage control unit 2 after performing necessary editing based on the contents of the form data 6 and the form format 9.

次に、前記データ処理実行制御部3による帳票間デー
タ処理実行制御方式の詳細を、第1図(a)に従って説
明する。操作者が、ディスプレイ・キーボード1を介し
て任意の帳票(例えば帳票A)に対する処理開始を指定
すると、データ処理実行制御部3は以下の処理を行う。
Next, details of the form data processing execution control method by the data processing execution control unit 3 will be described with reference to FIG. When the operator designates the start of processing for an arbitrary form (for example, form A) via the display / keyboard 1, the data processing execution control unit 3 performs the following processing.

(1)事前データ処理&サーチ格納処理(ステップ21) データ処理実行制御部3は、帳票Aの帳票定義情報5
内のデータ処理情報7をサーチし、起動フラグが設定さ
れた他帳票データを参照する。
(1) Preliminary data processing & search storage processing (step 21) The data processing execution control unit 3 sets the form definition information 5
The data processing information 7 is searched for, and the other form data with the activation flag set is referred to.

第1図(a)においては、データ処理情報7中のデー
タ処理が該当し、帳票Z上の参照データが更新済みで
あり、これを参照している帳票Aのデータ処理の実行
起動が必要な事を起動フラグが示している。
In FIG. 1 (a), the data processing in the data processing information 7 corresponds, the reference data on the form Z has been updated, and the execution of the data processing of the form A referencing this has to be started. The start flag indicates this.

起動フラグには、参照帳票の該当データが更新済み
(帳票名上にバー付き)と該当データが未更新(帳票名
上にバー無し)とがある。
The activation flag includes that the corresponding data of the reference form has been updated (with a bar on the form name) and the corresponding data has not been updated (there is no bar on the form name).

前者は、参照しているデータが更新されているので、
該当するデータ処理の実行が必要かつ可能な事を示し、
後者は、参照しているデータが未更新であり、該当する
データ処理を実行すると結果が不正になる事を示す。
In the former, the data being referred to has been updated,
Indicates that it is necessary and possible to perform the relevant data processing,
The latter indicates that the data being referred to has not been updated, and the result will be incorrect if the corresponding data processing is executed.

従って後者の場合、データ処理実行制御部3は操作者
に未更新の参照データが存在するので、帳票Aのデータ
処理開始は結果が不正となる事を知らせ、帳票Aの処理
終了またはデータ未更新の該当帳票の処理開始のいずれ
かの選択を促す。
Therefore, in the latter case, the data processing execution control unit 3 notifies the operator that the result of the data processing of the form A is invalid because the reference data that has not been updated exists, and the processing of the form A ends or the data is not updated. Prompts the user to select one of the processes to start processing the form.

第1図(a)の例のように、データ更新済みの起動フ
ラグが設定されている場合には、直ちに該当するデータ
処理を実行し、処理結果を帳票定義情報5中の帳票デ
ータ6に格納した後、当該データ処理の実行結果を参照
している自帳票内のデータ処理を実行し、データ処理情
報7中にデータ処理結果を参照するデータ処理が無くな
るまで繰り返す。実行されたデータ処理については、デ
ータ処理情報7中の対応する起動フラグをクリアーする
(第1図(a)では、データ処理に対応する「帳票
z」がクリアーされる)。起動フラグがクリアーされて
いる場合には、他帳票の参照データ更新に起因する該当
データ処理の実行は不要である事を意味する。
As shown in the example of FIG. 1A, when the data updated start flag is set, the corresponding data processing is immediately executed, and the processing result is stored in the form data 6 in the form definition information 5. After that, the data processing in the self-form that refers to the execution result of the data processing is executed, and the processing is repeated until there is no more data processing in the data processing information 7 that refers to the data processing result. As for the executed data processing, the corresponding activation flag in the data processing information 7 is cleared (in FIG. 1A, “form z” corresponding to the data processing is cleared). If the activation flag is cleared, it means that the execution of the relevant data processing due to the update of the reference data of another form is unnecessary.

次に、再びデータ処理情報7をサーチし、帳票名上に
バー付きの起動フラグが設定されているデータ処理を実
行し、このサイクルをデータ処理情報7中の全てのデー
タ処理について行う。
Next, the data processing information 7 is searched again, data processing in which a start flag with a bar is set on the form name is executed, and this cycle is performed for all data processing in the data processing information 7.

以上の処理においては、データ処理の実行結果を代入
するデータを他帳票のデータ処理が参照しているか否か
を他帳票参照情報8により検索し、存在する時は、参照
帳票名と参照データ処理No.を1対の格納情報として、
実行制御テーブル10中の格納ポインタ13の次に格納し、
格納ポインタ13の値を1つ増加させる。従って、格納ポ
インタ13は最新格納情報のアドレスを常に示している。
格納時に既に実行制御テーブル10中で同一の格納情報が
存在する場合には、既格納情報をクリアーすることによ
り、後述のステップ22におけるデータ処理の二重実行を
防止する。
In the above processing, whether the data to which the execution result of the data processing is substituted is searched by the other form reference information 8 as to whether or not the data processing of the other form is referring to the data. No. as a pair of stored information
Stored after the storage pointer 13 in the execution control table 10,
The value of the storage pointer 13 is increased by one. Therefore, the storage pointer 13 always indicates the address of the latest storage information.
If the same storage information already exists in the execution control table 10 at the time of storage, the stored information is cleared to prevent double execution of data processing in step 22 described later.

(2)データエントリ 操作者による処理対象帳票へのデータエントリが発生
した場合には、ステップ22の処理を実行する。データエ
ントリが無い場合にはステップ23のコマンド入力の処理
を行う。
(2) Data Entry When the operator makes a data entry to the form to be processed, the processing of step 22 is executed. If there is no data entry, a command input process of step 23 is performed.

(3)データ処理実行&サーチ格納処理(ステップ22) 上記データエントリにより起動され、エントリデータ
を参照しているデータ処理をデータ処理情報7中よりサ
ーチし、実行する。該当するデータ処理に関しては、起
動フラグの状態に関係なく無条件に実行する(ステップ
21の処理により起動フラグは全てクリアーされてい
る)。実行後は、ステップ21と同様に、処理結果の帳票
データ6への格納と同時に、データ処理情報7をサーチ
して自帳票内の参照データ処理の検索と実行を行う。次
に、実行された全てのデータ処理の結果を他帳票が参照
しているか否かを他帳票参照情報8をサーチして調べ、
存在する時は、ステップ21と全く同様の手順で実行制御
テーブル10への格納を行う。
(3) Data processing execution & search storage processing (step 22) The data processing started by the data entry and referring to the entry data is searched from the data processing information 7 and executed. The relevant data processing is executed unconditionally regardless of the state of the activation flag (step
All the start flags are cleared by the processing of 21). After the execution, similarly to step 21, the processing result is stored in the form data 6, and at the same time, the data processing information 7 is searched to search and execute the reference data processing in the own form. Next, the other form reference information 8 is searched to determine whether another form refers to the result of all the executed data processing,
If it exists, it is stored in the execution control table 10 in exactly the same procedure as in step 21.

(4)コマンド入力(ステップ23) データエントリの処理が終了した時点で、操作対象帳
票(帳票A)に対する終了コマンド、または実行コマン
ドを入力する。
(4) Command Input (Step 23) When the data entry processing is completed, an end command or an execution command for the operation target form (form A) is input.

(5)帳票間処理順序決定(ステップ24) 処理内容の詳細を、第1図(b)に従って説明する。(5) Determination of Processing Order Between Forms (Step 24) Details of the processing contents will be described with reference to FIG. 1 (b).

(i)実行制御テーブル10の先頭から最終格納位置ポイ
ンタ13の示す最終格納領域までの格納情報を読込み、
(4)で終了コマンドが投入された場合は、各格納情報
に対応する帳票中のデータ処理情報7に帳票Aのデータ
更新済みフラグを設定する(ステップ31)。
(I) Read storage information from the beginning of the execution control table 10 to the last storage area indicated by the last storage position pointer 13,
When the end command is input in (4), the data update flag of the form A is set in the data processing information 7 in the form corresponding to each storage information (step 31).

(ii)上記(i)で読込んだ格納情報を同一帳票名を持
つものにグループ化する(ステップ32)。
(Ii) The storage information read in (i) is grouped into those having the same form name (step 32).

(iii)各グルー値毎に、下記(イ)〜(ニ)の処理を
行う(ステップ33)。
(Iii) The following processes (a) to (d) are performed for each glue value (step 33).

(イ)グループに対応する帳票のデータ処理情報7中か
ら、格納情報のデータ処理No.をキーとした検索を行
い、該当データ処理情報から処理結果の代入されるデー
タを求める。但し処理は実行しない(ステップ34)。
(A) A search is performed using the data processing No. of the stored information as a key from the data processing information 7 of the form corresponding to the group, and data to which the processing result is substituted is obtained from the relevant data processing information. However, no processing is executed (step 34).

(ロ)上で求めたデータを参照しているデータ処理を、
再びデータ処理情報7のサーチにより検索し、処理結果
の代入されるデータを求める。処理は実行しない。
(B) Data processing referring to the data obtained above
The data processing information 7 is searched again to find the data to which the processing result is substituted. No processing is performed.

以下、同様な処理を、処理結果を参照するデータ処理
情報7中のデータ処理がなくなるまで実行する(ステッ
プ35,34)。
Hereinafter, the same processing is executed until there is no more data processing in the data processing information 7 referring to the processing result (steps 35 and 34).

(ハ)上記(ロ)で求まった処理結果の代入されるデー
タを参照している他帳票のデータ処理を、他帳票参照情
報8から検索し、もしあれば、(1)における実行制御
テーブル10への格納と同じ方式で、他帳票のデータ処理
を実行制御テーブル10へ格納する(ステップ36)。
(C) The data processing of the other form referring to the data to which the processing result obtained in (b) is substituted is searched from the other form reference information 8, and if any, the execution control table 10 in (1) is searched. The data processing of the other form is stored in the execution control table 10 in the same manner as the storage in the execution control table 10 (step 36).

(ニ)(4)で終了コマンドを投入した場合は、(ii
i)で求まった他帳票のデータ処理に対し、該当帳票の
データ処理情報7中の該当データ処理情報に対して、グ
ループに対応する帳票名をデータ未更新起動フラグとし
て設定する(ステップ38)。
(D) When the end command is input in (4), (ii)
For the data processing of the other form obtained in i), the form name corresponding to the group is set as a data non-update start flag for the relevant data processing information in the data processing information 7 of the relevant form (step 38).

(iv)全グループについての(iii)の処理終了後、実
行制御テーブル10に新たな格納情報が追加されたか否か
を調べる(ステップ40)。
(Iv) After the processing of (iii) is completed for all groups, it is checked whether or not new storage information has been added to the execution control table 10 (step 40).

(v)追加格納情報がなければ処理を終了し、そうでな
ければ、追加格納情報を同一帳票名を持つものにグルー
プ化し、前記(iii)の処理を再度行う(ステップ3
9)。
(V) If there is no additional storage information, the process is terminated; otherwise, the additional storage information is grouped into those having the same form name, and the process (iii) is performed again (step 3).
9).

(6)帳票終了処理(ステップ25) 操作対象帳票(帳票A)の各種情報(6,7,8)を帳票
定義情報5に格納する。
(6) Form end processing (step 25) Various information (6, 7, 8) of the form to be operated (form A) is stored in the form definition information 5.

次に、(4)の操作において、終了コマンドが投入さ
れた場合には全ての処理を終了する。一方、実行コマン
ドが投入された場合には、以下の処理を行う。
Next, in the operation (4), when an end command is input, all the processes are ended. On the other hand, when the execution command is input, the following processing is performed.

(7)実行制御テーブルの空チェック(ステップ26) 実行制御テーブル10中に格納情報があるか否かは調
べ、格納情報が全く存在しない(格納ポインタ13の値が
0)場合には全ての処理を終了する。実行制御テーブル
10に格納情報が存在する(13の値が1以上)場合には、
下記(8)の処理を行う。
(7) Checking the execution control table for emptyness (step 26) It is checked whether or not there is storage information in the execution control table 10. If no storage information exists (the value of the storage pointer 13 is 0), all processes are performed. To end. Execution control table
If stored information exists in 10 (the value of 13 is 1 or more),
The following process (8) is performed.

(8)関連帳票データ処理実行(ステップ27) 実行制御テーブル10の先頭より格納情報(帳票名、デ
ータ処理No.)を読み込み、次に、格納情報を示す該当
帳票6,7,8を読み込み、該当データ処理を実行する。こ
の処理を格納ポインタ13の所まで逐次実行し、終了後に
格納ポインタ13の値を0にする。
(8) Related form data processing execution (step 27) The storage information (form name, data processing No.) is read from the top of the execution control table 10, and then the corresponding forms 6, 7, and 8 indicating the storage information are read, Execute the relevant data processing. This process is sequentially performed up to the storage pointer 13, and the value of the storage pointer 13 is set to 0 after completion.

データ処理実行後は、ステップ21またはステップ22と
同様に、当該データ処理の実行結果を参照している自帳
票のデータ処理が有るか否かをデータ処理情報7をサー
チして調べ、有ればそのデータ処理を実行する事を繰り
返し、データ処理情報7中にデータ処理結果を参照する
データ処理が無くなるまで繰り返す。
After the execution of the data processing, similarly to step 21 or step 22, the data processing information 7 is searched to determine whether there is data processing of the self-form that refers to the execution result of the data processing. The execution of the data processing is repeated until the data processing information 7 contains no data processing referring to the data processing result.

なお、実行制御テーブル10中には各帳票のデータ処理
情報が正しい順序で実行される様に格納されているの
で、ステップ21またはステップ22の様に、他帳票参照情
報8のサーチと実行制御テーブル10への格納の処理は不
要である。
Since the data processing information of each form is stored in the execution control table 10 so as to be executed in a correct order, the search of the other form reference information 8 and the execution control table are executed as in step 21 or step 22. The process of storing in 10 is unnecessary.

本処理がすべて終了すると、帳票Aのデータエントリ
に対する他帳票の関連データ処理がすべて正しい順序で
実行済みの状態となっている。
When this processing is completed, all the related data processing of the other forms for the data entry of the form A has been executed in the correct order.

また、(4)で終了コマンドが投入されたときには、
帳票Aのデータエントリまたはデータ処理による更新デ
ータを参照するすべての帳票に対して起動フラグが設定
されているので、これらの内の任意の帳票に対して操作
者が処理開始を指定すれば、(1)により、自動的に、
必要なデータ処理が実行される。但し、操作者は帳票間
での正しい実行順序を知り得ないので、処理開始を指定
した任意の帳票のデータ処理において、他帳票の未更新
データを参照する可能性があり、この状態で処理を実行
すると正しい結果を与えないが、(1)で述べた如く、
この場合には、必ず操作者に事前に処理すべき帳票名が
通知されているので、未更新データによる処理を行うこ
とはない。
When the end command is input in (4),
Since the start flag is set for all the forms referring to the data entry of form A or the update data by the data processing, if the operator designates the processing start for any of these forms, ( By 1), automatically
Necessary data processing is performed. However, since the operator cannot know the correct execution order between the forms, there is a possibility that in the data processing of an arbitrary form for which the processing start is designated, unupdated data of another form may be referred to. When executed, it does not give the correct result, but as mentioned in (1),
In this case, since the form name to be processed is always notified to the operator in advance, the processing using the unupdated data is not performed.

次に、具体的帳票の例に基づき、実際の処理について
説明する。
Next, the actual processing will be described based on an example of a specific form.

第3図(a),(b)は売上管理表(帳票A)、在庫
管理表(帳票B)、仕入台帳(帳票C)、収益管理表
(帳票D)、および単価台帳(帳票Z)間でのデータ処
理の相互関連を示すものである。例えば、帳票A中の
「品名」,「単価」等は、その下のデータ領域名を示
し、,‥‥はデータ処理No.を示し、更に、「在庫
引当分」というデータ領域は、帳票Bの「出庫数量」と
いうデータ領域へ帳票Bののデータ処理で転記される
ことを意味している。
FIGS. 3A and 3B show a sales management table (form A), an inventory management table (form B), a purchase ledger (form C), a profit management table (form D), and a unit price ledger (form Z). It shows the interrelationship of data processing between them. For example, “article name”, “unit price”, etc. in the form A indicate the name of the data area below it, ‥‥ indicates the data processing No., and the data area “stock allocation” is the form B Is transferred to the data area of “delivery quantity” by the data processing of the form B.

上記各帳票間の関係を、各帳票単位の独立したデータ
処理記述で表現すると、第4図のデータ処理情報7のよ
うになる。以下、第4図で用いたデータ処理記述形式の
若干の説明を行う。
The relationship between the forms described above is expressed as data processing information 7 in FIG. 4 when expressed by an independent data processing description for each form. Hereinafter, the data processing description format used in FIG. 4 will be described briefly.

帳票Aのデータ処理は、売上数量から在庫引当分を
引いた値を注文納分に代入することを意味し、帳票Aの
データ処理は、各行の単価欄と数量欄の積和を売上数
量に代入することを意味し、帳票Bのデータ処理は、
(適正在庫量−残数量)の結果が非負ならばその値を、
負ならば0を補充発注量に代入することを意味し、帳票
Bのデータ処理は、帳票Aの在庫引当分の名データ
を、品名をキーとして帳票Bの出庫数量の欄の品名と商
品名が一致する行への代入を意味し、帳票Dのデータ処
理は、帳票Aの売上総計の値を総売上高に累積するこ
と、すなわち、現在の総売上高に帳票Aの売上総計を加
算した値に総売上高に代入すること、を意味する。ま
た、各帳票の他帳票参照情報8も、第4図に示す通りで
ある。なお、帳票Aの例の様に、各データ処理情報の定
義は、その実行順序を意識する必要はなく、如何なる順
番で定義しても、前述の処理により常に正しい結果が得
られる。
The data processing of form A means that the value obtained by subtracting the stock allocation from the sales quantity is substituted for the order payment, and the data processing of form A uses the sum of the unit price and quantity fields of each row as the sales quantity. Substitution means that the data processing of form B is
If the result of (appropriate inventory-remaining quantity) is non-negative,
If it is negative, it means that 0 is substituted for the replenishment order quantity. The data processing of the form B uses the name data of the stock allocation of the form A, the product name and the product name Means the assignment to the row where the match occurs, and the data processing of the form D is to accumulate the value of the total sales of the form A to the total sales, that is, to add the total sales of the form A to the current total sales. Substituting the value into the total sales value. The form reference information 8 of each form is also as shown in FIG. As in the example of the form A, the definition of each data processing information does not need to be conscious of the execution order. Regardless of the order in which the data processing information is defined, a correct result is always obtained by the above-described processing.

以下、第4図のデータ処理情報7と他帳票参照情報8
とを基に、操作者が帳票Aの処理開始を指示した時点か
らの実行の流れを、第1図(a)に従って説明する。第
3図(a)の斜視部に対して、データエントリ部12を通
じてデータエントリを行うと、ステップ22処理により、
データエントリ終了時点での実行制御テーブル10の内容
は第5図に示す状態になっている。ただし、第5図、第
6図では、重複するためにクリアーされた格納情報は削
除して示した。
Hereinafter, the data processing information 7 and other form reference information 8 in FIG.
The flow of execution from the point in time at which the operator instructs the start of processing of the form A will be described with reference to FIG. When a data entry is made to the perspective portion of FIG.
The contents of the execution control table 10 at the end of the data entry are as shown in FIG. However, in FIG. 5 and FIG. 6, the storage information cleared due to duplication is deleted and shown.

次に、ステップ24の処理終了時点で、実行制御テーブ
ル10の内容は第6図に示す状態となる。また、この時点
で帳票B〜Dの起動フラグの状態は第4図(a),
(b)に示す状態となっており、これら3帳票はいずれ
も、帳票Aに対するデータエントリに伴ない、データ処
理の実行が必要であることを示している。
Next, at the end of the process of step 24, the contents of the execution control table 10 are in the state shown in FIG. At this time, the states of the start flags of the forms B to D are as shown in FIG.
The state shown in (b) is shown, and all of these three forms indicate that data processing needs to be executed along with the data entry for form A.

次に、ステップ25で帳票Aに対する処理終了後、ステ
ップ23で投入したコマンドにより2つの場合に分かれ
る。
Next, after the processing for the form A is completed in step 25, there are two cases according to the command input in step 23.

(i)ステップ23で実行コマンド投入の場合 ステップ26〜27の処理が実行され、第6図に示す実行
制御テーブル10の内容に従い、帳票Dのデータ処理→
帳票Bのデータ処理→・・・→帳票Dのデータ処理
の順で、自動実行が行われ、帳票Aへのデータエントリ
に対する全ての関連帳票のデータ処理結果が正しく求ま
る。
(I) When an execution command is input in step 23 The processing in steps 26 to 27 is executed, and the data processing of the form D is performed according to the contents of the execution control table 10 shown in FIG.
Data processing of form B is performed automatically in the order of data processing of form D, and data processing results of all related forms for data entry to form A are correctly obtained.

(ii)ステップ23で終了コマンド投入の場合 この場合には、関連帳票のデータ処理が実行されない
ため、第4図(a),(b)に示す帳票B〜Dの起動フ
ラグはそのまま残っている。従って、例えば、引き続い
て帳票Dの処理開始を指示した場合には、第4図
(a),(b)に示すデータ処理の起動フラグ(「帳
票C」)により,帳票Cのデータ処理を先に実行する必
要性を操作者に知らせ、帳票Cの総仕込高に対する帳票
Aのデータエントリによる更新が未実施のために発生す
る、誤ったデータ処理の実行を防止する。
(Ii) In the case of inputting the end command in step 23 In this case, since the data processing of the related forms is not executed, the activation flags of the forms B to D shown in FIGS. 4A and 4B remain as they are. . Therefore, for example, when the processing start of the form D is subsequently instructed, the data processing start flag (“form C”) shown in FIGS. To the operator to prevent the execution of erroneous data processing, which occurs because the total entry amount of the form C is not updated by the data entry of the form A.

そこで、操作者が帳票Cの処理開始を指示すると、補
充発注量データが未更新のため、帳票Bの先行処理の必
要性を操作者に通知する。
Therefore, when the operator instructs to start processing of the form C, the operator is notified of the necessity of the preceding processing of the form B because the replenishment order amount data has not been updated.

一般的に、売上管理表は売上担当者が、仕込台帳は仕
込担当者が、それぞれ管理する等、各帳票毎に管理担当
者が異なる場合が多いが、本方式によれば、各担当者は
自分の管理する帳票のデータ処理と、その中で参照する
他帳票のデータについてのみ考慮すれば良く、それ以外
の点で他帳票との関連については、一切考える必要がな
い。従って、従来方式では必須である、帳票間の全体関
係を捉えて処理手段を策定するシステム設計は、少なく
とも上記実施例においては不要である。
In general, the sales management table is managed by the sales clerk, and the ledger is managed by the clerk.In many cases, the management clerk is different for each form. It is only necessary to consider the data processing of the form managed by the user and the data of the other form referred to therein, and there is no need to consider the relationship with the other form at all other points. Therefore, the system design for determining the processing means by grasping the entire relationship between the forms, which is indispensable in the conventional method, is unnecessary at least in the above embodiment.

また、本方式によれば、データエントリ等帳票データ
の変更に関係するデータ処理のみが実行され、実行処理
性能の向上が期待できる。例えば、第3図において、帳
票Aの単価欄のデータを帳票Cの単価欄へ転記するデー
タ処理は、上述のデータエントリ時には実行されない。
一方、操作者が帳票Aの単価欄のデータを変更した場合
は、第1図(a)の処理により、帳票Cと帳票Dのデー
タ処理が実行され、帳票Bのデータ処理は必要がないた
め実行されない。
Further, according to this method, only data processing relating to changes in form data such as data entries is executed, and improvement in execution processing performance can be expected. For example, in FIG. 3, the data processing for transferring the data in the unit price column of the form A to the unit price column of the form C is not executed at the time of the above-described data entry.
On the other hand, when the operator changes the data in the unit price column of the form A, the data processing of the form C and the form D is executed by the processing of FIG. 1A, and the data processing of the form B is not required. Not executed.

〔発明の効果〕〔The invention's effect〕

以上述べた如く、本発明によれば、ディスプレイ・キ
ーボードと、帳票定義データベースおよび帳票処理装置
を有する帳票データ処理装置において、前記帳票定義デ
ータベースは、各帳票単位に設定された、帳票データ,
データ処理情報,他帳票参照情報および帳票フォーマッ
トから構成される帳票定義情報を格納し、前記帳票処理
装置は、帳票格納制御部,データ処理実行制御部および
他帳票を参照するデータ処理を格納する実行制御テーブ
ルを有し、操作者により前記ディスプレイ・キーボード
を通して入力される、前記帳票定義データベース上の任
意の帳票の任意の入力項目についてのデータエントリま
たはデータ更新を行った場合、当該データエントリまた
はデータ更新により実行が必要なデータ処理を、前記帳
票定義データベース上のすべての帳票について検索し、
前記実行制御テーブルの内容の基づいて、該当するデー
タ処理を正しい実行順序で自動実行するようにしたの
で、帳票間のデータ処理関係が多段階かつ相互依存とな
る場合においても、全体のデータ処理関係およびデータ
処理実行順序の情報を一切持たずに、任意の帳票に対す
るデータエントリまたはデータ変更をトリガとして、関
連する全帳票のデータ処理を実行制御可能とした帳票デ
ータ処理方式を実現できるという顕著な効果を奏するも
のである。
As described above, according to the present invention, in a form data processing apparatus having a display keyboard, a form definition database, and a form processing apparatus, the form definition database includes form data,
The form processing apparatus stores data processing information, other form reference information, and form definition information composed of a form format, and the form processing device stores a form storage control unit, a data processing execution control unit, and data processing for referring to other forms. When a data entry or data update is performed for any input item of any form on the form definition database, which has a control table and is input by the operator through the display keyboard, the data entry or data update is performed. The data processing that needs to be executed is searched for all forms on the form definition database,
Based on the contents of the execution control table, the corresponding data processing is automatically executed in the correct execution order. Therefore, even when the data processing relation between the forms is multi-stage and interdependent, the entire data processing relation is A remarkable effect that it is possible to realize a form data processing method in which execution of data processing of all related forms can be controlled by using a data entry or data change for an arbitrary form as a trigger without having any information on a data processing execution order. Is played.

【図面の簡単な説明】[Brief description of the drawings]

第1図(a)は本発明の一実施例であるデータ処理実行
制御部による帳票間データ処理実行制御方式の詳細を説
明する図、第1図(b)は第1図(a)のステップ24の
詳細を説明する図、第2図は実施例の帳票データ処理シ
ステムの構成図、第3図は実施例に用いた帳票とその相
互関係を示す図、第4図は実施例に用いて帳票のデータ
処理情報と他帳票参照情報の具体例を示す図、第5図は
実行制御テーブルの実施例での途中経過状態を示す図、
第6図は実行制御テーブルの実施例での最終状態を示す
図である。 1:ディスプレイ・キーボード、2:帳票格納制御部、3:デ
ータ処理実行制御部、4:帳票定義データベース、5:帳票
定義情報、6:帳票データ、7:データ処理情報、8:他帳票
参照情報、9:帳票フォーマット、10:実行制御テーブ
ル、11:帳票処理装置、12:データエントリ部、13:最終
格納位置ポインタ。
FIG. 1 (a) is a diagram for explaining details of an inter-form data processing execution control method by a data processing execution control unit according to an embodiment of the present invention, and FIG. 1 (b) is a step of FIG. 1 (a). 24 is a diagram for explaining the details of FIG. 24, FIG. 2 is a configuration diagram of a form data processing system of the embodiment, FIG. 3 is a diagram showing forms used in the embodiment and their interrelationships, and FIG. FIG. 5 is a diagram showing a specific example of form data processing information and other form reference information, FIG. 5 is a diagram showing an intermediate state in an embodiment of an execution control table,
FIG. 6 is a diagram showing a final state of the execution control table in the embodiment. 1: Display keyboard, 2: Form storage control unit, 3: Data processing execution control unit, 4: Form definition database, 5: Form definition information, 6: Form data, 7: Data processing information, 8: Other form reference information , 9: form format, 10: execution control table, 11: form processing device, 12: data entry part, 13: final storage position pointer.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ディスプレイ・キーボードと、帳票定義デ
ータベースおよび帳票処理装置を有する帳票データ処理
装置において、前記帳票定義データベースは、各帳票単
位に設定された帳票データ,他帳票のデータ処理内容や
処理順番を全く意識することなく、各帳票単位に独立し
て設定されたデータ処理情報,他帳票参照情報および帳
票フォーマットから構成される帳票定義情報を格納し、
前記帳票処理装置は、帳票格納制御部,データ処理実行
制御部および他帳票を参照するデータ処理を格納する実
行制御テーブルを有し、操作者により前記ディスプレイ
・キーボードを通して入力される、前記帳票定義データ
ベース上の任意の帳票の任意の入力項目についてのデー
タエントリまたはデータ更新を行った場合、当該データ
エントリまたはデータ更新により実行が必要なデータ処
理を、前記帳票定義データベース上のすべての帳票につ
いて検索し、前記実行制御テーブルの内容に基づいて、
帳票定義データベース上の全帳票の中で処理実行が必要
なデータ処理のみを正しい実行順序で自動実行すること
を特徴とする帳票データ処理方式。
1. A form data processing apparatus having a display keyboard, a form definition database and a form processing apparatus, wherein the form definition database includes form data set for each form, data processing contents and processing order of other forms. Without any awareness of the data, store the data processing information independently set for each form unit, form definition information composed of other form reference information and form format,
The form processing apparatus includes a form storage control unit, a data processing execution control unit, and an execution control table for storing data processing referring to other forms, and the form definition database input by the operator through the display keyboard. When data entry or data update is performed for any input item of any of the above forms, data processing that needs to be executed by the data entry or data update is searched for all forms on the form definition database, Based on the contents of the execution control table,
A form data processing method characterized in that only data processing that needs to be executed among all forms on a form definition database is automatically executed in a correct execution order.
【請求項2】前記データエントリまたはデータ更新によ
り実行が必要となるデータ処理に関連するすべての帳票
に対して実行起動情報を設定し、操作者がこれらの実行
起動情報が設定された任意の帳票について処理開始を指
定すれば当該データ処理を実行することを特徴とする特
許請求の範囲第1項記載の帳票データ処理方式。
2. An execution start information is set for all the forms related to the data processing which needs to be executed by the data entry or the data update, and an operator sets an arbitrary form in which the execution start information is set. 2. The form data processing method according to claim 1, wherein said data processing is executed when a processing start is designated for.
【請求項3】前記操作者の指定が誤った処理順序での処
理開始を指定するものである場合、操作者に対し警告を
発することを特徴とする特許請求の範囲第2項記載の帳
票データ処理方式。
3. The form data according to claim 2, wherein a warning is issued to the operator when the specification of the operator specifies the start of processing in an incorrect processing order. Processing method.
【請求項4】前記データ処理においては、帳票内のデー
タ処理実行順序を意識することなく、順不同で設定して
も、帳票内のデータ処理も正しい順序で自動実行するこ
とを特徴とする特許請求の範囲第1項記載の帳票データ
処理方式。
4. The data processing according to claim 1, wherein the data processing in the form is automatically executed in the correct order even if the data processing is set in any order without being aware of the data processing execution order in the form. Form data processing system according to item 1.
JP62141105A 1987-06-05 1987-06-05 Form data processing method Expired - Fee Related JP2580601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62141105A JP2580601B2 (en) 1987-06-05 1987-06-05 Form data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62141105A JP2580601B2 (en) 1987-06-05 1987-06-05 Form data processing method

Publications (2)

Publication Number Publication Date
JPS63305460A JPS63305460A (en) 1988-12-13
JP2580601B2 true JP2580601B2 (en) 1997-02-12

Family

ID=15284296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62141105A Expired - Fee Related JP2580601B2 (en) 1987-06-05 1987-06-05 Form data processing method

Country Status (1)

Country Link
JP (1) JP2580601B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0196757A (en) * 1987-10-08 1989-04-14 Fujitsu Ltd List processing system
EP0506960A4 (en) * 1990-10-19 1995-10-25 Kanzaki Paper Mfg Co Ltd Multi-purpose data processing method and apparatus
TW406238B (en) 1997-07-30 2000-09-21 Naretsuji Moderingu Kenkyosho Apparatus for automatically applying and preparing software, and recording medium for preparing software

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FUJITSU,Vol.29,No.5,1978,P.797〜806

Also Published As

Publication number Publication date
JPS63305460A (en) 1988-12-13

Similar Documents

Publication Publication Date Title
JPH07239776A (en) Software system management device
JP2580601B2 (en) Form data processing method
JPH07508844A (en) Method and apparatus for facilitating generation of a user's set of machine control statements
JPH03136753A (en) Automatic system for putting technical change into practice and its method
JPH0719311B2 (en) Data processing device
JPH08138144A (en) Sales registering system corresponding to the same bar code
JPS59183464A (en) Electronic cash register
JP2839773B2 (en) Article data registration method and apparatus therefor
JPS6020280A (en) Merchandise registration device
JP2775637B2 (en) Transaction data processing device
JPH11175613A (en) Order reception management device, ordering management device and ordering/order reception management system
JP3521822B2 (en) Electronic report device and machine-readable recording medium recording program
JP3206808B2 (en) Parametric design system with attribute data editing function
JP3961465B2 (en) Inventory management system and inventory management method
JP3337717B2 (en) Database processing device and database processing method
JP3143930B2 (en) Data processing device
JPH0293829A (en) Data processor
JP2737850B2 (en) Information processing method
JP3639965B2 (en) Model wage output device
JPH064558A (en) Cost controller
JP2000084764A (en) Stock managing system and storage medium readable by computer
JP2573926B2 (en) Verification method of file update
CN116468515A (en) Intelligent order ordering method for order point location order
JP2009098724A (en) Order acceptance management device and order acceptance management method
JPS5962943A (en) Code data input device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees