Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6442962B2 - Form generation program and form generation apparatus - Google Patents
[go: Go Back, main page]

JP6442962B2 - Form generation program and form generation apparatus - Google Patents

Form generation program and form generation apparatus Download PDF

Info

Publication number
JP6442962B2
JP6442962B2 JP2014203490A JP2014203490A JP6442962B2 JP 6442962 B2 JP6442962 B2 JP 6442962B2 JP 2014203490 A JP2014203490 A JP 2014203490A JP 2014203490 A JP2014203490 A JP 2014203490A JP 6442962 B2 JP6442962 B2 JP 6442962B2
Authority
JP
Japan
Prior art keywords
data
item
information
keyword
form generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2014203490A
Other languages
Japanese (ja)
Other versions
JP2016071807A (en
Inventor
賢一 恩田
賢一 恩田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2014203490A priority Critical patent/JP6442962B2/en
Publication of JP2016071807A publication Critical patent/JP2016071807A/en
Application granted granted Critical
Publication of JP6442962B2 publication Critical patent/JP6442962B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、帳票生成プログラム、帳票生成方法および帳票生成装置に関する。   The present invention relates to a form generation program, a form generation method, and a form generation apparatus.

従来、使用者が帳票データに含めるデータ項目を選択し、コンピュータが選択されたデータ項目のソースデータに基づいて、使用者の目的にあった帳票データを生成する技術がある。   Conventionally, there is a technique in which a user selects a data item to be included in form data, and a computer generates form data suitable for the user's purpose based on source data of the selected data item.

関連する先行技術としては、例えば、帳票を特定する情報と帳票を出力することが可能なユーザを関連付けて記憶しておき、ユーザの端末装置に対して、当該ユーザが出力可能な帳票の一覧を表示する技術がある。   As related prior art, for example, information that specifies a form and a user who can output the form are stored in association with each other, and a list of forms that the user can output is displayed on the terminal device of the user. There is a technology to display.

特開2012−118677号公報JP 2012-118677 A

しかしながら、従来技術では、使用者の目的にあった帳票データを生成することが困難な場合がある。例えば、使用者が、適切なデータ項目を選択するのに時間がかかったり、適切なデータ項目を探し出すことができない場合がある。このため、使用者の目的にあった帳票データを生成することが困難な場合がある。   However, with the conventional technology, it may be difficult to generate form data that meets the purpose of the user. For example, the user may take a long time to select an appropriate data item or may not be able to find an appropriate data item. For this reason, it may be difficult to generate form data suitable for the purpose of the user.

一つの側面では、本発明は、使用者の目的にあった帳票データの生成を支援することができる帳票生成プログラム、帳票生成方法および帳票生成装置を提供することを目的とする。   In one aspect, an object of the present invention is to provide a form generation program, a form generation method, and a form generation apparatus that can support generation of form data suitable for a user's purpose.

本発明の一態様によれば、使用者が属するグループ情報を、使用者のログイン情報から取得し、帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定されたキーワードに対応するデータ項目を有するソースデータのうち、記憶部に記憶された、帳票データを生成する際のソースデータの参照実績情報に基づいて、取得したグループ情報で示されるグループに属する使用者から参照されたソースデータを特定し、特定したソースデータに基づいて、帳票データを生成する帳票生成プログラム、帳票生成方法および帳票生成装置が提案される。   According to one aspect of the present invention, when the group information to which the user belongs is acquired from the login information of the user and the specification of the keyword corresponding to the data item to be included in the form data is received, the data corresponding to the specified keyword Of the source data having items, the source data referred to by the users belonging to the group indicated by the acquired group information based on the reference record information of the source data when generating the form data stored in the storage unit A form generation program, a form generation method, and a form generation apparatus for generating form data based on the specified source data are proposed.

本発明の一側面によれば、使用者の目的にあった帳票データの生成を支援することができるという効果を奏する。   According to one aspect of the present invention, there is an effect that it is possible to support generation of form data suitable for a user's purpose.

図1は、実施の形態にかかる帳票生成装置101の一実施例を示す説明図である。FIG. 1 is an explanatory diagram of an example of the form generation apparatus 101 according to the embodiment. 図2は、実施の形態にかかる帳票生成装置101のハードウェア構成例を示すブロック図である。FIG. 2 is a block diagram of a hardware configuration example of the form generation apparatus 101 according to the embodiment. 図3は、実施の形態にかかるキーワードリンクテーブル301の一例を示す説明図である。FIG. 3 is an explanatory diagram of an example of the keyword link table 301 according to the embodiment. 図4は、実施の形態にかかる部コードリンクテーブル401の一例を示す説明図である。FIG. 4 is an explanatory diagram of an example of the partial code link table 401 according to the embodiment. 図5は、実施の形態にかかるテーブルリンクテーブル501の一例を示す説明図である。FIG. 5 is an explanatory diagram of an example of the table link table 501 according to the embodiment. 図6は、実施の形態にかかるカウンターテーブル601の一例を示す説明図である。FIG. 6 is an explanatory diagram of an example of the counter table 601 according to the embodiment. 図7は、実施の形態にかかる売上テーブルA701の一例を示す説明図である。FIG. 7 is an explanatory diagram of an example of the sales table A701 according to the embodiment. 図8は、実施の形態にかかる売上テーブルB801の一例を示す説明図である。FIG. 8 is an explanatory diagram of an example of a sales table B801 according to the embodiment. 図9は、実施の形態にかかる帳票生成装置101のガイド選択画面901の一例を示す説明図である。FIG. 9 is an explanatory diagram illustrating an example of a guide selection screen 901 of the form generation device 101 according to the embodiment. 図10は、実施の形態にかかる帳票生成装置101のガイド画面1001の一例を示す説明図である。FIG. 10 is an explanatory diagram illustrating an example of a guide screen 1001 of the form generation device 101 according to the embodiment. 図11は、実施の形態にかかる帳票生成装置101の帳票画面1101の一例を示す説明図である。FIG. 11 is an explanatory diagram illustrating an example of a form screen 1101 of the form generation apparatus 101 according to the embodiment. 図12は、実施の形態にかかる帳票生成装置101の項目選択画面1201の一例を示す説明図である。FIG. 12 is an explanatory diagram illustrating an example of the item selection screen 1201 of the form generation device 101 according to the embodiment. 図13は、実施の形態にかかる帳票生成装置101の帳票画面1301の一例を示す説明図である。FIG. 13 is an explanatory diagram illustrating an example of a form screen 1301 of the form generation apparatus 101 according to the embodiment. 図14は、実施の形態にかかる帳票生成装置101の機能的構成例を示すブロック図である。FIG. 14 is a block diagram of a functional configuration example of the form generation device 101 according to the embodiment. 図15は、実施の形態にかかる帳票生成装置101の帳票生成処理手順の一例を示すフローチャート(その1)である。FIG. 15 is a flowchart (part 1) illustrating an example of a form generation processing procedure of the form generation apparatus 101 according to the embodiment. 図16は、実施の形態にかかる帳票生成装置101の帳票生成処理手順の一例を示すフローチャート(その2)である。FIG. 16 is a flowchart (part 2) illustrating an example of a form generation processing procedure of the form generation apparatus 101 according to the embodiment.

以下に図面を参照して、本発明にかかる帳票生成プログラム、帳票生成方法および帳票生成装置の実施の形態を詳細に説明する。   Hereinafter, embodiments of a form generation program, a form generation method, and a form generation apparatus according to the present invention will be described in detail with reference to the drawings.

(実施の形態)
図1は、実施の形態にかかる帳票生成装置101の一実施例を示す説明図である。図1において、帳票生成装置101は、帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、帳票データを生成するコンピュータである。
(Embodiment)
FIG. 1 is an explanatory diagram of an example of the form generation apparatus 101 according to the embodiment. In FIG. 1, a form generation apparatus 101 is a computer that generates form data upon receiving the specification of a keyword corresponding to a data item to be included in form data.

ここで、帳票データとは、金銭の収支や物品の出入り、その他事務処理を行う上で使用する帳面、帳簿、伝票のデータである。具体的には、例えば、帳票データは、データを行と列に順に並べたテーブルである。また、データ項目とは、データをある基準で区分けしたときの区分けされたデータの名称である。具体的には、例えば、帳票データを生成する際に使用するデータがテーブルである場合、データ項目はテーブルの列の名称である。また、キーワードとは、データを引き出すときの索引となる語または記号である。具体的には、例えば、キーワードは、データ項目に含まれる文字である。   Here, the form data is data of a book, a book, and a slip that are used for cash balance, goods coming and going, and other paperwork. Specifically, for example, the form data is a table in which data is arranged in order in rows and columns. The data item is the name of the classified data when the data is classified according to a certain standard. Specifically, for example, when the data used when generating the form data is a table, the data item is a column name of the table. A keyword is a word or symbol that serves as an index for extracting data. Specifically, for example, the keyword is a character included in the data item.

上述したように、使用者は、適切なデータ項目を選択するのに時間がかかったり、適切なデータ項目を探し出すことができないことがある。   As described above, the user may take time to select an appropriate data item or may not be able to find an appropriate data item.

これに加え、データ項目のなかには、似た名称であっても内容が異なるデータ項目である場合がある。例えば、営業系で使用するデータ項目「売上額」と経理系で使用するデータ項目「売上実績」は、似た名称であっても内容が異なるデータ項目である。この場合、帳票データの生成に慣れていない使用者は、どちらのデータ項目を選択してよいか分からない。このように、使用者が、帳票データに使用する適切なデータ項目を選択することができない場合がある。このため、従来技術では、使用者の目的にあった帳票データを生成することが困難な場合がある。   In addition to this, some data items may be data items with different contents even though they have similar names. For example, the data item “sales amount” used in the sales system and the data item “sales record” used in the accounting system are data items that have different names but different contents. In this case, a user who is not accustomed to generating form data does not know which data item to select. As described above, the user may not be able to select an appropriate data item to be used for the form data. For this reason, it may be difficult for the prior art to generate form data suitable for the purpose of the user.

そこで、実施の形態では、帳票生成装置101は、使用者が指定したキーワードに対応するデータ項目を有するソースデータのうち、使用者が属するグループの他の使用者から参照されたソースデータに基づき、帳票データを生成する。このように、同一のグループに属する帳票データの生成に慣れている他の使用者が使用したデータ項目が、使用者が使用すべきデータ項目である可能性が高いため、帳票生成装置101は、使用者の目的にあった帳票データを容易に生成することができる。以下、帳票生成装置101の帳票生成について説明する。   Therefore, in the embodiment, the form generation device 101 is based on source data referred to by other users in the group to which the user belongs, among source data having data items corresponding to the keyword specified by the user. Generate form data. As described above, since the data item used by another user who is accustomed to generating the form data belonging to the same group is likely to be a data item that the user should use, the form generation device 101 is Form data suitable for the user's purpose can be easily generated. Hereinafter, the form generation of the form generation apparatus 101 will be described.

(1)帳票生成装置101は、使用者が属するグループ情報を、使用者のログイン情報から取得する。例えば、帳票生成装置101は、使用者のログイン情報から使用者のID(Identity Document)を取得し、使用者のIDとグループ情報とを関連付けたテーブルから、使用者のグループ情報を取得することができる。   (1) The form generation device 101 acquires group information to which the user belongs from the login information of the user. For example, the form generation apparatus 101 may acquire a user ID (Identity Document) from the user login information, and acquire the user group information from a table in which the user ID and the group information are associated with each other. it can.

ここで、グループ情報とは、グループを特定するための識別子である。例えば、グループが部である場合、部を特定するための識別子である。また、ログイン情報とは、使用者が帳票生成装置101を使用する権利があることを示す情報である。例えば、ログイン情報は、使用者のIDとパスワードを含む。また、使用者のIDとは、使用者の本人性や法的資格を示すために用いられる符号のことである。   Here, the group information is an identifier for specifying a group. For example, when the group is a part, it is an identifier for specifying the part. The login information is information indicating that the user has the right to use the form generation device 101. For example, the login information includes a user ID and a password. The user ID is a code used to indicate the identity and legal qualification of the user.

図1の例では、帳票生成装置101は、使用者が属するグループ情報「営業系」を、使用者のログイン情報から取得する。   In the example of FIG. 1, the form generation device 101 acquires the group information “sales system” to which the user belongs from the login information of the user.

(2)帳票生成装置101は、帳票データに含めるデータ項目に対応するキーワードの指定を受け付ける。例えば、帳票生成装置101は、ディスプレイ等の表示装置にキーワードを表示し、使用者が表示されたキーワードを選択することで、キーワードの指定を受け付けることができる。ここで、帳票生成装置101は、キーワードを分かりやすい文字にすることができる。例えば、帳票生成装置101は、キーワードを、対応するデータ項目に含まれる文字とすることができる。   (2) The form generation device 101 accepts designation of a keyword corresponding to a data item to be included in form data. For example, the form generation device 101 can accept a keyword specification by displaying a keyword on a display device such as a display and selecting a keyword displayed by the user. Here, the form generation device 101 can make the keyword easy-to-understand characters. For example, the form generation device 101 can set the keyword as a character included in the corresponding data item.

図1の例では、帳票生成装置101は、キーワード「売上」の指定を受け付ける。ここで、キーワード「売上」は、データ項目「売上額」、「売上実績」に対応するキーワードである。   In the example of FIG. 1, the form generation device 101 accepts designation of the keyword “sales”. Here, the keyword “sales” is a keyword corresponding to the data items “sales amount” and “sales record”.

(3)帳票生成装置101は、指定されたキーワードに対応するデータ項目を有するソースデータを特定する。例えば、帳票生成装置101は、キーワードと、当該キーワードに対応するデータ項目を有するソースデータとを関連付けたテーブル111から、ソースデータを特定することができる。ここで、ソースデータとは、帳票データを生成する際に使用するデータである。例えば、ソースデータは、帳票データに含めるデータ項目を含むテーブルである。   (3) The form generation device 101 identifies source data having a data item corresponding to the designated keyword. For example, the form generation apparatus 101 can specify source data from the table 111 that associates a keyword with source data having a data item corresponding to the keyword. Here, the source data is data used when generating form data. For example, the source data is a table including data items to be included in the form data.

図1の例では、帳票生成装置101は、キーワードと、当該キーワードに対応するデータ項目を有するソースデータとを関連付けたテーブル111から、ソースデータ「売上テーブルA」および「売上テーブルB」を特定する。ここで、売上テーブルAは、キーワード「売上」に対応するデータ項目「売上額」を有するテーブルであり、売上テーブルBは、キーワード「売上」に対応するデータ項目「売上実績」を有するテーブルである。   In the example of FIG. 1, the form generation device 101 specifies source data “sales table A” and “sales table B” from a table 111 that associates a keyword with source data having a data item corresponding to the keyword. . Here, the sales table A is a table having a data item “sales amount” corresponding to the keyword “sales”, and the sales table B is a table having a data item “sales record” corresponding to the keyword “sales”. .

(4)帳票生成装置101は、参照実績情報112に基づいて、グループ情報で示されるグループに属する使用者から参照されたソースデータを特定する。ここで、参照実績情報112は、帳票生成装置101の記憶部に記憶され、帳票データを生成する際に、グループ情報で示されるグループに属する使用者が参照したソースデータを示す情報である。例えば、参照実績情報112は、グループ情報と、当該グループ情報で示されるグループに属する使用者から参照されたソースデータとを関連付けた情報である。   (4) Based on the reference record information 112, the form generation device 101 identifies source data referred to by users belonging to the group indicated by the group information. Here, the reference record information 112 is information that is stored in the storage unit of the form generation device 101 and indicates source data referred to by a user belonging to the group indicated by the group information when generating the form data. For example, the reference performance information 112 is information in which group information is associated with source data referred to by a user belonging to the group indicated by the group information.

図1の例では、帳票生成装置101は、参照実績情報112に基づいて、グループ情報「営業系」で示されるグループに属する使用者から参照されたソースデータ「売上テーブルA」、「商談情報」および「顧客テーブル」を特定する。   In the example of FIG. 1, the form generation apparatus 101 has source data “sales table A” and “business negotiation information” that are referred to by users belonging to the group indicated by the group information “sales” based on the reference record information 112. And “customer table”.

(5)帳票生成装置101は、指定されたキーワードに対応するデータ項目を有するソースデータのうち、グループ情報で示されるグループに属する使用者から参照されたソースデータから帳票データを生成する。   (5) The form generation device 101 generates form data from source data referred to by users belonging to the group indicated by the group information among the source data having data items corresponding to the designated keyword.

図1の例では、指定されたキーワードに対応するデータ項目を有するソースデータは、「売上テーブルA」および「売上テーブルB」である。また、グループ情報「営業系」で示されるグループに属する使用者から参照されたソースデータは、「売上テーブルA」、「商談情報」および「顧客テーブル」である。このため、帳票生成装置101は、ソースデータ「売上テーブルA」から帳票データを生成する。   In the example of FIG. 1, source data having data items corresponding to the designated keyword are “sales table A” and “sales table B”. The source data referred to by users belonging to the group indicated by the group information “sales system” are “sales table A”, “business negotiation information”, and “customer table”. Therefore, the form generation device 101 generates form data from the source data “sales table A”.

以上説明したように、帳票生成装置101は、使用者が属するグループ情報を、使用者のログイン情報から取得し、帳票データに含めるデータ項目に対応するキーワードの指定を受け付ける。帳票生成装置101は、指定されたキーワードに対応するデータ項目を有するソースデータのうち、参照実績情報112に基づいて、グループ情報で示されるグループに属する使用者から参照されたソースデータを特定する。帳票生成装置101は、特定したソースデータに基づいて、帳票データを生成する。   As described above, the form generation device 101 acquires group information to which the user belongs from the login information of the user, and accepts designation of keywords corresponding to data items to be included in the form data. The form generation device 101 identifies the source data referred to by the users belonging to the group indicated by the group information, based on the reference record information 112, among the source data having data items corresponding to the specified keyword. The form generation device 101 generates form data based on the identified source data.

これにより、帳票生成装置101は、使用者にデータ項目を選択させることなく、帳票データを生成することができる。このため、帳票生成装置101は、使用者の目的にあった帳票データを容易に生成することができる。   Thereby, the form generation device 101 can generate form data without causing the user to select a data item. Therefore, the form generation device 101 can easily generate form data suitable for the user's purpose.

(帳票生成装置101のハードウェア構成例)
図2は、実施の形態にかかる帳票生成装置101のハードウェア構成例を示すブロック図である。図2において、帳票生成装置101は、CPU(Central Processing Unit)201と、メモリ202と、I/F(Interface)203と、ディスクドライブ204と、ディスク205と、ディスプレイ206と、を有する。また、各構成部は、バス200によってそれぞれ接続される。
(Hardware configuration example of the form generation device 101)
FIG. 2 is a block diagram of a hardware configuration example of the form generation apparatus 101 according to the embodiment. In FIG. 2, the form generation apparatus 101 includes a CPU (Central Processing Unit) 201, a memory 202, an I / F (Interface) 203, a disk drive 204, a disk 205, and a display 206. Each component is connected by a bus 200.

ここで、CPU201は、帳票生成装置101の全体の制御を司る。メモリ202は、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)およびフラッシュROMなどを有する。具体的には、例えば、フラッシュROMやROMが各種プログラムを記憶し、RAMは記憶部としてCPU201のワークエリアとして使用される。メモリ202に記憶されるプログラムは、CPU201にロードされることで、コーディングされている処理をCPU201に実行させる。   Here, the CPU 201 governs overall control of the form generation device 101. The memory 202 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), and a flash ROM. Specifically, for example, a flash ROM or ROM stores various programs, and the RAM is used as a work area of the CPU 201 as a storage unit. The program stored in the memory 202 is loaded on the CPU 201 to cause the CPU 201 to execute the coded process.

