JPS63305460A - Document data processing system - Google Patents

Document data processing system

Info

Publication number
JPS63305460A
JPS63305460A JP62141105A JP14110587A JPS63305460A JP S63305460 A JPS63305460 A JP S63305460A JP 62141105 A JP62141105 A JP 62141105A JP 14110587 A JP14110587 A JP 14110587A JP S63305460 A JPS63305460 A JP S63305460A
Authority
JP
Japan
Prior art keywords
data
data processing
processing
execution
information
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.)
Granted
Application number
JP62141105A
Other languages
Japanese (ja)
Other versions
JP2580601B2 (en
Inventor
Shoji Yamada
昇司 山田
Isao Satani
勲 佐谷
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

Abstract

PURPOSE:To control the execution of data processing of all relating documents by retrieving necessary data processing for all the documents on a document definition data base and automatically executing the data processing in a correct execution order at the time of data entry or data updating of an optional input item in an optional document. CONSTITUTION:When a data processing execution control part 3 in a document processor 11 refers data processing information 7 for a document generating data entry or data revision and a document data 6, and repeats the cycle of the execution of data processing and the detection of reference data processing information, the data processing 7 referring the data into which a data processed result is substituted can be executed without fail. Otherwise, since execution starting information is set up, the automatic execution function of data processing in plural documents in a correct order, a processing start function based upon operator's designation or an incorrect execution preventing function can be obtained.

Description

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

〔従来の技術〕[Conventional technology]

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

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、この方式では、「−件帳票」という事前
に定義された同一グループ内の帳票群のみを対象として
おり、また、帳票間データ処理は演算式で定義するため
、参照および代入アドレス固定の単純なデータ転記や、
集計結果転記に適用対象が限定され、更に、帳票間デー
タ処理関係が何段階にも結合され、かつ、帳票間でデー
タ処理が相互に関係する場合の処理方式については配慮
がなされていないという問題があった。
However, this method only targets a group of forms in the same predefined group called "- forms", and data processing between forms is defined by an arithmetic expression, so it is simple to use fixed reference and substitution addresses. data transcription,
The problem is that the scope of application is limited to posting aggregated results, and furthermore, there is no consideration given to the processing method when data processing relationships between forms are connected at multiple stages, and data processing is mutually related between forms. was there.

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

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

本発明の上記目的は、ディスプレイ・キーボードと、帳
票定義データベースおよび帳票処理装置を有する帳票デ
ータ処理装置において、前記帳票定義データベースは、
各帳票単位に設定された、帳票データ、データ処理情報
、他帳票参照情報および帳票フォーマットから構成され
る帳票定義情報を格納し、また、前記帳票処理装置は、
帳票格納制御部、データ処理実行制御部および他帳票を
参照するデータ処理を格納する実行制御テーブルを有し
、操作者により前記ディスプレイ・キーボードを通して
入力される、前記帳票定義データベース上の任意の帳票
の任意の入力項目についてのデータエントリまたはデー
タ更新を行った場合、当該データエントリまたはデータ
更新により実行が必要なデータ処理を、前記帳票定義デ
ータベース上のすべての帳票について検索し、前記実行
制御テーブルの内容に基づいて、該当するデータ処理を
正しい実行順序で自動実行することを特徴とする帳票デ
ータ処理方式によって達成される。
The object of the present invention is to provide a form data processing device having a display keyboard, a form definition database, and a form processing device, wherein the form definition database comprises:
The form processing device stores form definition information configured for each form, including form data, data processing information, other form reference information, and form format;
It has a form storage control unit, a data processing execution control unit, and an execution control table that stores data processing that refers to other forms, and is capable of controlling any form on the form definition database that is input by the operator through the display keyboard. When data entry or data update is performed for any input item, the data processing that needs to be executed due to the data entry or data update is searched for all the forms in the form definition database, and the contents of the execution control table are searched for. This is achieved by a form data processing method that is characterized by automatically executing the corresponding data processing in the correct execution order based on the following.

〔作用〕[Effect]

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

〔実施例〕〔Example〕

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

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

帳票の定義修正、データエントリは、ディスプレイ・キ
ーボード1を通じて入力され、帳票格納制御部2により
、帳票定義データベース4中に、帳票定義情報5として
帳票単位で格納される。該帳票定義情報5は、@票内の
データを保持する帳票データ6、帳票内および他帳票の
データを参照するデータ処理を記述したデータ処理情報
7.他帳票からデータ処理用に当該帳票内データ参照の
関係を記述した他帳票参照情報8および帳票フォーマッ
ト9から構成され、上記帳票データ6、データ処理情報
7および帳票フォーマット9は、自帳票定義時に、前記
帳票格納制御部2を介して格納され、他帳票参照情報8
は、データ処理情報定義時に、他帳票データ参照が発生
した場合に、参照データが存在する帳票の帳票定義情報
5に格納される。
Form definition corrections and data entries are input through the display/keyboard 1, and are stored in the form definition database 4 in form definition information 5 in form units by the form storage control section 2. The form definition information 5 includes form data 6 that holds data in the @ form, data processing information 7 that describes data processing that refers to data within the form and other forms. It is composed of other form reference information 8 that describes the relationship of data reference within the form for data processing from other forms, and form format 9. The form data 6, data processing information 7, and form format 9 are used when defining the own form. Other document reference information 8 is stored via the document storage control unit 2.
is stored in the form definition information 5 of the form in which the reference data exists, if reference to other form data occurs during data processing information definition.

前記データ処理実行制御部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, data processing information 7, and other form reference information 8, stores the processing results in the form data 6, Next, by sequentially repeating execution control of necessary data processing based on the data reference relationships of the processing results, execution control of data processing of all related forms is performed in the correct order. Further, the execution control table 10 is a control table indicating the execution order of data processing based on the contents of the other document reference information 8, as described later.

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

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

(1)データ処理実行制御部3は、帳票Aの@票定義情
報5内のデータ処理情報7をサーチし、起動フラグが設
定された他帳票データを参照する。第1図(a)ではデ
ータ処理■が該当し、帳票ZおよびFのデータが更新済
みであり、この帳票のデータを参照しているデータ処理
■の実行起動が必要であることを起動フラグが示してい
る。起動フラグには、データ更新済み(帳票名上にバー
付き)とデータ未更新(帳票名上にバー無し)とがあり
、後者の場合は参照帳票のデータが未更新であることを
示し、データ処理実行制御部3は、操作者にデータ未更
新帳票が存在するので帳票Aの処理開始は結果が不正に
なることを知らせ、帳票Aの処理終了またはデータ未更
新帳票の処理開始のいずれかの選択を促す。
(1) The data processing execution control unit 3 searches the data processing information 7 in the @form definition information 5 of the form A, and refers to other form data for which the startup flag has been set. In Fig. 1 (a), data processing ■ corresponds to the data processing form Z and F, and the start flag indicates that data processing It shows. There are two startup flags: data has been updated (with a bar on the form name) and data has not been updated (with no bar on the form name). In the latter case, it indicates that the data of the reference form has not been updated. The processing execution control unit 3 informs the operator that since there is a form whose data has not been updated, starting the processing of form A will result in an incorrect result, and indicates whether the processing of form A has ended or the processing of the form whose data has not been updated has been started. Encourage choice.

該当するデータがある場合には、直ちに処理を実行し、
処理結果を帳票定義情報5内の帳票データ6に格納し、
データ処理情報7中の起動フラグをクリアする0次に、
再びデータ処理情報7をサーチし、処理結果を参照して
いるデータ処理を実′行し、新しい処理結果を帳票デー
タ6に格納し。
If applicable data is available, it will be processed immediately.
Store the processing results in the form data 6 in the form definition information 5,
0th order to clear the startup flag in data processing information 7,
The data processing information 7 is searched again, the data processing referring to the processing result is executed, and the new processing result is stored in the form data 6.

以下、新しい処理結果に対するデータ処理情報7のサー
チと参照データ処理実行のサイクルを、処理結果を参照
するデータ処理情報7中のデータ処理がなくなるまで実
行する。
Thereafter, a cycle of searching the data processing information 7 for new processing results and executing reference data processing is executed until there is no more data processing in the data processing information 7 that refers to the processing results.

以上の処理により、帳票A中で処理結果の代入されたデ
ータを参照している他帳票のデータ処理を他帳票参照情
報8により検索し、もしあれば、参照帳票名とそのデー
タ処理血の対を1個の格納情報として、前記実行制御テ
ーブル10中の最終格納位置ポインタ13の次に格納し
、最終格納位置ポインタ13の値を1つ増加させる。格
納時に同一格納情報が存在する場合は、実行制御テーブ
ル10中の既格納情報をクリアする(ステップ21)。
Through the above processing, the data processing of other documents that refer to the data to which the processing result has been substituted in the document A is searched for using the other document reference information 8, and if any, the reference document name and its data processing blood are matched. is stored as one piece of storage information next to the final storage position pointer 13 in the execution control table 10, and the value of the final storage position pointer 13 is incremented by one. If the same stored information exists at the time of storage, the previously stored information in the execution control table 10 is cleared (step 21).

(2)操作者によるデータエントリが発生した場合には
、上記データ処理情報7をサーチし、エントリデータを
参照しているデータ処理を実行し、処理結果を帳票定義
情報5内の帳票データ6に格納し、以下、(1)の処理
と同様に、処理結果に対するデータ処理情報7のサーチ
と参照データ処理実行のサイクルを、処理結果を参照す
るデータ処理情報7中のデータ処理がなくなるまで実行
する。
(2) When a data entry by the operator occurs, search the data processing information 7 above, execute the data processing that refers to the entry data, and save the processing result to the form data 6 in the form definition information 5. Then, similar to the process (1), the cycle of searching the data processing information 7 for the processing result and executing the reference data processing is executed until there is no data processing in the data processing information 7 that references the processing result. .

次に、@票A中で処理結果の代入されたデータに対する
他帳票参照情報8の検索と実行制御テーブル10への格
納処理の実行を、(1)の処理のそれと全く同じ方式で
行う(ステップ22)。
Next, the search for other form reference information 8 for the data to which the processing result has been substituted in @form A and the storage process in the execution control table 10 are performed in exactly the same manner as in the process (1) (step 22).

(3)帳票Aに対する任意回のデータエントリの処理を
行った後、操作者が、帳票Aに対する処理終了を指示す
る終了コマンド、または、処理終了後に直ちに関連帳票
の自動実行を指示する実行コマンドを投入(ステップ2
3)することにより、下記のの処理(ステップ24)を
実行する。
(3) After performing data entry processing for form A any number of times, the operator issues a termination command that instructs the end of processing for form A, or an execution command that instructs automatic execution of related forms immediately after the processing is completed. Input (Step 2
3), the following process (step 24) is executed.

(4)処理内容の詳細を、第1図(b)に従って説明す
る。
(4) Details of the processing contents will be explained according to FIG. 1(b).

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

(n)上記(i)で読込んだ格納情報を同一帳票名を持
つものにグループ化する(ステップ32)。
(n) Group the stored information read in above (i) 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中か
ら、格納情報のデータ処理島をキーとした検索を行い、
該当データ処理情報から処理結果の代入されるデータを
求める。但し処理は実行しない(ステップ34)。
(b) Perform a search using the data processing island of the stored information as a key from among the data processing information 7 of the form corresponding to the group,
Obtain the data to which the processing result will be substituted from the applicable data processing information. However, no processing is performed (step 34).

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

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

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

(ニ)(3)で終了コマンドを投入した場合は、(ii
i)で求まった他帳票のデータ処理に対し。
(d) If you input the termination command in (3), (ii)
Regarding the data processing of other forms obtained in i).

