JPH0757024A - Document processing method - Google Patents

Document processing method

Info

Publication number
JPH0757024A
JPH0757024A JP5204115A JP20411593A JPH0757024A JP H0757024 A JPH0757024 A JP H0757024A JP 5204115 A JP5204115 A JP 5204115A JP 20411593 A JP20411593 A JP 20411593A JP H0757024 A JPH0757024 A JP H0757024A
Authority
JP
Japan
Prior art keywords
data
document
processing
definition
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5204115A
Other languages
Japanese (ja)
Inventor
Shoji Yamada
昇司 山田
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 JP5204115A priority Critical patent/JPH0757024A/en
Publication of JPH0757024A publication Critical patent/JPH0757024A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To display and to output a final document by automatically retrieving a file where data to be referred to are present and automatically performing a necessary data process unless the reference data are set. CONSTITUTION:A processor 1 has a total control part 2, an input/output control part 3, a document input/output part 4, a document process execution part 5, and a document file 6, and each document stored in the document file 6 consists of document data 7 and document process definitions 8. Further, a process execution part 9 starts and executes other corresponding process routine 11 in a process routine library 10 together with various data files 12 when the routines need to be executed. Therefore, when the reference data are not set and other process routines need to be executed to set the data, the process routines are started to set the reference data. Consequently, the request driven type document processing method which performs the process execution in response to the specification of the document to be outputted finally is obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は帳票処理方法に関し、特
に、一般の事務処理で使用される伝票,管理表,台帳等
の帳票を複数扱う業務処理システムを開発,変更するの
に好適な帳票処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form processing method, and more particularly to a form suitable for developing and changing a business processing system that handles a plurality of forms such as slips, management tables, and ledgers used in general office work processing. Regarding processing method.

【0002】[0002]

【従来の技術】従来、複数の帳票に関する帳票処理方法
としては、例えば、特開平2-280269号公報に開示された
方法が知られている。この方法は、論理項目名と帳票処
理定義とを、予め、設定しておくことにより、ある帳票
のデータの投入・変更を行ったとき、関連する帳票のデ
ータ処理を自動的に行い、当該データ投入・変更の結果
をすべての関連帳票に反映させるようにしたものであ
る。
2. Description of the Related Art Conventionally, as a form processing method for a plurality of forms, for example, the method disclosed in Japanese Patent Laid-Open No. 2-280269 is known. In this method, by setting the logical item name and the form process definition in advance, when the data of a certain form is input or changed, the data process of the related form is automatically performed and the data The result of the input / change is reflected in all related forms.

【0003】[0003]

【発明が解決しようとする課題】非定型な情報処理分野
においては、最終的に求めたい帳票フォーマットと、表
示すべきデータの内容を任意に指定したいというニーズ
が強い。しかし、上記従来技術においては、例えば、デ
ータベースの項目(フィールド)名称を利用して、簡単な
データ処理とその表示を行うことは可能であるが、現実
には、参照すべきデータが複数ファイルに散在し、ま
た、参照データそのものが未設定という場合が非常に多
く、複数ファイル間のデータ処理方法を熟知していない
と、運用が困難であるという問題がある。本発明は上記
事情に鑑みてなされたもので、その目的とするところ
は、従来の技術における上述の如き問題を解消し、複数
のファイルの各々についてのデータ処理方式やデータ設
定の有無を知らなくても、上述の最終的に求めたい帳票
の処理内容を指定するだけで、参照すべきデータの存在
するファイルを自動的に検索し、もし、参照データが未
設定の場合には、自動的に必要なデータ処理を実行する
ことにより、最終的な帳票を表示・出力することを可能
とする帳票処理方法を提供することにある。
In the field of atypical information processing, there is a strong need to arbitrarily specify the form format to be finally obtained and the content of data to be displayed. However, in the above-mentioned conventional technique, for example, it is possible to perform simple data processing and display by using the item (field) name of the database, but in reality, the data to be referenced is in multiple files. In many cases, the data is scattered and the reference data itself is not set, and there is a problem that operation is difficult unless the data processing method between a plurality of files is well understood. The present invention has been made in view of the above circumstances, and an object of the present invention is to solve the above-described problems in the conventional technique and to know the data processing method and the presence or absence of data setting for each of a plurality of files. However, by simply specifying the processing contents of the form to be finally obtained as described above, the file containing the data to be referred to is automatically searched, and if the reference data is not set, it is automatically searched. It is to provide a form processing method capable of displaying / outputting a final form by executing necessary data processing.