I/F203は、通信回線を通じてLAN(Local Area Network)、WAN(Wide Area Network)、インターネットなどのネットワーク207に接続され、ネットワーク207を介して他のコンピュータに接続される。そして、I/F203は、ネットワーク207と内部のインターフェースを司り、他のコンピュータからのデータの入出力を制御する。I/F203には、例えば、モデムやLANアダプタなどを採用することができる。   The I / F 203 is connected to a network 207 such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet through a communication line, and is connected to another computer via the network 207. The I / F 203 controls an internal interface with the network 207 and controls input / output of data from other computers. For example, a modem or a LAN adapter may be employed as the I / F 203.

ディスクドライブ204は、CPU201の制御に従ってディスク205に対するデータのリード/ライトを制御する。ディスク205は、ディスクドライブ204の制御で書き込まれたデータを記憶する。ディスク205としては、例えば、磁気ディスク、光ディスクなどが挙げられる。   The disk drive 204 controls reading / writing of data with respect to the disk 205 according to the control of the CPU 201. The disk 205 stores data written under the control of the disk drive 204. Examples of the disk 205 include a magnetic disk and an optical disk.

ディスプレイ206は、カーソル、アイコンあるいはツールボックスをはじめ、文書、画像、機能情報などのデータを表示する。ディスプレイ206は、例えば、CRT、TFT液晶ディスプレイ、プラズマディスプレイなどを採用することができる。また、ディスプレイ206は、タッチパネルを備えて、ディスプレイ206上のアイコン等の表示を押すことで機器を操作する入力装置であってもよい。   A display 206 displays data such as a document, an image, and function information as well as a cursor, an icon, or a tool box. As the display 206, for example, a CRT, a TFT liquid crystal display, a plasma display, or the like can be adopted. The display 206 may be an input device that includes a touch panel and operates the device by pressing an icon or the like on the display 206.

なお、帳票生成装置101は、上述した構成部のほか、例えば、SSD(Solid State Drive)、キーボード、マウス、プリンタなどを有することにしてもよい。   The form generation apparatus 101 may include, for example, an SSD (Solid State Drive), a keyboard, a mouse, and a printer in addition to the above-described components.

(キーワードリンクテーブル301の一例)
図3は、実施の形態にかかるキーワードリンクテーブル301の一例を示す説明図である。図3において、帳票生成装置101のキーワードリンクテーブル301は、例えば、帳票生成装置101によって作成、更新され、帳票生成装置101のメモリ202またはディスク205に記憶される。キーワードリンクテーブル301は、図1に示したキーワードと、当該キーワードに対応するデータ項目を有するソースデータとを関連付けたテーブル111に相当する。
(Example of keyword link table 301)
FIG. 3 is an explanatory diagram of an example of the keyword link table 301 according to the embodiment. In FIG. 3, the keyword link table 301 of the form generation device 101 is created and updated by, for example, the form generation device 101 and stored in the memory 202 or the disk 205 of the form generation device 101. The keyword link table 301 corresponds to the table 111 that associates the keyword shown in FIG. 1 with source data having data items corresponding to the keyword.

キーワードリンクテーブル301は、キーワード、項目名称およびテーブル名の項目を有する。キーワードリンクテーブル301は、各項目に情報を設定することで、キーワードリンク情報(例えば、キーワードリンク情報301−1〜301−4)をレコードとして記憶する。   The keyword link table 301 has items of keyword, item name, and table name. The keyword link table 301 stores keyword link information (for example, keyword link information 301-1 to 301-4) as a record by setting information for each item.