該当帳票のデータ処理情報7中の該当データ処理情報に
対して、グループに対応する帳票名をデータ未更新起動
フラグとして設定する(ステップ38)。
The form name corresponding to the group is set as a data non-update activation flag for the corresponding data processing information in the data processing information 7 of the corresponding form (step 38).

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

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

(5)@票Aに対する終了処理(必要情報の格納等)を
実行する(ステップ25)。
(5) Execute termination processing (storage of necessary information, etc.) for @Vote A (step 25).

次に、前記(3)で実行コマンドが投入されたときは、
以下の処理を行う(ステップ26 、27)。
Next, when the execution command is input in (3) above,
The following processing is performed (steps 26 and 27).

(6)実行制御テーブル10中に格納情報があるか否か
を調べ、なければデータ処理実行制御部3の実行を終了
し、あれば、下記(7)の処理を行う。
(6) Check whether or not there is stored information in the execution control table 10. If not, the execution of the data processing execution control unit 3 is ended, and if there is, the following process (7) is performed.

(7)実行制御テーブル10中の先頭から最終格納領域
までの各格納情報に示す帳票名とデータ処理Nαに対応
するデータ処理を順次実行し、処理結果を該当帳票の帳
票データ6に格納する。なお、処理結果の帳票データ6
への格納時には、上記(1)または(2)のそれと同様
に、処理結果に対する該当帳票のデータ処理情報7のサ
ーチと参照データ処理実行のサイクルを、処理結果を参
照するデータ処理情報7中のデータ処理がなくなるまで
実行することは、前述の通りである。
(7) Sequentially execute data processing corresponding to the form name and data processing Nα shown in each piece of storage information from the beginning to the final storage area in the execution control table 10, and store the processing results in the form data 6 of the corresponding form. In addition, the processing result form data 6
Similarly to (1) or (2) above, the cycle of searching the data processing information 7 of the corresponding form for the processing result and executing the reference data processing is performed by searching the data processing information 7 in the data processing information 7 that refers to the processing result. As described above, the process is executed until there is no more data to be processed.

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