【0004】[0004]

【課題を解決するための手段】本発明の上述の目的は、
帳票作成処理において、最終出力帳票を含む各帳票に論
理項目名を記述し、また、その帳票処理定義を記述する
ことにより、最終出力帳票を定義し、該最終出力帳票に
必要なデータの検索と、該当データが存在しない場合に
他帳票の帳票処理定義,データ処理ルーチンを実行して
必要なデータを得、帳票間でのデータ処理手順を意識す
ることなく、最終出力帳票を得る如く構成したことを特
徴とする帳票処理方法によって達成される。
The above objects of the present invention are as follows:
In the form creation process, logical item names are described in each form including the final output form, and the final output form is defined by describing the form process definition, and the data necessary for the final output form can be searched for. When the corresponding data does not exist, the form processing definition and data processing routines of other forms are executed to obtain the necessary data, and the final output form is obtained without paying attention to the data processing procedure between the forms. It is achieved by a form processing method characterized by.

【0005】[0005]

【作用】本発明に係る帳票処理方法においては、図1〜
図3に示す如く、最終出力帳票で定義された帳票定義が
入力されると、その内容を解読・実行し、順次、他帳票
のデータを参照する。なお、他帳票のデータが設定され
ていない場合には、当該帳票の帳票処理定義を解読・実
行することにより、データの設定を行う。また、参照デ
ータが未設定で、当該データの設定に他の処理ルーチン
の実行が必要な場合には、該当する処理ルーチンを起動
し、参照データの設定を行う。これらにより、従来の帳
票処理方法がデータの投入・変更を処理実行の契機とす
る、事象駆動型(Event Driven)の処理であったのに対
し、本発明に係る帳票処理方法においては、最終的に出
力したい帳票の指定を処理実行の契機とする、要求駆動
型(DemandDriven)の帳票処理方法を実現したものであ
る。
In the form processing method according to the present invention, as shown in FIGS.
As shown in FIG. 3, when the form definition defined in the final output form is input, the contents are decoded and executed, and the data of other forms are sequentially referenced. If the data of another form is not set, the data is set by decoding and executing the form process definition of the form. If the reference data is not set and it is necessary to execute another processing routine to set the reference data, the corresponding processing routine is activated and the reference data is set. As a result, the conventional form processing method is an event-driven (Event Driven) process in which data input / modification is used as a process execution trigger, whereas in the form processing method according to the present invention, This is a request-driven (Demand Driven) form processing method in which the specification of the form to be output to the process is triggered.

【0006】以下、更に詳細に説明する。本発明に係る
帳票処理方法を実現するためには、最終出力帳票上でデ
ータが未設定の論理項目を検索し、何等かの手段でデー
タを投入することが必要である。上述のデータが未設定
の論理項目にデータを設定する契機は、 (1)人間がデータ投入する (2)帳票処理定義の中にある処理定義式の演算結果が代
入される の二つがある。(1)の人間がデータ投入する場合は、コ
ンソール等を通じてデータ投入指示を表示し、人間が同
じくコンソール等を通じてデータ投入を実行すれば、容
易に実現できる。人間がデータ投入すべき論理項目であ
るか否かは、当該帳票の帳票処理定義の中の如何なる処
理定義式も演算結果を代入していないことで判定可能で
ある。
The details will be described below. In order to realize the form processing method according to the present invention, it is necessary to search the final output form for a logical item for which data is not set and input the data by some means. There are two triggers for setting data in the logical items for which the above-mentioned data has not been set: (1) human beings input data (2) the calculation result of the process definition formula in the form process definition is substituted. When the person (1) inputs the data, it can be easily realized by displaying the data input instruction through the console or the like and executing the data input through the console or the like by the person. Whether or not a human is a logical item to be input with data can be determined by not substituting the operation result in any process definition formula in the form process definition of the form.