ここで、キーワードは、データを引き出すときの索引となる語または記号である。キーワードは、使用者にとって分かりやすい文字で登録することができる。項目名称は、テーブルに含まれる項目を一意に特定するための識別子であり、キーワードに対応する項目名称が登録される。テーブル名は、テーブルを一意に特定するための識別子であり、キーワードに対応する項目名称を有するテーブル名が登録される。ここで、テーブルは、図1に示したソースデータに相当する。   Here, the keyword is a word or symbol that becomes an index when data is extracted. Keywords can be registered with characters that are easy for the user to understand. The item name is an identifier for uniquely identifying an item included in the table, and the item name corresponding to the keyword is registered. The table name is an identifier for uniquely identifying the table, and a table name having an item name corresponding to the keyword is registered. Here, the table corresponds to the source data shown in FIG.

図3の例では、レコード301−1は、キーワード「売上」に対応する項目名称「売上額」を有するテーブルのテーブル名が、「売上テーブルA」であることを示す。   In the example of FIG. 3, the record 301-1 indicates that the table name of the table having the item name “sales amount” corresponding to the keyword “sales” is “sales table A”.

(部コードリンクテーブル401の一例)
図4は、実施の形態にかかる部コードリンクテーブル401の一例を示す説明図である。図4において、帳票生成装置101の部コードリンクテーブル401は、例えば、帳票生成装置101によって作成、更新され、帳票生成装置101のメモリ202またはディスク205に記憶される。部コードリンクテーブル401と後述するテーブルリンクテーブル501は、図1に示した参照実績情報112に相当する。
(An example of the section code link table 401)
FIG. 4 is an explanatory diagram of an example of the partial code link table 401 according to the embodiment. In FIG. 4, the section code link table 401 of the form generation apparatus 101 is created and updated by, for example, the form generation apparatus 101 and stored in the memory 202 or the disk 205 of the form generation apparatus 101. The part code link table 401 and a table link table 501 described later correspond to the reference record information 112 shown in FIG.

部コードリンクテーブル401は、部コードおよびテーブル種別の項目を有する。部コードリンクテーブル401は、各項目に情報を設定することで、部コードリンク情報(例えば、部コードリンク情報401−1〜401−2)をレコードとして記憶する。   The part code link table 401 has items of a part code and a table type. The part code link table 401 stores part code link information (for example, part code link information 401-1 to 401-2) as a record by setting information in each item.

ここで、部コードは、使用者が属するグループ、例えば部を、一意に特定するための識別子である。テーブル種別は、種類や種目によって区別されたテーブルの集合を、一意に特定するための識別子である。部コードリンクテーブル401では、テーブル種別は、部コードで特定されるグループに属する使用者から参照されたテーブルを含むテーブルの集合を一意に特定するための識別子である。例えば、売り上げ推進を行う部の部コードに対して、テーブル種別として営業系を対応させ、管理を行う部の部コードに対して、テーブル種別として経理系を対応させることができる。   Here, the department code is an identifier for uniquely identifying the group to which the user belongs, for example, the department. The table type is an identifier for uniquely specifying a set of tables distinguished by type and item. In the section code link table 401, the table type is an identifier for uniquely identifying a set of tables including tables referred to by users belonging to the group identified by the section code. For example, the sales system can be associated with the department code of the department that promotes sales, and the accounting system can be associated with the department code of the department that performs the management.

ここで、部コードで特定されるグループに属する使用者から参照されるテーブルが属するテーブル種別が変更されると、帳票生成装置101は部コードリンクテーブル401のテーブル種別を変更することができる。例えば、帳票生成装置101は後述するカウンターテーブル601の選択回数に基づいて、部コードリンクテーブル401のテーブル種別を変更することができる。部コードリンクテーブル401のテーブル種別の変更については、図14において詳細に説明される。   Here, when the table type to which the table referred to by the user belonging to the group specified by the department code belongs is changed, the form generation device 101 can change the table type of the department code link table 401. For example, the form generation device 101 can change the table type of the partial code link table 401 based on the number of selections of a counter table 601 described later. The change of the table type of the partial code link table 401 will be described in detail with reference to FIG.

図4の例では、レコード401−1は、部コード「1111」で特定されるグループに属する使用者から参照されるテーブルが、テーブル種別「営業系」で特定されるテーブルの集合に含まれることを示す。   In the example of FIG. 4, the record 401-1 includes a table referred to by a user belonging to the group specified by the department code “1111” in the set of tables specified by the table type “business type”. Indicates.

(テーブルリンクテーブル501の一例)
図5は、実施の形態にかかるテーブルリンクテーブル501の一例を示す説明図である。図5において、帳票生成装置101のテーブルリンクテーブル501は、例えば、帳票生成装置101によって作成、更新され、帳票生成装置101のメモリ202またはディスク205に記憶される。
(An example of the table link table 501)
FIG. 5 is an explanatory diagram of an example of the table link table 501 according to the embodiment. In FIG. 5, the table link table 501 of the form generation device 101 is created and updated by, for example, the form generation device 101 and stored in the memory 202 or the disk 205 of the form generation device 101.

テーブルリンクテーブル501は、テーブル種別およびテーブル名の項目を有する。テーブルリンクテーブル501は、各項目に情報を設定することで、テーブルリンク情報(例えば、テーブルリンク情報501−1〜501−n+3)をレコードとして記憶する。   The table link table 501 has items of table type and table name. The table link table 501 stores table link information (for example, table link information 501-1 to 501-n + 3) as a record by setting information in each item.

ここで、テーブル種別は、種類や種目によって区別されたテーブルの集合を、一意に特定するための識別子である。テーブル名は、テーブル種別で特定されるテーブルの集合に含まれるテーブルを一意に特定するための識別子である。   Here, the table type is an identifier for uniquely specifying a set of tables distinguished by type and item. The table name is an identifier for uniquely specifying a table included in the set of tables specified by the table type.

図5の例では、レコード501−1は、テーブル種別「営業系」で特定されるテーブルの集合が、テーブル名「売上テーブルA」で特定されるテーブルを含むことを示す。   In the example of FIG. 5, the record 501-1 indicates that the set of tables specified by the table type “sales system” includes a table specified by the table name “sales table A”.

(カウンターテーブル601の一例)
図6は、実施の形態にかかるカウンターテーブル601の一例を示す説明図である。図6において、帳票生成装置101のカウンターテーブル601は、例えば、帳票生成装置101によって作成、更新され、帳票生成装置101のメモリ202またはディスク205に記憶される。
(An example of the counter table 601)
FIG. 6 is an explanatory diagram of an example of the counter table 601 according to the embodiment. In FIG. 6, the counter table 601 of the form generation device 101 is created and updated by, for example, the form generation device 101 and stored in the memory 202 or the disk 205 of the form generation device 101.

カウンターテーブル601は、テーブル種別、部コードおよび選択回数の項目を有する。カウンターテーブル601は、各項目に情報を設定することで、カウンター情報(例えば、カウンター情報601−1〜601−2)をレコードとして記憶する。   The counter table 601 has items of table type, copy code, and number of selections. The counter table 601 stores counter information (for example, counter information 601-1 to 601-2) as a record by setting information for each item.

ここで、テーブル種別は、種類や種目によって区別されたテーブルの集合を、一意に特定するための識別子である。部コードは、使用者が属するグループ、例えば部を一意に特定するための識別子である。選択回数は、部コードで特定されるグループに属する使用者が、テーブル種別で特定されるテーブルの集合に含まれるテーブルの項目を選択した回数である。使用者によるテーブルの項目の選択については、図12の項目選択画面1201において詳細に説明される。   Here, the table type is an identifier for uniquely specifying a set of tables distinguished by type and item. The department code is an identifier for uniquely identifying a group to which the user belongs, for example, a department. The number of times of selection is the number of times a user belonging to the group specified by the department code has selected a table item included in the set of tables specified by the table type. The selection of table items by the user will be described in detail on the item selection screen 1201 in FIG.

また、選択回数は、部コードで特定されるグループに基づいて、初期値を設定することができる。例えば、部コードで特定されるグループが営業系である場合、テーブル種別「営業系」に対応する選択回数の初期値を、他のテーブル種別に対応する選択回数の初期値より大きくすることができる。この場合、例えば、部コード「1111」に対してテーブル種別「営業系」の選択回数の初期値を最大にしておくことで、帳票生成装置101は、部コードリンクテーブル401のテーブル種別を、営業系にすることができる。このため、帳票生成装置101は、営業系のグループに属する使用者に対して、営業系のテーブルの項目に基づいた帳票データを生成することができる。   Further, an initial value can be set for the number of selections based on the group specified by the copy code. For example, when the group specified by the department code is sales-related, the initial value of the selection count corresponding to the table type “sales-related” can be made larger than the initial value of the selection count corresponding to other table types. . In this case, for example, by making the initial value of the number of selections of the table type “sales system” maximum for the part code “1111”, the form generation apparatus 101 sets the table type of the part code link table 401 to the sales type. It can be made into a system. Therefore, the form generation device 101 can generate form data based on the items in the sales system table for the users belonging to the sales system group.

図6の例では、レコード601−1は、テーブル種別「経理系」で特定されるテーブルの集合に含まれるテーブルの項目が、部コード「1111」で特定されるグループに属する使用者から10回選択されたことを示す。   In the example of FIG. 6, the record 601-1 includes ten times from the user who belongs to the group specified by the department code “1111” when the table item included in the set of tables specified by the table type “Accounting”. Indicates that it has been selected.

(売上テーブルA701の一例)
図7は、実施の形態にかかる売上テーブルA701の一例を示す説明図である。図7において、帳票生成装置101の売上テーブルA701は、例えば、帳票生成装置101によって作成、更新され、帳票生成装置101のメモリ202またはディスク205に記憶される。
(Example of sales table A701)
FIG. 7 is an explanatory diagram of an example of the sales table A701 according to the embodiment. In FIG. 7, the sales table A 701 of the form generation device 101 is created and updated by, for example, the form generation device 101 and stored in the memory 202 or the disk 205 of the form generation device 101.

売上テーブルA701は、帳票データを生成するためのテーブルの一例であり、テーブル種別「営業系」に属するテーブルの一つである。売上テーブルA701は、決算年度、オーダおよび売上額の項目を有する。売上テーブルA701は、各項目に情報を設定することで、売上額情報(例えば、売上額情報701−1〜701−3)をレコードとして記憶する。   The sales table A701 is an example of a table for generating form data, and is one of the tables belonging to the table type “sales system”. The sales table A701 has items of the fiscal year, order, and sales amount. The sales table A701 stores sales amount information (for example, sales amount information 701-1 to 701-3) as a record by setting information in each item.

ここで、決算年度は、売り上げの決算の年度を示す。オーダは、売り上げたシステム名を示す。売上額は売り上げの金額を示す。図7の例では、レコード701−1は、2014年度にAシステムにxxxの売り上げがあったことを示す。   Here, the fiscal year indicates the fiscal year of sales. The order indicates the name of the system sold. The sales amount indicates the amount of sales. In the example of FIG. 7, record 701-1 indicates that sales of xxx were made in the A system in FY2014.

(売上テーブルB801の一例)
図8は、実施の形態にかかる売上テーブルB801の一例を示す説明図である。図8において、帳票生成装置101の売上テーブルB801は、例えば、帳票生成装置101によって作成、更新され、帳票生成装置101のメモリ202またはディスク205に記憶される。
(Example of sales table B801)
FIG. 8 is an explanatory diagram of an example of a sales table B801 according to the embodiment. In FIG. 8, the sales table B801 of the form generation apparatus 101 is created and updated by the form generation apparatus 101 and stored in the memory 202 or the disk 205 of the form generation apparatus 101, for example.

売上テーブルB801は、帳票データを生成するためのテーブルの一例であり、テーブル種別「経理系」に属するテーブルの一つである。売上テーブルB801は、決算年度、オーダおよび売上実績の項目を有する。売上テーブルB801は、各項目に情報を設定することで、売上実績情報(例えば、売上実績情報801−1〜801−3)をレコードとして記憶する。   The sales table B801 is an example of a table for generating form data, and is one of the tables belonging to the table type “accounting system”. The sales table B801 has items of a fiscal year, an order, and a sales record. The sales table B801 stores sales performance information (for example, sales performance information 801-1 to 801-3) as records by setting information in each item.