また、(3)で終了コマンドが投入されたときには、帳
票Aのデータエントリまたはデータ処理による更新デー
タを参照するすべての帳票に対して起動フラグが設定さ
れているので、これらの内の任意の帳票に対して操作者
が処理開始を指定すれば、(1)により、自動的に、必
要なデータ処理が実行される。但し、操作者は帳票間で
の正しい実行順序を知り得ないので、処理開始を指定し
た任意の帳票のデータ処理において、他帳票の未更新デ
ータを参照する可能性があり、この状態で処理を実行す
ると正しい結果を与えないが、(1)で述ベた如く、こ
の場合には、必ず操作者に事前に処理すべき帳票名が通
知されているので、未更新データによる処理を行うこと
はない。
Furthermore, when the end command is input in (3), the startup flag is set for all the forms that refer to the data entry of form A or the updated data by data processing, so any of these forms When the operator specifies the start of processing, the necessary data processing is automatically executed according to (1). However, since the operator does not know the correct execution order among forms, there is a possibility that unupdated data of other forms will be referenced when processing the data of a certain form for which processing is specified. If executed, it will not give the correct result, but as mentioned in (1), in this case, the operator is always notified of the name of the form to be processed in advance, so processing with unupdated data is not possible. do not have.

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

第3図は売上管理表(帳票A)、在庫管理表(帳票B)
、仕入台帳(@票C)および収益管理表(帳票D)間で
のデータ処理の相互開運を示すものである。
Figure 3 shows the sales management table (form A) and the inventory management table (form B).
, which shows the mutual benefit of data processing between the purchase ledger (@ Form C) and the revenue management table (Form D).