【0007】これに対して、(2)の場合は、当該論理項
目へ、帳票処理定義の中にある処理定義式の演算結果を
代入することでデータ設定を行う。しかしながら、一般
に、処理定義式は自帳票または他帳票の任意の論理項目
を参照しているため、これらの論理項目のデータが未設
定の場合には演算実行が不可能である。この場合も、デ
ータ未設定の解決方法は、上述の(1)または(2)であ
り、(1)は容易に実行可能であるが、(2)の場合は、新
たな処理定義式の演算を行う必要がある。同様に、新た
な処理定義式の参照している論理項目のデータが未設定
の場合、更に別の処理定義式の演算を先行して行う必要
性があり、このような複数帳票上の処理定義式の連鎖的
な演算制御を自動的に行うことが、本発明に係る帳票処
理方法の技術的課題であった。
On the other hand, in the case of (2), data setting is performed by substituting the operation result of the process definition formula in the form process definition into the relevant logical item. However, in general, the process definition formula refers to an arbitrary logical item of the self-form or another form, and therefore the calculation cannot be executed when the data of these logical items is not set. In this case as well, the solution method in which the data is not set is the above-mentioned (1) or (2), and (1) can be easily executed, but in the case of (2), the calculation of the new process definition formula is performed. Need to do. Similarly, when the data of the logical item referred to by the new process definition formula is not set, it is necessary to precede the calculation of another process definition formula. It was a technical problem of the form processing method according to the present invention to automatically perform chained arithmetic control of expressions.

【0008】本発明では、この課題を解決するために、
システム内に、マイクロコンピュータで使用されている
スタック概念を用いた処理退避テーブルを設けている。
そして、これを用いて、ある処理定義式の演算実行にお
いて、これに先立って別の処理定義式の演算実行の必要
性が判明した場合は、最初の処理定義式を上述の処理退
避テーブルの最上行に格納してから、別の処理定義式の
演算を実行する。以下、同様の手順で、新たな処理定義
式の演算実行が必要となった時点で、現在実行中の処理
定義式を上述の処理退避テーブルの最上行に格納する。
そして、ある処理定義式の演算実行が終了した時点で、
上述の処理退避テーブルの最上行に格納されている処理
定義式を読み込んで、演算を実行する。
In the present invention, in order to solve this problem,
A processing save table using the stack concept used in the microcomputer is provided in the system.
Then, when it is found that it is necessary to execute the operation of another process definition expression in the operation execution of a certain process definition expression by using this, the first process definition expression is set to the top of the above-mentioned process save table. Store it in a row and then execute another operation definition operation. Thereafter, when a new process definition formula needs to be executed by the same procedure, the process definition formula currently being executed is stored in the top row of the process save table.
Then, when the calculation execution of a certain process definition expression is completed,
The process definition formula stored in the top row of the process save table described above is read, and the operation is executed.

【0009】もし、処理退避テーブルの内容がすべて空
であれば、演算式の実行は終了することになる。上記手
順を、最終出力帳票上のデータ未設定論理項目のすべて
について実施すれば、前述の本発明の目的が達成される
ことになる。本発明に係る帳票処理方法の特徴は、処理
定義式間の演算実行制御を行うために、上述の処理退避
テーブル以外に、一切、他の制御情報を必要としない点
にある。これにより、帳票処理定義は、他帳票の処理内
容に関係なく、定義および変更を何時でも行うことがで
き、かつ、自動的に必要な帳票処理の実行およびデータ
の投入指示を行い、最終出力帳票を得ることができるも
のである。
If the contents of the process save table are all empty, the execution of the arithmetic expression ends. If the above procedure is carried out for all the data-unset logical items on the final output form, the above-mentioned object of the present invention will be achieved. A feature of the form processing method according to the present invention is that no other control information is required in addition to the above-mentioned process save table in order to perform the operation execution control between process definition expressions. As a result, the form processing definition can be defined and changed at any time regardless of the processing contents of other forms, and the necessary output of the required form processing and data input instructions can be automatically issued to the final output form. Is what you can get.

【0010】[0010]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図4は、本発明の一実施例に係る帳票処理
システムの構成を示すブロック図である。図において、
1は処理装置であり、全体制御部2,入出力制御部3,
帳票入出力部4,帳票処理実行部5,帳票ファイル6を
有している。上記帳票ファイル6内に格納されている各
帳票は、帳票データ7と帳票処理定義8から構成されて
いる。また、9は処理実行部であり、他のルーチンの実
行が必要なとき、処理ルーチンライブラリ10から該当
する処理ルーチン11を、各種データファイル12とと
もに実行起動する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 4 is a block diagram showing the configuration of the form processing system according to the embodiment of the present invention. In the figure,
Reference numeral 1 is a processing device, which is an overall control unit 2, an input / output control unit 3,
It has a form input / output unit 4, a form processing execution unit 5, and a form file 6. Each form stored in the form file 6 is composed of form data 7 and form processing definition 8. Reference numeral 9 denotes a processing execution unit, which executes and starts a corresponding processing routine 11 from the processing routine library 10 together with various data files 12 when another routine needs to be executed.