ここで、決算年度は、売り上げの決算の年度を示す。オーダは、売り上げたシステム名を示す。売上実績は売り上げの実績金額を示す。図8の例では、レコード801−1は、2014年度にAシステムにXXXの売上実績があったことを示す。   Here, the fiscal year indicates the fiscal year of sales. The order indicates the name of the system sold. The sales record indicates the actual sales amount. In the example of FIG. 8, the record 801-1 indicates that the sales result of XXX was in the A system in the 2014 fiscal year.

(ガイド選択画面901の一例)
図9は、実施の形態にかかる帳票生成装置101のガイド選択画面901の一例を示す説明図である。図9において、帳票生成装置101のガイド選択画面901は、使用者にガイド画面1001(図10参照)または項目選択画面1201(図12参照)の表示を選択させる画面である。帳票生成装置101のガイド選択画面901は、例えば、帳票生成装置101によって作成され、帳票生成装置101のディスプレイ206に表示される。
(Example of guide selection screen 901)
FIG. 9 is an explanatory diagram illustrating an example of a guide selection screen 901 of the form generation device 101 according to the embodiment. 9, a guide selection screen 901 of the form generation apparatus 101 is a screen that allows the user to select display of a guide screen 1001 (see FIG. 10) or an item selection screen 1201 (see FIG. 12). The guide selection screen 901 of the form generation apparatus 101 is created by the form generation apparatus 101 and displayed on the display 206 of the form generation apparatus 101, for example.

ガイド選択画面901は、ガイド画面ボタン911および項目選択画面ボタン912を有する。ここで、ガイド画面ボタン911は、使用者にデータ項目を選択させることなく、帳票データを生成するガイド画面1001を表示するためのボタンである。また、ガイド画面ボタン911は、例えば、帳票データの生成に慣れていない使用者が、帳票データを生成する際に使用するボタンである。また、項目選択画面ボタン912は、使用者が帳票データに含めるデータ項目を選択し、帳票生成装置101が選択したデータ項目を有するテーブルに基づいて、帳票データを生成する項目選択画面1201を表示するためのボタンである。また、項目選択画面ボタン912は、例えば、自身で必要な項目を選択出来るような、帳票データの生成に慣れている使用者が、帳票データを生成する際に使用するボタンである。   The guide selection screen 901 has a guide screen button 911 and an item selection screen button 912. Here, the guide screen button 911 is a button for displaying a guide screen 1001 for generating form data without causing the user to select a data item. The guide screen button 911 is a button used when a user who is not used to generating form data, for example, generates form data. The item selection screen button 912 displays an item selection screen 1201 for generating form data on the basis of a table having data items selected by the form generation apparatus 101 by the user selecting data items to be included in the form data. It is a button for. The item selection screen button 912 is a button used when a user who is accustomed to generating form data, for example, can select necessary items by himself, when generating form data.

例えば、帳票生成装置101は、ガイド画面ボタン911がマウスでクリックされた場合、または、ガイド画面ボタン911にタッチされた場合、ガイド画面1001を表示する。また、帳票生成装置101は、項目選択画面ボタン912がマウスでクリックされた場合、または、項目選択画面ボタン912にタッチされた場合、項目選択画面1201を表示する。   For example, the form generation device 101 displays the guide screen 1001 when the guide screen button 911 is clicked with the mouse or when the guide screen button 911 is touched. Further, the form generation apparatus 101 displays an item selection screen 1201 when the item selection screen button 912 is clicked with the mouse or when the item selection screen button 912 is touched.

(ガイド画面1001の一例)
図10は、実施の形態にかかる帳票生成装置101のガイド画面1001の一例を示す説明図である。図10において、帳票生成装置101のガイド画面1001は、使用者にキーワード等を選択させる画面である。帳票生成装置101のガイド画面1001は、例えば、帳票生成装置101によって作成され、帳票生成装置101のディスプレイ206に表示される。
(An example of the guide screen 1001)
FIG. 10 is an explanatory diagram illustrating an example of a guide screen 1001 of the form generation device 101 according to the embodiment. In FIG. 10, a guide screen 1001 of the form generation device 101 is a screen that allows the user to select a keyword or the like. The guide screen 1001 of the form generation apparatus 101 is created by the form generation apparatus 101 and displayed on the display 206 of the form generation apparatus 101, for example.

ガイド画面1001は、時期項目1011、部署項目1012およびキーワード項目1013の入力項目を有する。ガイド画面1001は、使用者にデータ項目を選択させることなく、帳票データを生成するガイド機能を実現する画面である。入力項目は、使用者がキーボード等で文字や文字列を入力するための項目である。また、ガイド画面1001は、キーワード一覧1014およびOKボタン1015を有する。   The guide screen 1001 has input items of a time item 1011, a department item 1012, and a keyword item 1013. A guide screen 1001 is a screen that realizes a guide function for generating form data without causing the user to select a data item. The input items are items for the user to input characters and character strings using a keyboard or the like. The guide screen 1001 includes a keyword list 1014 and an OK button 1015.

ここで、時期項目1011は、例えば、テーブルを生成、更新した日時により、テーブルを特定するための条件を指定するための項目である。部署項目1012は、例えば、テーブルを生成、更新した部署により、テーブルを特定するための条件を指定するための項目である。   Here, the time item 1011 is an item for designating a condition for specifying the table by, for example, the date and time when the table is generated and updated. The department item 1012 is an item for designating a condition for specifying the table by, for example, the department that generated and updated the table.

キーワード項目1013は、例えば、テーブルの項目に対応するキーワードにより、テーブルを特定するための条件を指定するための項目である。また、キーワード項目1013は、キーワードを複数個指定することも可能である。例えば、帳票生成装置101は、キーワード一覧1014に表示されるキーワードをドラッグして、キーワード項目1013にドロップすることで、キーワード項目1013にキーワードを入力させることが可能である。また、時期項目1011および部署項目1012に条件を指定することなく、キーワード項目1013だけで条件を指定することも可能である。   The keyword item 1013 is an item for designating a condition for specifying a table by a keyword corresponding to the item of the table, for example. The keyword item 1013 can specify a plurality of keywords. For example, the form generation device 101 can cause a keyword to be input to the keyword item 1013 by dragging a keyword displayed on the keyword list 1014 and dropping it on the keyword item 1013. Further, it is possible to specify a condition only by the keyword item 1013 without specifying a condition for the time item 1011 and the department item 1012.

キーワード一覧1014は、キーワード項目1013に入力するためのキーワードを表示する領域である。OKボタン1015は、時期項目1011、部署項目1012およびキーワード項目1013の入力内容を、帳票生成装置101に取得させるボタンである。例えば、OKボタン1015をクリックまたはタッチすることにより、帳票生成装置101は、入力内容に基づきテーブルを特定し、特定したテーブルの項目に基づいて、帳票データを生成し、生成した帳票データを含む帳票画面1101(図11参照)をディスプレイ206に表示する。   The keyword list 1014 is an area for displaying keywords for inputting to the keyword item 1013. An OK button 1015 is a button for causing the form generation device 101 to acquire the input contents of the time item 1011, the department item 1012, and the keyword item 1013. For example, when the OK button 1015 is clicked or touched, the form generation device 101 specifies a table based on the input content, generates form data based on the specified table item, and includes the generated form data. A screen 1101 (see FIG. 11) is displayed on the display 206.

図10の例では、ガイド画面1001は、キーワード一覧1014にキーワードとして「売上」および「原価」が表示され、キーワード「売上」がキーワード項目1013に入力されたことを示す。   In the example of FIG. 10, the guide screen 1001 indicates that “sales” and “cost” are displayed as keywords in the keyword list 1014, and the keyword “sales” is input to the keyword item 1013.

(帳票画面1101の一例)
図11は、実施の形態にかかる帳票生成装置101の帳票画面1101の一例を示す説明図である。図11において、帳票生成装置101の帳票画面1101は、帳票生成装置101が生成した帳票データを表示する画面である。帳票生成装置101の帳票画面1101は、例えば、帳票生成装置101によって作成され、帳票生成装置101のディスプレイ206に表示される。
(An example of the form screen 1101)
FIG. 11 is an explanatory diagram illustrating an example of a form screen 1101 of the form generation apparatus 101 according to the embodiment. In FIG. 11, a form screen 1101 of the form generation apparatus 101 is a screen that displays the form data generated by the form generation apparatus 101. The form screen 1101 of the form generation apparatus 101 is created by the form generation apparatus 101 and displayed on the display 206 of the form generation apparatus 101, for example.

帳票画面1101は、ガイド画面1001に入力されたキーワードにより特定されたテーブルの項目に基づいて生成された帳票データを表示する。   The form screen 1101 displays form data generated based on the items in the table specified by the keyword input on the guide screen 1001.

図11の例では、帳票画面1101は、ガイド画面1001に入力されたキーワード「売上」により特定されたテーブル「売上テーブルA701」の項目名称「売上額」の項目に基づいて生成された帳票データ1111を表示する。   In the example of FIG. 11, the form screen 1101 is generated based on the item name “sales amount” of the table “sales table A701” specified by the keyword “sales” input to the guide screen 1001. Is displayed.

(項目選択画面1201の一例)
図12は、実施の形態にかかる帳票生成装置101の項目選択画面1201の一例を示す説明図である。図12において、帳票生成装置101の項目選択画面1201は、使用者に項目名称を選択させる画面である。帳票生成装置101の項目選択画面1201は、例えば、帳票生成装置101によって作成され、帳票生成装置101のディスプレイ206に表示される。
(An example of the item selection screen 1201)
FIG. 12 is an explanatory diagram illustrating an example of the item selection screen 1201 of the form generation device 101 according to the embodiment. In FIG. 12, an item selection screen 1201 of the form generation device 101 is a screen that allows the user to select an item name. The item selection screen 1201 of the form generation apparatus 101 is created by the form generation apparatus 101 and displayed on the display 206 of the form generation apparatus 101, for example.

項目選択画面1201は、項目名称選択領域1211およびOKボタン1212を有する。項目名称選択領域1211は、テーブル名称とテーブルに含まれるテーブルの項目名称を表示し、使用者に項目名称を選択させる領域である。使用者は、例えば、表示された項目名称をクリックまたはタッチすることにより項目名称を選択することができる。また、帳票生成装置101は、項目名称にチェックをつけること、例えば、左に×を表示することにより、項目名称が選択されたことを表示することができる。   The item selection screen 1201 has an item name selection area 1211 and an OK button 1212. The item name selection area 1211 is an area for displaying the table name and the item name of the table included in the table and allowing the user to select an item name. For example, the user can select an item name by clicking or touching the displayed item name. Further, the form generation device 101 can display that the item name has been selected by checking the item name, for example, by displaying a cross on the left.

OKボタン1212は、項目名称選択領域1211の選択内容を、帳票生成装置101に取得させるボタンである。例えば、OKボタン1212をクリックまたはタッチすることにより、帳票生成装置101は、選択された項目名称の項目を有するテーブルを特定し、特定したテーブルの項目に基づいて、帳票データを生成し、生成した帳票データを含む帳票画面1301(図13参照)をディスプレイ206に表示する。   An OK button 1212 is a button that causes the form generation device 101 to acquire the selection content of the item name selection area 1211. For example, when the OK button 1212 is clicked or touched, the form generation device 101 specifies a table having an item with the selected item name, and generates and generates form data based on the item of the specified table. A form screen 1301 (see FIG. 13) including form data is displayed on the display 206.