例えば、帳票A中の「品名」、「単価」等は、その下の
データ領域名を示し、■、■・・・・はデータ処理Nα
を示し、更に、「在庫引当分」というデータ領域は、帳
票Bの「出庫数量」というデータ領域へ帳票Bの■のデ
ータ処理で転記されることを意味している。
For example, "product name", "unit price", etc. in form A indicate the data area name below, and ■, ■... are data processing Nα
Further, the data area "Inventory allocation" means that it is transferred to the data area "Output quantity" of Form B by the data processing of Form B.

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

帳票Aのデータ処理のは、売上数量から在庫引当分を引
いた値を注文結分に代入することを意味し、帳票Aのデ
ータ処理■は、各行の単価欄と数量欄の積和を売上数量
に代入することを意味し。
Data processing for form A means subtracting the inventory allowance from the sales quantity and assigning it to the order summary. It means assigning to the quantity.

帳票Bのデータ処理■は、(適正在庫量−残数量)の結
果が非負ならばその値を、負ならばOを補充発注量に代
入することを意味し、帳票Bのデータ処理■は、帳票A
の在庫引当分の各データを、品名をキーとして帳票Bの
出庫数量の欄の品名と商品名が一致する行への代入を意
味し、帳票りのデータ処理■は、帳票Aの売上総計の値
を総売上高に累積すること、すなわち、現在の総売上高
に帳票Aの売上総計を加算した値を総売上高に代入する
こと、を意味する。また、各帳票の他帳票参照情報8も
、第4図に示す通りである。
The data processing ■ for form B means that if the result of (appropriate inventory amount - remaining quantity) is non-negative, that value is substituted for the replenishment order amount, and if it is negative, O is substituted for the replenishment order amount, and the data processing ■ for form B is as follows: Form A
This means assigning each data for inventory allocation to the row where the product name matches the product name in the issue quantity column of form B using the product name as the key. This means accumulating the value into the total sales amount, that is, substituting the value obtained by adding the total sales amount of form A to the current total sales amount to the total sales amount. In addition to each form, the form reference information 8 is also as shown in FIG.