【0011】以下、本実施例の動作を、図5に示す具体
例に基づいて説明する。図5において、最終出力帳票2
0は地区別利益報告書であり、図6にその出力フォーマ
ットを、図7に帳票処理定義21を示した。図6におい
て、〜は論理項目名であり、この名称を用いた帳票
処理定義21の記述において、例えば、東京売上高と
いう論理項目名のデータ設定は、図5に示した販売帳票
30上の東京地区の商品AAの売上数量と商品帳票40
上の商品AAの販売単価とを乗算し、かつ、商品BBお
よび商品CCにも同様な乗算を行い、これらの総和を東
京売上高に代入することを意味する。また、地区計売上
高は、東京売上高,大阪売上高,名古屋売上高
の総和を代入することを意味する。
The operation of this embodiment will be described below with reference to the specific example shown in FIG. In FIG. 5, the final output form 2
0 is a profit report for each district, and its output format is shown in FIG. 6 and the form processing definition 21 is shown in FIG. In FIG. 6, is a logical item name, and in the description of the form process definition 21 using this name, for example, the data setting of the logical item name of Tokyo sales is set in the sales form 30 shown in FIG. District product AA sales volume and product form 40
This means multiplying the sales unit price of the product AA above and the product BB and product CC in the same manner, and substituting the sum of these into Tokyo sales. In addition, the total sales amount of the district means that the sum total of the sales amount of Tokyo, the sales amount of Osaka, and the sales amount of Nagoya are substituted.

【0012】なお、以下の説明では、図8に示す販売帳
票30とその処理定義31,図9に示す商品帳票40と
その処理定義41,図10に示す原価帳票50とその処
理定義51が、予め設定されているものとする。販売帳
票30,商品帳票40,原価帳票50における論理項目
名は、四角の枠で囲った部分であり、自帳票および他帳
票の処理定義で参照可能である。また、販売帳票処理定
義31において、「東京=処理:TOKYO」という処理
は、処理ルーチンライブラリ10に格納された「TOK
YO」という処理ルーチンの実行により、東京地区の商
品別販売数量が設定されることを意味する。以下、具体
的な動作例を、上述の図4〜図10および図1〜図3に
示すフローチャートに基づいて説明する。
In the following description, the sales form 30 and its process definition 31 shown in FIG. 8, the product form 40 and its process definition 41 shown in FIG. 9, and the cost form 50 and its process definition 51 shown in FIG. It is assumed to be set in advance. The logical item names in the sales form 30, the product form 40, and the cost form 50 are the parts surrounded by a square frame, and can be referred to in the process definition of the own form and other forms. Further, in the sales report process definition 31, the process “Tokyo = process: TOKYO” is stored in the process routine library 10 as “TOK”.
By executing the processing routine "YO", it means that the sales quantity for each product in the Tokyo area is set. Hereinafter, a specific operation example will be described based on the flowcharts shown in FIGS. 4 to 10 and FIGS. 1 to 3 described above.

【0013】今、まず、図6,図7に示した如き地区別
利益報告書20の処理定義21を行い(ステップ61)、実
行起動をかける(ステップ62)と、帳票処理実行部5が上
述の地区別利益報告書20の内容を参照して、データ未
設定の論理項目をサーチする(ステップ63)。すべての論
理項目にデータが設定済みであれば、処理を終了する
が、そうでない場合、つまり、データが設定済みでない
論理項目があれば、そのデータ未設定の論理項目のうち
の任意のものを選択する。ここでは、例として、上述の
地区別利益報告書20中の「東京利益」を選択するもの
とすると、次に、選択された「東京利益」が処理定義2
1中のある処理定義式の演算結果が代入される論理項目
か否かをサーチする(ステップ64)。
First, the processing definition 21 of the profit report 20 for each area as shown in FIGS. 6 and 7 is performed (step 61), and the execution is activated (step 62). With reference to the contents of the profit report 20 by district, a logical item for which no data is set is searched (step 63). If data has been set for all logical items, the process ends. If not, that is, if there is a logical item for which data has not been set, select any logical item for which no data has been set. select. Here, as an example, if "Tokyo profit" in the above-mentioned district profit report 20 is selected, then the selected "Tokyo profit" is defined as process definition 2
It is searched whether or not the operation result of a certain process definition expression in 1 is a logical item to be substituted (step 64).