図12の例では、項目選択画面1201は、項目名称選択領域1211に項目名称として「売上額」、「売上実績」、「原価」、「原価実績」が表示され、項目名称「売上実績」が選択されたことを示す。   In the example of FIG. 12, the item selection screen 1201 displays “sales amount”, “sales record”, “cost”, and “cost record” as item names in the item name selection area 1211, and the item name “sales record” is displayed. Indicates that it has been selected.

(帳票画面1301の一例)
図13は、実施の形態にかかる帳票生成装置101の帳票画面1301の一例を示す説明図である。図13において、帳票生成装置101の帳票画面1301は、帳票生成装置101が生成した帳票データを表示する画面である。帳票生成装置101の帳票画面1301は、例えば、帳票生成装置101によって作成され、帳票生成装置101のディスプレイ206に表示される。
(Example of form screen 1301)
FIG. 13 is an explanatory diagram illustrating an example of a form screen 1301 of the form generation apparatus 101 according to the embodiment. In FIG. 13, a form screen 1301 of the form generation apparatus 101 is a screen that displays form data generated by the form generation apparatus 101. The form screen 1301 of the form generation apparatus 101 is created by the form generation apparatus 101 and displayed on the display 206 of the form generation apparatus 101, for example.

帳票画面1301は、項目選択画面1201で選択された項目名称により特定されたテーブルの項目に基づいて生成された帳票データを表示する。   The form screen 1301 displays form data generated based on the items in the table specified by the item name selected on the item selection screen 1201.

図13の例では、帳票画面1301は、項目選択画面1201で選択された項目名称「売上実績」により特定されたテーブル「売上テーブルB801」の項目名称「売上実績」の項目に基づいて生成された帳票データ1311を表示する。   In the example of FIG. 13, the form screen 1301 is generated based on the item name “sales record” of the table “sales table B801” specified by the item name “sales record” selected on the item selection screen 1201. The form data 1311 is displayed.

(帳票生成装置101の機能的構成例)
次に、図2に示した帳票生成装置101の機能的構成例について説明する。図14は、実施の形態にかかる帳票生成装置101の機能的構成例を示すブロック図である。図14において帳票生成装置101は、表示部1401と、取得部1402と、特定部1403と、更新部1404と、を含む構成である。表示部1401と、取得部1402と、特定部1403と、更新部1404とを含む機能部は、具体的には、例えば、図2に示したメモリ202などの記憶装置に記憶されたプログラムをCPU201に実行させることにより、その機能を実現する。各機能部の処理結果は、例えば、図2に示したメモリ202などの記憶装置に記憶される。
(Functional configuration example of the form generation device 101)
Next, a functional configuration example of the form generation device 101 illustrated in FIG. 2 will be described. FIG. 14 is a block diagram of a functional configuration example of the form generation device 101 according to the embodiment. In FIG. 14, the form generation apparatus 101 includes a display unit 1401, an acquisition unit 1402, a specification unit 1403, and an update unit 1404. Specifically, the functional unit including the display unit 1401, the acquisition unit 1402, the specifying unit 1403, and the update unit 1404, for example, loads a program stored in a storage device such as the memory 202 illustrated in FIG. This function is realized by executing this function. The processing result of each functional unit is stored in, for example, a storage device such as the memory 202 illustrated in FIG.

表示部1401は、ガイド選択画面901、ガイド画面1001、帳票画面1101、項目選択画面1201および帳票画面1301をディスプレイ206に表示する機能を有する。表示部1401は、例えば、使用者がログインを行い、認証が成功した後にガイド選択画面901をディスプレイ206に表示する。   The display unit 1401 has a function of displaying a guide selection screen 901, a guide screen 1001, a form screen 1101, an item selection screen 1201, and a form screen 1301 on the display 206. For example, the display unit 1401 displays a guide selection screen 901 on the display 206 after the user logs in and authentication is successful.

また、表示部1401は、ガイド選択画面901を表示中にガイド画面ボタン911が選択された場合、ガイド画面1001を表示する。表示部1401は、ガイド選択画面901を表示中に項目選択画面ボタン912が選択された場合、項目選択画面1201を表示する。ここで、選択とは、マウスでクリックされたこと、または、タッチされたことである。例えば、ガイド画面ボタン911が選択されたことは、ガイド画面ボタン911がマウスでクリックされたこと、または、ガイド画面ボタン911にタッチされたことである。   The display unit 1401 displays the guide screen 1001 when the guide screen button 911 is selected while the guide selection screen 901 is displayed. When the item selection screen button 912 is selected while the guide selection screen 901 is displayed, the display unit 1401 displays the item selection screen 1201. Here, selection means that the mouse is clicked or touched. For example, the selection of the guide screen button 911 means that the guide screen button 911 is clicked with the mouse or the guide screen button 911 is touched.

また、表示部1401は、ガイド画面1001を表示中にOKボタン1015が選択された場合、取得部1402にガイド画面1001のOKボタン1015の選択を通知する。また、表示部1401は、項目選択画面1201を表示中にOKボタン1212が選択された場合、取得部1402に項目選択画面1201のOKボタン1212の選択を通知する。   In addition, when the OK button 1015 is selected while the guide screen 1001 is displayed, the display unit 1401 notifies the acquisition unit 1402 that the OK button 1015 on the guide screen 1001 is selected. When the OK button 1212 is selected while the item selection screen 1201 is displayed, the display unit 1401 notifies the acquisition unit 1402 of the selection of the OK button 1212 on the item selection screen 1201.

また、表示部1401は、特定部1403が特定したテーブル名のテーブルの項目に基づいて、帳票データを生成し、生成した帳票データを含む帳票画面1101または帳票画面1301をディスプレイ206に表示する。   Also, the display unit 1401 generates form data based on the table name specified by the specifying unit 1403, and displays the form screen 1101 or the form screen 1301 including the generated form data on the display 206.

また、表示部1401は、帳票データを生成する前に、出力する帳票データのレイアウト、帳票データの出力する期間等を設定する問い合わせ画面を表示することができる。この場合、表示部1401は、問い合わせ画面に入力されたレイアウト、期間等に基づいて、帳票データを生成する。   Further, the display unit 1401 can display an inquiry screen for setting the layout of the form data to be output, the period for outputting the form data, and the like before generating the form data. In this case, the display unit 1401 generates form data based on the layout, period, and the like input on the inquiry screen.

また、表示部1401は、項目選択画面1201を表示する際、取得部1402より使用者の部コードを取得して、使用者の部コードに関連するテーブル種別に属するテーブルが有する項目の項目名称を選択された状態で表示することができる。   Further, when displaying the item selection screen 1201, the display unit 1401 acquires the user's part code from the acquisition unit 1402, and displays the item names of the items included in the table belonging to the table type related to the user's part code. It can be displayed in the selected state.

取得部1402は、使用者の部コード、ガイド画面1001で入力された時期、部署ならびにキーワード、および項目選択画面1201で選択された項目名称を取得する機能を有する。例えば、取得部1402は、使用者のIDと部コードを関連付けたテーブルから、使用者の部コードを取得する。取得部1402は、取得した部コードを更新部1404に渡す。   The acquisition unit 1402 has a function of acquiring the user part code, the time entered on the guide screen 1001, the department and the keyword, and the item name selected on the item selection screen 1201. For example, the acquisition unit 1402 acquires the user's part code from a table in which the user ID and the part code are associated with each other. The acquisition unit 1402 passes the acquired unit code to the update unit 1404.

また、取得部1402は、表示部1401からガイド画面1001のOKボタン1015の選択の通知を受けて、時期項目1011、部署項目1012およびキーワード項目1013に入力された情報を取得する。取得部1402は、取得した時期、部署およびキーワードの情報を特定部1403に渡す。   In addition, the acquisition unit 1402 receives the notification of selection of the OK button 1015 on the guide screen 1001 from the display unit 1401, and acquires information input to the time item 1011, the department item 1012, and the keyword item 1013. The acquisition unit 1402 passes the acquired time, department, and keyword information to the specifying unit 1403.

また、取得部1402は、表示部1401から項目選択画面1201のOKボタン1212の選択の通知を受けて、項目名称選択領域1211において選択された項目名称を取得する。取得部1402は、取得した項目名称を特定部1403および更新部1404に渡す。   Also, the acquisition unit 1402 receives a notification of selection of the OK button 1212 on the item selection screen 1201 from the display unit 1401 and acquires the item name selected in the item name selection area 1211. The acquisition unit 1402 passes the acquired item name to the specification unit 1403 and the update unit 1404.

特定部1403は、取得部1402が取得した時期、部署ならびにキーワード、および項目名称から、テーブルの項目名称を特定する機能を有する。   The specifying unit 1403 has a function of specifying an item name in the table from the time, department, keyword, and item name acquired by the acquiring unit 1402.

特定部1403は、以下のようにして、取得部1402が取得した時期、部署ならびにキーワードからテーブルの項目名称を特定する。特定部1403は、取得部1402が取得したキーワードがキーワードリンクテーブル301に存在する場合、当該キーワードに対応するテーブル名と項目名称を取得する。特定部1403は、部コードリンクテーブル401から、取得部1402が取得した部コードのテーブル種別を取得する。特定部1403は、テーブルリンクテーブル501から、取得したテーブル種別に属するテーブル名を取得する。   The identification unit 1403 identifies the item name of the table from the time, the department, and the keyword acquired by the acquisition unit 1402 as follows. When the keyword acquired by the acquisition unit 1402 exists in the keyword link table 301, the specifying unit 1403 acquires a table name and an item name corresponding to the keyword. The identifying unit 1403 acquires the table type of the unit code acquired by the acquiring unit 1402 from the unit code link table 401. The specifying unit 1403 acquires a table name belonging to the acquired table type from the table link table 501.

特定部1403は、取得部1402が取得したキーワードに対応するテーブル名のうち、取得したテーブル種別に属するテーブル名を特定する。特定部1403は、特定したテーブル名のテーブルの項目名称を表示部1401に渡す。   The specifying unit 1403 specifies a table name belonging to the acquired table type among the table names corresponding to the keywords acquired by the acquiring unit 1402. The identifying unit 1403 passes the item name of the identified table name to the display unit 1401.

ここで、特定部1403は、特定したテーブル名のテーブルが、取得した時期、部署の条件を満たすか否か判断することもできる。この場合、特定部1403は、取得した時期、部署の条件を満たすテーブル名のテーブルの項目名称を表示部1401に渡す。   Here, the specifying unit 1403 can also determine whether or not the table with the specified table name satisfies the conditions of the acquired time and department. In this case, the specifying unit 1403 passes the item name of the table having the table name that satisfies the conditions of the acquired time and department to the display unit 1401.

また、特定部1403は、取得部1402が取得した項目名称を有するテーブルを特定して、特定したテーブルの項目名称を表示部1401に渡す。また、特定部1403は、取得部1402が取得した項目名称を有するテーブルのテーブル名がテーブルリンクテーブル501に存在する場合、取得した項目名称を有するテーブルのテーブル名に対応するテーブル種別を取得し、更新部1404に渡す。   Further, the specifying unit 1403 specifies a table having the item name acquired by the acquiring unit 1402 and passes the item name of the specified table to the display unit 1401. Further, when the table name of the table having the item name acquired by the acquisition unit 1402 exists in the table link table 501, the specifying unit 1403 acquires the table type corresponding to the table name of the table having the acquired item name, It is passed to the update unit 1404.

更新部1404は、取得部1402が取得した部コードと、特定部1403が取得したテーブル種別に基づいて、部コードリンクテーブル401とカウンターテーブル601を更新する機能を有する。更新部1404が部コードリンクテーブル401を更新することで、特定部1403は、部に属する使用者がもっとも多く参照したテーブル種別を特定することができる。   The update unit 1404 has a function of updating the unit code link table 401 and the counter table 601 based on the unit code acquired by the acquisition unit 1402 and the table type acquired by the specifying unit 1403. When the update unit 1404 updates the copy code link table 401, the specifying unit 1403 can specify the table type most frequently referenced by the users belonging to the unit.