以下、第4図のデータ処理情報7と他帳票参照情報8と
を基に、操作者が帳票Aの処理開始を指示した時点から
の実行の流れを、第1図(a)に従って説明する。帳票
Aでは、他帳票のデータを参照する処理がないため、前
記(1)の処理は実行されず、第3図に斜線を施して示
したデータエントリ部12に対するすべてのデータエン
トリが終了した時点では、前述の(2)の処理により、
実行制御テーブルIOの内容は第5図に示す状態になっ
ている。なお、第5図では、クリアされた格納情報は削
除して示した。
Hereinafter, based on the data processing information 7 and other document reference information 8 in FIG. 4, the flow of execution from the time when the operator instructs the start of processing of the document A will be explained according to FIG. 1(a). In form A, since there is no process that refers to data in other forms, the process in (1) above is not executed, and the time when all data entries for the data entry section 12 shown with diagonal lines in FIG. 3 are completed. Then, by processing (2) above,
The contents of the execution control table IO are in the state shown in FIG. In addition, in FIG. 5, cleared stored information is shown deleted.

次に、前述の(4)の処理終了時点で、実行制御テーブ
ル10の内容は第6図に示す状態となる。また、処理(
3)で終了コマンドを投入した場合、上記(4)の処理
で、各帳票のデータ処理情報7への起動フラグは、第4
図に示すように設定される。
Next, at the end of the above-mentioned process (4), the contents of the execution control table 10 are in the state shown in FIG. 6. Also, processing (
When the end command is input in step 3), the startup flag for data processing information 7 of each form is changed to the fourth one in step (4) above.
The settings are as shown in the figure.

実行コマンド投入時は、前記(7)の処理で、第6図に
示す如く、帳票りのデータ処理■→帳票Bのデータ処理
■→・・・・→帳票りのデータ処理■の順で自動実行が
行われ、帳票Aの売上数量と在庫引当分のデータエント
リに対するすべての関連1隈票の正しい順序でのデータ
処理結果が求まる。
When the execution command is input, in the process (7) above, as shown in Figure 6, the data processing of the form ■ → the data processing of form B ■ → ... → the data processing of the form ■ is automatically performed. Execution is performed to obtain data processing results in the correct order for all related single-order slips for the sales quantity and inventory reservation data entries of slip A.

