JPH0224746A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPH0224746A JPH0224746A JP63175407A JP17540788A JPH0224746A JP H0224746 A JPH0224746 A JP H0224746A JP 63175407 A JP63175407 A JP 63175407A JP 17540788 A JP17540788 A JP 17540788A JP H0224746 A JPH0224746 A JP H0224746A
- Authority
- JP
- Japan
- Prior art keywords
- word
- file
- input
- data
- standard
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、売上げ、仕入等の各種取引別のデータ処理
を行ない、対応する各種ファイルに対して記帳処理(フ
ァイル更新処理)を行なうデータ処理装置に関する。[Detailed Description of the Invention] [Field of Industrial Application] This invention processes data for each type of transaction such as sales and purchases, and performs bookkeeping processing (file update processing) on various corresponding files. It relates to a processing device.
[従来の技術]
従来、各種売上げ商品に対する売上げ伝票を発行する場
合、ビジネス用パーソナルコンピュータ、オフィスコン
ピュータ、汎用コンピュータ等の事務処理装置が一般に
使用されている。これらの事務処理装置を使用すること
により、各種入力伝票に基づくデータ処理が行なわれて
各種管理情報、例えば品目別売上明細情報、得意先別売
上情報等を容易に得ることができる。そして、上記各種
情報は上記事務処理装置に接続される各種ファイル群例
えば元帳ファイル、集計ファイル、管理ファイル等に分
類されて記憶管理されている。[Prior Art] Conventionally, when issuing sales slips for various sales products, office processing devices such as business personal computers, office computers, and general-purpose computers have generally been used. By using these office processing devices, data processing is performed based on various input slips, and various management information, such as sales details information by item and sales information by customer, etc., can be easily obtained. The various types of information are classified and stored and managed into various file groups, such as ledger files, total files, and management files, which are connected to the office processing device.
[発明が解決しようとする問題点]
ところで、上記事務処理装置において上述したような複
数のファイルにより情報を記憶管理する為には、システ
ムエンジニアが予め各ファイルに対応するファイル管理
システムを設計しておかなければならない。これらシス
テム設計において従来の事務処理装置でネックとなるも
のとして、ファイルに対する更新プログラムの設計があ
げられる。即ち、ファイルのレコード構造は、各ファイ
ル毎に異なっており、各ファイル毎にレコードの構造を
決めるワードの種類及びワードの位置が異なっている。[Problems to be Solved by the Invention] By the way, in order to store and manage information using multiple files as described above in the above-mentioned office processing device, a system engineer must design a file management system corresponding to each file in advance. I have to keep it. In designing these systems, one of the bottlenecks for conventional office processing devices is the design of update programs for files. That is, the record structure of a file is different for each file, and the types of words and the positions of words that determine the record structure are different for each file.
そのため、予め決められた入力伝票に基づいて入力され
たデータより個々のファイルに対してワード内容を更新
するに当っては、各ファイルに1対1に対応して更新用
プログラムの設計をしておかなければならず、使用した
いファイルの数が非常に多い場合には、そのプログラム
設計に多大な時間を要していた。Therefore, when updating the word content of individual files from data input based on a predetermined input slip, the update program must be designed in one-to-one correspondence to each file. If there are a large number of files to be used, it takes a lot of time to design the program.
また、通常の企業において取扱う伝票の種類は非常に多
く、例えば受注伝票、売上伝票、佳人伝票等の各種営業
伝票や、旅費精算書、入金伝票等の各種振替伝票等、種
々雑多である。しかも上記各伝票のフォーマット(入力
ワードの種類及びその順番)も個々の伝票毎に異なって
いるのが一般的である。従って、入力伝票のフォーマッ
トに基づいて入力されたデータによるファイル更新プロ
グラムの設計も、上記各種伝票毎に設計しなければなら
ず、ユーザーの各種要望に沿った伝票処理システムの設
計には多大な手間と時間を要していた。In addition, there are a large number of types of documents that are handled in a typical company, such as various business documents such as order receipts, sales documents, and honorable mention documents, and various transfer documents such as travel expense statements and deposit slips. Moreover, the format of each of the above-mentioned slips (types of input words and their order) generally differs for each slip. Therefore, the design of a file update program using input data based on the format of the input slip must be designed for each of the above various slips, and it takes a lot of time and effort to design a slip processing system that meets the various requests of users. It took time.
この発明の課題は、各種伝票発行に伴う各種管理情報を
記憶する各種ファイルを有する装置に対するシステム設
計処理を簡易化することにより、ユーザーの要望に応じ
たシステム全体の新規設計及び設計変更を容易にするこ
とである。An object of this invention is to simplify the system design process for a device that has various files that store various types of management information associated with the issuance of various types of slips, thereby making it easier to newly design or change the design of the entire system in response to user requests. It is to be.
この発明は、統一化された標準レコードを構成する各標
準ワードに対して、例えば売上伝票、佳人伝票等に基づ
く各種取引処理別に各入力ワードとの対応づけを任意に
定義する定義手段と、指定された取引処理における各入
力ワードに対応するデータを入力する入力手段と、上記
定義手段で定義づけられた取引処理の入力ワードと標準
ワードとの対応に基づいて、各入力ワードのデータを標
準レコードの標準ワードのデータに変換する変換手段と
を備えるものである。This invention provides a definition means for arbitrarily defining a correspondence with each input word for each type of transaction processing based on, for example, sales slips, celebrity slips, etc., for each standard word constituting a unified standard record; Based on the input means for inputting data corresponding to each input word in the transaction processing, and the correspondence between the input word of the transaction processing and the standard word defined by the definition means above, the data of each input word is converted into a standard record. and conversion means for converting the data into standard word data.
[作用〕
まず定義手段によって、各種伝票等に基づく各種取引別
に、各入力ワードを特定フォーマットの標準レコードを
構成する標準ワードに対応づけた定義を行なっておく。[Operation] First, the definition means defines each input word in correspondence with a standard word constituting a standard record of a specific format for each type of transaction based on various types of slips.
そして、実際の伝票に基づく取引処理を行なう場合、ま
ず、いずれの取引処理を行なうかを指定し、その指定に
基づく伝票等のフォーマットに従って入力ワードに対応
するデータを入力手段より順次入力して入力レコードを
作成する。すると変換手段が起動され、上記定義手段で
予め定義づけされた入力ワードと標準ワードの対応に基
づいて、入力レコードが統一された1種類の標準レコー
ドに変換される。すなわち、いかなるフォーマットの入
力伝票に基づいてデータ入力が行なわれたとしても、こ
のデータ入力により作成される入力レコードは全て唯一
のフォーマットの標準レコードに変換されることになる
。When performing transaction processing based on an actual slip, first specify which transaction processing is to be performed, and then input the data corresponding to the input word sequentially from the input means according to the format of the slip etc. based on the specification. Create a record. Then, the conversion means is activated, and the input record is converted into one type of unified standard record based on the correspondence between the input word and the standard word defined in advance by the definition means. That is, no matter what format data is input based on the input slip, all input records created by this data input will be converted into standard records of only one format.
従って、各種伝票に基づいて入力されたデータはフォー
マットが統一化された標準レコードとして記憶されるこ
とになり、このレコードに基づいて各種ファイル、例え
ば元帳ファイル、集計ファイル、管理ファイルに対する
更新等のデータ処理を行なう際は、その処理が全て統一
化されたものとなり、上記更新処理のためのファイル処
理設計が極めて簡単なものとなる。Therefore, data entered based on various slips will be stored as standard records with a unified format, and based on this record, data such as updates to various files, such as ledger files, summary files, and management files, will be stored. When processing is performed, all the processing is unified, and the file processing design for the update processing becomes extremely simple.
[実施例]
以下、一実施例を第1図乃至第15図を参照して説明す
る。[Example] An example will be described below with reference to FIGS. 1 to 15.
(1) 実施例の構成
第1図は可変長データを処理するデータ処理装置のシス
テム構成図を示したものである。同図において11は入
力装置で、各種入力モードを指定するモードキー、取引
の種類(仕種)を指定する仕種指定キー、テンキー、フ
ァンクションキー等を備えている。上記入力モードとし
ては、詳細を後述する記帳設定テーブルをエデイツトす
るテーブルエデイツトモード、仕種指定ワードをエデイ
ツトするワードエデイツトモード、伝票の記帳処理等を
行なう処理モードがある。そして、上記入力装置11よ
りキー操作に従って出力される入力モード指定データ、
仕種指定データ、エデイツトデータ等は、エデイツト処
理装置12へ送られ、このエデイツト処理袋ff112
により伝種別ワードファイル13及び記帳設定テーブル
14がアクセスされる。上記伝種別ワードファイル13
には、各種入力伝票のフォーマットに対応して入力すべ
きデータのワード名を定義するための定義表(以下、A
表と言う)と、各種入力伝票に基づいて入力されるデー
タを後述する標準伝票ファイルのレコード構造に一致す
るレコードデータに変換することを定義するための定義
表(以下、0表と言う)と、入力伝票等の各種表示フォ
ーマットを定義するための定義表(以下、D表と言う)
と、入力伝票等の各種印字フォーマットを定義するため
の定義表(以下、E表と言う)が各種取引の種類に応じ
て設定されている。第2図は伝種別ワードファイル13
の内容を示すもので、「受注」、「掛売上」、「発注」
、「掛仕入」・・・等の取引処理あるいは「旅費精算」
・・・等の取引処理別に設定される上記A−E表の内容
を示している。例えば「受注」についてはAt表、01
表、C1表、E1表の各定義がなされ、「掛売上」につ
いてはA2表、C2表、D2表。(1) Configuration of Embodiment FIG. 1 shows a system configuration diagram of a data processing device that processes variable length data. In the figure, reference numeral 11 denotes an input device, which includes a mode key for specifying various input modes, a type specification key for specifying the type of transaction (type of transaction), a numeric keypad, function keys, and the like. The above-mentioned input modes include a table edit mode for editing a bookkeeping setting table, which will be described in detail later, a word edit mode for editing type designation words, and a processing mode for performing billing processing of slips. and input mode designation data output from the input device 11 according to key operations;
Type designation data, edit data, etc. are sent to the edit processing device 12, and the edit processing bag ff112 is sent to the edit processing device 12.
The transmission type word file 13 and the bookkeeping setting table 14 are accessed. The above Den type word file 13
There is a definition table (hereinafter referred to as A
table) and a definition table (hereinafter referred to as 0 table) for defining the conversion of data input based on various input slips into record data that matches the record structure of the standard slip file described later. , definition table for defining various display formats such as input slips (hereinafter referred to as D table)
Definition tables (hereinafter referred to as E-tables) for defining various printing formats of input slips and the like are set according to the types of various transactions. Figure 2 is Den type word file 13
It shows the contents of "order received", "receipt of sales", "order placed"
, transaction processing such as "credit purchase" or "travel expense settlement"
. . . The contents of the above table A-E are shown, which are set for each transaction process. For example, for "order", At table, 01
Tables C1 and E1 have been defined, and for "credit sales" Tables A2, C2, and D2.
62表の各定義がなされている。Each definition in 62 tables has been made.
しかして、上記エデイツト処理装置12は、入力装置1
1からの指示に基づいて記帳設定テーブル14のエデイ
ツト、伝種別ワードファイル13における指定仕種の定
義内容のエデイツト、伝種別の定義内容の読出し等の処
理を行なうもので、伝種別ワードファイル13から伝種
別の定義内容を読出した際は、A表を入カワートメモリ
15に、0表を伝票ワードメモリIBに、D表を表示ワ
ードメモリ17に、E表を印字ワードメモリ18にロー
ドし、その後、入力処理装置20に起動指令を与える。Thus, the edit processing device 12 has the input device 1
Based on the instructions from 1, it performs processing such as editing the bookkeeping setting table 14, editing the definition contents of specified specifications in the mission type word file 13, and reading the definition contents of the mission type. When reading the definition contents of the type, load table A into the input word memory 15, table 0 into the slip word memory IB, table D into the display word memory 17, and table E into the print word memory 18, and then input it. A startup command is given to the processing device 20.
そして、上記入カワートメモリ15にロードされたA表
は入力処理装置20へ、伝票ワードメモリ16にロード
された0表は伝票処理装置21へ、表示ワードメモリ1
7にロードされたD表は表示処理装置22へ、印字ワー
ドメモリ18にロードされたE表は印字処理装置23へ
読出される。また、上記入力処理装置20には、入力装
置11が接続されると共に、索引テーブル24.ワーク
メモリ26が接続される。上記索引テーブル24には、
例えば当日の日付及び伝票発行毎に自動更新される伝播
(伝票番号)が記憶されていると共に、各種板い商品に
対する商品コード。Then, the A table loaded into the input column memory 15 is sent to the input processing device 20, the 0 table loaded into the slip word memory 16 is sent to the slip processing device 21, and the display word memory 1
The D table loaded into the print word memory 18 is read out to the display processing device 22, and the E table loaded into the print word memory 18 is read out to the print processing device 23. Further, the input device 11 is connected to the input processing device 20, and the index table 24. A work memory 26 is connected. In the index table 24,
For example, the current date and the transmission (slip number) that is automatically updated each time a slip is issued are stored, as well as product codes for various board products.
商品名、単価等が予め記憶設定されている。そして、上
記入力処理装置20は、入カワートメモリ15から読出
したA表に基づいて入力処理を行ない、その入力データ
をワークメモリ2Bに記憶すると共に、データ処理に応
じて伝票処理装置21.表示処理装置22.印字処理装
置23を起動する。上記伝票処理装置21には、標準伝
票ファイル27が接続され、この上記伝票処理装置21
は、入力処理装置20からの起動指令によって処理動作
を開始し、伝票ワードメモリ1Bに記憶された0表に基
づいて標準伝票レコードデータを作成し、標準伝票ファ
イル27に順次登録する。Product names, unit prices, etc. are stored and set in advance. Then, the input processing device 20 performs input processing based on the A table read from the input word memory 15, stores the input data in the work memory 2B, and also stores the input data in the slip processing device 21. Display processing device 22. The print processing device 23 is activated. A standard slip file 27 is connected to the slip processing device 21, and the slip processing device 21
starts its processing operation in response to a startup command from the input processing device 20, creates standard slip record data based on the 0 table stored in the slip word memory 1B, and sequentially registers it in the standard slip file 27.
また、上記表示処理装置22は、入力処理装置20から
の起動指令により処理動作を開始し、表示ワードメモリ
17に記憶されているD表に基づいてワークメモリ2B
内のワードデータを読出して表示データを作成し、表示
装置28に表示する。印字処理装置23は、入力処理装
置20から起動指令が与えられると、印字ワードメモリ
18に記憶されているE表に基づいてワークメモリ2B
から読出したワードデータから読出した各種ワードデー
タにより指定フォーマットの伝票データあるいは帳票デ
ータを作成し、印字装置29を駆動して伝票あるいは帳
票をプリントアウトする。Further, the display processing device 22 starts processing operation in response to a startup command from the input processing device 20, and based on the D table stored in the display word memory 17, the display processing device 22 starts the processing operation in the work memory 2B based on the D table stored in the display word memory 17.
The word data within is read out to create display data, which is displayed on the display device 28. When the print processing device 23 is given a start command from the input processing device 20, the print processing device 23 prints data in the work memory 2B based on the E table stored in the print word memory 18.
Voucher data or form data in a specified format is created using the various word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read from the word data read out from the word data read out.
しかして、上記標準伝票ファイル27に登録された標準
伝票レコードデータは、記帳処理装置31へ送られる。The standard slip record data registered in the standard slip file 27 is then sent to the bookkeeping processing device 31.
この記帳処理装置31は、内部に変換メモリ32を備え
ており、上記記帳設定テーブル14と共にファイルフォ
ーマットメモリ33が接続される。This bookkeeping processing device 31 includes a conversion memory 32 inside, and a file format memory 33 is connected together with the bookkeeping setting table 14.
上記記帳処理装置31は、入力装置11からの記帳指令
により起動し、記帳設定テーブル14、変換メモリ32
、ファイルフォーマットメモリ33の記憶データに基づ
き、標準伝票ファイル27に登録されている標準伝票レ
コードよりファイル更新用のレコード(以下、メンテナ
ンスレコードと言う)を作成し、メンテナンスメモリ3
4に記帳する。このメンテナンスメモリ34には、複数
のメンテナンスレコードデータが記憶され、入力装置1
1あるいは記帳処理装置31からの更新指令によりファ
イル更新装置35へ送られ、このメンテナンスレコード
データに基づいて元帳ファイル群3θ、集計ファイル群
37、管理ファイル群38内の対応ファイルに対して更
新処理が行なわれる。The bookkeeping processing device 31 is activated by a bookkeeping command from the input device 11, and includes a bookkeeping setting table 14, a conversion memory 32,
, a file update record (hereinafter referred to as maintenance record) is created from the standard slip record registered in the standard slip file 27 based on the data stored in the file format memory 33, and the maintenance memory 3
Record in 4. This maintenance memory 34 stores a plurality of maintenance record data, and the input device 1
1 or an update command from the bookkeeping processing device 31 is sent to the file update device 35, and based on this maintenance record data, update processing is performed on the corresponding files in the ledger file group 3θ, the total file group 37, and the management file group 38. It is done.
しかして、上記仕種別ワードファイル13には、−■二
記したように各種仕種別の定義内容が設定されるが、例
えば「掛売上」の伝票処理及び「掛仕入」の伝票処理を
行なう場合のA表、0表は具体的には第3図、第4図に
示すように設定される。第3図は「掛売上」の伝票処理
を行なう場合のA2表。Therefore, in the above-mentioned account type word file 13, the definition contents of various types of accounts are set as described in -■2. Specifically, the A table and the 0 table in this case are set as shown in FIGS. 3 and 4. Figure 3 is an A2 table for processing slips for "credit sales."
02表について、又、第4図は「掛仕入」の伝票処理を
行なう場合のA4.C4表について示したものである。Regarding Table 02, Figure 4 shows the A4. This is shown in Table C4.
A2表及びA4表は共に入力データをワード名に対応づ
け、以後ワードデータとじて取扱えるようにするための
ワード名及びワード条件を定義するA表であり、このA
表は、al。Table A2 and Table A4 are both A tables that define word names and word conditions for associating input data with word names so that they can be handled as word data from now on.
The table is al.
C2,C3の3つの項目からなっている。即ち、alに
は「得意先名9日付、伝番(伝票番号)」の各ワード名
がヘッディングのワードとして、C2には「品名、コー
ド、数量、単価、金額(数量×単価)」の各ワード名が
アイテムのワードとして、C3には「金額(合計)」の
ワード名が後人ヘディングのワードとして設定される。It consists of three items, C2 and C3. That is, in al, each word name of "Customer name 9 date, document number (slip number)" is used as a heading word, and in C2, each word name is "product name, code, quantity, unit price, amount (quantity x unit price)". The word name is set as the item word, and the word name "amount (total)" is set as the successor heading word in C3.
ここで、上記各ワード名のうち「日付、伝書、単価」の
各ワード名は索引テーブル24を参照することにより入
力されるワードであることを示す索引のワード条件を、
「得意先名2品名、数量」の各ワード名は入力装置11
でのキー操作により入力されるワードであることを示す
入力のワード条件を、「金額(数fix単価)」のワー
ド名は計算式がワード名で記された演算ワード条件を示
している。Here, among the above word names, the word conditions of the index indicating that each word name of "date, message, unit price" is a word input by referring to the index table 24,
Each word name of “Customer name 2 Product name, Quantity” is entered on the input device 11
The input word condition indicating that the word is input by a key operation in , and the word name "amount (number fix unit price)" indicate the calculation word condition in which the calculation formula is written in the word name.
また、02表及び04表は共に各種入力伝票に基づいて
入力されたレコードデータを統一化された標準伝票のレ
コードデータに変換し、このレコードデータを標準伝票
ファイル27に登録することを定義する0表であり、こ
の0表は、cl、C2゜C3,C4の項目からなる。即
ち、C1には「標準伝票ファイル」が更新対象のファイ
ル名として、C2には「追加」を示すコードが更新種別
として設定され、C3,C4には標準伝票ファイル27
におけるワード名(標準ワード名)と上記A表により指
定されるワード名(入力ワード名)との対応づけが設定
される。上記C3には例えば「年月口」、「金額」、「
借方科目」、・・・等の各種標準ワード名が固定化され
た順番で予め設定されている。そして、この各標準ワー
ド名に対応させて各仕種におけるC4の入力ワード名が
設定される。例えば「年月日」標準ワード名に対しては
「日付」の入力ワード名が設定され、「金額」の標準ワ
ード名に対しては「金額」の入力ワード名が設定される
。ところで「借方科目」、「貸方科目J、rfff1区
」、「取引科目」、「会計年月」の各標準ワード名は上
記A表のワード名とは1対1に対応していない。これは
、これら標準ワード名が仕種の内容によって一義的に決
まるワード名だからであり、例えば第3図の02表のよ
うに仕種が「掛売上」の場合、上記各標準ワード名に対
して「売掛」、「売上J、r20J、r50J。Tables 02 and 04 both define converting record data input based on various input slips into unified standard slip record data, and registering this record data in the standard slip file 27. This table is made up of items cl, C2°C3, and C4. That is, "standard slip file" is set as the file name to be updated in C1, a code indicating "addition" is set as the update type in C2, and standard slip file 27 is set in C3 and C4.
A correspondence is set between the word name (standard word name) in and the word name (input word name) specified by Table A above. For example, in C3 above, "year/month account", "amount", "
Various standard word names such as "Debit Account", . . . are preset in a fixed order. Then, the input word name of C4 for each specification is set in correspondence with each standard word name. For example, for the standard word name "year, month, day", the input word name "date" is set, and for the standard word name "amount", the input word name "amount" is set. By the way, the standard word names of "Debit Account", "Credit Account J, RFFF1 District", "Transaction Subject", and "Accounting Year/Month" do not have a one-to-one correspondence with the word names in Table A above. This is because these standard word names are uniquely determined by the content of the type of job.For example, if the type of job is "Credit sales" as shown in table 02 in Figure 3, each standard word name is Accounts Receivable”, “Sales J, r20J, r50J.
r63.3Jのワードデータ(第3図の02表ではワー
ドデータであることを[]の記号で示す)が一義的に設
定され、また、第4図の04表のように仕種が「掛仕入
」の場合、上記各標準ワードに対しては「仕入」、[買
掛J、rlOJ。The word data of r63.3J (in the 02 table in Figure 3, word data is indicated by the symbol [ ]) is uniquely set, and the type is set as ``Kakeshi'' as shown in the 04 table in Figure 4. In the case of "Purchase", "Purchase", [Payables J, rlOJ.
r60j、r63,3」のワードのデータが一義的に設
定される。The data of the words "r60j, r63, 3" are uniquely set.
上記A表及び0表を利用することにより、ユーザーが希
望する任意フォーマットの各種入力伝票を、ワード内容
及びその順序が予め統一化された唯一の標準伝票に変換
して記憶管理することができ、以後、各種ファイル群3
6〜38に対する上記標準伝票のレコードによるファイ
ル更新処理を単純化することができる。しかも、上記A
表及び0表の設定はワード名の設定だけであるので、ユ
ーザーであっても極めて簡単に、しかも自由に設定する
ことができる。即ち、A表においてはユーザーが希望す
る任意フォーマットの入力伝票に合う順序で設定すれば
良く、また0表においては標準ワード名が予め固定化さ
れた順番で設定されているので、この標準ワード名に対
応するように上記入力ワード名の設定を行なえば良い。By using Table A and Table 0 above, it is possible to convert various input slips in arbitrary formats desired by the user into a single standard slip whose word content and order are standardized in advance, and to store and manage it. After that, various file group 3
It is possible to simplify the file update process using the standard slip records for numbers 6 to 38. Moreover, the above A
Since the settings for tables and 0 tables are only for setting word names, even users can set them extremely easily and freely. In other words, in table A, it is sufficient to set the standard word names in the order that matches the input slip in any format desired by the user, and in table 0, the standard word names are set in a fixed order in advance. The above input word name may be set to correspond to the above.
このようにして更新された各種ファイル群36゜38の
内容を印字出力する場合は、指定ファイル内の各レコー
ドが入力処理装置20を介してワークメモリ2Bに読出
され、更にこのレコードは印字ワードメモリ18に記憶
されているE表に基づいて印字処理装置23を介して印
字装置29にて印字される。When the contents of the various file groups 36, 38 updated in this way are to be printed out, each record in the specified file is read out to the work memory 2B via the input processing device 20, and this record is further transferred to the print word memory. Based on the E table stored in 18, the printout is performed by the printing device 29 via the printing processing device 23.
次に第1図における記帳処理装置31が標準伝票ファイ
ル27に登録された標準伝票のレコードから元帳ファイ
ル群36.集計ファイル群37.管理ファイル群38の
各ファイルを更新するためのファイル更新用レコード(
メンテナンスレコード)を作成する場合に使用する記帳
設定テーブル14.ファイルフォーマットメモリ33.
変換メモリ32について説明する。Next, the bookkeeping processing device 31 in FIG. Total file group 37. A file update record for updating each file in the management file group 38 (
Bookkeeping setting table 14 used when creating maintenance records). File format memory 33.
The conversion memory 32 will be explained.
まず、上記記帳設定テーブル14には、第5図に示すよ
うに「種区」、「取引科目」、「取引名」。First, in the bookkeeping setting table 14, as shown in FIG. 5, there are "Tane Ward", "Transaction Item", and "Transaction Name".
「ファイル記帳区分」の項目が予め設けられている。上
記「取引名」の項目には、「受注」、「掛売上」、「発
注」、「掛仕入」・・・等の各種取引内容が設定されて
おり、「ファイル記帳区分」の項目には「勘定元帳ファ
イル」、「売掛金請求元帳ファイル」、「買掛金請求元
帳ファイル」、「勘定集計ファイル」、「売掛金請求集
計ファイル」。An item of "file entry classification" is provided in advance. In the "Transaction Name" field above, various transaction details such as "Order Received", "Credit Sales", "Order Placement", "Credit Purchase", etc. are set, and in the "File Recording Classification" field, various transaction details are set. are "account ledger file", "accounts receivable billing ledger file", "accounts payable billing ledger file", "account summary file", "accounts receivable billing summary file".
「買掛金請求集計ファイル」、「品目管理ファイル」、
「販売先管理ファイル」等の各ファイル別項目が設けら
れている。そして、この「ファイル記帳区分」の各ファ
イル別項目に対し、上記「取引名」の各種取引内容に対
応する箇所にフラグ“1”が立てられ、取引の内容に応
じて更新すべきファイルが指定できるようになっている
。例えば第5図の記帳設定テーブル14のようにフラグ
が立っている状態において「掛売上」の取引を行なった
場合には、「勘定元帳ファイル」、「売掛金請求元帳フ
ァイル」、「勘定集計ファイル」。"Accounts payable bill summary file", "Item management file",
Items are provided for each file, such as "soldee management file". Then, for each file-specific item of this "File Recording Classification", a flag "1" is set in the part corresponding to the various transaction contents of the "Transaction Name" above, and the file to be updated is specified according to the transaction contents. It is now possible to do so. For example, when a "Credited Sales" transaction is performed with the flag set as shown in the accounting setting table 14 in Figure 5, "Account Ledger File,""Accounts Receivable Billing Ledger File," and "Account Summary File" .
「売掛金請求集計ファイル」、「品目管理ファイル」、
「販売先管理ファイル」の各ファイルに対して更新が行
なわれる。なお、この「ファイル記帳区分」の各ファイ
ル名に対するフラグは、前述したエデイツト処理装置1
2を介して入力装置11より自由に設定できるものする
。"Accounts receivable billing summary file", "Item management file",
Each file in the "soldee management file" is updated. Note that the flag for each file name in this "file recording classification" is set by the edit processing device 1 mentioned above.
2 can be set freely from the input device 11.
又、ファイルフォーマットメモリ33は、元帳ファイル
群3G、集計ファイル群37.管理ファイル群38に存
在する各種ファイルのレコード構造をワード名で定義す
るもので、そのレコード構造が第6図に示すように設定
される。例えば、「勘定元帳ファイル」に対応しては「
当方勘定(当座勘定)」、「日仏(日付伝播)」、「和
動(相手勘定)」、「倍高」、「貸高」の各ワード名が
定義される。Further, the file format memory 33 stores ledger file group 3G, total file group 37 . The record structure of various files existing in the management file group 38 is defined using word names, and the record structure is set as shown in FIG. For example, for "account ledger file", "
The following word names are defined: "Current Account (Current Account)", "Japan-French (Date Propagation)", "Wado (Counter Account)", "Double High", and "Loan Amount".
更に、記帳処理装置31内に設けられる変換メモリ32
には、標準伝票ファイル27内のレコードデータを上記
各種ファイル群36〜38のうちの更新すべきファイル
のレコードデータに変換し、このレコードデータにより
対応ファイルを更新すべきことを定義するW表が各ファ
イル別に設定されている。第7図に各ファイルとW表(
W1表、 W2表、・・・)との対応関係を示す。第8
図(a)〜(c)は、上記Wt表、W2表、・・・の各
W表のうち、W1表(勘定元帳ファイルに対応)、W2
表(売掛金請求元帳ファイルに対応)、W4表(勘定集
計ファイルに対応)の具体的な設定例について示したも
のである。これらW表は、wl 、 W2 。Furthermore, a conversion memory 32 provided in the bookkeeping processing device 31
, there is a W table that defines that the record data in the standard slip file 27 is converted into the record data of the file to be updated among the various file groups 36 to 38, and that the corresponding file is to be updated with this record data. It is set for each file. Figure 7 shows each file and W table (
Table W1, Table W2, etc.) are shown. 8th
Figures (a) to (c) show W1 table (corresponding to the account ledger file), W2 table among the above Wt table, W2 table, ...
A specific setting example of the table (corresponding to the accounts receivable billing ledger file) and the W4 table (corresponding to the account summary file) is shown. These W tables are wl, W2.
w3.w4の項目からなり、wlには「勘定元帳ファイ
ル」や「売掛金請求元帳ファイル」等のファイル名が更
新対象のファイル名として、W2には「追加」、「集計
」等を示すコードが更新種別として設定され、w3.w
4には各ファイルのワード名(ファイルワード名)と標
準伝票のワード名(標準ワード名)との対応づけが設定
される。w3. Consisting of items in w4, wl has file names such as "account ledger file" and "accounts receivable billing ledger file" as file names to be updated, and W2 has codes indicating "add", "summary", etc. as update types. w3. lol
4, a correspondence between the word name of each file (file word name) and the word name of the standard slip (standard word name) is set.
例えば、「勘定元帳ファイル」に対する更新を定義する
W1表においては、上記「勘定元帳ファイル」のレコー
ド構造を示す「当駒」、「日仏」。For example, in the W1 table that defines updates to the "account ledger file", "this piece" and "Japanese/French" indicate the record structure of the "account ledger file".
「和動」、「倍高」、「貸高」の各ファイルワード名に
対しては、標準伝票レコードの「借方科目」、「年月日
、及び伝播」、「貸方科目」。For the file word names "Wado", "Double High", and "Credit", "Debit Account", "Year, Month, Date, and Propagation", and "Credit Account" of the standard voucher record.
[合計金額(これは1伝票分の各レコードの金額の合計
を示す)J、r/Jの各標準ワード名が対応づけて設定
され、また、上記各ファイルワード名においては、標準
伝票レコードの「貸方科目」。[Total amount (this indicates the total amount of each record for one slip) The standard word names J and r/J are set in association with each other, and each file word name above is set according to the standard slip record. "Credit item".
「年月日、及び伝播」、「借方科目J、r/J。“Date, Month, and Propagation”, “Debit Account J, r/J.
「合計金額」の各標準ワード名が対応づけて設定される
。即ち、このW1表は1伝票分の全標準伝票レコードか
ら2M914のファイル更新用レコードを作成し、この
2種類の更新用レコードにより「勘定元帳ファイル」を
更新することを定義している。また、「売掛金請求元帳
ファイル」に対する更新を定義するW2表においては、
上記「売掛金請求元帳ファイル」のレコード構造を示す
「取引先」、「8伝」、「品目」、「倍高」。Each standard word name of "total amount" is set in association with each other. That is, this W1 table defines that 2M914 file update records are created from all standard slip records for one slip, and that the "account ledger file" is updated using these two types of update records. In addition, in the W2 table that defines updates to the "Accounts Receivable Billing Ledger File",
``Business Partner'', ``8th Story'', ``Item'', and ``Double High'' indicate the record structure of the above ``Accounts Receivable Billing Ledger File''.
「数量」、「単価」、「和動」の各ファイルワード名に
対しては、標準伝票レコードの「借方取引先」 「年月
日、及び伝播」、「品目コード」。For the file word names ``Quantity'', ``Unit Price'', and ``Washing'', the Standard Voucher Record's ``Debit Account'', ``Year, Month, Date, and Propagation'', and ``Item Code''.
「金額」、」数量」、「単価」、「貸方科目」の各標準
ワード名が対応づけて設定されている。即ち、このW2
表は、1つの標準伝票レコードから18類のファイル更
新用レコードを作成し、この更新用レコードにより「売
掛金請求元帳ファイル」を更新することを定義している
。Standard word names such as ``amount,''``quantity,'' ``unit price,'' and ``credit account'' are set in association with each other. That is, this W2
The table defines that 18 types of file update records are created from one standard slip record, and that the "accounts receivable billing ledger file" is updated using this update record.
(2) 実施例の動作
次に上記実施例の動作を説明する。入力装置11のキー
操作により入力モードの指定2伝種の指定等を行なうこ
とにより、エデイツト処理装置12が動作し、第9図の
フローチャートに示す処理が実行される。エデイツト処
理装置12は、キー入力が与えられると、まず、第9図
のステップAIに示すように入力モードの判定を行ない
、テーブルエデイツトモードが指定されている場合は、
第5図に詳細を示す記帳設定テーブル14の内容を画面
表示し、修正操作によりエデイツト、つまり、「ファイ
ル記帳区分」の各項目と各取引との関係を示すフラグ修
正を行なう(ステップA2)。また、ワードエデイツト
モードが指定されている場合には、伝種指定が行なわれ
るまでステップ八3において待機し、仕種が指定される
と伝種別ワードファイル13から指定された仕種に対応
して設定された定義内容(A表、6表、D表、E表)を
読出して画像表示し、修正操作に応じて上記定義内容を
修正する(ステップA4)。更に処理モードが指定され
ている場合には、伝種指定が行なわれるまでステップA
5で待機し、仕種が指定されると伝種別ワードファイル
13から指定伝種の定義内容を読出して対応するワード
メモリ15〜18にロードしくステップ八〇)、その後
、入力処理装置20を起動する(ステップA7)。(2) Operation of the embodiment Next, the operation of the above embodiment will be explained. By operating keys on the input device 11 to specify input mode designation 2, the edit processing device 12 is operated and the processing shown in the flowchart of FIG. 9 is executed. When the edit processing device 12 receives a key input, it first determines the input mode as shown in step AI in FIG. 9, and if the table edit mode is specified,
The contents of the bookkeeping setting table 14, details of which are shown in FIG. 5, are displayed on the screen, and a correction operation is performed to edit, that is, to modify the flags indicating the relationships between each item of the "file bookkeeping classification" and each transaction (step A2). In addition, if the word edit mode is specified, the process waits in step 83 until the training type is specified, and when the training type is specified, settings are made corresponding to the specified type from the training type word file 13. The definition contents (Table A, Table 6, Table D, Table E) are read out and displayed as images, and the definition contents are modified according to the modification operation (Step A4). If a processing mode is further specified, step A is continued until the breed is specified.
5, and when a technique is specified, the definition contents of the specified technique are read from the technique type word file 13 and loaded into the corresponding word memories 15 to 18 (step 80), and then the input processing device 20 is activated. (Step A7).
上記入力処理装置20は、エデイツト処理装置12から
の起動指令により、入カワートメモリ15にロードされ
ているA表に従って第10図のフローチャートに示す処
理を実行する。入力処理装置20は、まず、表示処理装
置22を起動し、その時の指定伝種のフォーマットを表
示ワードメモリ17にロードされたD表に応じて画面表
示する。今、例えば仕種として第3図に示す「掛売上」
の指定が行なわれたとすると、入カワートメモリI5に
はA2表がロードされ、表示ワードメモリ17にはB2
表がロードされているので、第13図に示すような「掛
売上」のフォーマットが画面表示される。また、入力処
理装置20は、A2表で指定されるワード名に対応する
ワードデータの入力に備える(ステップBl)。このス
テップB1において、入力装置11からワード名に対応
するデータが入力されると、その入力されたデータはワ
ード名と対応づけされ、ワードデータとしてワークメモ
リ2Bに書込まれる(ステップB2)。そして、1伝票
分のワードデータが入力されるまで、ステップBl。The input processing device 20 executes the processing shown in the flowchart of FIG. 10 in accordance with the A table loaded in the input data memory 15 in response to a startup command from the edit processing device 12. The input processing device 20 first starts the display processing device 22 and displays the format of the designated breed at that time on the screen according to the D table loaded into the display word memory 17. Now, for example, as a type of transaction, "Credit sales" shown in Figure 3
is specified, the input word memory I5 is loaded with the A2 table, and the display word memory 17 is loaded with the B2 table.
Since the table has been loaded, the format of "Cash sales" as shown in FIG. 13 is displayed on the screen. Further, the input processing device 20 prepares for inputting word data corresponding to the word name specified in the A2 table (step B1). In this step B1, when data corresponding to the word name is input from the input device 11, the input data is associated with the word name and written into the work memory 2B as word data (step B2). Then, step B1 is continued until word data for one slip is input.
B2の処理を繰返し、1伝票分のワードデータ入力が終
了したと判断されると(ステップB3)、伝票処理装置
21に起動指令を与える(ステップB4)。以上の処理
により第13図に示すような掛売上伝票が作成され、ワ
ークメモリ26内には上記1伝票分の全ワードデータが
記憶される。この第13図では、「A商店」に対してr
1500円の電卓101を3個」、r2000円の時計
201を6個」売上げた場合の例を示している。The process of B2 is repeated, and when it is determined that the word data input for one slip has been completed (step B3), a startup command is given to the slip processing device 21 (step B4). Through the above processing, a credit sales slip as shown in FIG. 13 is created, and all word data for one slip is stored in the work memory 26. In this Figure 13, r for "A store"
An example is shown in which 3 calculators 101 priced at 1500 yen and 6 watches 201 priced at 2000 yen are sold.
L記伝票処理装置21は、入力処理装置20からの起動
指令により起動し、伝票ワードメモリ16にロードされ
ている・0表に基づいて第11図のフローチャートに示
す伝票処理を実行し、ワークメモリ26に記憶されるワ
ードデータに基づいて標準伝票レコードを作成して標準
伝票ファイル27に登録する。すなわち、伝票処理装置
21は、まず、内部の標準伝票レコード作成用レジスタ
(このレジスタは標準伝票ファイル27のレコード構造
と同一構造を有し、第3図あるいは第4図に示したよう
な各標準ワード名に1対1に対応する記憶エリアを有す
る)をクリアする(ステップCI)。そして、伝票ワー
ドメモリ16から「借方科目」、「貸方科目」、「種区
」、「取引科目」、「会計年月」のワード名に対応する
データを読出し、上記レコード作成用レジスタの対応す
る記憶エリアに書込む(ステップC2)。次いで、ワー
クメモリ2B内の1アイテム、この場合には[電卓10
1 Jに対するアイテムを指定しくステップC3)、こ
のアイテムに関するワードデータ、この場合には「口付
」、「金額」、「得意先」、「伝書」。The L-recorded slip processing device 21 is activated by a startup command from the input processing device 20, executes the slip processing shown in the flowchart of FIG. A standard slip record is created based on the word data stored in 26 and registered in a standard slip file 27. That is, the slip processing device 21 first starts with an internal standard slip record creation register (this register has the same record structure as the standard slip file 27, and stores each standard slip record as shown in FIG. 3 or 4). (having a storage area that corresponds one-to-one to the word name) is cleared (step CI). Then, the data corresponding to the word names of "Debit Account", "Credit Account", "Tane Ward", "Transaction Subject", and "Accounting Year/Month" are read from the slip word memory 16, and the data corresponding to the word names of the above-mentioned record creation register are read out. Write to the storage area (step C2). Next, one item in the work memory 2B, in this case [Calculator 10
1. Specify the item for J (step C3), word data regarding this item, in this case, ``guest'', ``amount'', ``customer'', and ``messenger''.
「品名」、「数量」、「単価」の各ワード名に対応して
入力されたr62.10.8Jr4.500J、rA商
店J、r123Jrll101J、r3J、rl、50
0Jの各ワードデータを上記レコード作成用レジスタの
対応記憶エリアに書込む(ステップC4)。次いで別途
演算ルーチンによる演算により「損料」のワード名°に
対応するデータを計算し、上記レコード作成用レジスタ
の対応エリアに書込む(ステップC5)。そしてこのレ
ジスタ内に作成された標準伝票のレコードデータにより
標準伝票ファイル27を「追加」更新登録する(ステッ
プCB)。以上の処理により標準伝票ファイル27に第
14図(a)に示すように「電卓101」に関する標準
伝票レコードデータが登録される。その後、1伝票分の
処理を終了したか否を判断する判断ステップC7を経て
ステップC1に戻り、上記と同様の処理によりワークメ
モリ26における′入力伝票の次のアイテム、つまり、
「時計201」に関する標準伝票レコードデータが第1
4図(b)に示すように作成され、標準伝票ファイル2
7に登録される。上記のようにして1伝票分の処理を終
了すると、その状態がステップC7で判断され、標準伝
票レコードの作成処理を終了する。r62.10.8Jr4.500J, rA Shoten J, r123Jrll101J, r3J, rl, 50 entered corresponding to each word name of "product name", "quantity", and "unit price"
Each word data of 0J is written into the corresponding storage area of the record creation register (step C4). Next, data corresponding to the word name ``loss'' is calculated by a separate calculation routine and written into the corresponding area of the record creation register (step C5). Then, the standard slip file 27 is "added" and updated and registered using the record data of the standard slip created in this register (step CB). Through the above processing, standard slip record data regarding "calculator 101" is registered in the standard slip file 27 as shown in FIG. 14(a). Thereafter, the process returns to step C1 through judgment step C7 to determine whether or not the processing for one slip has been completed, and the same process as above is performed to retrieve the next item of the input slip in the work memory 26, that is,
Standard slip record data related to “Clock 201” is the first
4 Created as shown in Figure (b), standard slip file 2
Registered in 7. When the processing for one slip is completed as described above, its status is determined in step C7, and the standard slip record creation process is ended.
このようにユーザーが希望するフォーマット(ワード内
容及びその順序)で設定した入力伝票により、ワード内
容及びその順序が統一化された唯一の標準伝票レコード
を作成することができる。By using the input slip set in the user's desired format (word content and order), it is possible to create a unique standard slip record with unified word content and order.
特に、A表及び0表を入力伝票の種類に応じて1対1に
対応させて設定しているので、入力伝票のフォーマット
が発行伝票毎に全く異なっていたとしても、各種入力伝
票に基づいて入力された各種レコードデータを、上述し
たように統一化された唯一の標準伝票レコードにより統
合して記憶管理することができる。In particular, the A and 0 tables are set in one-to-one correspondence depending on the type of input slip, so even if the format of the input slip is completely different for each issued slip, the Various input record data can be integrated and stored and managed using a single unified standard slip record as described above.
しかして、上記標準伝票レコードを作成した後、入力装
置11のキー操作により記帳操作を行なうと、記帳指令
が記帳処理装置31に送られて、第12図のフローチャ
ートに示す記帳処理(各ファイル群36〜38を更新す
るためのメンテナンスレコードを作成するための処理)
が実行される。記帳処理装置31は、入力装置11から
記帳指令が与えられると、まず、標準伝票ファイル27
から最初の標準伝票レコードデータを読出しくステップ
DI)、この標準伝票レコードデータに含まれる「種区
」及び「取引科目」のワード名に対応するワードデータ
により記帳設定テーブル14の取引を指定する(ステッ
プD2)。上記第14図に示す「電卓101 Jあるい
は「時計201」の標準伝票レコードの場合、「種区」
及び「取引科目」のワード名に対応するワードデータは
「20」及び「50」であるので、第5図の記帳設定テ
ーブル14に対し「掛売上」の取引が指定され、ファイ
ル記帳区分の各ファイル名のうちフラグ1°が立ってい
るファイル名を順次指定する。即ち、まず、「勘定元帳
ファイル」のファイル名を指定する(ステップD3)。After creating the standard slip record, when a bookkeeping operation is performed by key operation on the input device 11, a bookkeeping command is sent to the bookkeeping processing device 31, and the bookkeeping process shown in the flowchart of FIG. Processing to create maintenance records for updating 36 to 38)
is executed. When the bookkeeping processing device 31 receives a bookkeeping command from the input device 11, it first writes the standard slip file 27.
Read the first standard slip record data from Step DI), and specify the transaction in the bookkeeping setting table 14 using the word data corresponding to the word names of "Tane Ward" and "Transaction Subject" included in this standard slip record data (Step DI). Step D2). In the case of the standard slip record for "Calculator 101 J" or "Clock 201" shown in Figure 14 above, "Tane Ward"
Since the word data corresponding to the word names of "transaction item" and "transaction item" are "20" and "50", the transaction "credit sales" is specified for the bookkeeping setting table 14 in FIG. 5, and each of the file bookkeeping categories is Among the file names, specify the file names with flag 1° set in sequence. That is, first, the file name of the "account ledger file" is specified (step D3).
次いで、変換メモリ32内の各種W表のうち「勘定元帳
ファイル」のファイル名に対応するW表、即ち、第8図
(a)に示すW1表を指定し、このW1表に基づき1伝
票分の標準伝票レコード(この場合は第14図(a)及
び(b)に示す2つの標準伝票レコード)から第15図
(a)に示すように「勘定元帳ファイル」に対する2種
類のメンテナンスレコードデータ、即ち「5勘」のファ
イルワード名に対して「借方科目」及び「貸方科目」の
標準ワードのワードデータ「売掛金」及び「売上」を割
当てたメンテナンスレコードデータ(この場合、「倍高
」及び「貸高」のファイルワード名に対応するワードデ
ータとしては1伝票分の合計金額、即ち「電卓101」
と「時計201」の金額を合計した金額r16,500
Jが割当てられる)を作成する(ステップD4)。そし
て、°この2種類のメンテナンスレコードデータをメン
テナンスメモリ34へ登録(ステップD5)した後、上
記ファイル記帳区分内でフラグが立っているファイル名
のうち未指定のファイル名が存在するか否かを判断する
(ステップDB)。今の場合、未指定のファイル名が存
在するのでステップD3に戻り、次のファイル名「売掛
金請求元帳ファイル」を指定し、このファイル名に対応
するW表、即ち第8図(b)に示すWz表を指定する。Next, among the various W tables in the conversion memory 32, the W table corresponding to the file name of "account ledger file", that is, the W1 table shown in FIG. 8(a), is specified, and based on this W1 table, one slip is From the standard slip record (in this case, the two standard slip records shown in FIGS. 14(a) and (b)) to two types of maintenance record data for the "account ledger file" as shown in FIG. 15(a), In other words, maintenance record data in which standard word data "accounts receivable" and "sales" for "debit account" and "credit account" are assigned to the file word name of "5 intuition" (in this case, "double amount" and " The word data corresponding to the file word name of "loan amount" is the total amount for one slip, that is, "calculator 101"
The total amount of money for “Clock 201” is r16,500.
J is assigned) (step D4). After registering these two types of maintenance record data in the maintenance memory 34 (step D5), it is determined whether or not there is an unspecified file name among the flagged file names in the file entry classification. Make a judgment (step DB). In this case, there is an unspecified file name, so return to step D3, specify the next file name "Accounts receivable billing ledger file", and show the W table corresponding to this file name, that is, Figure 8 (b). Specify the Wz table.
そして、このW2表に基づき上記ステップDiで指定さ
れた1つの標準伝票レコード、即ち第14図(a)のレ
コードから第15図(b)に示すようなメンテナンスレ
コードデータを作成し、メンテナンスメモリ34に登録
する。次いで記帳設定テーブル14から次のファイル名
「勘定集計ファイル」を指定して、上述した「勘定元帳
ファイル」に対するメンテナンスレコードデータの作成
と同様の処理を行ない、第8図(c)のW4表に基づい
て第15図(c)に示すような2種類のメンテナンスレ
コードデータを作成し、メンテナンスメモリ34に登録
する。Then, based on this W2 table, maintenance record data as shown in FIG. 15(b) is created from one standard slip record specified in step Di, that is, the record in FIG. 14(a), and maintenance record data as shown in FIG. Register. Next, specify the next file name "account summary file" from the bookkeeping setting table 14, perform the same process as creating maintenance record data for the "account ledger file" described above, and create the W4 table in FIG. 8(c). Based on this, two types of maintenance record data as shown in FIG. 15(c) are created and registered in the maintenance memory 34.
以下同様にしてファイル記帳区分内のフラグで指定され
る全ファイル名に対してステップD3〜D6の処理を繰
返し、「掛売上」の取引に対して更新すべき全ファイル
に対する全メンテナンスレコードデータを作成し、メン
テナンスメモリ34に登録する。そして、全てのメンテ
ナンスレコードデータを作成すると、ステップD6を経
てステップDIに進み、標準伝票ファイル27に未読出
しの標準伝票レコードデータが有るか否かを判断する。In the same way, steps D3 to D6 are repeated for all file names specified by the flags in the file accounting category, and all maintenance record data for all files to be updated for transactions of "Credit sales" is created. and register it in the maintenance memory 34. After all the maintenance record data has been created, the process advances to step DI via step D6, and it is determined whether or not there is unread standard slip record data in the standard slip file 27.
未読出しの標準伝票レコードデータが残っていればステ
ップDiに戻り、その標準伝票レコードデータに対して
も上述した処理を行ない、作成されたメンテナンスレコ
ードデータをメンテナンスメモリ34に順次登録する。If unread standard slip record data remains, the process returns to step Di, the above-described processing is performed on the standard slip record data, and the created maintenance record data are sequentially registered in the maintenance memory 34.
上記の処理により標準伝票ファイル27に登録されてい
る全標準伝票レコードデータに対する処理を終了すると
、その状態がステップD7で判断され、メンテナンスレ
コードデータの作成処理を終了する。When all the standard slip record data registered in the standard slip file 27 have been processed through the above processing, the status thereof is determined in step D7, and the maintenance record data creation processing is ended.
このように、標準伝票ファイル27より順次読出される
標準伝票レコードによれば、この標準伝票レコード内に
含まれる「種区」及び「取引科目」のワード名に対応す
るワードデータから取引データ入力時の伝票の種類(取
引名)が判断でき、その取引に対して記帳処理(ファイ
ル更新処理)が、記帳設定テーブル14により自動的に
決定される。In this way, according to the standard slip records that are sequentially read out from the standard slip file 27, when inputting transaction data from the word data corresponding to the word names of "Tane Ward" and "Transaction Item" included in this standard slip record, The type of slip (transaction name) can be determined, and the bookkeeping process (file update process) for that transaction is automatically determined by the bookkeeping setting table 14.
しかも、上記記帳設定テーブル14に対しては取引名別
に記帳すべきファイル名をエデイツト処理装置12を介
して任意に設定できる(ファイル記帳区分のファイル名
に対応する箇所にフラグを設定するだけ)ので、複数の
ファイルに対する取引名別の記帳処理内容をユーザーの
要望に応じて自由に設計できる。Moreover, the file name to be recorded for each transaction name can be arbitrarily set in the bookkeeping setting table 14 via the edit processing device 12 (simply by setting a flag in the location corresponding to the file name of the file recording classification). , the bookkeeping processing contents for multiple files by transaction name can be freely designed according to the user's requests.
また、標準伝票レコードはその取引の種類によらず全て
同一のフォーマットでワードデータが記憶されるので、
記帳処理装置31内に設けられる変換メモリ32に基づ
いて、標準伝票レコードの各標準ワード名に対応するワ
ードデータを各ファイルのファイルワード名に対応する
データとして処理できるように一義的に対応づけること
がき、レコード構造が個々に異なる各種ファイルに対し
て更新を行なうメンテナンスレコードの作成も、極めて
簡単な作成プログラムにより達成できる。In addition, all standard slip records store word data in the same format regardless of the type of transaction, so
Based on the conversion memory 32 provided in the bookkeeping processing device 31, uniquely associate the word data corresponding to each standard word name of the standard slip record so that it can be processed as data corresponding to the file word name of each file. Creation of maintenance records for updating various files with individually different record structures can be achieved using an extremely simple creation program.
しかして、記帳処理装置31によるメンテナンスレコー
ドデータの作成処理が終了すると、記帳処理装置31あ
るいは入力装置11からの更新指令によりファイル更新
装置35が起動し、メンテナンスメモリ34に登録され
た各メンテナンスレコードデータに基づいて、各ファイ
ル群36〜38に対するファイル更新が行なわれる。When the maintenance record data creation process by the bookkeeping processing device 31 is completed, the file updating device 35 is activated by an update command from the bookkeeping processing device 31 or the input device 11, and each maintenance record data registered in the maintenance memory 34 is Based on this, file updates are performed for each file group 36-38.
このファイル更新を行なうために、ファイル更新装置3
5は、まず、メンテナンスメモリ34に登録されたメン
テナンスレコードデータを1つづつ読出し、このレコー
ドデータの解析を行なう。即ち、どのファイルに対して
、どのようなワード内容により、どのような更新を行な
うのかを上記メンテナンスレコードデータから解析する
。例えば第15図(a)の左側に示すメンテナンスレコ
ードデータの場合は、「勘定元帳ファイル」がファイル
名として、「追加」がファイルに対する更新種別を示す
コードとして判断され、また[売掛金。In order to update this file, the file update device 3
5 first reads maintenance record data registered in the maintenance memory 34 one by one and analyzes this record data. That is, it is analyzed from the maintenance record data what update is to be performed on which file and with what word content. For example, in the case of the maintenance record data shown on the left side of FIG. 15(a), "Account Ledger File" is determined as the file name, "Addition" is determined as the code indicating the type of update to the file, and "Accounts Receivable."
821008−123.売上、 113500 、 O
J (7)各ワードデータがファイルワードデータとし
て判断される。その結果、更新対象ファイルとしては元
帳ファイル群3B内の「勘定元帳ファイル」が指定され
、このファイルに上記ファイルコードデータが「追加」
更新される。また、第15図(b)に示すメンテナンス
レコードデータの場合も同様で、更新対象ファイルとし
ては元帳ファイル群3B内の[売掛金請求元帳ファイル
」が指定され、このファイルに対してrA商店、 62
1008−123.11101 、450G、 3 。821008-123. Sales, 113500, O
J (7) Each word data is determined as file word data. As a result, the "account ledger file" in ledger file group 3B is specified as the file to be updated, and the above file code data is "added" to this file.
Updated. The same is true for the maintenance record data shown in FIG. 15(b), where the [accounts receivable billing ledger file] in the ledger file group 3B is specified as the file to be updated, and rA store, 62
1008-123.11101, 450G, 3.
1500、売上」なるファイルワードデータが「追加」
更新される。1500, sales” file word data is “added”
Updated.
このように、ファイル更新装置35は、メンテナンスメ
モリ34に登録された個々のメンテナンスレコードデー
タに基づいて、更新対象のファイル及びそのファイルに
対する更新種別の特定、及び更新すべきファイルワード
データによる更新、を実行するだけとなり、各種ファイ
ルに対するファイル更新のための処理を極めて単純化す
ることができる。In this way, the file update device 35 identifies the file to be updated and the update type for that file, and updates the file word data to be updated based on the individual maintenance record data registered in the maintenance memory 34. The process for updating various files can be extremely simplified.
ところで、上記実施例では標準伝票レコード及びメンテ
ナンスレコード等の各種レコードは、そのレコードを構
成する各ワードを特定の制御コードで区分することによ
り可変長のレコードとして処理しているため、入力ワー
ド長が各取引毎に異なっていたり、又はファイルのワー
ド長あるいはレコード長が各ファイル別に全く異なって
いたとしても、各取引別の入力ワードの構成あるいは各
ファイルのレコード構成とは全く無関係に標準レコード
及びメンテナンスレコードを作成することができる。By the way, in the above embodiment, various records such as standard slip records and maintenance records are processed as variable length records by dividing each word that constitutes the record with a specific control code, so the input word length is Standard records and maintenance are completely independent of the input word composition of each transaction or the record composition of each file, even if the word length or record length of the file is completely different for each transaction. Records can be created.
なお、上記実施例においては、1伝票分のデータが全て
入力されてから標準伝票のレコードを作成するようにし
たが、ルコード分のデータ入力毎に、対応する標準伝票
のレコードを作成するようにしても良い。Note that in the above embodiment, a standard slip record is created after all the data for one slip is input, but a corresponding standard slip record is created each time a code worth of data is input. It's okay.
また、標準伝票のレコードに基づいてファイルに対する
処理を行なう際、標準伝票のレコードをファイル更新用
のメンテナンスレコードに変換してメンテナンスメモリ
34に順次蓄え、入力装置11あるいは記帳処理装置3
1からの記帳指令により各ファイルに対する更新処理を
連続的に行なうようにしたが、これに限定されるもので
はなく、標準伝票のレコードをファイルのフォーマット
に合うレコードに変換する毎に、対応するファイルに対
して直接更新を行なうようにしても良い。Furthermore, when processing a file based on the record of a standard slip, the record of the standard slip is converted into a maintenance record for updating the file and is sequentially stored in the maintenance memory 34.
Although the update processing for each file is performed continuously according to the recording command from 1, the update process is not limited to this, and each time a standard slip record is converted to a record that matches the file format, the corresponding file is updated. It is also possible to directly update the .
更に、上記実施例の標準伝票レコードは可変長のレコー
ドで構成したが、固定長のレコードで構成しても良いこ
とはもちろんである。Further, although the standard slip record in the above embodiment is made up of variable length records, it goes without saying that it may be made up of fixed length records.
[発明の効果]
この発明によれば、それぞれフォーマットの異なる各種
の伝票に基づいて入力される入力ワードを唯一の標準ワ
ードに変換でき、各ファイルに対する記帳処理(ファイ
ル更新処理)を統一化することができる。このためプロ
グラム設計が楽になり、システム全体の設計を極めて容
易に行なうことができる。更に各種伝票の入力ワードを
標準ワードに変換するための定義も、各伝票に対応する
取引処理別に入力ワードと標準ワードとの対応づけを行
なうだけでよいので、経験の浅いシステムエンジニアで
あっても容易に設計することができる。[Effects of the Invention] According to the present invention, input words input based on various slips having different formats can be converted into a single standard word, and bookkeeping processing (file update processing) for each file can be unified. I can do it. Therefore, program design becomes easy, and the entire system can be designed extremely easily. Furthermore, the definition for converting the input words of various slips into standard words can be done by simply mapping the input words and standard words for each transaction process corresponding to each slip, so even an inexperienced system engineer can do it. Can be easily designed.
第1図ないし第15図はこの発明の実施例を示したもの
で、第1図はデータ処理装置のシステム構成図、第2図
は伝種別ワードファイルに設定されるワード構成例を示
す図、第3図及び第4図は上記伝種別ワードファイルに
おける各ワードの具体的設定例を示す図、第5図は記帳
設定テーブルの設定内容を示す図、第6図はファイルフ
ォーマットメモリに設定される各ファイルのレコード構
造を示す図、第7図は変換メモリに設定される変換ワー
ドと各ファイルとの対応関係を示す図、第8図は上記変
換ワードの具体的設定例を示す図、第9図はエデイツト
処理装置の動作を示すフローチャート、第10図は入力
処理装置の動作を示すフローチャート、第11図は伝票
処理装置の処理動作を示すフローチャート、第12図は
記帳処理装置の処理動作を示すフローチャート、第13
図は入力伝票のフォーマットを示す図、第14図は標準
伝票の記憶フォーマットを示す図、第15図はメンテナ
ンスメモリに登録するメンテナンスレコードの作成例を
示す図である。
11・・・入力装置、12・・・エデイツト処理装置、
13・・・仕種別ワードファイル、14・・・記帳設定
テーブル、15・・・人カワートメモリ、16・・・伝
票ワードメモリ、17・・・表示ワードメモリ、【訃・
・印字ワードメモリ、20・・・入力処理装置、21・
・・伝票処理装置、22・・・表示処理装置、23・・
・印字処理装置、24・・・索引テーブルメモリ、2B
・・・ワークメモリ、27・・・標準伝票ファイル、2
8・・・表示装置、29・・・印字装置、31・・・記
帳処理装置、32・・・変換メモリ、33・・・ファイ
ルフォーマットメモリ、34・・・メンテナンスメモリ
、35・・・ファイル更新装置、36・・・元帳ファイ
ル群、37・・・集計ファイル群、38・・・管理ファ
イル群。1 to 15 show an embodiment of the present invention, in which FIG. 1 is a system configuration diagram of a data processing device, FIG. 2 is a diagram showing an example of a word structure set in a transmission type word file, Figures 3 and 4 are diagrams showing specific setting examples of each word in the above-mentioned transmission type word file, Figure 5 is a diagram showing the setting contents of the bookkeeping setting table, and Figure 6 is a diagram showing settings in the file format memory. Figure 7 is a diagram showing the record structure of each file, Figure 7 is a diagram showing the correspondence between the conversion words set in the conversion memory and each file, Figure 8 is a diagram showing a specific setting example of the conversion words, Figure 9 The figure is a flowchart showing the operation of the edit processing device, FIG. 10 is a flowchart showing the operation of the input processing device, FIG. 11 is a flowchart showing the processing operation of the slip processing device, and FIG. 12 is a flowchart showing the processing operation of the bookkeeping processing device. Flowchart, 13th
FIG. 14 is a diagram showing the format of an input slip, FIG. 14 is a diagram showing the storage format of a standard slip, and FIG. 15 is a diagram showing an example of creating a maintenance record to be registered in the maintenance memory. 11... Input device, 12... Edit processing device,
13...Specialization word file, 14...Book entry setting table, 15...Person covert memory, 16...Slip word memory, 17...Display word memory, [deceased...
・Print word memory, 20...input processing device, 21・
...Voucher processing device, 22...Display processing device, 23...
・Print processing device, 24... Index table memory, 2B
...Work memory, 27...Standard slip file, 2
8... Display device, 29... Printing device, 31... Bookkeeping processing device, 32... Conversion memory, 33... File format memory, 34... Maintenance memory, 35... File update Device, 36...Ledger file group, 37...Tally file group, 38...Management file group.
Claims (1)
する入力ワードの対応づけを各種取引処理別に任意に定
義する定義手段と、指定された取引処理における各入力
ワードに対応するデータを入力する入力手段と、上記定
義手段で定義づけられた取引処理の入力ワードと標準ワ
ードとの対応に基づいて、各入力ワードのデータを標準
レコードの標準ワードのデータに変換する変換手段とを
備え、指定された取引処理に応じて、入力された各入力
ワードデータを統一化された1種類の標準レコードの各
標準ワードデータに変換し、この1種類の標準レコード
に基づいて各種ファイルに対するデータ処理を行なうこ
とを特徴とするデータ処理装置。a definition means for arbitrarily defining a correspondence between input words for each standard word constituting a unified standard record for each type of transaction processing; and an input means for inputting data corresponding to each input word in a specified transaction processing; , a conversion means for converting the data of each input word into the data of the standard word of the standard record based on the correspondence between the input word of the transaction processing defined by the above-mentioned definition means and the standard word, and the specified transaction Depending on the processing, each input word data is converted into each standard word data of one type of unified standard record, and data processing for various files is performed based on this one type of standard record. data processing equipment.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63175407A JPH0224746A (en) | 1988-07-14 | 1988-07-14 | Data processor |
| CN 89104799 CN1017664B (en) | 1988-07-14 | 1989-07-14 | data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63175407A JPH0224746A (en) | 1988-07-14 | 1988-07-14 | Data processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0224746A true JPH0224746A (en) | 1990-01-26 |
Family
ID=15995555
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63175407A Pending JPH0224746A (en) | 1988-07-14 | 1988-07-14 | Data processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0224746A (en) |
-
1988
- 1988-07-14 JP JP63175407A patent/JPH0224746A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900005286B1 (en) | Apparatus for financial management | |
| JP4617050B2 (en) | How to register and process transaction data | |
| JP2011170490A (en) | SaaS GENERAL ACCOUNTING SYSTEM | |
| JP2012146158A (en) | Accounting processing system | |
| US5504676A (en) | Slip processing method processing data from slips with varying formats | |
| JP3026964B1 (en) | Slip data processing device and its processing method | |
| US6697790B2 (en) | Intelligent data structure, processing apparatus, and medium using network | |
| JPH0224746A (en) | Data processor | |
| JP5282219B2 (en) | Journal data creation device | |
| JP2001084304A (en) | Consolidated settlement data creation system | |
| JPH0224738A (en) | data processing equipment | |
| JPH0225945A (en) | File registering device | |
| JPH0225966A (en) | data aggregation device | |
| JP2001101266A (en) | Cash flow calculation system | |
| JP3047398B2 (en) | File processing device | |
| JP3047397B2 (en) | File processing device | |
| JPH0224768A (en) | File entering device | |
| JP3063612U (en) | Customizable business program processor | |
| JP3047396B2 (en) | File processing device | |
| Baker et al. | LOLITA: An on-line book order and fund accounting system | |
| JPH0225949A (en) | Data processor | |
| JP2001167221A (en) | Automatic journalizing entry system | |
| JP3030300U (en) | Accounting information processing device | |
| JPH0224778A (en) | data processing equipment | |
| JP2001167192A (en) | Method and apparatus for calculating business performance by computer and medium recording computer program |