更新部1404は、取得部1402が取得した部コードと、特定部1403が取得したテーブル種別に対応するカウンターテーブル601の選択回数を増加する。更新部1404は、例えば、選択回数を1増加することができる。   The update unit 1404 increases the number of selections of the counter table 601 corresponding to the unit code acquired by the acquisition unit 1402 and the table type acquired by the specifying unit 1403. For example, the update unit 1404 can increase the number of selections by one.

更新部1404は、カウンターテーブル601の選択回数に基づいて、部コードリンクテーブル401を更新する。例えば、更新部1404は、増加した選択回数が、取得部1402が取得した部コードに対応する選択回数のうちで最大値になった場合に、部コードリンクテーブル401を更新する。この場合、更新部1404は、部コードリンクテーブル401の当該部コードに対応するテーブル種別を、最大値になった選択回数のテーブル種別に変更する。   The update unit 1404 updates the copy code link table 401 based on the number of times the counter table 601 is selected. For example, the update unit 1404 updates the unit code link table 401 when the increased number of selections reaches the maximum value among the number of selections corresponding to the unit code acquired by the acquisition unit 1402. In this case, the update unit 1404 changes the table type corresponding to the corresponding part code in the part code link table 401 to the table type of the number of selections that has reached the maximum value.

(帳票生成処理手順の一例)
図15、図16は、実施の形態にかかる帳票生成装置101の帳票生成処理手順の一例を示すフローチャートである。図15において、まず、帳票生成装置101は、使用者のIDより部コードを取得する(ステップS1501)。例えば、帳票生成装置101は、使用者のIDと部コードを関連付けたテーブルから、使用者の部コードを取得する。帳票生成装置101は、取得した部コードをメモリ202またはディスク205等の記憶装置に保持する。具体的には、帳票生成装置101は、使用者のIDより部コード「1111」を取得する。
(Example of form generation processing procedure)
15 and 16 are flowcharts illustrating an example of a form generation processing procedure of the form generation apparatus 101 according to the embodiment. In FIG. 15, first, the form generation apparatus 101 acquires a copy code from the user ID (step S1501). For example, the form generation device 101 acquires the user's part code from a table in which the user ID and the part code are associated with each other. The form generation device 101 holds the acquired copy code in a storage device such as the memory 202 or the disk 205. Specifically, the form generation device 101 acquires the copy code “1111” from the user ID.

帳票生成装置101は、ディスプレイ206にガイド選択画面901を表示する(ステップS1502)。帳票生成装置101は、ガイド選択画面901のガイド画面ボタン911が選択されたか否かを判断する(ステップS1503)。   The form generation device 101 displays the guide selection screen 901 on the display 206 (step S1502). The form generation device 101 determines whether the guide screen button 911 on the guide selection screen 901 has been selected (step S1503).

ガイド選択画面901のガイド画面ボタン911が選択された場合(ステップS1503:Yes)、帳票生成装置101は、ディスプレイ206にガイド画面1001を表示する(ステップS1504)。   When the guide screen button 911 on the guide selection screen 901 is selected (step S1503: Yes), the form creation device 101 displays the guide screen 1001 on the display 206 (step S1504).

帳票生成装置101は、ガイド画面1001のキーワード項目1013に入力されたキーワードを取得する(ステップS1505)。図10の例では、キーワード一覧1014に記載されたキーワード「売上」がドラッグされ、キーワード項目1013にドロップされた後、OKボタン1015がマウスでクリックされることで、帳票生成装置101は、キーワード「売上」を取得する。   The form generation device 101 acquires the keyword input in the keyword item 1013 of the guide screen 1001 (step S1505). In the example of FIG. 10, the keyword “sales” described in the keyword list 1014 is dragged and dropped on the keyword item 1013, and then the OK button 1015 is clicked with the mouse. "Sales" is acquired.

帳票生成装置101は、キーワードリンクテーブル301から、取得したキーワードに対応するテーブル名と項目名称を取得する(ステップS1506)。図3の例では、帳票生成装置101は、取得したキーワード「売上」に対応するテーブル名「売上テーブルA」と項目名称「売上額」、およびテーブル名「売上テーブルB」と項目名称「売上実績」を取得する。   The form generation device 101 acquires a table name and an item name corresponding to the acquired keyword from the keyword link table 301 (step S1506). In the example of FIG. 3, the form generation apparatus 101 has a table name “sales table A” and an item name “sales amount” corresponding to the acquired keyword “sales”, and a table name “sales table B” and an item name “sales record”. Is obtained.

帳票生成装置101は、取得したテーブル名がテーブルリンクテーブル501に存在するか否かを判断する(ステップS1507)。取得したテーブル名がテーブルリンクテーブル501に存在しない場合(ステップS1507:No)、帳票生成装置101の処理は、ステップS1511に移行する。   The form generation device 101 determines whether or not the acquired table name exists in the table link table 501 (step S1507). When the acquired table name does not exist in the table link table 501 (step S1507: No), the process of the form generation device 101 proceeds to step S1511.

取得したテーブル名がテーブルリンクテーブル501に存在する場合(ステップS1507:Yes)、帳票生成装置101は、部コードリンクテーブル401から、取得した部コードのテーブル種別を取得する(ステップS1508)。   When the acquired table name exists in the table link table 501 (step S1507: Yes), the form generation device 101 acquires the table type of the acquired part code from the part code link table 401 (step S1508).

図5の例では、取得したテーブル名「売上テーブルA」および「売上テーブルB」がテーブルリンクテーブル501に存在する。また、図4の例では、帳票生成装置101は、部コードリンクテーブル401から、取得した部コード「1111」のテーブル種別「営業系」を取得する。   In the example of FIG. 5, the acquired table names “sales table A” and “sales table B” exist in the table link table 501. In the example of FIG. 4, the form generation apparatus 101 acquires the table type “business system” of the acquired part code “1111” from the part code link table 401.

帳票生成装置101は、テーブルリンクテーブル501から、取得したテーブル種別に属するテーブル名を取得する(ステップS1509)。図5の例では、帳票生成装置101は、テーブルリンクテーブル501から、取得したテーブル種別「営業系」に属するテーブル名「売上テーブルA」、テーブル名「商談情報」、テーブル名「顧客テーブル」を取得する。   The form generation device 101 acquires a table name belonging to the acquired table type from the table link table 501 (step S1509). In the example of FIG. 5, the form generation apparatus 101 obtains from the table link table 501 the table name “sales table A”, table name “business negotiation information”, and table name “customer table” belonging to the acquired table type “sales system”. get.

帳票生成装置101は、取得したキーワードに対応するテーブル名のうち、取得したテーブル種別に属するテーブル名を特定する(ステップS1510)。図3および図5の例では、帳票生成装置101は、キーワード「売上」に対応するテーブル名「売上テーブルA」および「売上テーブルB」のうち、テーブル種別「営業系」に属するテーブル名「売上テーブルA」を特定する。   The form generation device 101 identifies a table name belonging to the acquired table type among the table names corresponding to the acquired keyword (step S1510). In the example of FIGS. 3 and 5, the form generation apparatus 101 has the table name “sales” belonging to the table type “sales” among the table names “sales table A” and “sales table B” corresponding to the keyword “sales”. Identify table A ".

帳票生成装置101は、特定したテーブル名のテーブルの項目名称の項目に基づいて、帳票データを生成し、生成した帳票データをディスプレイ206に表示する(ステップS1511)。ここで、ステップS1603、ステップS1606またはステップS1607からステップS1511に移行した場合、特定したテーブル名のテーブルの項目名称の項目は、項目選択画面1201において選択された項目名称の項目になる。また、ステップS1507からステップS1511に移行した場合、特定したテーブル名のテーブルの項目名称の項目は、S1506で取得した項目名称の項目になる。   The form generation device 101 generates form data based on the item name item of the identified table name, and displays the generated form data on the display 206 (step S1511). Here, when the process proceeds from step S1603, step S1606, or step S1607 to step S1511, the item name item of the identified table name is the item name item selected on the item selection screen 1201. When the process proceeds from step S1507 to step S1511, the item name item in the table having the specified table name is the item name item acquired in step S1506.

図11の例では、帳票生成装置101は、特定したテーブル名「売上テーブルA」のテーブルの項目名称「売上額」の項目に基づいて、帳票データを生成し、生成した帳票データをディスプレイ206に表示する。図13の例では、帳票生成装置101は、選択された項目名称「売上実績」の項目に基づいて、帳票データを生成し、生成した帳票データをディスプレイ206に表示する。   In the example of FIG. 11, the form generation device 101 generates form data based on the item name “sales amount” in the table of the specified table name “sales table A”, and the generated form data is displayed on the display 206. indicate. In the example of FIG. 13, the form generation device 101 generates form data based on the item with the selected item name “sales record” and displays the generated form data on the display 206.

ガイド選択画面901のガイド画面ボタン911が選択されなかった場合(ステップS1503:No)、帳票生成装置101は、ディスプレイ206に項目選択画面1201を表示する(ステップS1601)。例えば、帳票生成装置101は、ガイド選択画面901の項目選択画面ボタン912がマウスでクリックされた場合、またはタッチされた場合、ガイド選択画面901のガイド画面ボタン911が選択されなかったと判断する。   When the guide screen button 911 on the guide selection screen 901 is not selected (step S1503: No), the form creation device 101 displays the item selection screen 1201 on the display 206 (step S1601). For example, when the item selection screen button 912 on the guide selection screen 901 is clicked or touched with the mouse, the form generation apparatus 101 determines that the guide screen button 911 on the guide selection screen 901 has not been selected.

帳票生成装置101は、項目選択画面1201から選択された項目名称を取得する(ステップS1602)。例えば、帳票生成装置101は、項目選択画面1201の項目名称選択領域1211の項目名称が、マウスのクリックまたはタッチにより選択された後、OKボタン1212がマウスでクリックまたはタッチされることで、選択された項目を取得する。図12の例では、帳票生成装置101は、項目選択画面1201の項目名称選択領域1211の項目名称のうち、選択された項目名称「売上実績」を取得する。   The form generation device 101 acquires the item name selected from the item selection screen 1201 (step S1602). For example, the form generation device 101 is selected by clicking or touching the OK button 1212 with the mouse after the item name in the item name selection area 1211 on the item selection screen 1201 is selected by clicking or touching the mouse. Get the item. In the example of FIG. 12, the form generation device 101 acquires the selected item name “sales record” among the item names in the item name selection area 1211 of the item selection screen 1201.

帳票生成装置101は、取得した項目名称を有するテーブルのテーブル名がテーブルリンクテーブル501に存在するか否かを判断する(ステップS1603)。取得した項目名称を有するテーブルのテーブル名がテーブルリンクテーブル501に存在しない場合(ステップS1603:No)、帳票生成装置101の処理はステップS1511に移行する。   The form generation device 101 determines whether the table name of the table having the acquired item name exists in the table link table 501 (step S1603). If the table name of the table having the acquired item name does not exist in the table link table 501 (step S1603: No), the processing of the form generation device 101 proceeds to step S1511.

取得した項目名称を有するテーブルのテーブル名がテーブルリンクテーブル501に存在する場合(ステップS1603:Yes)、帳票生成装置101は、テーブルリンクテーブル501から取得された項目名称を有するテーブルのテーブル名に対応するテーブル種別を取得する(ステップS1604)。   When the table name of the table having the acquired item name exists in the table link table 501 (step S1603: Yes), the form generation device 101 corresponds to the table name of the table having the item name acquired from the table link table 501. The table type to be acquired is acquired (step S1604).

