JPH0224768A - File entering device - Google Patents
File entering deviceInfo
- Publication number
- JPH0224768A JPH0224768A JP63175428A JP17542888A JPH0224768A JP H0224768 A JPH0224768 A JP H0224768A JP 63175428 A JP63175428 A JP 63175428A JP 17542888 A JP17542888 A JP 17542888A JP H0224768 A JPH0224768 A JP H0224768A
- Authority
- JP
- Japan
- Prior art keywords
- file
- word
- slip
- record
- item
- 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
- Management, Administration, Business Operations System, And Electronic Commerce (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] [Industrial Application Field] The present invention relates to a file bookkeeping device that manages various files by classification based on various transaction contents such as sales and purchases.
従来、各種売上げ商品に対する売上げ伝票を発行する場
合、ビジネス用パーソナルコンピュータ。Conventionally, business personal computers have been used to issue sales slips for various sales products.
オフィスコンピュータ、汎用コンピュータ等の事務処理
装置が一般に使用されている。これらの事務処理装置を
使用することにより、各種入力伝票に基づくデータ処理
が行なわれて各種管理情報、例えば品目別売上情報、得
意先別売上情報等を容易に得ることができる。そして、
上記各種情報は上記事務処理装置に接続される各種ファ
イル群例えば元帳ファイル、集計ファイル、管理ファイ
ル等に分類されて記憶管理されている。BACKGROUND OF THE INVENTION Business processing devices such as office computers and general purpose computers are commonly used. By using these office processing devices, data processing is performed based on various input slips, and various management information such as sales information by item and sales information by customer can be easily obtained. and,
The above-mentioned various information is classified into various file groups connected to the above-mentioned office processing apparatus, such as ledger files, total files, management files, etc., and is stored and managed.
ところで、上記事務処理装置において上述したような複
数のファイルにより情報を記憶管理する為には、システ
ムエンジニアが予め各ファイルに対応するファイル管理
システムを設計しておかなければならない。これらシス
テム設計において従来の事務処理装置でネックとなるも
のとして、ファイルに対する更新プログラムの設計があ
げられる。即ち、ファイルのレコード構造は、各7ァイ
ル毎に異なっておシ、各ファイル毎にレコードの構造を
決めるワードの1類及びワードの位置が異なつている。By the way, in order to store and manage information using a plurality of files as described above in the office processing device, a system engineer must design a file management system corresponding to each file in advance. 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 the file is different for each of the seven files, and the type of word that determines the record structure and the position of the word are different for each file.
そのため、予め決められた入力伝票に基づいて入力され
たデータよシ個々のファイルに対してワード内容を更新
するに当っては、各ファイルに1対1に対応して更新用
プログラムの設計をしておかなければならず、使用した
いファイルの数が非常に多い場合には、そのプログラム
設計に多大な時間を要していた。Therefore, when updating the word content for individual files based on input data based on a predetermined input slip, it is necessary to design an update program for each file on a one-to-one basis. If there are a large number of files to be used, it takes a lot of time to design the program.
また、従来では入力された取引内容から品目別の管理を
行なう場合、入力レコードを予め設定した品目の分類レ
ベル(例えば商品の個別品目レベル)に分類して盾定フ
ァイルに記憶するように設計を行なって管理するように
しているが、この設計変更を行なう場合1例えば入力レ
コードを上記分類レベルとは異なるレベル(例えば商品
のカテゴリレベル)で分類させるように設計変更を行な
う場合が多々あり、このような場合の設計変更はファイ
ル処理設計あるいはシステム処理設計全体の設計を必要
としていた。In addition, in the past, when managing input transaction details by item, the design was such that input records were classified into preset item classification levels (for example, individual product item level) and stored in a shield file. However, when making this design change, for example, there are many cases where the design is changed so that input records are classified at a different level from the above classification level (for example, product category level), and this In such a case, a design change would require the design of the entire file processing design or system processing design.
この発明の課題は、簡単な設定釦より入力レコードを所
望する分類レベルに分類して記憶管理できるようにする
ことである。An object of the present invention is to enable storage management of input records by classifying them into desired classification levels using a simple setting button.
この発明は、各桁が集計レベルを示す細分類コードに対
する桁(例えば細分類コードのうちの上位2桁等)を任
意に指定する指定手段(例えば実施例のカテゴリ設定テ
ーブル30)と、上配線分類コードで区別される分類別
レコードの入力時に、この細分類コード内の上記桁に対
応するコードを他の分類コードとして抽出する抽出手段
(例えば実施例の記帳処理装置31)と、この抽出手段
により抽出された他の分類コード別に上記分類別レコー
ドを集計する(例えば実施例の品目カテゴリファイルに
集計する)第1の集計手段と、上記細分類コード別によ
り分類別レコードを集計する(例えば実施例の品目元帳
ファイルに集計する)第2の集計手段とを備えるもので
ある。This invention includes a designating means (for example, the category setting table 30 of the embodiment) for arbitrarily specifying the digits for the subclassification code (for example, the upper two digits of the subclassification code), each digit of which indicates the aggregation level; Extracting means (for example, the bookkeeping processing device 31 of the embodiment) for extracting the code corresponding to the above-mentioned digit in the subclassification code as another classification code when inputting a classification record distinguished by a classification code, and this extraction means A first aggregation means that aggregates the classification records according to other classification codes extracted by (for example, aggregates them into the item category file of the example); and a second aggregating means (to aggregate the item ledger file in the example).
まず、各桁が集計レベルを示す細分類コードに対する桁
を指定する。そして、上記細分類コードで区別される分
類別レコードの入力時に、この細分類コード内の上記桁
に対応する他の分類コードを抽出手段により抽出し、そ
の抽出コード別に上記分類別レコードを第1の集計手段
により集計する。また、上記抽出手段により抽出される
前の細分類コード別に上記分類別レコードを第2の集計
手段により集計する。First, specify the digits for the subclassification code, each digit indicating the aggregation level. Then, when inputting a classification record differentiated by the subclassification code, the extraction means extracts another classification code corresponding to the above-mentioned digit in this subclassification code, and the above classification record is first extracted according to the extraction code. Aggregation is performed using the following aggregation method. Further, a second aggregation means aggregates the classification records for each subclassification code before being extracted by the extraction means.
即ち、上記のように細分類コードの特定桁を抽出してそ
のコード別に分類別レコードを集計すると共に、抽出前
の細分類コード別に分類別レコードを抽出することによ
υ、細分類コードを含む1つの分類別コードにより、細
分類別レベルのレコード集計管理と、他のレベルのレコ
ード集計管理を行なうことが可能となる。That is, by extracting a specific digit of the subclassification code as described above and totaling the records by classification for each code, and by extracting the records by classification for each subclassification code before extraction, it is possible to extract the records containing the subclassification code. With one classification code, it is possible to perform record aggregation management at the subclassification level and record aggregation management at other levels.
以下、一実施例を第1図乃至第14図を診照して説明す
る。Hereinafter, one embodiment will be described with reference to FIGS. 1 to 14.
(1) 実施例の構成
第1図は可変長データを処理するファイル記帳装置のシ
ステム構成図を示し九ものである。同図において11は
入力装置で、各種入力モードを指定するモードキー、取
引の種類(伝踵)を指定すル仮積指定キー、テンキー、
ファンクションキー等を備えている。上記入力モードと
しては、詳細を後述する記帳設定テーブルをエデイツト
するテーブルエデイツトモード、仮睡指定ワードをエデ
イツトするワードエデイツトモード、伝票の記帳処理等
を行なう処理モードがある。そして、上記入力装置t1
1よシキー操作に従って出力される入力モード指定デー
タ、伝線指定データ、エデイツトデータ等は、エデイツ
ト処理装置12へ送られ。(1) Configuration of the Embodiment FIG. 1 shows a system configuration diagram of a file recording device that processes variable length data. In the figure, reference numeral 11 denotes an input device, including a mode key for specifying various input modes, a provisional specification key for specifying the type of transaction (transaction), a numeric keypad,
Equipped with function keys etc. 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 a nap designation word, and a processing mode for performing slip recording processing. Then, the input device t1
Input mode designation data, transmission line designation data, edit data, etc. output according to the 1-Y key operation are sent to the edit processing device 12.
このエデイツト処理装置12により云種別ワードファイ
ル13、記帳設定テーブル14、索引テーブル24、カ
テゴリ設定テーブル30がアクセスされる。上記仮積別
ワードファイル13には、各挿入力伝票のフォーマット
に対応して入力すべきデータのワード塩を定義するため
の定義表(以下、A表と言う)と、各種入力伝票に基づ
いて入力されるデータを後述する標準伝票ファイルのレ
コード構造に一致するレコードデータに変換することを
定義するための定義表(以下、0表と言う)と、入力伝
票等の各種表示フォーマットを定義するための定義表(
以下、D表と言う)と、入力伝票等の各種印字7オーマ
ツトを定義するための定義表(以下、E表と言5)が各
種事務処理の処理内容別に予め設定されて贋る。The edit processing device 12 accesses the type word file 13, bookkeeping setting table 14, index table 24, and category setting table 30. The provisional classification word file 13 includes a definition table (hereinafter referred to as A table) for defining the word salt of data to be input corresponding to the format of each insertion force slip, and a A definition table (hereinafter referred to as 0 table) for defining the conversion of input data into record data that matches the record structure of the standard slip file described later, and for defining various display formats for input slips, etc. Definition table (
A definition table (hereinafter referred to as table D) for defining various printing formats such as input slips (hereinafter referred to as table E) is set in advance for each processing content of various business processes.
しかして、上記エディクト処理装flt1zは、入力装
置1ノからの指示に基づいて記帳設定テープk14のエ
デイツト、仮積別ワードファイル13における指定仮積
の定義内容のエデイツト、伝擁別の定義内容の続出し、
索引テーブル24及びカテゴリ設定テーブル3oのエデ
イツト等の処理を行なう。そして、上記エデイツト処理
装置12は、伝踵別ワードファイル13から伝憤別の定
義内容を読出した際は、A表を入カワートメモリ15に
、C辰を伝票ワードメモリ16に、Dfiを表示ワード
メモリ17に、E表を印字ワードメモリ18にロードし
、その後、入力処理装置2oに起動指令を与える。そし
て、上記入カワートメモリ15にロードされたA表は入
力処理装置2Qへ、伝票ワードメモリ16にロードされ
た0表は伝票処理装置21へ、表示ワードメモリ17に
ロードされたD表は表示処理装置22へ、印字ワードメ
モリ18にロードされたE表は印字処理装置23へ続出
される6また、上記入力処理袋f20には、入力装置1
1が接続されると共に、索引テーブル24、ワークメモ
リ26が接続される。上記索引テーブル24には、例え
ば当日の日付及び伝票発行毎に自動更新される伝播(伝
票番号)が記憶されていると共に、品目コード及び各品
目コードに対応する品目名等が予め記憶設定されている
。そして、上記入力処理装置20ば、入カワートメモリ
15から読出したA表に基づいてデータの入力処理を行
ない、その入力ワードデータをワークメモリ26に記憶
すると共に、データ処理IC応じて伝票処理装置21、
表示処理装置22、印字処理装置23を起動する。上記
伝票処理装置21には、標準伝票ファイル27が接続さ
れ、この上記伝票処理装置2ノは、入力処理装置20か
らの起動指令によって処理動作を開始し、伝票ワードメ
モリ16に記憶された0表に基づいて標準伝票レコード
データを作成し、標準伝票ファイル27に順次登録する
。ところでこの標準伝票レコードは複数の可変長ワード
データを組み合わせた可変長レコードであり、ルコード
中の各ワードデータは特定の制御コードにより区分され
ている。Accordingly, the edit processing device flt1z edits the bookkeeping setting tape k14, edits the definition contents of the specified provisional product in the provisional classification word file 13, and edits the definition contents of each transfer based on instructions from the input device 1. One after another,
Processes such as editing the index table 24 and category setting table 3o are performed. Then, when the edit processing device 12 reads out the definition contents for each letter from the word file 13 for each letter, it inputs the table A into the word memory 15, the word C into the slip word memory 16, and the display word memory Dfi. 17, the E-table is loaded into the print word memory 18, and then a start command is given to the input processing device 2o. The A table loaded into the input column memory 15 is sent to the input processing device 2Q, the 0 table loaded into the slip word memory 16 is sent to the slip processing device 21, and the D table loaded into the display word memory 17 is sent to the display processing device. 22, the E table loaded into the print word memory 18 is successively outputted to the print processing device 23.6 Also, in the input processing bag f20, the input device 1
1 is connected, and the index table 24 and work memory 26 are also connected. The index table 24 stores, for example, the current date and the propagation (slip number) that is automatically updated each time a slip is issued, as well as item codes and item names corresponding to each item code. There is. Then, the input processing device 20 performs data input processing based on the A table read from the input word memory 15, and stores the input word data in the work memory 26, and the slip processing device 21,
The display processing device 22 and print processing device 23 are started. A standard chit file 27 is connected to the chit processing device 21 , and the chit processing device 2 starts processing operations in response to a startup command from the input processing device 20 . Standard slip record data is created based on the data and sequentially registered in the standard slip file 27. By the way, this standard slip record is a variable length record that combines a plurality of variable length word data, and each word data in the word code is classified by a specific control code.
また、上記表示処理装置22は、入力処理装置20から
の起動指令により処理動作を開始し、表示ワードメモリ
17に記憶されているD表に基づいてワークメモリ26
内のワードデータを読出して表示データを作成し、表示
装置28に表示する。Further, the display processing device 22 starts a 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 processing operations in the work memory 22 based on the
The word data within is read out to create display data, which is displayed on the display device 28.
印字処理装置2jは、入力処理装置2oから起動指令が
与えられると、印字ワードメモリ1g17c記憶されて
いるE表に基づいてワークメモリ26から読出したワー
ドデータにより指定フォーマットの伝票データあるいは
帳票データを作成し、印字装置29を駆動して伝票ある
いは帳票をプリントアウトする。When the print processing device 2j receives a startup command from the input processing device 2o, it creates slip data or form data in a specified format using the word data read from the work memory 26 based on the E table stored in the print word memory 1g17c. Then, the printer 29 is driven to print out the slip or form.
しかして、上記標準伝票7フイル27に登録され走標準
伝票レコードデータは、記帳処理装置31により続出さ
れる。この記帳処理装置31は、内部に変換メモリ32
が設けられていると共に、上記記帳設定テーブル14及
びカテゴリ設定テーブル30と共に71イルフオーマツ
トメモリ33が接続される。上記記帳処理装置31は、
入力装置11からの記帳指令にょシ起動し、記帳設定テ
ーブル14、カテゴリ設定テーブル30、変換メモI)
32,7アイルフオーマツトメモリ33の記憶データに
基づき、標準伝票ファイル27に登録されている標準伝
票レコードよシフアイル更新用のレコード(このレコー
ドも複数のワードからなる可変長レコードであり、以下
メンテナンスレコードと言う)を作成し、メンテナンス
メモリ34に書込む。このメンテナンスメモリ3411
Cは、複数のメンテナンスレコードデータが記憶され、
入力装置11あるいは記帳処理装置31がらの更新指令
によりフアイル更新装置35へ送られ、このメンテナン
スレコードデータに基づいて元帳ファイル群36、集計
ファイル群32、管理ファイル群38内の対応ファイル
に対して更新処理が行なわれる。Thus, the travel standard slip record data registered in the standard slip 7 file 27 is continuously output by the bookkeeping processing device 31. This bookkeeping processing device 31 has a conversion memory 32 inside.
A 71 format memory 33 is connected together with the bookkeeping setting table 14 and the category setting table 30. The bookkeeping processing device 31 is
The bookkeeping command from the input device 11 is activated, and the bookkeeping setting table 14, category setting table 30, conversion memo I)
Based on the data stored in the 32,7-aisle format memory 33, the standard slip record registered in the standard slip file 27 and the file update record (this record is also a variable-length record consisting of multiple words, hereinafter referred to as a maintenance record) ) is created and written into the maintenance memory 34. This maintenance memory 3411
C stores a plurality of maintenance record data,
An update command from the input device 11 or the bookkeeping processing device 31 is sent to the file update device 35, and based on this maintenance record data, corresponding files in the ledger file group 36, total file group 32, and management file group 38 are updated. Processing is performed.
しかして、上記伝挿別ワードファイル13には、上記し
たように各覆伝捗別の定義内容が設定されるが、例えば
「掛売上」の伝票処理を行なう場合のA表、0表は具体
的には第2図に示すように設定される。A表は入力デー
タをワード塩に対応づけ、以後ワードデータとして取扱
えるようにするためのワード塩及びワード条件を定義す
るものであり、al、al、a3の3つの項目からなっ
ている。即ち、alには「得意先名9日付、伝番(伝票
番号)」の各ワード塩がヘッディングのワードとして、
alには「品名、コード、数量、単価、金額(数量×単
価)」の各ワード塩がアイテムのワードとして、a3に
は「合計金額」のワード塩が後入ヘディングのワードと
して設定される。Therefore, in the above-mentioned word file 13 for slips, the definition contents for each slip slip are set as described above, but for example, tables A and 0 are specific when processing slips for "Credit sales". Specifically, the settings are as shown in FIG. Table A defines word salts and word conditions for associating input data with word salts so that they can be handled as word data from now on, and consists of three items: al, al, and a3. That is, in al, each word of "Customer name 9 date, slip number (slip number)" is used as the heading word,
In al, the words "item name, code, quantity, unit price, amount (quantity x unit price)" are set as item words, and in a3, the word "total amount" is set as a post-heading word.
ここで、上記各ワード塩のうち「日付、伝播、単価」の
各ワード塩は索引テーブル24を参照することにより入
力されるワードであることを示す索引のワード条件を、
「得意先名2品名、数量」の各ワード塩は入力装置11
でのキー操作により入力されるワードであることを示す
入力のワード条件を、「金額(数量×単価)」のワード
塩は計算式がワード塩で記された演算ワード条件を示し
ている。また、0表はA表に基づいて入力された「掛売
上」の営業伝票に対する入力レコードデータを統一化さ
れた標準伝票のレコードデータに変換し、このレコード
データを標準伝票ファイル27Vc登録することを定義
するものであり、C1eCj、C3,C4の項目からな
っている。即ち、C1には「標準伝票ファイル」が更新
対象のファイル名として、C2には「追加」を示すコー
ドが更新種別として設定され、Cj、C4には標準伝票
ファイル27におけるワード塩(標準ワード塩)と、上
記A表により指定されるワード塩(入力ワード塩)との
対応づけが設定される。上記C3には例えば「年月日」
「金額」、「借方科目」、・・・等の各情標準ワード名
が固定化された順番で予め設定されている。そして、こ
の各標準ワード塩に対応させて各仮積におけるC4の入
カワード名が設定される。例えば「年月日」標準ワード
塩に対しては「日付」の入力ワード塩が設定され、「金
額」の標準ワード塩に対しては「金額]の入力ワード塩
が設定される。ところで「借方科目」[貸方科目j、[
区]、「取引科目」 「会計年月」の各標準ワード塩
は上記A表のワード塩とけ1対1に対応していない。こ
れは、これら標準ワード塩が仮積の内容あるいは取引日
によって一義的に決まるワード塩だからであシ、例えば
第2図の0表のように仮積が「掛売上」の場合、上記各
標準ワード塩に対して「売掛」、「売上」r20J
、r50J 、r63.3jのワードデータ(W、2
図の0表では[]の記号で示す)が一義的に設定される
。Here, the word condition of the index indicating that each word salt of "date, propagation, unit price" among the above word salts is a word input by referring to the index table 24,
Each word of “Customer name 2 Product name, Quantity” is input device 11
The input word condition indicating that the word is input by key operation in , and the word salt of "amount (quantity x unit price)" indicate the calculation word condition in which the calculation formula is written in word salt. In addition, table 0 converts the input record data for the sales slip of "Credit sales" input based on table A into unified standard slip record data, and registers this record data in the standard slip file 27Vc. It is defined by the items C1eCj, 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 word salt (standard word salt) in the standard slip file 27 is set in Cj and C4. ) and the word salt (input word salt) specified by the above table A is set. For example, "year, month, and day" in C3 above.
Information standard word names such as "amount", "debit item", etc. are preset in a fixed order. Then, the input word name of C4 in each pseudo product is set corresponding to each standard word salt. For example, the input word value of "date" is set for the standard word value of "year, month, day," and the input word value of "amount" is set for the standard word value of "amount." By the way, the input word value of "debit" is set. subject” [credit subject j, [
], ``Transaction Item'', ``Accounting Year/Month'', each standard word salt does not have a one-to-one correspondence with the word salt in Table A above. This is because these standard word salts are uniquely determined by the content of the tentative product or the transaction date. For example, if the tentative product is “credit sales” as in table 0 in Figure 2, each of the above standards “Accounts receivable” and “sales” for word salt r20J
, r50J, r63.3j word data (W, 2
In the 0 table in the figure, the value (indicated by the symbol []) is uniquely set.
上記A表及び0表を利用することにより、ユーザーが希
望する任意フォーマットの各挿入力伝票を、ワード内容
が予め統一化された唯一の標準伝票に変換して記憶管理
することができ、以後、各fii!ファイル群36〜3
8に対する上記標準伝票のレコードによるファイル更新
処理を単純化するととができる。しかも、上記A表及び
0表の設定はワード塩の設定だけであるので、ユーザー
であっても極めて簡単に、しかも自由に設定することが
できる。即ち、A表においてはユーザーが希望する任意
フォーマットの入力伝票に合う順序で設定すれば良く、
また0表においては標準ワード塩が設定されているので
、この標準ワード塩に対応するように上記入力ワード塩
の設定を行なえば良い。By using Table A and Table 0 above, each insertion slip in any format desired by the user can be converted into a single standard slip whose word content has been unified in advance, and can be stored and managed. Each fii! File group 36-3
The file update process using the record of the standard slip for 8 can be simplified. Furthermore, since the settings for the A table and the 0 table are only the word salt settings, even the user can set them extremely easily and freely. In other words, in table A, it is sufficient to set the order in the order that matches the input slip in any format desired by the user.
Furthermore, since a standard word salt is set in the 0 table, the input word salt may be set to correspond to this standard word salt.
このようにして更新された各梱ファイル群36.38の
内容を印字出力する場合は、指定ファイル内の各レコー
ドが入力処理装置20を介してワークメモリ26に読み
出され、更にこのレコードは印字ワードメモリ18に記
憶されているE表に基づいて印字処理装置23を介して
印字装置29にて印字される。When printing out the contents of each bundled file group 36 and 38 updated in this way, each record in the designated file is read into the work memory 26 via the input processing device 20, and this record is also printed out. Based on the E table stored in the word memory 18, printing is performed by the printing device 29 via the printing processing device 23.
次に第1図における記帳処理装置31が標準伝票ファイ
ル27に登録された標準伝票のレコードから元帳ファイ
ル群36、集計ファイル群37゜管理ファイル群38の
各ファイルを更新するためのファイル更新用レコード(
メンテナンスレコ−ド)を作成する場合に使用する記帳
設定テーブル14、カテゴリ設定テーブル30、ファイ
ルフォーマ7トメモリ33、変換メモリ32について説
明する。Next, the bookkeeping processing device 31 in FIG. 1 uses the record of the standard slip registered in the standard slip file 27 to update the files of the ledger file group 36, the total file group 37, and the management file group 38. (
The bookkeeping setting table 14, category setting table 30, file format memory 33, and conversion memory 32 used when creating a maintenance record will be explained.
まず、上記記帳設定テーブル14には、第3図に示すよ
うに「種区」、「取引科目」、「取引名」。First, in the bookkeeping setting table 14, as shown in FIG. 3, there are "Tane Ward", "Transaction Item", and "Transaction Name".
「ファイル記帳区分」、「地区(取引区分)記帳区分」
の項目が予め設定される。上記「取引名」の項目には、
「受注」 「掛売上」 「発注」「掛仕入」・・・
等の各即取引内容が設定されておシ、「ファイル記帳区
分」の項目には「勘定元帳ファイル」、「売掛金請求元
帳ファイル」、「買掛金請求元帳ファイル、1 、「勘
定集計ファイル」[売掛金請求集計ファイル]、「買掛
金請求集計ファイル」、「品目管理ファイル」 [販
売先管理ファイルj等の各ファイル別項目が設けられて
いる。そして、上記「ファイル記帳区分」における各項
目に対し、上記「取引名」の各種取引内容に対応する箇
所にフラグ1″が立てられ、取引の内容に応じて更新す
べきファイルが指定できるようになっている。例えば第
3図の記帳設定テーブル14のようにフラグが立ってい
る状態において「掛売上」の取引を行なった場合には、
「勘定元帳ファイル」、「売掛金請求元帳ファイル」「
勘定集計ファイル」、「売掛金請求集計ファイル」、「
品目管理ファイル」、「販売先管理ファイル」の各ファ
イルに対しての更新が行なわれる。"File Bookkeeping Classification", "District (Transaction Classification) Bookkeeping Classification"
The items are set in advance. In the “Transaction Name” item above,
"Orders""Creditsales""Orders""Creditpurchases"...
Each immediate transaction content such as ``File Recording Classification'' is set as ``Account Ledger File'', ``Accounts Receivable Billing Ledger File'', ``Accounts Payable Billing Ledger File, 1'', ``Account Summary File'' [ Items are provided for each file, such as "accounts receivable billing summary file", "accounts payable billing summary file", "item management file" [sales partner management file j, etc. Then, for each item in the above "File Recording Classification", a flag 1" is set in the part corresponding to the various transaction contents of the above "Transaction Name", so that the file to be updated can be specified according to the transaction contents. For example, if a "Credit Sales" transaction is made while the flag is set as shown in the bookkeeping setting table 14 in Figure 3,
"Account Ledger File", "Accounts Receivable Billing Ledger File", "
"Account Summary File", "Accounts Receivable Billing Summary File", "
The files ``Item Management File'' and ``Seller Management File'' are updated.
なお、上記「ファイル記帳区分」に対するフラグは、前
述したエデイツト処理装置12を介して入力装置1)よ
シ自由に設定できるものとする。Note that the flag for the above-mentioned "file entry classification" can be freely set by the input device 1) via the edit processing device 12 described above.
また、上記カテゴリ設定テーブル30には1例えば第4
図(alに示すように[品目管理j 、「販売先管理」
、「販売者管理j等の「ファイル記帳区分」に対してそ
れぞれ「品目コード」、「販売先コード」、「販売者コ
ード」の各カテゴリ区分が設定される。即ち、上記各コ
ードは1例えば第4図(b)に示すように5桁のコード
番号により設定されており、「品目コード」の場合は上
位2桁がカテゴリで下位3桁が連番、また、「販売先コ
ード」及び「販売者コード」の場合は上位3桁がカテゴ
リで下位2桁が連番となっているので、「品目管理」の
カテゴリ区分として「2」が設定され、「販売先管理」
及び「販売者管理」のカテゴリ区分として「3」が設定
される。In addition, in the category setting table 30, 1, for example, 4th
As shown in figure (al) [Item management j, "Sold to customers management"
, "File Recording Classification" such as "Seller Management J", the category classifications of "Item Code", "Seller Code", and "Seller Code" are set respectively. That is, each code above is set by a 5-digit code number, for example, as shown in Figure 4(b), and in the case of an "item code", the top two digits are the category and the bottom three digits are the serial number, or , "Seller code" and "Seller code", the top three digits are the category and the bottom two digits are the consecutive numbers, so "2" is set as the category classification for "Item management" and "Sales" First management”
And "3" is set as the category classification of "seller management".
更に、ファイル7オーマツトメモリ33は1元帳ファイ
ル群36、集計ファイル群37、管理ファイル群38に
存在する各種ファイルのレコード構造をワード塩で定義
するもので、そのレコード構造が第5図に示すように設
定される。例えば、「勘定元帳ファイル」に対応しては
「当駒(当方勘定)」、「日仏(日付伝播)」、「和動
(相手勘定)」、「溝高」 「貸高」の各ワード塩が
定義され、「品目管理7アイル」に対応しては「品目」
、「年月」、「地区」、「溝高」 「貸高」の各ワー
ド塩が定義される。この場合、この「品目管理ファイル
」に対しては、「品目カテゴリファイルJ 、!: r
重点品目ファイル」の2つのファイルが設けられる。Furthermore, the file 7 format memory 33 defines the record structure of various files existing in the 1 ledger file group 36, the total file group 37, and the management file group 38 using word salt, and the record structure is shown in FIG. It is set as follows. For example, the following words correspond to the "account ledger file": "Tokoma (our account)", "Japanese-French (date propagation)", "Wado (opposite account)", "Mizotaka", "Loan amount" Salt is defined and corresponds to "Item management 7 isle" as "Item"
, ``year/month'', ``district'', ``mizotaka'', and ``loan amount'' are defined. In this case, for this "item management file", "item category file J,!: r
Two files are provided: ``Priority Item File''.
又、記帳処理装置31内に設けられる変換メモリ32に
は、N@伝票ファイル27内の可変長レコードデータを
上記各種ファイル群36〜38のうちの更新すべきファ
イルの可変長レコードデータに変換し、このレコードデ
ータにより対応7アイルを更新すべきことを定義するW
表が各ファイル別に設定されている。!6図に各ファイ
ルとW表(W 7表、Wl表、・・・)との対応関係を
示す。In addition, a conversion memory 32 provided in the bookkeeping processing device 31 converts the variable length record data in the N@ slip file 27 into variable length record data of the file to be updated among the various file groups 36 to 38. , defines that the corresponding 7 isles should be updated with this record data W
A table is set up for each file. ! Figure 6 shows the correspondence between each file and the W tables (W7 table, Wl table, . . . ).
第7図(a) 、 (blは、上記W1表、Wx表、・
・・の各W表のうち、Wl表(品目カテゴリファイルに
対応)。Figure 7(a), (bl is the above W1 table, Wx table,
Among the W tables in ..., the Wl table (corresponds to the item category file).
W9表(品目元帳ファイルに対応)の具体的な設定例に
ついて示したものである。これらW表は、Wl 、Wl
、W3 、W4の項目からなり、WIVCは[品目カ
テゴリファイル]等のファイル名が更新対象のファイル
名として、Wlには「集計」等を示すコードが更新種別
として設定され、W3゜W4には各ファイルのワード塩
(ファイルワード名)と標準伝票のワード塩(標準ワー
ド塩)との対応づけが設定される。例えば、「品目カテ
ゴリファイル」に対する更新を定義するWl表において
は、上記「品目管理ファイル」のレコード構造を示す「
品目」、「年月」、「溝高」 「貸高」の各ファイル
ワード塩に対しては、標準伝票レコードの1カテゴリブ
ード」、「年月J 、 r/J「金額」等の各標準
ワード塩が各レコード条件別に対応づけて設定される。A specific setting example of the W9 table (corresponding to the item ledger file) is shown. These W tables are Wl, Wl
, W3, and W4, and in WIVC, a file name such as [Item Category File] is set as the file name to be updated, in Wl, a code indicating "aggregation" etc. is set as the update type, and in W3゜W4. A correspondence is set between the word salt of each file (file word name) and the word salt of the standard slip (standard word salt). For example, in the Wl table that defines updates to the "item category file", the record structure of the "item management file" is "
For each file word "Item", "Year/Month", "Military Amount", "Loan Amount", each standard such as 1 category Bud of standard slip record, "Year/Month J, r/J "Amount" etc. The word salt is set in association with each record condition.
即ち、このW7表は1伝県分の全標準伝票レコードから
ファイル更新用レコードを作成し、この更新用レコード
により「品目カテゴリファイル」を更新することを定義
している。また、「品目元帳ファイル」に対する更新を
定義するW9表において本、第7図(blVc示すよう
に「品目」、「年月日」、「人数」、「小数」の各ファ
イルワード塩に対して、標準伝票レコードの「品目コー
ド」、「年月日J 、 r/J「数量」等の各標準
ワード塩が対応づけて設定される。このW9表は1伝票
分の全標準伝票レコードからファイル更新用レコードを
作成し、この更新用レコードにより「品目元帳ファイル
」を更新することを定義している。That is, this W7 table defines that a file update record is created from all standard slip records for one prefecture, and that the "item category file" is updated using this update record. In addition, in the W9 table that defines updates to the "item ledger file", for each file word salt of "item", "year/month/date", "number of people", and "decimal", as shown in Figure 7 (blVc), , standard slip records such as "Item code", "Year/Month/Date J", "R/J", "Quantity", etc. are set in association with each other.This W9 table is created from a file from all standard slip records for one slip. It is defined that an update record is created and the "item ledger file" is updated using this update record.
(2) 実施例の動作
次に上記実施例の動作を説明する。記帳処理を行なう場
合、入力装置11のキー操作により、まず、処理モード
を選択指定し、次いで仮積の指定を行なう。このキー操
作によりエディット処理装置12が動作し、仮積別ワー
ドファイル13から指定された仮積に対応して設定され
た定義内容(A表、0表、D表、8表)を読出して対応
するワードメモリ15〜18にロードし、その後、入力
処理装置20を起動する。(2) Operation of the embodiment Next, the operation of the above embodiment will be explained. When performing bookkeeping processing, a processing mode is first selected and designated by key operations on the input device 11, and then a provisional product is designated. This key operation activates the edit processing device 12, which reads out the definition contents (A table, 0 table, D table, 8 table) set corresponding to the specified temporary product from the temporary product classification word file 13 and responds accordingly. Then, the input processing device 20 is started.
上記入力処理装置20は、エデイツト処理装置12から
の起動指令により、入カワートメモリ15にロードされ
ているA表に従って第8図のフローチャートに示す処理
を実行する。入力処理装置20は、まず1表示処理装置
22を起動し、その時の指定仮置のフォーマットを表示
ワードメモリ17にロードされたD表忙応じて画面表示
する。The input processing device 20 executes the processing shown in the flowchart of FIG. 8 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 activates the display processing device 22 and displays the format of the designated temporary location on the screen according to the D table loaded into the display word memory 17.
今、例えば仮積として#[2図に示す「掛売上」の指定
が行なわれたとすると、入カワートメモリ15にはA2
表がロードされ、表示ワードメモリ17にはD2表がロ
ードされているので、第12図に示すような「掛売上」
のフォーマットが画面表示される。また、入力処理装置
20は、A2表で指定されるワード塩に対応するワード
データの入力に備える(ステップAZ)。このステップ
八1において、入力装置1ノからワード塩に対応する任
意長のデータが入力されると、その入力データが品名ワ
ードであるか否かを判断しくステップA2)1品名ワー
ドであればその品名に対応する品目コードを索引テーブ
ル24から続出して重点品目であるか否かを判断する(
ステップA3゜A4)。重点品目でなければそのまま、
重点品目であれば品目コードに重点フラグ*”が付加(
ステップA5)された後、品名及び品目コードがワーク
メモリ26に書込まれる(ステップ八6)。For example, if "Credit sales" shown in Figure 2 is specified as a provisional product, then A2 is stored in the input memory 15.
Since the table has been loaded and the D2 table has been loaded into the display word memory 17, the "credit sales" as shown in FIG.
The format will be displayed on the screen. The input processing device 20 also prepares for inputting word data corresponding to the word salt specified in the A2 table (step AZ). In this step 81, when data of arbitrary length corresponding to the word salt is input from the input device 1, it is determined whether the input data is a product name word or not.Step A2) If it is a product name word, it is The item code corresponding to the item name is successively retrieved from the index table 24 to determine whether it is a priority item (
Step A3゜A4). If it is not a priority item, leave it as is.
If it is a priority item, a priority flag *” is added to the item code (
After step A5), the item name and item code are written into the work memory 26 (step 86).
また、入力装置1ノから品名ワード以外のデータが入力
された場合は、ステップA2がらステップA7に進み、
入力されたデータはワード塩と対応づけされ、可変長の
ワードデータとしてワークメモリ26に書込まれる。そ
の後、ステップ八8において1伝票分の全てのワードデ
ータ入力が終了したか否か判断され、終了していなけれ
ばステップAIに戻る。以下、1伝票分の全てのワード
データが入力されるまで、ステラfA1〜A8の処理が
繰返され、1伝票分のワードデータ入力が終了したと判
断されると(ステップ八8)、伝票処理装置21に起動
指令が与えられる(ステップA9)。以上の処理により
第12図に示すような掛売上伝票が作成され、ワークメ
モリ26内には上記1伝票分の全ワードデータが記憶さ
れる。この第12図では、「A商店」に対して「150
0円の電卓101を3個」、r2000円の時計201
を6個」売上げた場合の例を示している。Further, if data other than the product name word is input from the input device 1, the process advances from step A2 to step A7,
The input data is associated with the word salt and written into the work memory 26 as variable length word data. Thereafter, in step 88, it is determined whether or not all the word data for one slip has been inputted, and if not, the process returns to step AI. Thereafter, the processing of Stella fA1 to A8 is repeated until all the word data for one slip has been input, and when it is determined that the input of word data for one slip has been completed (step 88), the slip processing device A start command is given to 21 (step A9). Through the above processing, a credit sales slip as shown in FIG. 12 is created, and all word data for one slip is stored in the work memory 26. In this Figure 12, "150
3 0 yen calculators 101, 2000 yen watches 201
An example is shown in which 6 units of the same product were sold.
上記伝票処理装置21は、入力処理装置2Qからの起動
指令により起動し、伝票ワードメモリ16にロードされ
ている0表に基づいて第9図のフローチャートに示す伝
票処理を実行し、ワークメモリ26に記憶された可変長
のワードデータに基づいて可変長の標準伝票レコードを
作成して標準伝票ファイル27に登録する。すなわち、
伝票処理装置21は、まず、内部の標準伝票レコード作
成用レジスタ(このレジスタは標準伝票ファイル27の
レコード構造と同一構造を有し、第2図に示したような
各標準ワード塩に1対1釦対応する記憶エリアを有する
)をクリアする(ステップBJ)。そして、伝票ワード
メモリ16から「借方科目」、「貸方科目」 「線区
」 「取引科目」。The slip processing device 21 starts up in response to a startup command from the input processing device 2Q, executes the slip processing shown in the flowchart of FIG. A variable length standard slip record is created based on the stored variable length word data and is registered in the 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 has a one-to-one register for each standard word salt as shown in FIG. 2). (having a storage area corresponding to the button) is cleared (step BJ). Then, from the slip word memory 16, ``Debit Account'', ``Credit Account'', ``Line Section'', and ``Transaction Account'' are retrieved.
「会計年月」のワード塩に対応するデータを続出し、上
記レコード作成用レジスタの対応する記憶エリアに書込
むと共に、入力品目コードをキーとして索引テーブル2
4を索引して重点品目か否かを読出し、上記レコード作
成用レジスタの対応する記憶エリアに書込む(ステップ
B2)。次いで。The data corresponding to the word "accounting year/month" is successively written to the corresponding storage area of the record creation register, and the input item code is used as a key in the index table 2.
4 is indexed to read out whether it is an important item or not, and write it into the corresponding storage area of the record creation register (step B2). Next.
ワークメモリ26内の1アイテム、この場合には「電卓
IQ1」に対するアイテムを指定しくステップB3)、
このアイテムに関するワードデータ、この場合にはE日
付」 「金額」、「得意先」「六番」、「品名」、「
数量」、「単価」の各ワード塩に対応して入力されたr
62,10,8J。Step B3) to specify one item in the work memory 26, in this case an item for "Calculator IQ1";
Word data related to this item, in this case E date""Amount""Customer""Number6""Productname""
r entered corresponding to each word "Quantity" and "Unit Price"
62, 10, 8J.
r4.500J 、l’−A商店J 、J123Jrl
lloIJ、r3j rl、500Jの各ワードデ
ータを上記レコード作成用レジスタの対応記憶エリアに
書込む(ステップB4)。次いで別途演算ルーチンによ
る演算により「損料」のワード塩に対応するデータを計
算し、上記レコード作成用レジスタの対応エリアに書込
む(ステップB5)。そしてこのレジスタ内に作成され
た標準伝票のレコードデータにより標準伝票ファイル2
7を「追加」更新登録する(ステップBg)。r4.500J, l'-A store J, J123Jrl
Each word data of lloIJ, r3j rl, and 500J is written into the corresponding storage area of the record creation register (step B4). Next, data corresponding to the word "loss" is calculated by a separate calculation routine and written into the corresponding area of the record creation register (step B5). Then, the standard slip file 2 is created using the record data of the standard slip created in this register.
7 is "added" and updated and registered (step Bg).
以上の処理により標準伝票ファイル27に第13図(a
lK示すように「電卓10)」だ関する標準伝票レコー
ドデータが登録される。その後、1伝票分の処理を終了
したか否かを判断する判断ステ7プB7を経てステッ7
’BIK戻り、上記と同様の処理によりワークメモリ2
6における入力伝票の次のアイテム、つまり、「時計2
01」に関する標準伝票レコードデータが第13図(b
)に示すように作成され、標準伝票ファイル27に登録
される。As a result of the above processing, the standard slip file 27 is
As shown in FIG. 1K, standard slip record data related to "Calculator 10" is registered. After that, the process goes through step B7 to determine whether processing for one slip has been completed or not.
'BIK return, work memory 2 is returned by the same process as above.
The next item in the input document in step 6, that is, “Clock 2
The standard slip record data regarding “01” is shown in Figure 13 (b
) and is registered in the standard slip file 27.
上記のようにして1伝票分の処理を終了すると、その状
態がステラ7″B7で判断され、標準伝票レコードの作
成処理を終了する。When the processing for one slip is completed as described above, the status is determined by the Stella 7''B7, and the standard slip record creation process is ended.
このようにユーザーが希望するフォーマット(ワード内
容及びその順序)で設定した入力伝票によ〕、ワード内
容及びその順序が統一化された唯一の標準伝票レコード
を作成することができる。By using input slips 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.
しかして、上記標準伝票レコードを作成した後。However, after creating the above standard slip record.
入力装置11のキー操作により記帳操作を行なうと、記
帳指令が記帳処理装置31VC送られて、第10図のフ
ローチャートに示す記帳処理(各ファイル群36〜38
を更新するなめのメンテナンスレコードを作成するため
の処理)が実行される。When a bookkeeping operation is performed by key operation on the input device 11, a bookkeeping command is sent to the bookkeeping processing device 31VC, and the bookkeeping process (each file group 36 to 38) shown in the flowchart of FIG.
(processing to create a maintenance record for updating) is executed.
記帳処理装置31は、入力装置11から記帳指令が与え
られると、まず、標準伝票ファイル27から最初の標準
伝票レコードデータを続出しくステップC1)、この標
準伝票レコードデータに含まれる「挿区」及び「取引科
目」のワード塩に対応するワードデータにより記帳設定
テーブル14の取引を指定する(ステップCJ)。上記
第13図に示すrlt卓101」あるいけ「時計201
」の標準伝票レコードの場合、「挿区」及び「取引科目
」のワード塩に対応するワードデータは「20」及び「
50」であるので、第3図の記帳設定テーブル14に対
し「掛売上」の取引が指定され、ファイル記帳区分の各
ファイル名のうちフラグ″1″が立っているファイル名
を順次指定する。即ち、まず、「勘定元帳ファイル」の
ファイル名を指定する(ステップC3)。次いで、変換
メモリ32内の各fi1w表のうち「勘定元帳ファイル
」のファイル名に対応するW表、即ち、W1表を指定し
。When the bookkeeping processing device 31 is given a bookkeeping command from the input device 11, it first outputs the first standard slip record data from the standard slip file 27 (step C1), and the "insert section" and The transaction in the bookkeeping setting table 14 is specified by the word data corresponding to the word "transaction item" (step CJ). The rlt console 101 shown in Figure 13 above
In the case of a standard slip record of
50'', the transaction ``Credit sales'' is specified in the bookkeeping setting table 14 of FIG. 3, and among the file names in the file bookkeeping category, the file names with the flag ``1'' set are sequentially specified. That is, first, the file name of the "account ledger file" is specified (step C3). Next, among the fi1w tables in the conversion memory 32, the W table corresponding to the file name of "account ledger file", that is, the W1 table, is specified.
このW1表に基づき1伝票分の標準伝票レコード(この
場合は第13図(a)及び(b)に示す2つの標準伝票
レコード)から「勘定元帳ファイル」だ対するall類
のメンテナンスレコードデータ、即チ「当駒」のファイ
ルワード塩に対して「借方科目」及び「貸方科目」の標
準ワードのワードデータ「売掛金」及び「売上」を割当
てたメンテナンスレコードデータ(この場合、「溝高」
及び「貸高」のファイルワード名に対応するワードデー
タとしては1伝票分の合計金額、即ち「電卓101」と
「時計201」の金額を合計した金額「16゜500」
が割当てられる)を作成する(ステ7fC4)。そして
、この2種類のメンテナンスレコードデータをメンテナ
ンスメモリ34へ登録(ステyfc5)した後、上記フ
ァイル記帳区分内でフラグが立っているファイル名のう
ち未指定のファイル名が存在するか否かを判断する(ス
テップC6)。今の場合、未指定のファイル名が存在す
るのでステップC3に戻#)%次のファイル名「売掛金
請求元帳ファイル」を指定し、このファイル名に対応す
るW2表を指定する。そして、このW2表だ基づき上記
ステップCノで指定された1つのpArIL伝票レコー
ド、即ち第13図(a)のレコードからメンテナンスレ
コードデータを作成し、メンテナンスメモリ34に登録
する。次いで記帳設定テーブル14から次のファイル名
「勘定集計ファイル」を指定して、上述し六[勘定元帳
ファイル」に対するメンテナンスレコードデータの作成
と同様の処理を行ない、2種類のメンテナン、スレコー
ドデータを作成し、メンテナンスメモリ34に登録する
。以下同様にしてファイル記帳区分内のフラグで指定さ
れる全ファイル名に対してステップ03〜C6の処理を
繰返し、「掛売上」の取引に対して更新すべき全ファイ
ルに対する全メンテナンスレコードデータを作成し、メ
ンテナンスメモリ34に登録する。そして、全てのメン
テナンスl/コードデータを作成すると、ステy f
C6を経てステップ07に進み、標準伝票ファイル27
に未読出しの標準伝票レコードデータが有るか否かを判
断する。未読出しの標準伝票レコードデータが残ってい
ればステy 7’ C1に戻り、その標準伝票レコード
データに対しても上述した処理を行ない、作成されたメ
ンテナンスレコードデータをメンテナンスメモリ34に
順次登録する。上記の処理により標準伝票ファイル27
に登録されている全標準伝票レコードデータに対する処
理を終了すると、その状態がステップC7で判断され。Based on this W1 table, from the standard slip record for one slip (in this case, the two standard slip records shown in Figure 13 (a) and (b)), maintenance record data of all types for the "account ledger file" is immediately extracted. Maintenance record data in which standard word data "accounts receivable" and "sales" of "debit account" and "credit account" are assigned to the file word of "this piece" (in this case, "Mizotaka")
The word data corresponding to the file word name of "Amount owed" is the total amount for one slip, that is, the sum of the amounts for "Calculator 101" and "Clock 201", "16°500".
is assigned) (Step 7fC4). After registering these two types of maintenance record data in the maintenance memory 34 (stayfc5), it is determined whether or not there is an unspecified file name among the flagged file names in the above file entry classification. (Step C6). In this case, there is an unspecified file name, so return to step C3.#) Specify the next file name "Accounts receivable billing ledger file" and specify the W2 table corresponding to this file name. Then, based on this W2 table, maintenance record data is created from one pArIL slip record designated in step C above, that is, the record in FIG. 13(a), and is registered in the maintenance memory 34. Next, specify the next file name "account summary file" from the bookkeeping setting table 14, perform the same process as the creation of maintenance record data for the six [account ledger file] described above, and create two types of maintenance record data. It is created and registered in the maintenance memory 34. In the same way, steps 03 to C6 are repeated for all file names specified by the flags in the file accounting category, creating all maintenance record data for all files to be updated for transactions of "Credit sales". and register it in the maintenance memory 34. Then, after creating all the maintenance l/code data, stay f
Proceed to step 07 via C6 and save the standard slip file 27.
It is determined whether there is unread standard slip record data. If unread standard slip record data remains, the process returns to Stay 7'C1, 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. The standard slip file 27 is created by the above process.
When the processing for all standard slip record data registered in is completed, its status is determined in step C7.
メンテナンスレコードデータの作成処理を終了する。The maintenance record data creation process ends.
ところで、上記の処理において、記帳設定テーブル14
のファイル名「品目管理ファイル」が指定された場合、
ステップC4におけるメンテナンスレコードの作成は第
11図に示すフローチャートに従って行なわれる。即ち
、記帳処理装置31は、第11図のステップD1におい
て第4図(alに示すカテゴリ設定テーブル30に基づ
いて、「品目管理」として設定されたカテゴリ区分桁数
「2」あるいは「3」を読出す。そして、標準伝票レコ
ードの「品目」の標準ワード(品目コード)に対するデ
ータ例えばrllloIJより上位2桁あるいは3桁の
カテゴリコードを抽出する(ステップD2)。そして、
品目カテゴリファイルの変換メモリ32だ基づいて、こ
の場合((は第7図(a)に示す変換ワードW7に基づ
いて第13図(alの「電卓101」の標準伝票レコー
ドだ対し、品目をカテゴリコード「1 iJとするメン
テナンスレコードを第14図(al K示すように作成
する(ステップDJ)。次いで品目管理ファイルの変換
メモリ32に基づいて、この場合には第7図(b)に示
す変換ワードW9に基づいて第13図(a)の「電卓1
01」の標準伝票レコードに対し1品目を品目コードr
l 1101jとするメンテナンスレコードを第14図
(b)に示すように作成する(ステップDJ)。By the way, in the above process, the bookkeeping setting table 14
If the file name "Item management file" is specified,
The maintenance record creation in step C4 is performed according to the flowchart shown in FIG. That is, in step D1 of FIG. 11, the bookkeeping processing device 31 sets the number of category classification digits "2" or "3" set as "item management" based on the category setting table 30 shown in FIG. 4 (al). Then, the data for the standard word (item code) of "item" in the standard slip record, for example, the upper two or three digit category code is extracted from rllloIJ (step D2).
Based on the conversion memory 32 of the item category file, in this case (() is the standard slip record for "Calculator 101" in Figure 13 (al) based on the conversion word W7 shown in Figure 7 (a), the item is categorized. A maintenance record with the code "1 iJ" is created as shown in FIG. "Calculator 1" in FIG. 13(a) based on word W9
01" standard slip record, one item with item code r
1101j is created as shown in FIG. 14(b) (step DJ).
上記のようにして第13図(a>に示す「電卓101」
の標準伝票レコードから、第14図(alに示す「品目
カテゴリファイル」及び!14図(b)に示す「品目元
帳ファイル」のメンテナンスレコードが作成され、メン
テナンスメモリ34に登録される。また、#E13図(
b)に示す「時計201」の標準伝票レコードからも同
様にして第14図<c)に示す「品目カテゴリファイル
」及び第14図(d)に示す「品目元帳ファイル」のメ
ンテナンスレコードが作成され、メンテナンスメモリ3
411C登録される。The "calculator 101" shown in FIG. 13 (a) is created as described above.
From the standard slip record of , maintenance records of "item category file" shown in FIG. 14 (al) and "item ledger file" shown in FIG. 14 (b) are created and registered in the maintenance memory 34. Figure E13 (
Maintenance records of the "Item Category File" shown in FIG. 14<c) and the "Item Ledger File" shown in FIG. 14(d) are created in the same way from the standard slip record of "Clock 201" shown in b). , maintenance memory 3
411C is registered.
しかして、記帳処理装置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つづつ続出し、このレコー
ドデータの解析を行なう。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.
即ち、どのファイルに対して、どのようなワード内容に
より、どのような更新を行なうのかを上記メンテナンス
レコードデータから解析する。例えば第14図(a)に
示すメンテナンスレコードデータの場合は、「品目カテ
ゴリファイル」がファイル名として、「集計」がファイ
ルだ対する更新種別を示すコードとして判断され、また
「116210 、/、4500」の各ワードデータが
ファイルワードデータとして判断される。その結果。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 in FIG. 14(a), "Item Category File" is determined as the file name, "Total" is determined as the code indicating the update type for the file, and "116210, /, 4500" is determined as the code indicating the update type for the file. Each word data is determined as file word data. the result.
更新対象ファイルとしては管理ファイル群38内の「品
目カテゴリファイル」が指定され、このファイルに上記
ファイルワードデータが「集奸」更新される。また、第
14図(blに示すメンテナンスレコードデータの場合
も同様にして、更新対象ファイルとしては管理ファイル
群38内の「品目元帳ファイル」が指定され、この指定
ファイルに対してそのファイルワードデータが「集計」
更新される。更に、第14図(C) 、 (d>に示す
メンテナンスレコードデータの場合も同様にして、更新
対象ファイルとしては管理ファイル群38内の「品目カ
テゴリファイル」 「品目元帳ファイル」が順次指定
され、この指定ファイルに対してそのファイルワードデ
ータが「集計」更新される。The "item category file" in the management file group 38 is designated as the file to be updated, and the file word data is "collectively" updated to this file. Similarly, in the case of the maintenance record data shown in FIG. 14 (bl), the "item ledger file" in the management file group 38 is designated as the file to be updated, and the file word data is "totalling"
Updated. Furthermore, in the case of the maintenance record data shown in FIGS. 14(C) and (d>), the "item category file" and "item ledger file" in the management file group 38 are sequentially specified as the files to be updated. The file word data for this designated file is "aggregated" and 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 constituting the record with a specific control code, so the input word Even if the length is different for each transaction, or the word length or record length of the file is completely different for each file, it is completely independent of the input word composition of each transaction or the record composition of each file. Standard voucher records and maintenance records can be created.
なお、上記実施例においては細分類コードとして各商品
を識別分類する「品目コード」を、また他の分類コード
として[品目カテゴリコードjを例にして説明したが、
他の細分類コードである「販売先コード」あるいは「販
売者コード」についても同様に、第4図(a)に示すカ
テゴリ設定テーブル30の内容を参照して「販売先カテ
ゴリコード」あるいは「販売者カテゴリコード」を他の
分類コードとして別々に分類集計するようにしても良い
。また他の分類コードを指定する際は上記細分類コード
の上位2桁あるいは上位3桁を指定できるようにし念が
、これは上記細分類コードを上位レベルの分類に分けて
集計するようにしたい為であシ、指定できる桁はこれに
限られるものではなく、例えば下位3桁あるいは2桁等
であっても良い。In addition, in the above embodiment, the "item code" for identifying and classifying each product is used as the sub-classification code, and the "item code" is used as another classification code.
Similarly, regarding other subclassification codes such as "seller code" or "seller code," refer to the contents of the category setting table 30 shown in FIG. 4(a). The "person category code" may be classified and tallied separately as another classification code. Also, when specifying another classification code, please be sure to specify the top two or three digits of the above subclassification code, because you want to divide the above subclassification code into higher-level classifications and aggregate them. However, the digits that can be specified are not limited to these, and may be, for example, the lower three or two digits.
更に、上記実施例の標準伝票レコードは可変長のレコー
ドで構成したが、固定長のレコードで構成しでも良いこ
とはもちろんである。Furthermore, 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.
この発明によれば、細分類コードの一部を利用して他の
分類コードを生成するようにしているので、細分類コー
ドを含む1つの分類別レコードによりa分類レベルのレ
コード集計管理と、他のレベルのレコード集計管理を行
なうことができる。According to this invention, a part of the subclassification code is used to generate other classification codes, so one classification record including the subclassification code can manage record aggregation of classification level A and other classification codes. record aggregation management at the level of
また、上記他のレベルの指定は、比較すべき桁を指定す
るだけであるので、きわめて簡単に指定することができ
る。Furthermore, the other levels mentioned above can be specified very easily because they only specify the digits to be compared.
図面はこの発明の実施例を示すもので、第1図はファイ
ル記帳装置のシステム構成図、第2図は仮積別ワードフ
ァイルにおける各ワードの具体的設定例を示す図、第3
図は記帳設定テーブルの設定内容を示す図、第4図はカ
テゴリ設定テーブルの設定例及びカテゴリ区分を説明す
るための図、jIs図はファイル7オーマツトメモリに
設定される各ファイルのレコード構造を示す図、f46
図は変換メモリに設定される変換ワードと各ファイルと
の対応関係を示す図、第7図fa) 、 (b)は上記
変換ワードの具体的設定例を示す図、第8図は入力処理
装置の動作を示すフローチャート、第9図は伝票処理装
置の処理動作を示すフローチャート、第10図は記帳処
理装置の処理動作を示すフローチャート、第11図は第
10図の記帳処理において品目管理フラグが立っている
場合の処理動作を示すフローチャート、第12図は入力
伝票のフォーマットを示す図、算13図は標準伝票の記
憶フォーマットを示す図、第14図(a)〜(d)はメ
ンテナンスメモリに登録するメンテナンスレコードの作
成例を示す図である。
11・・・入力装置、12・・・エデイツト処理装置、
13・・・仮積別ワードファイル、14・・・記帳設定
テーブル、15・・・入カワートメモリ、16・・・伝
票ワードメモリ、17・・・表示ワードメモリ、I8・
・・印字ワードメモリ、20・・・入力処理装置、21
・・・伝票処理装置、22・・・表示処理装置、23・
・・印字処理装置、24・・・索引テーブルメモリ、2
6・・・ワークメモリ、27・・・標準伝票ファイル、
28・・・表示装置、29・・・印字装置、30・・・
カテゴリ設定テーブル、31・・・記帳処理装置、32
・・・変換メモリ、33・・・ファイルフォーマットメ
モリ、34・・・メンテナンスメモリ、35・・・ファ
イル更新装置、36・・・元帳ファイル群、37・・・
集計ファイル群、38・・・管理ファイル群。The drawings show an embodiment of the present invention, and FIG. 1 is a system configuration diagram of a file recording device, FIG. 2 is a diagram showing a specific setting example of each word in a temporary classification word file, and FIG.
The figure shows the setting contents of the bookkeeping setting table, Figure 4 shows the setting example and category classification of the category setting table, and the jIs diagram shows the record structure of each file set in the file 7 automatic memory. Figure shown, f46
The figure shows the correspondence between the conversion word set in the conversion memory and each file, Figure 7fa) and (b) are diagrams showing a concrete setting example of the conversion word, and Figure 8 shows the input processing device. FIG. 9 is a flowchart showing the processing operation of the slip processing device, FIG. 10 is a flowchart showing the processing operation of the bookkeeping processing device, and FIG. 11 is a flowchart showing the processing operation of the slip processing device. Figure 12 is a diagram showing the format of input slips, Figure 13 is a diagram showing the storage format of standard slips, and Figures 14 (a) to (d) are registered in the maintenance memory. FIG. 4 is a diagram illustrating an example of creating a maintenance record. 11... Input device, 12... Edit processing device,
13... Provisional classification word file, 14... Bookkeeping setting table, 15... Input word memory, 16... Slip word memory, 17... Display word memory, I8.
...Print word memory, 20...Input processing device, 21
... slip processing device, 22 ... display processing device, 23.
...Print processing device, 24... Index table memory, 2
6...Work memory, 27...Standard slip file,
28... Display device, 29... Printing device, 30...
Category setting table, 31... Bookkeeping processing device, 32
... Conversion memory, 33... File format memory, 34... Maintenance memory, 35... File update device, 36... Ledger file group, 37...
Total file group, 38... Management file group.
Claims (1)
き桁を任意に指定する指定手段と、上記細分類コードで
区別される分類別レコードの入力時に、この細分類コー
ド内の上記桁に対応するコードを他の分類コードとして
抽出する抽出手段と、この抽出手段により抽出された他
の分類コード別に上記分類別レコードを集計する第1の
集計手段と、上記細分類コード別に上記分類別レコード
を集計する第2の集計手段とを具備したことを特徴とす
るファイル記帳装置。A specification means for arbitrarily specifying the digit to be compared with the subclassification code where each digit indicates the aggregation level, and when inputting a classification record distinguished by the subclassification code, the above digit in this subclassification code an extraction means for extracting a corresponding code as another classification code; a first aggregation means for aggregating the classification records for each of the other classification codes extracted by the extraction means; A file bookkeeping device characterized by comprising a second aggregation means for aggregating.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63175428A JPH0224768A (en) | 1988-07-14 | 1988-07-14 | File entering device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63175428A JPH0224768A (en) | 1988-07-14 | 1988-07-14 | File entering device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0224768A true JPH0224768A (en) | 1990-01-26 |
Family
ID=15995931
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63175428A Pending JPH0224768A (en) | 1988-07-14 | 1988-07-14 | File entering device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0224768A (en) |
-
1988
- 1988-07-14 JP JP63175428A patent/JPH0224768A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900005286B1 (en) | Apparatus for financial management | |
| JP4617050B2 (en) | How to register and process transaction data | |
| US20050055289A1 (en) | Multi-dimensional business information accounting software engine | |
| US20020010708A1 (en) | Defining a uniform subject classification system incorporating document management/records retention functions | |
| JPH05113879A (en) | Program creation and data processing method | |
| JPH06348728A (en) | Voucher processing method | |
| US6108677A (en) | Data processing apparatus | |
| JP3026964B1 (en) | Slip data processing device and its processing method | |
| JP2003296554A (en) | Customer requirement system | |
| JP3152354B2 (en) | Paperless accounting system | |
| JPH0224768A (en) | File entering device | |
| JPWO2004111863A1 (en) | Core business processing system | |
| JP2001084304A (en) | Consolidated settlement data creation system | |
| JPH0225966A (en) | data aggregation device | |
| JPH0225949A (en) | Data processor | |
| Dalgleish | Beginning PivotTables in Excel 2007: From Novice to Professional | |
| JP4167333B2 (en) | Transfer data record creation method | |
| JPH0224746A (en) | Data processor | |
| JPH0224738A (en) | data processing equipment | |
| JP3063612U (en) | Customizable business program processor | |
| JP3082083B2 (en) | How to create customizable tables | |
| JPH0224778A (en) | data processing equipment | |
| Baker et al. | LOLITA: An on-line book order and fund accounting system | |
| JPS59106073A (en) | electronic register | |
| JPH0225945A (en) | File registering device |