【0014】ここでは、処理定義21中の処理定義式 東京利益=販売帳票[東京AA]×・・・・ ・・・・(1) が該当するので、これを、今から実行すべき処理定義式
である実行定義式とする(ステップ65)。次に、全体制御
部2は、上述の実行定義式のすべての参照論理項目にデ
ータが設定されているか否かをチェックする(ステップ6
6)。他帳票の参照がある場合、全体制御部2は、帳票入
出力部4を通じて、該当帳票の内容を読み込んで、すべ
ての参照論理項目のデータが設定済みか否をチェックす
る(ステップ67)。
In this case, the process definition formula in the process definition 21 is Tokyo profit = sales form [Tokyo AA] × ... (1), which corresponds to the process definition to be executed from now on. This is an execution definition expression that is an expression (step 65). Next, the overall control unit 2 checks whether or not data is set in all the reference logical items of the above-mentioned execution definition formula (step 6).
6). When there is a reference to another form, the overall control unit 2 reads the contents of the corresponding form through the form input / output unit 4 and checks whether or not the data of all the reference logical items have been set (step 67).

【0015】ここでは、販売帳票30上の参照データで
ある東京「AA」,東京「BB」,東京「CC」は、図8に示
す如く、すべてのデータが設定済みであるが、商品帳票
40上の参照論理項目である利益「BB」,利益「CC」
は、図9に示す如く、データが未設定である。しかも、
商品帳票処理定義41の内容により、データの設定は上
述の処理定義式41内の 利益=販売単価−製造原価 ・・・・(2) の演算結果の代入であることおよび処理ルーチンでもな
いこと(ステップ68,69)がわかる。
Here, as for the reference data on the sales form 30, Tokyo “AA”, Tokyo “BB”, and Tokyo “CC”, all the data have been set as shown in FIG. Profit "BB" and profit "CC", which are the reference logical items above
Data has not been set as shown in FIG. Moreover,
According to the content of the product form processing definition 41, the data setting is the substitution of the calculation result of (profit = sales unit price−production cost ... You can see steps 68 and 69).

【0016】そこで、前述の実行定義式(1)を、システ
ム内に設けた、処理退避テーブル15の最上行(=1)に
格納し(図2参照)、最上行=2とする(ステップ70)。次
に、上述の処理定義式41内の式(2)を新たな実行定義
式とする(ステップ71)。そして、再び、図2のステップ
66から実行定義式の参照データをチェックすることによ
り、商品帳票40中の製造原価「BB」および製造原価
「CC」の論理項目データが未設定であることがわかり、
今度は、処理定義式41中の 製造原価=原価帳票[製造原価] ・・・・(3) の演算を先に行う必要が判明するので、ステップ70に示
す如く、上述の実行定義式(2)を、上述の処理退避テー
ブル15の最上行(=2)に格納し(図2参照)、最上行=
3とする。
Therefore, the above-mentioned execution definition formula (1) is stored in the uppermost row (= 1) of the processing save table 15 provided in the system (see FIG. 2) and the uppermost row = 2 (step 70). ). Next, the formula (2) in the process definition formula 41 is set as a new execution definition formula (step 71). And again, the steps of FIG.
By checking the reference data of the execution definition formula from 66, it is found that the logical item data of the manufacturing cost “BB” and the manufacturing cost “CC” in the product form 40 is not set,
This time, it becomes clear that the calculation of manufacturing cost = cost form [manufacturing cost] ... (3) in the process definition formula 41 needs to be performed first, so as shown in step 70, the execution definition formula (2 ) Is stored in the uppermost row (= 2) of the processing save table 15 (see FIG. 2), and the uppermost row =
Set to 3.