図5の例では、取得した項目名称「売上実績」を有するテーブルのテーブル名「売上テーブルB」がテーブルリンクテーブル501に存在する。また、図5の例では、帳票生成装置101は、取得された項目名称「売上実績」を有するテーブルのテーブル名「売上テーブルB」に対応するテーブル種別「経理系」を取得する。   In the example of FIG. 5, the table name “sales table B” of the table having the acquired item name “sales record” exists in the table link table 501. In the example of FIG. 5, the form generation device 101 acquires the table type “accounting system” corresponding to the table name “sales table B” of the table having the acquired item name “sales record”.

帳票生成装置101は、取得した部コードと取得したテーブル種別に対応するカウンターテーブル601の選択回数を1増加する(ステップS1605)。図6の例では、帳票生成装置101は、取得した部コード「1111」と取得したテーブル種別「経理系」に対応するカウンターテーブル601の選択回数「10」を1増加して、「11」にする。   The form generation device 101 increments the selection count of the counter table 601 corresponding to the acquired part code and the acquired table type by 1 (step S1605). In the example of FIG. 6, the form generation apparatus 101 increments the selection count “10” of the counter table 601 corresponding to the acquired department code “1111” and the acquired table type “accounting system” by 1 to “11”. To do.

帳票生成装置101は、増加した選択回数が、取得した部コードに対応する選択回数のうちで最大値になったか否かを判断する(ステップS1606)。増加した選択回数が、取得した部コードに対応する選択回数のうちで最大値になっていない場合(ステップS1606:No)、帳票生成装置101の処理はステップS1511に移行する。   The form generation device 101 determines whether or not the increased selection count has reached the maximum value among the selection counts corresponding to the acquired copy code (step S1606). When the increased number of selections is not the maximum value among the number of selections corresponding to the acquired copy (step S1606: No), the process of the form generation device 101 proceeds to step S1511.

増加した選択回数が、取得した部コードに対応する選択回数のうちで最大値になった場合(ステップS1606:Yes)、帳票生成装置101は、部コードリンクテーブル401の取得した部コードに対応するテーブル種別を、最大値になった選択回数のテーブル種別に変更し(ステップS1607)、ステップS1511に移行する。図6の例では、増加した選択回数「11」が、取得した部コードに対応する選択回数のうちで最大値である。また、図4の例では、帳票生成装置101は、部コードリンクテーブル401の取得した部コード「1111」のテーブル種別を、最大値になった選択回数のテーブル種別「経理系」に変更する。   When the increased number of selections reaches the maximum value among the number of selections corresponding to the acquired part code (step S1606: Yes), the form generation apparatus 101 corresponds to the acquired part code in the part code link table 401. The table type is changed to the table type with the maximum number of selections (step S1607), and the process proceeds to step S1511. In the example of FIG. 6, the increased selection count “11” is the maximum value among the selection counts corresponding to the acquired part code. Further, in the example of FIG. 4, the form generation apparatus 101 changes the table type of the part code “1111” acquired from the part code link table 401 to the table type “accounting system” of the number of selection times that is the maximum value.

これにより、本フローチャートにおける一連の処理は終了する。本フローチャートを実行することで、使用者はキーワードを選択することにより、目的の帳票の項目を自動的に選択することができる。   Thereby, a series of processing in this flowchart is completed. By executing this flowchart, the user can automatically select a target form item by selecting a keyword.

以上説明したように、帳票生成装置101は、使用者が属する部コードを、使用者のログイン情報から取得し、帳票データに含める項目に対応するキーワードの指定を受け付ける。帳票生成装置101は、指定されたキーワードに対応する項目を有するテーブルのうち、帳票データを生成する際のテーブルの参照実績情報に基づいて、部コードで示される部に属する使用者から参照されたテーブルを特定する。帳票生成装置101は、特定したテーブルの項目に基づいて、帳票データを生成する。   As described above, the form generation device 101 acquires the copy code to which the user belongs from the login information of the user, and accepts designation of a keyword corresponding to an item to be included in the form data. The form generation device 101 is referred to by a user belonging to the part indicated by the part code based on the reference record information of the table when generating the form data among the tables having items corresponding to the designated keywords. Identify the table. The form generation device 101 generates form data based on the identified table items.

これにより、帳票生成装置101は、ガイド機能を利用した使用者に項目を選択させることなく、帳票データを生成することができる。このため、使用者の目的にあった帳票データを容易に生成することができ、使用者の帳票データ生成における負荷が軽減される。また、使用者が、間違った項目を選択して、帳票データを再生成することが減るため、帳票生成装置101に対する負荷が減少する。   Thereby, the form generation device 101 can generate form data without causing the user using the guide function to select an item. For this reason, the form data suitable for the purpose of the user can be easily generated, and the load on the form data generation of the user is reduced. In addition, since the user selects an incorrect item and regenerates the form data, the load on the form generation apparatus 101 is reduced.

また、帳票生成装置101が、使用者が使用する可能性が高い項目をキーワードで選択できるようにすることで、使用者は、目的とする帳票データを生成することができる。また、帳票生成装置101が、キーワードを分かりやすい文字にすることで、使用者は、適切な項目を選択することができる。   In addition, by allowing the form generation device 101 to select an item that is likely to be used by the user using a keyword, the user can generate target form data. Further, the form generation device 101 makes the keyword easy to understand, so that the user can select an appropriate item.

また、帳票生成装置101は、部コードとテーブルが属するテーブル種別とを関連付けた部コードリンクテーブル401と、テーブル種別に属するテーブルを示すテーブルリンクテーブル501とを有することができる。この場合、帳票生成装置101は、指定されたキーワードに対応する項目を有するテーブルのうち、使用者が属する部の部コードに関連したテーブル種別に属するテーブルを特定することができる。   Further, the form generation apparatus 101 can include a part code link table 401 that associates a part code with a table type to which the table belongs, and a table link table 501 that indicates a table that belongs to the table type. In this case, the form generation apparatus 101 can specify a table belonging to the table type related to the department code of the part to which the user belongs, among the tables having items corresponding to the designated keyword.

これにより、帳票生成装置101は、同じ業務に属する部から参照されたテーブルをテーブル種別で管理することができる。例えば、営業系の部から参照されるテーブルを、テーブル種別「営業系」で管理することができる。   As a result, the form generation device 101 can manage the tables referred to by the sections belonging to the same business by the table type. For example, a table referred to by the sales department can be managed by the table type “sales”.

また、帳票生成装置101は、テーブルが属するテーブル種別と、使用者が属する部コードと、当該テーブルが当該部コードで示される部に属する使用者から参照された回数とを関連付けたカウンターテーブル601を記憶することができる。この場合、帳票生成装置101は、帳票データに含める項目の指定を受け付けると、当該項目を含むテーブルが属するテーブル種別と取得した部コードとに対応する回数を増加させることができる。帳票生成装置101は、増加させた回数に基づいて、部コードリンクテーブル401の部コードリンクに関連付けられたテーブル種別を更新することができる。   Further, the form generation apparatus 101 includes a counter table 601 that associates the table type to which the table belongs, the part code to which the user belongs, and the number of times the table is referenced by the user belonging to the part indicated by the part code. Can be remembered. In this case, when the form generation apparatus 101 receives designation of an item to be included in the form data, the form generation apparatus 101 can increase the number of times corresponding to the table type to which the table including the item belongs and the acquired copy code. The form generation device 101 can update the table type associated with the part code link of the part code link table 401 based on the increased number of times.

これにより、帳票生成装置101は、使用者が属する部から高頻度で参照されたテーブルの項目から、帳票データを生成することができる。このため、帳票生成装置101は、使用者の目的にあった帳票データを生成することができる。   As a result, the form generation device 101 can generate form data from the items in the table that are frequently referenced from the part to which the user belongs. For this reason, the form generation device 101 can generate form data suitable for the purpose of the user.

なお、本実施の形態で説明した帳票生成方法は、予め用意されたプログラムをパーソナル・コンピュータやワークステーション等のコンピュータで実行することにより実現することができる。本帳票生成プログラムは、ハードディスク、フレキシブルディスク、CD−ROM、MO、DVD等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。また、本帳票生成プログラムは、インターネット等のネットワークを介して配布してもよい。   The form generation method described in the present embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. The form generation program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The form generation program may be distributed through a network such as the Internet.

上述した実施の形態に関し、さらに以下の付記を開示する。   The following additional notes are disclosed with respect to the embodiment described above.

(付記1)コンピュータに、
使用者が属するグループ情報を、前記使用者のログイン情報から取得し、
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定された前記キーワードに対応するデータ項目を有するソースデータのうち、記憶部に記憶された、帳票データを生成する際の前記ソースデータの参照実績情報に基づいて、取得した前記グループ情報で示されるグループに属する使用者から参照されたソースデータを特定し、
特定した前記ソースデータに基づいて、帳票データを生成する、
処理を実行させることを特徴とする帳票生成プログラム。
(Supplementary note 1)
Obtaining group information to which the user belongs from the login information of the user;
When the specification of the keyword corresponding to the data item to be included in the form data is received, the source data when generating the form data stored in the storage unit among the source data having the data item corresponding to the specified keyword Based on the reference result information of, identify the source data referred to by the user belonging to the group indicated by the acquired group information,
Generate form data based on the identified source data.
A form generation program characterized by causing processing to be executed.

(付記2)前記参照実績情報は、前記グループ情報とソースデータが属するデータ種別とを関連付けた情報と、前記データ種別に属するソースデータを示す情報とを有し、
前記特定する処理は、
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定された前記キーワードに対応するデータ項目を有するソースデータのうち、取得した前記グループ情報に関連したデータ種別に属するソースデータを特定することを特徴とする付記1に記載の帳票生成プログラム。
(Supplementary Note 2) The reference record information includes information that associates the group information with the data type to which the source data belongs, and information that indicates the source data that belongs to the data type,
The process to specify is
When the specification of the keyword corresponding to the data item to be included in the form data is received, the source data belonging to the data type related to the acquired group information is identified from the source data having the data item corresponding to the specified keyword The form generation program according to supplementary note 1, characterized by:

(付記3)前記コンピュータに、
ソースデータが属するデータ種別と、使用者が属するグループ情報と、当該ソースデータが当該グループ情報で示されるグループに属する使用者から参照された回数と、を関連付けて記憶し、
帳票データに含めるデータ項目の指定を受け付けると、指定された前記データ項目を含むソースデータが属するデータ種別と取得した前記グループ情報とに関連する回数を増加させ、
増加させた前記回数に基づいて、前記参照実績情報の前記グループ情報に関連付けられたデータ種別を更新する、
処理を実行させることを特徴とする付記2に記載の帳票生成プログラム。
(Supplementary note 3)
The data type to which the source data belongs, the group information to which the user belongs, and the number of times the source data has been referenced by the user belonging to the group indicated by the group information are stored in association with each other,
When the specification of the data item to be included in the form data is accepted, the number of times related to the data type to which the source data including the specified data item belongs and the acquired group information is increased,
Update the data type associated with the group information of the reference performance information based on the increased number of times,
The form generation program according to attachment 2, wherein the form is executed.

(付記4)前記更新する処理は、
取得した前記グループ情報に関連する回数のうちで、増加させた前記回数が最大値になったことに応じて、前記参照実績情報の前記グループ情報に関連付けられたデータ種別を、最大値になった前記回数に関連するテーブル種別に更新することを特徴とする付記3に記載の帳票生成プログラム。
(Appendix 4) The update process is as follows:
Of the number of times related to the acquired group information, the data type associated with the group information of the reference performance information has become the maximum value in response to the increased number of times being the maximum value. The form generation program according to appendix 3, wherein the form is updated to a table type related to the number of times.