また、終了コマンドにより、操作者が自動実行を行わず
に帳票Aの処理を終了し、次に、帳票りの処理開始を指
示した場合には、第4図に示すデータ処理■の起動フラ
グにより、帳票Cの処理を先に実行する必要性を操作者
に知らせ、帳票Cの総仕入高に対する帳票Aのデータエ
ントリによる更新が未実施のために発生する。誤ったデ
ータ処理の実行を防止する。
In addition, if the operator uses the end command to end the processing of form A without automatically executing it, and then instructs to start processing the form, the start flag of data processing ■ shown in Figure 4 will be activated. This occurs because the operator is informed of the necessity of processing form C first, and the update of the total purchase amount of form C by the data entry of form A has not been performed. Preventing incorrect data processing.

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

一般的に、売上管理表は売上担当者が、仕入台帳は仕入
担当者が、それぞれ管理する等、各帳票毎に管理担当者
が異なる場合が多いが1本方式によれば、各担当者は自
分の管理する帳票のデータ処理と、その中で参照する他
帳票のデータについてのみ考慮すれば良く、それ以外の
点で他帳票との関連については、−切考える必要がない
、従って、従来方式では必須である、帳票間の全体関係
を捉えて処理手段を策定するシステム設計は、少なくと
も上記実施例においては不要である。
Generally speaking, the sales management table is managed by the person in charge of sales, and the purchase ledger is managed by the person in charge of purchasing.In many cases, the person in charge of management is different for each ledger, but according to the one-line method, each person in charge The person only needs to consider the data processing of the form that he or she manages and the data of other forms that are referenced therein, and there is no need to seriously consider the relationship with other forms in other respects. At least in the above-described embodiment, the system design that determines the processing means based on the overall relationship between documents, which is essential in the conventional method, is unnecessary.

また1本方式によれば、データエントリ等帳票データの
変更に関係するデータ処理のみが実行され、実行処理性
能の向上が期待できる1例えば。
Further, according to one method, only data processing related to change of form data such as data entry is executed, and an improvement in execution processing performance can be expected, for example.

第3図において、帳票Aの単価欄のデータを帳票Cの単
価欄へ転記するデータ処理は、上述のデータエントリ時
には実行されない。一方、操作者が帳票Aの単価欄のデ
ータを変更した場合は、第1図(a)の処理により、帳
票Cと帳票りのデータ処理が実行され、帳票Bのデータ
処理は必要がないため実行されない。
In FIG. 3, the data processing of transferring the data in the unit price field of form A to the unit price field of form C is not executed at the time of data entry described above. On the other hand, if the operator changes the data in the unit price column of form A, the data processing of form C and form is executed by the process shown in Figure 1 (a), and there is no need to process the data of form B. Not executed.

〔発明の効果〕〔Effect of the invention〕

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

【図面の簡単な説明】[Brief explanation of the drawing]

第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:最終
格納位置ポインタ。 第   2   図
FIG. 1(a) is a diagram illustrating details of an inter-form data processing execution control method by a data processing execution control unit which is an embodiment of the present invention, and FIG. 1(b) is a diagram showing the steps of FIG. 1(a). 24
FIG. 2 is a configuration diagram of the form data processing system of the embodiment, FIG. 3 is a diagram showing the forms used in the example and their mutual relationships, and FIG. 4 is a diagram showing the form data processing system used in the example. FIG. 5 is a diagram showing a specific example of data processing information and other document reference information, and FIG. 5 is a diagram showing an intermediate progress state in the embodiment of the execution control table. FIG. 6 is a diagram showing the 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 section, 13: Final storage position pointer. Figure 2

Claims (1)

【特許請求の範囲】 1、ディスプレイ・キーボードと、帳票定義データベー
スおよび帳票処理装置を有する帳票データ処理装置にお
いて、前記帳票定義データベースは、各帳票単位に設定
された、帳票データ、データ処理情報、他帳票参照情報
および帳票フォーマットから構成される帳票定義情報を
格納し、前記帳票処理装置は、帳票格納制御部、データ
処理実行制御部および他帳票を参照するデータ処理を格
納する実行制御テーブルを有し、操作者により前記ディ
スプレイ・キーボードを通して入力される、前記帳票定
義データベース上の任意の帳票の任意の入力項目につい
てのデータエントリまたはデータ更新を行った場合、当
該データエントリまたはデータ更新により実行が必要な
データ処理を、前記帳票定義データベース上のすべての
帳票について検索し、前記実行制御テーブルの内容に基
づいて、該当するデータ処理を正しい実行順序で自動実
行することを特徴とする帳票データ処理方式。 2、前記データエントリまたはデータ更新により実行が
必要となるデータ処理に関連するすべての帳票に対して
実行起動情報を設定し、操作者がこれらの実行起動情報
が設定された任意の帳票について処理開始を指定すれば
当該データ処理を実行することを特徴とする特許請求の
範囲第1項記載の帳票データ処理方式。 3、前記操作者の指定が誤った処理順序での処理開始を
指定するものである場合、操作者に対し警告を発するこ
とを特徴とする特許請求の範囲第2項記載の帳票データ
処理方式。
[Claims] 1. In a form data processing device having a display keyboard, a form definition database, and a form processing device, the form definition database stores form data, data processing information, etc. set for each form. The form processing device stores form definition information including form reference information and form format, and the form processing device includes a form storage control unit, a data processing execution control unit, and an execution control table that stores data processing that refers to other forms. , when data entry or data update is performed for any input item of any form on the form definition database inputted by the operator through the display/keyboard, the data entry or data update requires execution. A form data processing method, characterized in that data processing is searched for all forms on the form definition database, and the corresponding data processing is automatically executed in the correct execution order based on the contents of the execution control table. 2. Set execution start information for all forms related to data processing that needs to be executed due to data entry or data update, and allow the operator to start processing for any form for which this execution start information has been set. The form data processing method according to claim 1, wherein the data processing is executed if . 3. The form data processing method according to claim 2, wherein a warning is issued to the operator if the operator's designation is to start processing in an incorrect processing order.
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 true JPS63305460A (en) 1988-12-13
JP2580601B2 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)

Cited By (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
WO1992007328A1 (en) * 1990-10-19 1992-04-30 Kanzaki Paper Mfg. Co., Ltd. Multi-purpose data processing method and apparatus
US6212503B1 (en) 1997-07-30 2001-04-03 Knowledge Modeling Institute Inc. Apparatus for automatically applying and preparing software, and recording medium for preparing software

Cited By (4)

* 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
WO1992007328A1 (en) * 1990-10-19 1992-04-30 Kanzaki Paper Mfg. Co., Ltd. Multi-purpose data processing method and apparatus
US6212503B1 (en) 1997-07-30 2001-04-03 Knowledge Modeling Institute Inc. Apparatus for automatically applying and preparing software, and recording medium for preparing software
US6609099B1 (en) 1997-07-30 2003-08-19 Knowledge Modeling Institute Inc. Apparatus for automatically applying and preparing software, and recording medium for preparing software

Also Published As

Publication number Publication date
JP2580601B2 (en) 1997-02-12

Similar Documents

Publication Publication Date Title
US5664129A (en) Visual programming method
JPS6177996A (en) Electronic type cash register system
JPS63305460A (en) Document data processing system
JP5319653B2 (en) Data management system, data management method, and data management program
US6006203A (en) Order control apparatus capable of reducing input operation by an input unit
JPH0695861A (en) Program parts reuse managing device
JP3639965B2 (en) Model wage output device
JPS6380325A (en) Information retrieval method and index used therefor
JP3961465B2 (en) Inventory management system and inventory management method
JP3047399B2 (en) File processing device
JP3337717B2 (en) Database processing device and database processing method
JP2839540B2 (en) Schedule information creation device
JP2734535B2 (en) Form output device
JP2550396B2 (en) Item management method in POS system
JPH0224722A (en) Data processor
JP2737850B2 (en) Information processing method
JP3358194B2 (en) Data processing device
JPS6286408A (en) Programmable controller
JP2000330836A (en) System for altering constructed database
JPS63292346A (en) Data storage method
JPS6327927A (en) Index generation system in reserved information retrieval system
JPH08272652A (en) Batch job execution confirmation system for information processing system
JPH10149247A (en) Price calculation device
JPS62172464A (en) Design support system
JPH04290137A (en) Data base structuring method for information processing system

Legal Events

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