【0017】次に、新たな実行定義式(処理定義式41
中の) 製造原価=原価帳票[製造原価] ・・・・(3) について、再び、ステップ66以降の処理を行い、今度
は、図10に示した原価帳票処理定義51中の処理定義
式 製造原価=材料費+人件費+間接費 ・・・・(4) を、先に演算する必要性が判明するので、上述の実行定
義式(3)を前述の如き手順で処理退避テーブル15に格
納し、新たな実行定義式(4)を設定する。
Next, a new execution definition expression (process definition expression 41
Manufacturing cost = cost form [manufacturing cost] ... (3) is processed again from step 66, and this time, the process definition formula manufacturing in the cost form process definition 51 shown in FIG. Cost = material cost + labor cost + indirect cost ... It becomes clear that it is necessary to calculate (4) first, so the above execution definition formula (3) is stored in the process save table 15 by the procedure as described above. Then, a new execution definition formula (4) is set.

【0018】その後、再び、ステップ66〜69の処理を続
行し、今度は、原価帳票50の論理項目中の人件費がデ
ータ未設定であるため、その処理定義51中の処理ルー
チン 人件費=処理:JINKENHI を実行する(ステップ72)。これにより、実行定義式の参
照データはすべて設定済みとなるため、実行定義式の演
算と結果の代入を行う(ステップ73)。
After that, the processing of steps 66 to 69 is continued again. This time, since the personnel cost in the logical item of the cost report 50 has not been set, the processing routine personnel cost in the processing definition 51 = process. : Execute JINKENHI (step 72). As a result, all the reference data of the execution definition formula has been set, so the execution definition formula is calculated and the result is substituted (step 73).

【0019】演算結果が原価帳票50の製造原価「AA」
〜「CC」に代入されると、次に、処理退避テーブル15
の内容が空か否かをチェックする(ステップ74)。なお、
この時点では、処理退避テーブル15の内容は、図2中
に示される通りである(空ではなく)ので、新たな実行定
義式として、該テーブル最上行の 製造原価=原価帳票[製造原価] ・・・・(3) を設定し、該テーブルの最上行をクリアする(ステップ7
5,76)。
The calculation result is the manufacturing cost "AA" of the cost report 50.
~ When assigned to "CC", next, the processing save table 15
It is checked whether or not the content of is empty (step 74). In addition,
At this point in time, the contents of the process save table 15 are as shown in FIG. 2 (not empty), so the new execution definition formula is: manufacturing cost in the top row of the table = cost form [manufacturing cost]. ... (3) is set and the top row of the table is cleared (step 7
5, 76).

【0020】その後、再び、ステップ66〜69の処理を続
行し、今度は、参照データがすべて設定済みのため、ス
テップ67からステップ73に進み、ステップ75において、
新たな実行定義式として、 利益=販売単価−製造原価 ・・・・(2) を設定する。この実行定義式も、参照データがすべて設
定済みとなるので、ステップ73の演算実行を行う。
Thereafter, the processing of steps 66 to 69 is continued again, and this time, since all the reference data have been set, the routine proceeds from step 67 to step 73, and at step 75,
Profit = sales unit price−production cost ... (2) is set as a new execution definition formula. Also in this execution definition formula, since all the reference data have been set, the calculation of step 73 is executed.

【0021】なお、本実施例においては、商品帳票40
中の販売単価「AA」〜「CC」はすべてデータ設定済みと
なっているが、もし、その一部または全部のデータが未
設定の場合には、ステップ68により、データ投入指示
(図2中のステップ77)が表示される。これに従って、デ
ータ投入を行うことにより、演算実行が可能となる。更
に、商品帳票40中の販売単価がある処理定義式の演算
結果の代入でデータが設定される場合にも、ステップ70
〜ステップ71の処理が行われ、データ設定が自動的に行
われる。
In the present embodiment, the product form 40
All of the selling unit prices “AA” to “CC” in the inside have already been set with data, but if some or all of the data have not been set, a data input instruction is given in step 68.
(Step 77 in FIG. 2) is displayed. According to this, the data can be input to perform the operation. Further, even when the data is set by substituting the calculation result of the process definition formula having the sales unit price in the product form 40, step 70
~ The process of step 71 is performed, and data setting is automatically performed.

【0022】上記手順を繰り返すことにより、最終的に
は、地区別利益報告書20の処理定義21中の処理定義
式 東京利益=販売帳票[東京AA]×・・・・ ・・・・(1) の演算が実行され、のデータが設定される。この時点
で、前述の処理退避テーブル15の内容は空である(ス
テップ74)ので、処理はステップ63に進む。以下、地区
別利益報告書20中のデータ未設定の論理項目について
同様の処理を行うことにより、地区別利益報告書20の
すべての論理項目にデータが自動的に設定される。
By repeating the above-mentioned procedure, finally, the processing definition formula in the processing definition 21 of the profit report 20 by district Tokyo profit = sales form [Tokyo AA] × ... ) Is executed and the data of is set. At this point, the contents of the process save table 15 described above are empty (step 74), so the process proceeds to step 63. Hereinafter, by performing the same processing on the logical items for which no data is set in the district profit report 20, data is automatically set in all the logical items of the district profit report 20.

【0023】従って、他帳票の論理項目名と処理ルーチ
ン名さえ知っていれば、他帳票の処理内容や、帳票間の
データ参照関係および処理実行順序を全く意識すること
なしに、任意の最終出力帳票を定義するのみで、最終出
力帳票のすべての論理項目にデータが自動的に設定さ
れ、任意の最終出力帳票を得ることができる。
Therefore, if only the logical item names and processing routine names of other forms are known, any final output form can be obtained without paying attention to the processing contents of other forms, the data reference relationship between the forms, and the processing execution order. By simply defining, the data is automatically set in all logical items of the final output form, and any final output form can be obtained.

【0024】なお、上記実施例は本発明の一例を示した
ものであり、本発明はこれに限定されるべきものではな
いことは言うまでもないことである。例えば、各帳票の
データの構成フォーマット,定義言語・フォーマット等
は、対象とするシステムに応じて任意に選択して使用す
ることが可能である。
It is needless to say that the above embodiment shows an example of the present invention, and the present invention should not be limited to this. For example, the data format of each form, the definition language, the format, etc. can be arbitrarily selected and used according to the target system.

【0025】[0025]

【発明の効果】以上、詳細に説明した如く、本発明によ
れば、複数のファイルの各々についてのデータ処理方式
やデータ設定の有無を知らなくても、上述の最終的に求
めたい帳票の処理内容を指定するだけで、参照すべきデ
ータの存在するファイルを自動的に検索し、もし、参照
データが未設定の場合には、自動的に必要なデータ処理
を実行することにより、最終的な帳票を表示・出力する
ことを可能とする帳票処理方法を実現できるという顕著
な効果を奏するものである。
As described above in detail, according to the present invention, it is possible to process the above-mentioned final desired sheet without knowing the data processing method or the presence / absence of data setting for each of a plurality of files. By simply specifying the content, the file that contains the data to be referenced is automatically searched, and if the reference data is not set, the necessary data processing is automatically executed to make the final This has a remarkable effect of realizing a form processing method capable of displaying and outputting a form.

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

【図1】本発明の一実施例に係る帳票処理システムの動
作概要を示すフローチャートの一部である。
FIG. 1 is a part of a flowchart showing an operation outline of a form processing system according to an embodiment of the present invention.

【図2】本発明の一実施例に係る帳票処理システムの動
作概要を示すフローチャートの他の一部である。
FIG. 2 is another part of the flowchart showing the operation outline of the form processing system according to the embodiment of the present invention.

【図3】本発明の一実施例に係る帳票処理システムの動
作概要を示すフローチャートの更に他の一部である。
FIG. 3 is still another part of the flowchart showing the operation outline of the form processing system according to the embodiment of the present invention.

【図4】実施例に係る帳票処理システムの構成を示すブ
ロック図である。
FIG. 4 is a block diagram showing a configuration of a form processing system according to an embodiment.

【図5】具体的な帳票処理動作を説明する流れ図であ
る。
FIG. 5 is a flowchart illustrating a specific form processing operation.

【図6】具体例としての最終出力帳票の定義例を示す図
である。
FIG. 6 is a diagram showing a definition example of a final output form as a specific example.

【図7】図4に示した最終出力帳票の処理定義例を示す
図である。
FIG. 7 is a diagram showing a process definition example of the final output form shown in FIG.

【図8】具体例としての販売帳票の定義例とその処理定
義例を示す図である。
FIG. 8 is a diagram showing a definition example of a sales form as a specific example and a process definition example thereof.

【図9】具体例としての商品帳票の定義例とその処理定
義例を示す図である。
FIG. 9 is a diagram showing a definition example of a product form as a specific example and a processing definition example thereof.

【図10】具体例としての原価帳票の定義例とその処理
定義例を示す図である。
FIG. 10 is a diagram showing a definition example of a cost form as a specific example and a processing definition example thereof.

【符号の説明】[Explanation of symbols]

1:処理装置、2:全体制御部、3:入出力制御部、
4:帳票入出力部、5:帳票処理実行部、6:帳票ファ
イル、7:帳票データ、8:帳票処理定義、9:処理実
行部、10:処理ルーチンライブラリ、11:処理ルー
チン、12:各種データファイル、20:最終出力帳票
(地区別利益報告書)、21:地区別利益報告書20の帳
票処理定義、30:販売帳票、31:販売帳票30の処
理定義、40:商品帳票、41:商品帳票40の処理定
義、50:原価帳票、51:原価帳票50の処理定義。
1: processor, 2: overall controller, 3: input / output controller,
4: Form input / output unit, 5: Form process execution unit, 6: Form file, 7: Form data, 8: Form process definition, 9: Process execution unit, 10: Process routine library, 11: Process routine, 12: Various Data file, 20: Final output form
(Profit report by district), 21: Form processing definition of profit report by district 20, 30: Sales form, 31: Process definition of sales form 30, 40: Product form, 41: Process definition of product form 40, 50 : Cost report, 51: process definition of cost report 50.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 帳票作成処理において、最終出力帳票を
含む各帳票に論理項目名を記述し、また、その帳票処理
定義を記述することにより、最終出力帳票を定義し、該
最終出力帳票に必要なデータの検索と、該当データが存
在しない場合に他帳票の帳票処理定義,データ処理ルー
チンを実行して必要なデータを得、帳票間でのデータ処
理手順を意識することなく、最終出力帳票を得る如く構
成したことを特徴とする帳票処理方法。
1. In the form creating process, a logical item name is described in each form including the final output form, and the final process form is defined by describing the form process definition, which is required for the final output form. Data, and if the corresponding data does not exist, execute the form processing definition and data processing routine of other forms to obtain the necessary data, and output the final output form without being aware of the data processing procedure between forms. A form processing method characterized by being configured so as to obtain.
【請求項2】 前記各帳票は、その構成要素である帳票
データと、帳票処理定義の対とから構成されてファイル
に格納されており、論理項目名を用いることにより、他
帳票の同一論理項目名の参照を可能としたことを特徴と
する請求項1記載の帳票処理方法。
2. Each of the forms is stored in a file, which is composed of form data, which is a component of the form, and a pair of form processing definitions, and is stored in a file. By using a logical item name, the same logical item of another form can be obtained. The form processing method according to claim 1, wherein the name can be referred to.
【請求項3】 前記他帳票の帳票処理定義,データ処理
ルーチンの実行制御を行う全体制御部を有し、該全体制
御部からの指示により、必要なデータを帳票データに取
り込むことを特徴とする請求項1または2記載の帳票処
理方法。
3. A form control unit for controlling a form process definition of another form and an execution control of a data processing routine, wherein necessary data is taken into the form data according to an instruction from the general control unit. The form processing method according to claim 1.
JP5204115A 1993-08-18 1993-08-18 Document processing method Pending JPH0757024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5204115A JPH0757024A (en) 1993-08-18 1993-08-18 Document processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5204115A JPH0757024A (en) 1993-08-18 1993-08-18 Document processing method

Publications (1)

Publication Number Publication Date
JPH0757024A true JPH0757024A (en) 1995-03-03

Family

ID=16485067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5204115A Pending JPH0757024A (en) 1993-08-18 1993-08-18 Document processing method

Country Status (1)

Country Link
JP (1) JPH0757024A (en)

Similar Documents

Publication Publication Date Title
JPH0475170A (en) Data base operation system
JPH0757024A (en) Document processing method
JPH0433164A (en) Temporary table connection system in relational type data base
JPS61226834A (en) Displaying picture editing system
JPS63261462A (en) Rack division management system
JP2580601B2 (en) Form data processing method
JP2824256B2 (en) Character display system
JPH0277838A (en) Control system for program selective execution menu
JP2002108875A (en) Electronic manual unit and electronic manual change method
JP2637028B2 (en) Data processing method and multimedia data processing device in multimedia system
JPH09153101A (en) Data analyzing method based upon displayed graph
JPH05274104A (en) Menu selection processing system
JP2001195532A (en) Matrix preparing method and display method
JP3041526B2 (en) Presentation support system
JP2805886B2 (en) Menu processing device
JPH0744446A (en) Relating method for grouped information
JP2003141189A (en) Analytical model creating device
JP2597286B2 (en) Data processing system
JPH03116318A (en) Slip input device
JPH0633207U (en) NC program number list display device
JPH01123369A (en) Presentation device
JPH06195398A (en) Cad system
JPH04250526A (en) File processor
JPH06124071A (en) Automatic specification display device
JPH0798729A (en) Estimate data processor