(付記5)コンピュータが、
使用者が属するグループ情報を、前記使用者のログイン情報から取得し、
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定された前記キーワードに対応するデータ項目を有するソースデータのうち、記憶部に記憶された、帳票データを生成する際の前記ソースデータの参照実績情報に基づいて、取得した前記グループ情報で示されるグループに属する使用者から参照されたソースデータを特定し、
特定した前記ソースデータに基づいて、帳票データを生成する、
処理を実行することを特徴とする帳票生成方法。
(Appendix 5) The computer
Obtaining group information to which the user belongs from the login information of the user;
When the specification of the keyword corresponding to the data item to be included in the form data is received, the source data when generating the form data stored in the storage unit among the source data having the data item corresponding to the specified keyword Based on the reference result information of, identify the source data referred to by the user belonging to the group indicated by the acquired group information,
Generate form data based on the identified source data.
A form generation method characterized by executing processing.

(付記6)使用者が属するグループ情報を、前記使用者のログイン情報から取得し、
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定された前記キーワードに対応するデータ項目を有するソースデータのうち、記憶部に記憶された、帳票データを生成する際の前記ソースデータの参照実績情報に基づいて、取得した前記グループ情報で示されるグループに属する使用者から参照されたソースデータを特定し、
特定した前記ソースデータに基づいて、帳票データを生成する、
制御部を有することを特徴とする帳票生成装置。
(Appendix 6) Obtaining group information to which the user belongs from the login information of the user,
When the specification of the keyword corresponding to the data item to be included in the form data is received, the source data when generating the form data stored in the storage unit among the source data having the data item corresponding to the specified keyword Based on the reference result information of, identify the source data referred to by the user belonging to the group indicated by the acquired group information,
Generate form data based on the identified source data.
A form generation device having a control unit.

(付記7)コンピュータに、
使用者が属するグループ情報を、前記使用者のログイン情報から取得し、
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定された前記キーワードに対応するデータ項目を有するソースデータのうち、記憶部に記憶された、帳票データを生成する際の前記ソースデータの参照実績情報に基づいて、取得した前記グループ情報で示されるグループに属する使用者から参照されたソースデータを特定し、
特定した前記ソースデータに基づいて、帳票データを生成する、
処理を実行させる帳票生成プログラムを記録したことを特徴とする前記コンピュータに読み取り可能な記録媒体。
(Appendix 7)
Obtaining group information to which the user belongs from the login information of the user;
When the specification of the keyword corresponding to the data item to be included in the form data is received, the source data when generating the form data stored in the storage unit among the source data having the data item corresponding to the specified keyword Based on the reference result information of, identify the source data referred to by the user belonging to the group indicated by the acquired group information,
Generate form data based on the identified source data.
A computer-readable recording medium on which a form generation program for executing processing is recorded.

101 帳票生成装置
1401 表示部
1402 取得部
1403 特定部
1404 更新部
101 Form generation device 1401 Display unit 1402 Acquisition unit 1403 Identification unit 1404 Update unit

Claims (5)

コンピュータに、
使用者が属するグループ情報を、前記使用者のログイン情報から取得し、
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、前記キーワードと、前記キーワードに対応する項目名称と、前記キーワードに対応する項目名称を有するテーブルのテーブル名とを関連付けた情報から、指定された前記キーワードに関連するテーブル名と項目名称を取得し、取得した前記テーブル名のうち、帳票データを生成する際の前記テーブル名のテーブルの参照実績情報に基づいて、取得した前記グループ情報で示されるグループに属する使用者から参照されたテーブル名を特定し、
特定した前記項目名称のうち、特定した前記テーブル名のテーブルが有する項目名称の項目に基づいて、帳票データを生成する、
処理を実行させることを特徴とする帳票生成プログラム。
On the computer,
Obtaining group information to which the user belongs from the login information of the user;
When the specification of the keyword corresponding to the data item to be included in the form data is received, the specification is made from the information that associates the keyword, the item name corresponding to the keyword, and the table name of the table having the item name corresponding to the keyword. The table name and the item name related to the keyword obtained are acquired, and among the acquired table names, based on the reference record information of the table of the table name when generating the form data, the acquired group information Identify the table name referenced by the users belonging to the indicated group,
Based on the item name items included in the specified table name among the specified item names , form data is generated.
A form generation program characterized by causing processing to be executed.
コンピュータに、On the computer,
使用者が属するグループ情報を、前記使用者のログイン情報から取得し、Obtaining group information to which the user belongs from the login information of the user;
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定された前記キーワードに対応するデータ項目を有するソースデータのうち、記憶部に記憶された、帳票データを生成する際の前記ソースデータの参照実績情報であって、前記グループ情報とソースデータが属するデータ種別とを関連付けた情報と、前記データ種別に属するソースデータを示す情報とを有する前記参照実績情報に基づいて、取得した前記グループ情報に関連したデータ種別に属するソースデータを特定し、When the specification of the keyword corresponding to the data item to be included in the form data is received, the source data when generating the form data stored in the storage unit among the source data having the data item corresponding to the specified keyword The group obtained based on the reference performance information, which includes information relating the group information and the data type to which the source data belongs, and information indicating the source data belonging to the data type Identify the source data belonging to the data type related to the information,
特定した前記ソースデータに基づいて、帳票データを生成する、Generate form data based on the identified source data.
処理を実行させることを特徴とする帳票生成プログラム。A form generation program characterized by causing processing to be executed.
前記コンピュータに、
ソースデータが属するデータ種別と、使用者が属するグループ情報と、当該ソースデータが当該グループ情報で示されるグループに属する使用者から参照された回数と、を関連付けて記憶し、
帳票データに含めるデータ項目の指定を受け付けると、指定された前記データ項目を含むソースデータが属するデータ種別と取得した前記グループ情報とに関連する回数を増加させ、
増加させた前記回数に基づいて、前記参照実績情報の前記グループ情報に関連付けられたデータ種別を更新する、
処理を実行させることを特徴とする請求項2に記載の帳票生成プログラム。
In the computer,
The data type to which the source data belongs, the group information to which the user belongs, and the number of times the source data has been referenced by the user belonging to the group indicated by the group information are stored in association with each other,
When the specification of the data item to be included in the form data is accepted, the number of times related to the data type to which the source data including the specified data item belongs and the acquired group information is increased,
Update the data type associated with the group information of the reference performance information based on the increased number of times,
The form generation program according to claim 2, wherein processing is executed.
使用者が属するグループ情報を、前記使用者のログイン情報から取得し、
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、前記キーワードと、前記キーワードに対応する項目名称と、前記キーワードに対応する項目名称を有するテーブルのテーブル名とを関連付けた情報から、指定された前記キーワードに関連するテーブル名と項目名称を取得し、取得した前記テーブル名のうち、帳票データを生成する際の前記テーブル名のテーブルの参照実績情報に基づいて、取得した前記グループ情報で示されるグループに属する使用者から参照されたテーブル名を特定し、
特定した前記項目名称のうち、特定した前記テーブル名のテーブルが有する項目名称の項目に基づいて、帳票データを生成する、
制御部を有することを特徴とする帳票生成装置。
The group information used for the person belongs, acquired from the login information of the user,
When the specification of the keyword corresponding to the data item to be included in the form data is received, the specification is made from the information that associates the keyword, the item name corresponding to the keyword, and the table name of the table having the item name corresponding to the keyword. The table name and the item name related to the keyword obtained are acquired, and among the acquired table names, based on the reference record information of the table of the table name when generating the form data, the acquired group information Identify the table name referenced by the users belonging to the indicated group,
Based on the item name items included in the specified table name among the specified item names , form data is generated.
A form generation device having a control unit.
使用者が属するグループ情報を、前記使用者のログイン情報から取得し、Obtaining group information to which the user belongs from the login information of the user;
帳票データに含めるデータ項目に対応するキーワードの指定を受け付けると、指定された前記キーワードに対応するデータ項目を有するソースデータのうち、記憶部に記憶された、帳票データを生成する際の前記ソースデータの参照実績情報であって、前記グループ情報とソースデータが属するデータ種別とを関連付けた情報と、前記データ種別に属するソースデータを示す情報とを有する前記参照実績情報に基づいて、取得した前記グループ情報に関連したデータ種別に属するソースデータを特定し、When the specification of the keyword corresponding to the data item to be included in the form data is received, the source data when generating the form data stored in the storage unit among the source data having the data item corresponding to the specified keyword The group obtained based on the reference performance information, which includes information relating the group information and the data type to which the source data belongs, and information indicating the source data belonging to the data type Identify the source data belonging to the data type related to the information,
特定した前記ソースデータに基づいて、帳票データを生成する、Generate form data based on the identified source data.
制御部を有することを特徴とする帳票生成装置。A form generation device having a control unit.
JP2014203490A 2014-10-01 2014-10-01 Form generation program and form generation apparatus Expired - Fee Related JP6442962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014203490A JP6442962B2 (en) 2014-10-01 2014-10-01 Form generation program and form generation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014203490A JP6442962B2 (en) 2014-10-01 2014-10-01 Form generation program and form generation apparatus

Publications (2)

Publication Number Publication Date
JP2016071807A JP2016071807A (en) 2016-05-09
JP6442962B2 true JP6442962B2 (en) 2018-12-26

Family

ID=55867077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014203490A Expired - Fee Related JP6442962B2 (en) 2014-10-01 2014-10-01 Form generation program and form generation apparatus

Country Status (1)

Country Link
JP (1) JP6442962B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10293798A (en) * 1997-04-18 1998-11-04 Nec Corp Department pattern sum-up device
JP2001092839A (en) * 1999-09-22 2001-04-06 Mitsubishi Electric Systemware Corp Retrieval system and computer-readable recording medium recording program for making computer execute it
JP4434876B2 (en) * 2004-08-17 2010-03-17 キヤノンマーケティングジャパン株式会社 Form search device, form search system, form search method and program thereof
WO2008107997A1 (en) * 2007-03-08 2008-09-12 Fujitsu Limited Slip category identifying program, slip category identifying method and slip category identifying device
JP5229102B2 (en) * 2009-05-14 2013-07-03 富士通株式会社 Form search device, form search program, and form search method
JP2014013470A (en) * 2012-07-04 2014-01-23 Fujitsu Ltd Management method for electronic form and electronic form system, and management program for electronic form

Also Published As

Publication number Publication date
JP2016071807A (en) 2016-05-09

Similar Documents

Publication Publication Date Title
JP2023153230A (en) Shopping support system, terminal device, and program
US20060185019A1 (en) Method and system for observational data collection
JP2011186768A (en) File management system, information processor, and information processing method
JP6285284B2 (en) Opinion utilization support device and opinion utilization support method
JP6280270B1 (en) Internal transaction determination device, internal transaction determination method, and internal transaction determination program
JP6586050B2 (en) Management device, management method, and management program
JP6442962B2 (en) Form generation program and form generation apparatus
TW201528174A (en) Information processing system, information processing device, information processing method, recording medium, and program
US20250111136A1 (en) Service management system having a form-creation interface including field sorting and selection functionality
JP2018181278A (en) Management program, management method and management device
JP2011186769A (en) Content management system, content management apparatus and access control method
JP2012043258A (en) Retrieval system, retrieval device, retrieval program, recording medium and retrieval method
JP6338909B2 (en) Content control system
JP2018181279A (en) Management program, management method and management device
JP6280271B1 (en) Data conversion apparatus, data conversion method, and data conversion program
JP6716929B2 (en) Information processing apparatus and information processing program
JP6280268B1 (en) Data aggregation device, data aggregation method, and data aggregation program
JP5716484B2 (en) Document management method, document management apparatus, and document management program
JP2015072615A (en) Server device, screen definition system, screen definition method, and program
JP6455087B2 (en) Form information processing program, form information processing apparatus, and form information processing method
JP6256079B2 (en) Search program, search method, and search device
JP2015022636A (en) Information processing apparatus, information processing method, and information processing program
JP7363259B2 (en) Information processing device, support method and program
JP2011175332A (en) Server, system and method for managing correction, original manufacturing support system, and program
JP7103868B2 (en) Management equipment, management methods and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170605

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180806

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181112

R150 Certificate of patent or registration of utility model

Ref document number: 6442962

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees