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
JP6750982B2 - Authority control device, authority control method, and authority control program - Google Patents
[go: Go Back, main page]

JP6750982B2 - Authority control device, authority control method, and authority control program - Google Patents

Authority control device, authority control method, and authority control program Download PDF

Info

Publication number
JP6750982B2
JP6750982B2 JP2016165157A JP2016165157A JP6750982B2 JP 6750982 B2 JP6750982 B2 JP 6750982B2 JP 2016165157 A JP2016165157 A JP 2016165157A JP 2016165157 A JP2016165157 A JP 2016165157A JP 6750982 B2 JP6750982 B2 JP 6750982B2
Authority
JP
Japan
Prior art keywords
data
user group
department
budget
master
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.)
Active
Application number
JP2016165157A
Other languages
Japanese (ja)
Other versions
JP2017174376A (en
Inventor
隆一 帆足
隆一 帆足
真樹 平田
真樹 平田
邦明 芹澤
邦明 芹澤
Original Assignee
株式会社オービック
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 株式会社オービック filed Critical 株式会社オービック
Publication of JP2017174376A publication Critical patent/JP2017174376A/en
Application granted granted Critical
Publication of JP6750982B2 publication Critical patent/JP6750982B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、権限制御装置、権限制御方法、及び権限制御プログラムに関する。 The present invention relates to an authority control device, an authority control method, and an authority control program.

予算編成業務の権限制御に関する技術として、例えば、特許文献1には、予算データベース等に対するアクセス権限(検索、登録、変更、削除など)を、ユーザの所属する部門単位で規定する、アクセス権限データベースが開示されている。
また、特許文献1に記載の実施例において、アクセス権限データベースには、「検索」がいずれの部門に対しても許可されており、「登録、変更、削除」が申請部門に対してのみ許可されているデータ構造が設定されている。
As a technology related to authority control of budget organization work, for example, Patent Document 1 discloses an access authority database that defines access authority (search, registration, change, delete, etc.) to a budget database and the like for each department to which a user belongs. It is disclosed.
Further, in the embodiment described in Patent Document 1, “search” is permitted to any department in the access authority database, and “register, change, delete” is permitted only to the applying department. The data structure is set.

特開2005−258733号公報JP, 2005-258733, A

しかしながら、従来技術では、予算の承認権限が一つの部署に統一されており、科目単位に、予算の責任部門と、申請フローと、を設定し、同一部署を申請フローの複数階層に設定することができないという問題点があった。 However, in the conventional technology, the budget approval authority is unified to one department, and the budget responsible department and the application flow are set for each subject, and the same department is set in multiple layers of the application flow. There was a problem that I could not do it.

本発明は、上記問題点に鑑みてなされたものであって、予算種類単位に階層、部門、及び権限を設定することができる権限制御装置、権限制御方法、及び権限制御プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and provides an authority control device, an authority control method, and an authority control program capable of setting hierarchies, departments, and authorities for each budget type. To aim.

上述した課題を解決し、目的を達成するために、本発明に係る権限制御装置は、制御部及び記憶部を備えた権限制御装置であって、前記記憶部は、ユーザIDデータ及びユーザグループコードデータを含むレコードを格納する第1のマスタデータテーブルと、予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び責任部門ユーザグループコードデータを含むレコードを格納する第2のマスタデータテーブルと、を格納し、前記制御部は、第1のマスタデータテーブルを参照して、入力されたユーザIDに対応するユーザグループコードデータを取得するグループコード取得手段と、第2のマスタデータテーブルを参照して、前記取得されたユーザグループコードデータに対応する、予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータを取得するデータ取得手段と、前記データ取得手段によって取得されたデータに基づいて、ユーザが利用可能な予算種類と部門と科目の組み合わせを決定するデータ決定手段と、前記データ決定手段で決定した組み合わせに基づいて、予算種類と部門と科目を入力又は表示させるための画面を制御する画面制御手段と、を備える、ことを特徴とする。 In order to solve the above problems and achieve an object, an authority control device according to the present invention is an authority control device including a control unit and a storage unit, wherein the storage unit includes user ID data and a user group code. A first master data table storing records including data, and a second master data table storing records including budget type code data, hierarchy level data, user group code data, and responsible department user group code data, And the control unit refers to the first master data table, refers to the second master data table, and a group code acquisition unit that acquires user group code data corresponding to the input user ID. Data acquisition means for acquiring budget type code data, hierarchy level data, and responsible department user group code data corresponding to the acquired user group code data, and based on the data acquired by the data acquisition means. , A data deciding means for deciding a combination of budget type, department and subject available to the user, and a screen for inputting or displaying the budget type, department and subject based on the combination decided by the data deciding means And a screen control unit for controlling the screen.

また、本発明に係る権限制御装置は、前記権限制御装置において、前記データ取得手段は、更に、前記第2のマスタデータテーブルを参照し、前記取得された階層レベルデータの値以上の階層レベルデータであり、かつ、前記取得されたユーザグループコードデータと同一のユーザグループコードデータを責任部門ユーザグループコードに有するレコードを取得する、ことを特徴とする。 Also, in the authority control device according to the present invention, in the authority control device, the data acquisition unit further refers to the second master data table, and hierarchy level data equal to or higher than a value of the acquired hierarchy level data. And a record having the same user group code data as the acquired user group code data in the responsible department user group code is acquired.

また、本発明に係る権限制御装置は、前記権限制御装置において、前記記憶部は、ユーザグループコードデータ及び部門コードデータを含むレコードを格納する第3のマスタデータテーブルを更に格納し、前記制御部は、第3のマスタデータテーブルを参照し、前記データ取得手段により取得されたユーザグループコードデータに対応する部門コードデータを取得する部門コード取得手段を更に備える、ことを特徴とする。 Further, in the authority control device according to the present invention, in the authority control device, the storage unit further stores a third master data table that stores a record including user group code data and department code data, and the control unit Is further provided with a department code acquisition unit for referring to the third master data table and acquiring department code data corresponding to the user group code data acquired by the data acquisition unit.

また、本発明に係る権限制御装置は、前記権限制御装置において、前記画面制御手段は、前記データ決定手段で決定した組み合わせに含まれる予算種類の中から選択された予算種類に応じて、該選択された予算種類を含む組み合わせに含まれる部門及び科目を選択可能に制御する、ことを特徴とする。 Also, in the authority control device according to the present invention, in the authority control device, the screen control means performs the selection according to a budget type selected from budget types included in the combination determined by the data determination means. It is characterized in that the departments and subjects included in the combination including the selected budget type are controlled so that they can be selected.

また、本発明に係る権限制御装置は、前記権限制御装置において、前記予算種類は、勘定科目又は設定科目をグループ化したものである、ことを特徴とする。 The authority control device according to the present invention is characterized in that, in the authority control device, the budget type is a group of account items or set items.

また、本発明に係る権限制御方法は、制御部及び記憶部を備えた情報処理装置で実行される権限制御方法であって、前記記憶部は、ユーザIDデータ及びユーザグループコードデータを含むレコードを格納する第1のマスタデータテーブルと、予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び責任部門ユーザグループコードデータを含むレコードを格納する第2のマスタデータテーブルと、を格納し、前記制御部で実行される、第1のマスタデータテーブルを参照して、入力されたユーザIDに対応するユーザグループコードデータを取得するグループコード取得ステップと、第2のマスタデータテーブルを参照して、前記取得されたユーザグループコードに対応する、予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータを取得するデータ取得ステップと、前記取得された予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータに基づいて、ユーザが利用可能な予算種類と部門と科目の組み合わせを決定するデータ決定ステップと、前記データ決定ステップで決定した組み合わせに基づいて、予算種類と部門と科目を入力又は表示させるための画面を制御する画面制御ステップと、を含む、ことを特徴とする。 An authority control method according to the present invention is an authority control method executed by an information processing device including a control unit and a storage unit, wherein the storage unit stores a record including user ID data and user group code data. Storing a first master data table for storing and a second master data table for storing records including budget type code data, hierarchy level data, user group code data, and responsible department user group code data, and A group code acquisition step, which is executed by the control unit, refers to the first master data table to obtain user group code data corresponding to the input user ID, and refers to the second master data table, Data acquisition step of acquiring budget type code data, hierarchy level data, and responsible department user group code data corresponding to the acquired user group code, and the acquired budget type code data, hierarchy level data, and responsibility Input the budget type, department and subject based on the data determination step that determines the combination of budget type, department and subject available to the user based on the department user group code data, and the combination determined in the data determination step. Or a screen control step of controlling a screen to be displayed.

また、本発明に係る権限制御プログラムは、制御部及び記憶部を備えた情報処理装置に実行させるための権限制御プログラムであって、前記記憶部は、ユーザIDデータ及びユーザグループコードデータを含むレコードを格納する第1のマスタデータテーブルと、予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び責任部門ユーザグループコードデータを含むレコードを格納する第2のマスタデータテーブルと、を格納し、前記制御部に実行させるための、第1のマスタデータテーブルを参照して、入力されたユーザIDに対応するユーザグループコードデータを取得するグループコード取得ステップと、第2のマスタデータテーブルを参照して、前記取得されたユーザグループコードに対応する、予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータを取得するデータ取得ステップと、前記取得された予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータに基づいて、ユーザが利用可能な予算種類と部門と科目の組み合わせを決定するデータ決定ステップと、前記データ決定ステップで決定した組み合わせに基づいて、予算種類と部門と科目を入力又は表示させるための画面を制御する画面制御ステップと、を含む、ことを特徴とする。
ことを特徴とする。
Further, the authority control program according to the present invention is an authority control program for causing an information processing apparatus including a control unit and a storage unit to execute, and the storage unit includes a record including user ID data and user group code data. And a second master data table for storing records including budget type code data, hierarchy level data, user group code data, and responsible department user group code data. A group code acquisition step for acquiring the user group code data corresponding to the input user ID by referring to the first master data table, which is executed by the control unit, and referring to the second master data table. A data acquisition step of acquiring budget type code data, hierarchy level data, and responsible department user group code data corresponding to the acquired user group code; and the acquired budget type code data, hierarchy level data, And a responsible department user group code data, a data determining step for determining a combination of a budget type, a department and an item available to the user, and a budget type, a department and an item based on the combination determined in the data determining step. And a screen control step of controlling a screen for inputting or displaying.
It is characterized by

本発明によれば、予算種類単位に階層、部門、及び権限を設定することができるという効果を奏する。 According to the present invention, it is possible to set the hierarchy, department, and authority for each budget type.

図1は、実施形態に係る権限制御装置の構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of the authority control device according to the embodiment. 図2は、ユーザマスタデータテーブルの一例を示す図である。FIG. 2 is a diagram showing an example of the user master data table. 図3は、ユーザグループマスタデータテーブルの一例を示す図である。FIG. 3 is a diagram showing an example of the user group master data table. 図4は、ユーザグループメンバマスタデータテーブルの一例を示す図である。FIG. 4 is a diagram showing an example of a user group member master data table. 図5は、部門マスタデータテーブルの一例を示す図である。FIG. 5 is a diagram showing an example of the department master data table. 図6は、ユーザグループ所属部門マスタデータテーブルの一例を示す図である。FIG. 6 is a diagram showing an example of a user group belonging department master data table. 図7は、予算種類マスタデータテーブルの一例を示す図である。FIG. 7 is a diagram showing an example of the budget type master data table. 図8は、勘定科目マスタデータテーブルの一例を示す図である。FIG. 8 is a diagram showing an example of the account item master data table. 図9は、予算種類要素マスタデータテーブルの一例を示す図である。FIG. 9 is a diagram showing an example of the budget type element master data table. 図10は、予算種類別ユーザグループ階層マスタデータテーブルの一例を示す図である。FIG. 10 is a diagram showing an example of a user group hierarchy master data table for each budget type. 図11は、営業外損益予算の申請フローの一例を示す図である。FIG. 11 is a diagram showing an example of a non-operating profit/loss budget application flow. 図12は、一般管理費予算の申請フローの一例を示す図である。FIG. 12 is a diagram showing an example of an application flow for a general administrative expense budget. 図13は、売上高の申請フローの一例を示す図である。FIG. 13 is a diagram showing an example of a sales application flow. 図14は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 14 is a diagram showing an example of the budget formation department security table. 図15は、実施形態に係る権限制御装置の処理の一例を示すフローチャートである。FIG. 15 is a flowchart showing an example of processing of the authority control device according to the embodiment. 図16は、ユーザグループメンバマスタデータテーブルの一例を示す図である。FIG. 16 is a diagram showing an example of a user group member master data table. 図17は、予算種類別ユーザグループ階層マスタデータテーブルの一例を示す図である。FIG. 17 is a diagram showing an example of a budget type-specific user group hierarchy master data table. 図18は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 18 is a diagram showing an example of the budget formation department security table. 図19は、ユーザグループ所属部門マスタデータテーブルの一例を示す図である。FIG. 19 is a diagram showing an example of a user group belonging department master data table. 図20は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 20 is a diagram showing an example of the budget formation department security table. 図21は、予算種類要素マスタデータテーブルの一例を示す図である。FIG. 21 is a diagram showing an example of the budget type element master data table. 図22は、予算入力画面の一例を示す図である。FIG. 22 is a diagram showing an example of the budget input screen. 図23は、ユーザグループメンバマスタデータテーブルの一例を示す図である。FIG. 23 is a diagram showing an example of a user group member master data table. 図24は、予算種類別ユーザグループ階層マスタデータテーブルの一例を示す図である。FIG. 24 is a diagram showing an example of a budget type-based user group hierarchy master data table. 図25は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 25 is a diagram showing an example of the budget formation department security table. 図26は、ユーザグループ所属部門マスタデータテーブルの一例を示す図である。FIG. 26 is a diagram showing an example of a user group belonging department master data table. 図27は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 27 is a diagram showing an example of the budget compilation department security table. 図28は、予算種類要素マスタデータテーブルの一例を示す図である。FIG. 28 is a diagram showing an example of the budget type element master data table. 図29は、予算入力画面の一例を示す図である。FIG. 29 is a diagram showing an example of the budget input screen. 図30は、ユーザグループメンバマスタデータテーブルの一例を示す図である。FIG. 30 is a diagram showing an example of a user group member master data table. 図31は、予算種類別ユーザグループ階層マスタデータテーブルの一例を示す図である。FIG. 31 is a diagram showing an example of a user group hierarchy master data table for each budget type. 図32は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 32 is a diagram showing an example of the budget compilation department security table. 図33は、ユーザグループ所属部門マスタデータテーブルの一例を示す図である。FIG. 33 is a diagram showing an example of a user group belonging department master data table. 図34は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 34 is a diagram showing an example of the budget formation department security table. 図35は、ユーザグループ所属部門マスタデータテーブルの一例を示す図である。FIG. 35 is a diagram showing an example of a user group belonging department master data table. 図36は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 36 is a diagram showing an example of the budget formation department security table. 図37は、予算種類要素マスタデータテーブルの一例を示す図である。FIG. 37 is a diagram showing an example of the budget type element master data table. 図38は、予算入力画面の一例を示す図である。FIG. 38 is a diagram showing an example of the budget input screen. 図39は、ユーザグループメンバマスタデータテーブルの一例を示す図である。FIG. 39 is a diagram showing an example of a user group member master data table. 図40は、予算種類別ユーザグループ階層マスタデータテーブルの一例を示す図である。FIG. 40 is a diagram showing an example of a budget type-specific user group hierarchy master data table. 図41は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 41 is a diagram showing an example of the budget formation department security table. 図42−1は、予算種類別ユーザグループ階層マスタデータテーブルの一例を示す図である。FIG. 42-1 is a diagram showing an example of a user group hierarchy master data table by budget type. 図42−2は、予算種類別ユーザグループ階層マスタデータテーブルのレコード再取得を説明するための図である。FIG. 42-2 is a diagram for explaining record reacquisition of the user group hierarchy master data table by budget type. 図43は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 43 is a diagram showing an example of the budget formation department security table. 図44は、ユーザグループ所属部門マスタデータテーブルの一例を示す図である。FIG. 44 is a diagram showing an example of a user group belonging department master data table. 図45は、予算編成部門セキュリティテーブルの一例を示す図である。FIG. 45 is a diagram showing an example of the budget compilation department security table. 図46は、予算種類要素マスタデータテーブルの一例を示す図である。FIG. 46 is a diagram showing an example of the budget type element master data table. 図47は、予算入力画面の一例を示す図である。FIG. 47 is a diagram showing an example of the budget input screen.

本発明の実施形態を図面に基づいて詳細に説明する。なお、本発明は本実施形態により限定されるものではない。 Embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to this embodiment.

[1.概要]
本実施形態は、予算編成業務における部門・科目の権限制御(申請・承認・登録・変更・削除・照会)に関する。本実施形態により、予算編成業務において、科目ごとに予算の責任部門を設定することができる。
[1. Overview]
The present embodiment relates to authority control (application/approval/registration/change/deletion/inquiry) of departments/subjects in budgeting work. According to this embodiment, the budget responsible department can be set for each subject in the budgeting work.

従来の仕組みでは、予算の科目単位に対して、社内での主管部署・責任部署は統一されていない場合であっても、経理部が最終承認あるいは全権限を持っているという全社統一での設定しかできなかった。また、経理部門に全部門・全科目の参照権限を設定していた場合、経理部門の予算を他の部門が参照することができなかった。また、ユーザ単位に部門や科目の参照権限を設定していたが、同一部署を申請フローの複数階層に設定することができず、科目単位に申請フローの階層を設定することもできなかった。 With the conventional system, even if the responsible departments and responsible departments within the company are not standardized for each budget item, the accounting department has final approval or has the entire authority. I could only do it. Also, if the accounting department was set to have reference authority for all departments and subjects, the budget of the accounting department could not be referenced by other departments. Moreover, although the reference authority of the department or the subject was set for each user, the same department could not be set for multiple layers of the application flow, and the hierarchy of the application flow could not be set for each subject.

そこで、本実施形態では、予算種類単位に階層、部門、及び権限を設定できる権限制御装置を提供する。例えば、経理部が申請したものを総務部が承認し、その後経理部が承認することが想定されるため、運用上は経理部が必ず最終承認を行うフローになっている。また、同一部署が複数階層に登場すること、また科目単位にWF(ワークフロー)の階層を表現することができなかったため、これらができるように、予算管理用に独自のWF機能を実現している。なお、同一部署が階層に2回まで設定可能な仕組みだが、例えば3回以降設定することも可能である。 Therefore, the present embodiment provides an authority control device capable of setting the hierarchy, department, and authority for each budget type. For example, since it is assumed that the general affairs department approves the application made by the accounting department, and then the accounting department approves it, the accounting department always performs final approval in operation. In addition, because the same department appears in multiple hierarchies, and because it was not possible to express the WF (workflow) hierarchy for each subject, a unique WF function for budget management is realized so that these can be done. .. It should be noted that the same department can be set up to twice in the hierarchy, but it can also be set up, for example, three times or more.

本実施形態では、まずログインユーザが属する部門を設定する。次に勘定科目に応じた予算種類(例:営業外損益、一般管理費)を作成する。次に予算種類に対して、申請フローの階層レベル・ユーザグループ・責任部門となる責任ユーザグループの紐付けの設定を行う。これにより、予算種類を扱うことができる部門は、ログインユーザが属する部門又はその責任部門のみ申請・承認・登録・変更・照会できるように制御している。また、予算種類ごとに扱える勘定科目も制御している。申請フローについては予算種類ごとの申請フローを設定することが可能になっている。例えば、勘定科目(営業外損益)の責任部門は経理部、勘定科目(一般管理費)の責任部門は総務部という設定を可能としている。予算編成が複雑な場合には、経理部が申請した予算を総務部が承認し、再度、経理部が最終承認する申請フローも可能となっている。 In this embodiment, first, the department to which the login user belongs is set. Next, create a budget type (eg non-operating profit/loss, general administrative expenses) according to the account item. Next, for the budget type, the setting of the hierarchy level of the application flow, the user group, and the linking of the responsible user group to be the responsible department are made. As a result, the department that can handle the budget type is controlled so that only the department to which the login user belongs or the responsible department can apply, approve, register, change, and inquire. It also controls the accounts that can be handled for each budget type. Regarding the application flow, it is possible to set the application flow for each budget type. For example, the account department (non-operating profit and loss) can be set as the accounting department, and the account department (general administrative expenses) can be set as the general affairs department. If the budget formation is complicated, it is possible for the general affairs department to approve the budget requested by the accounting department, and the accounting department to finally approve the budget.

[2.構成]
本実施形態に係る権限制御装置の構成の一例について、図1を参照して説明する。図1は、権限制御装置の構成の一例を示すブロック図である。
[2. Constitution]
An example of the configuration of the authority control device according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing an example of the configuration of the authority control device.

権限制御装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、権限制御装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。 The authority control device 100 is a commercially available desktop personal computer. Note that the authority control device 100 is not limited to a stationary information processing device such as a desktop personal computer, but is a portable type such as a commercially available notebook personal computer, PDA (Personal Digital Assistants), smartphone, or tablet personal computer. It may be an information processing device.

権限制御装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。権限制御装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The authority control device 100 includes a control unit 102, a communication interface unit 104, a storage unit 106, and an input/output interface unit 108. The respective units included in the authority control device 100 are communicably connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置及び専用線等の有線又は無線の通信回線を介して、権限制御装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、権限制御装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。 The communication interface unit 104 communicatively connects the authority control device 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with other devices via a communication line. Here, the network 300 has a function of connecting the authority control device 100 and the server 200 so that they can communicate with each other, and is, for example, the Internet, a LAN (Local Area Network), or the like.

記憶部106には、各種のデータベース、マスタデータテーブル(以下、マスタデータテーブルは、単にマスタと略す場合がある)、テーブル、及びファイルなどが格納される。更に、記憶部106は、ユーザマスタ106a、ユーザグループマスタ106b、ユーザグループメンバマスタ106c、部門マスタ106d、ユーザグループ所属部門マスタ106e、予算種類マスタ106f、勘定科目マスタ106g、予算種類要素マスタ106h、予算種類別ユーザグループ階層マスタ106i、及び、予算編成部門セキュリティテーブル106jを格納する。また、記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、及び光ディスク等を用いることができる。 The storage unit 106 stores various databases, a master data table (hereinafter, the master data table may be simply referred to as a master), a table, a file, and the like. Further, the storage unit 106 includes a user master 106a, a user group master 106b, a user group member master 106c, a department master 106d, a user group belonging department master 106e, a budget type master 106f, an account item master 106g, a budget type element master 106h, and a budget. A type-specific user group hierarchy master 106i and a budget organization department security table 106j are stored. Further, the storage unit 106 stores a computer program for giving instructions to a CPU (Central Processing Unit) in cooperation with an OS (Operating System) to perform various processes. As the storage unit 106, for example, a memory device such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, and an optical disk can be used.

ユーザマスタ106aは、ユーザIDデータとユーザ名データとを含むレコードを格納し、ログインユーザを設定する際に使用される。ユーザグループマスタ106bは、ユーザグループコードデータとユーザグループ名データとを含むレコードを格納し、ログインユーザが所属するグループを設定する際に使用される。ユーザグループメンバマスタ106cは、ユーザIDデータとユーザグループコードデータとを含むレコードを格納し、ユーザIDとユーザグループコードとの関連付けを設定する際に使用される。部門マスタ106dは、部門コードデータと部門名データとを含むレコードを格納し、部門を設定する際に使用される。ユーザグループ所属部門マスタ106eは、ユーザグループコードデータと部門コードデータとを含むレコードを格納し、ユーザグループコードと部門コードとの関連付けを設定する際に使用される。予算種類マスタ106fは、予算種類コードデータと予算種類名データと含むレコードを格納し、予算編成に使用する予算種類を設定する際に使用される。なお、予算種類は、科目をグループ化したものであり、例えば、勘定科目、予算科目、費目等をグループ化することができる。勘定科目マスタ106gは、勘定科目コードデータと勘定科目名データとを含むレコードを格納し、勘定科目を設定する際に使用される。予算種類要素マスタ106hは、予算種類コードデータと勘定科目データとを含むレコードを格納し、予算種類を構成する要素となる勘定科目を設定する際に使用される。予算種類別ユーザグループ階層マスタ106iは、予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び、責任ユーザグループコードデータを含むレコードを格納している。予算種類別ユーザグループ階層マスタ106iは、予算種類ごとに承認フローを設定することができ、責任ユーザグループコードに責任部門となるユーザグループコードを設定し、ユーザグループ所属部門マスタ106eによって部門に変換され部門の申請フローとなる。 The user master 106a stores a record including user ID data and user name data, and is used when setting a login user. The user group master 106b stores records including user group code data and user group name data, and is used when setting the group to which the logged-in user belongs. The user group member master 106c stores records including user ID data and user group code data, and is used when setting the association between the user ID and the user group code. The department master 106d stores records including department code data and department name data, and is used when setting a department. The user group belonging department master 106e stores records including user group code data and department code data, and is used when setting the association between the user group code and the department code. The budget type master 106f stores records including budget type code data and budget type name data, and is used when setting a budget type used for budget compilation. The budget type is a grouping of subjects, and for example, account items, budget items, expense items, and the like can be grouped. The account item master 106g stores records including account item code data and account item name data, and is used when setting an account item. The budget type element master 106h stores records including budget type code data and account item data, and is used when setting an account item that is an element that constitutes a budget type. The budget type-specific user group hierarchy master 106i stores records including budget type code data, hierarchy level data, user group code data, and responsible user group code data. The budget type-specific user group hierarchy master 106i can set the approval flow for each budget type, sets the user group code that is the responsible department in the responsible user group code, and converts it to the department by the user group belonging department master 106e. This is the application flow for the department.

予算編成部門セキュリティテーブル106jは、プログラム処理中に使用されるテーブルであり、プログラム起動時にはレコードは格納されていない。 The budget organization department security table 106j is a table used during program processing, and no record is stored when the program is started.

入出力インターフェース部108には、入力装置112及び出力装置114が接続されている。出力装置114には、画面又はモニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、及びマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114を画面114又はモニタ114とし、入力装置112をキーボード112又はマウス112として記載する場合がある。 An input device 112 and an output device 114 are connected to the input/output interface unit 108. As the output device 114, a speaker or a printer can be used in addition to a screen or monitor (including a home-use television). As the input device 112, a keyboard, a mouse, a microphone, and a monitor that realizes a pointing device function in cooperation with the mouse can be used. In the following, the output device 114 may be described as the screen 114 or the monitor 114, and the input device 112 may be described as the keyboard 112 or the mouse 112.

制御部102は、権限制御装置100を統括的に制御するCPU等である。制御部102は、設定部102a、決定部102b、及び、画面制御部102cを備える。また、制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。 The control unit 102 is a CPU or the like that totally controls the authority control device 100. The control unit 102 includes a setting unit 102a, a determination unit 102b, and a screen control unit 102c. Further, the control unit 102 has an internal memory for storing a control program such as an OS, a program defining various processing procedures, and required data, and various information based on the stored programs. Execute the process.

設定部102aは、予算申請が入力されると、申請された予算の種類に応じて責任部門を設定し、予算申請したユーザが属するグループを下位に、責任部門として設定されたグループを上位に含む階層構造を設定し、設定された階層構造に従って申請フローを設定する。 When the budget application is input, the setting unit 102a sets the responsible department according to the type of budget requested, and includes the group to which the user who applied for the budget belongs in the lower rank and the group set as the responsible department in the higher rank. Set the hierarchical structure and set the application flow according to the set hierarchical structure.

決定部102bは、ユーザグループメンバマスタ106cを参照して、入力されたユーザIDに対応するユーザグループコードデータを取得するグループコード取得手段と、予算種類別ユーザグループ階層マスタ106iを参照して、グループコード取得手段により取得されたユーザグループコードデータに対応する、予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータを取得するデータ取得手段と、データ取得手段によって取得されたデータに基づいて、ユーザが利用可能な予算種類と部門と科目の組み合わせを決定するデータ決定手段と、の機能を備える。 The deciding unit 102b refers to the user group member master 106c, refers to the group code acquisition unit that acquires the user group code data corresponding to the input user ID, and refers to the budget type-specific user group hierarchy master 106i to refer to the group. Based on the data acquisition means for acquiring the budget type code data, the hierarchy level data, and the responsible department user group code data corresponding to the user group code data acquired by the code acquisition means, and the data acquired by the data acquisition means , A data determination means for determining the combination of budget type, department, and subject available to the user.

画面制御部102cは、決定部102bで決定した組み合わせに基づいて、予算種類と部門と科目を入力又は表示させるための画面114を制御する。 The screen control unit 102c controls the screen 114 for inputting or displaying the budget type, department, and subject based on the combination determined by the determination unit 102b.

[3.具体例]
本実施形態の具体例について、図2から図47を参照して説明する。図2から図10は、各種マスタの一例を示す図である。図11から図13は、各種申請フローの一例を示す図である。図14は、処理に使用されるデータテーブルの一例を示す図である。図15は、本実施形態における処理の一例を示すフローチャートである。図16から図47は、本実施形態における処理を説明するための図である。
[3. Concrete example]
A specific example of this embodiment will be described with reference to FIGS. 2 to 47. 2 to 10 are diagrams showing examples of various masters. 11 to 13 are diagrams showing examples of various application flows. FIG. 14 is a diagram showing an example of a data table used for processing. FIG. 15 is a flowchart showing an example of the processing in this embodiment. 16 to 47 are diagrams for explaining the process in this embodiment.

3−1.事前に設定するマスタ
本実施形態では、設定部102aが事前に設定する各種マスタを作成し、各種マスタが記憶部106に格納されている。図2は、ユーザマスタ106aの一例を示す図である。図2に示すように、ユーザマスタ106aは、ユーザIDデータとユーザ名データとを含むレコードを格納し、ログインユーザを設定する際に使用される。ユーザIDデータとして、例えば、「USER1」、「USER2」、「USER3」、及び「USER4」が、ユーザ名データ「○○経理」、「○○総務」、「○○太郎」、及び「○○花子」とそれぞれ紐付けられている。
3-1. Master Set in Advance In this embodiment, the setting unit 102a creates various masters set in advance, and the various masters are stored in the storage unit 106. FIG. 2 is a diagram showing an example of the user master 106a. As shown in FIG. 2, the user master 106a stores a record including user ID data and user name data, and is used when setting a login user. As the user ID data, for example, "USER1", "USER2", "USER3", and "USER4" are user name data "○ Accounting", "○○ General Affairs", "○○ Taro", and "○○". Hanako” is associated with each item.

図3は、ユーザグループマスタ106bの一例を示す図である。図3に示すように、ユーザグループマスタ106bは、ユーザグループコードデータとユーザグループ名データとを含むレコードを格納し、ログインユーザが所属するグループを設定する際に使用される。ユーザグループコードデータとして、例えば、「USERGROUP001」、「USERGROUP002」、「USERGROUP003」、及び「USERGROUP004」が、ユーザグループ名データ「最終責任部門」、「責任部門」、「オペレータ1」、及び「オペレータ2」とそれぞれ紐付けられている。 FIG. 3 is a diagram showing an example of the user group master 106b. As shown in FIG. 3, the user group master 106b stores records including user group code data and user group name data, and is used when setting the group to which the logged-in user belongs. As the user group code data, for example, "USERGROUP001", "USERGROUP002", "USERGROUP003", and "USERGROUP004" are user group name data "final responsible department", "responsible department", "operator 1", and "operator 2". ], respectively.

図4は、ユーザグループメンバマスタ106cの一例を示す図である。図4に示すように、ユーザグループメンバマスタ106cは、ユーザIDデータとユーザグループコードデータとを含むレコードを格納し、ユーザIDとユーザグループコードとの関連付けを設定する際に使用される。ユーザIDデータとして、「USER1」、「USER2」、「USER3」、及び「USER4」が、ユーザグループコードデータ「USERGROUP001」、「USERGROUP002」、「USERGROUP003」、及び「USERGROUP004」と紐付けられている。 FIG. 4 is a diagram showing an example of the user group member master 106c. As shown in FIG. 4, the user group member master 106c stores records including user ID data and user group code data, and is used when setting the association between the user ID and the user group code. As the user ID data, "USER1", "USER2", "USER3", and "USER4" are associated with user group code data "USERGROUP001", "USERGROUP002", "USERGROUP003", and "USERGROUP004".

図5は、部門マスタ106dの一例を示す図である。図5に示すように、部門マスタ106dは、部門コードデータと部門名データとを含むレコードを格納し、部門を設定する際に使用される。部門コードデータとして、例えば、「BUMON1、「BUMON2」、「BUMON3」、及び「BUMON4」が、部門名データ「経理部」、「総務部」、「システム部」、及び「営業部」と紐付けられている。 FIG. 5 is a diagram showing an example of the department master 106d. As shown in FIG. 5, the department master 106d stores records including department code data and department name data, and is used when setting a department. As the department code data, for example, “BUMON1, “BUMON2”, “BUMON3”, and “BUMON4” are associated with department name data “accounting department”, “general affairs department”, “system department”, and “sales department”. Has been.

図6は、ユーザグループ所属部門マスタ106eの一例を示す図である。図6に示すように、ユーザグループ所属部門マスタ106eは、ユーザグループコードデータと部門コードデータとを含むレコードを格納し、ユーザグループコードと部門コードとの関連付けを設定する際に使用される。ユーザグループコードとして、「USERGROUP001」、「USERGROUP002」、「USERGROUP003」、及び「USERGROUP004」が、部門コードデータ「BUMON1、「BUMON2」、「BUMON3」、及び「BUMON4」とそれぞれ紐付けられている。 FIG. 6 is a diagram showing an example of the user group belonging department master 106e. As shown in FIG. 6, the user group belonging department master 106e stores records including user group code data and department code data, and is used when setting the association between the user group code and the department code. As the user group codes, "USERGROUP001", "USERGROUP002", "USERGROUP003", and "USERGROUP004" are respectively associated with department code data "BUMON1, "BUMON2", "BUMON3", and "BUMON4".

図7は、予算種類マスタ106fの一例を示す図である。図7に示すように、予算種類マスタ106fは、予算種類コードデータと予算種類名データと含むレコードを格納し、予算編成に使用する予算種類を設定する際に使用される。なお、予算種類は、科目をグループ化したものであり、例えば、勘定科目、予算科目、費目等をグループ化することができる。予算種類コードデータとしては、例えば、「Y001」、「Y002」、及び「Y003」が、予算種類名データ「営業外損益予算」、「一般管理費予算」、及び「売上高」とそれぞれ紐付いている。 FIG. 7 is a diagram showing an example of the budget type master 106f. As shown in FIG. 7, the budget type master 106f stores records including budget type code data and budget type name data, and is used when setting a budget type used for budget compilation. The budget type is a grouping of subjects, and for example, account items, budget items, expense items, and the like can be grouped. As the budget type code data, for example, “Y001”, “Y002”, and “Y003” are associated with the budget type name data “non-operating profit/loss budget”, “general administrative expense budget”, and “sales”, respectively. There is.

図8は、勘定科目マスタ106gの一例を示す図である。図8に示すように、勘定科目マスタ106gは、勘定科目コードデータと勘定科目名データとを含むレコードを格納し、勘定科目を設定する際に使用される。勘定科目データとして、例えば、「K001」、「K002」、「K003」、「K004」、「K005」、及び「K006」が、勘定科目名「科目A」、「科目B」、「科目C」、「科目D」、「科目E」、及び「科目F」とそれぞれ紐付けられている。 FIG. 8 is a diagram showing an example of the account title master 106g. As shown in FIG. 8, the account item master 106g stores records including account item code data and account item name data, and is used when setting an account item. As the account item data, for example, “K001”, “K002”, “K003”, “K004”, “K005”, and “K006” have account item names “item A”, “item B”, and “item C”. , “Subject D”, “Subject E”, and “Subject F”, respectively.

図9は、予算種類要素マスタ106hの一例を示す図である。図9に示すように、予算種類要素マスタ106hは、予算種類コードデータと勘定科目データとを含むレコードを格納し、予算種類を構成する要素となる勘定科目を設定する際に使用される。 FIG. 9 is a diagram showing an example of the budget type element master 106h. As shown in FIG. 9, the budget type element master 106h stores records including budget type code data and account item data, and is used when setting an account item that is an element that constitutes a budget type.

図10は、予算種類別ユーザグループ階層マスタ106iの一例を示す図である。図10に示すように、予算種類別ユーザグループ階層マスタ106iは、予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び、責任ユーザグループコードデータを含むレコードを格納している。予算種類別ユーザグループ階層マスタ106iは、予算種類ごとに承認フローを設定することができ、責任ユーザグループコードに責任部門となるユーザグループコードを設定し、ユーザグループ所属部門マスタ106eによって部門に変換され部門の申請フローとなる。 FIG. 10 is a diagram showing an example of a budget type-based user group hierarchy master 106i. As shown in FIG. 10, the budget type-specific user group hierarchy master 106i stores records including budget type code data, hierarchy level data, user group code data, and responsible user group code data. The budget type-specific user group hierarchy master 106i can set the approval flow for each budget type, sets the user group code that is the responsible department in the responsible user group code, and converts it to the department by the user group belonging department master 106e. This is the application flow for the department.

次に、申請フローについて説明する。図11は、営業外損益予算の申請フローの一例を示す図である。営業外損益予算の予算種類コードは「Y001」である。図11に示すように、営業外損益予算の申請フローにおいて、申請部門はシステム部等であり、責任部門は経理部である階層構造となる。 Next, the application flow will be described. FIG. 11 is a diagram showing an example of a non-operating profit/loss budget application flow. The budget type code of the non-operating profit/loss budget is “Y001”. As shown in FIG. 11, in the non-operating profit/loss budget application flow, the application department is a system department and the responsible department is an accounting department.

図12は、一般管理費予算の申請フローの一例を示す図である。一般管理費予算の予算種類コードは「Y002」である。図12に示すように、一般管理費予算の申請フローにおいて、申請部門は営業部等であり、責任部門は総務部及び経理部である、複数階層構造となる。 FIG. 12 is a diagram showing an example of an application flow for a general administrative expense budget. The budget type code of the general administrative budget is “Y002”. As shown in FIG. 12, in the general administrative budget budget application flow, the application department is a sales department and the like, and the responsible department is a general affairs department and an accounting department.

図13は、売上高の申請フローの一例を示す図である。売上高の予算種類コードは「Y003」である。図13に示すように、売上高の申請フローにおいて、申請部門は経理部及び営業部等であり、責任部門は総務部及び経理部である、複数階層構造となる。 FIG. 13 is a diagram showing an example of a sales application flow. The budget type code for the sales amount is “Y003”. As shown in FIG. 13, in the sales application flow, the application department is the accounting department, the sales department, etc., and the responsible department is the general affairs department and the accounting department.

3−2.プログラム処理中に使用されるテーブル
続いて、プログラム処理中に使用されるテーブルについて説明する。図14は、予算編成部門セキュリティテーブルの一例を示す図である。図14に示すように、予算編成部門セキュリティテーブルは、ログイン用ユーザグループデータ、部門変換用ユーザグループデータ、予算種類コードデータ、及び部門コードデータを含むレコードを格納することができる。予算編成部門セキュリティテーブルは、プログラム処理中に使用されるテーブルであり、プログラム起動時にはレコードは格納されていない。
3-2. Table Used During Program Processing Next, a table used during program processing will be described. FIG. 14 is a diagram showing an example of the budget formation department security table. As shown in FIG. 14, the budget organization department security table can store records including login user group data, department conversion user group data, budget type code data, and department code data. The budget formation department security table is a table used during program processing, and no record is stored when the program is started.

3−3.システム制御の流れ
次に、本実施形態におけるシステム制御の流れについて説明する。図15は、本実施形態に係る権限制御装置100の処理の一例を示すフローチャートである。図15に示すように、ステップS1では、決定部102bが、ログインユーザIDにてユーザグループメンバマスタ106cを検索し、ユーザグループコードを取得する。
次に、ステップS2では、決定部102bが、ステップS1で取得したユーザグループコードにて予算種類別ユーザグループ階層マスタ106iを検索し、該当するレコードを取得する。
次に、ステップS3では、決定部102bが、ステップS2で取得したレコードを予算編成部門セキュリティテーブル106jへ追加する。
続いて、ステップS4では、決定部102bが、予算種類別ユーザグループ階層マスタ106iに対してレコードを検索し、階層レベルデータがステップS2で取得したレコードの階層レベルデータ以上の値であり、かつ、責任ユーザグループコードにステップS2で取得したユーザグループコードが設定されているレコードを再取得する。
次に、ステップS5では、決定部102bが、予算編成部門セキュリティテーブル106jに対して、ステップS1で取得したユーザグループコードをログイン用ユーザグループとして設定し、ステップS2で取得したレコードに含まれるユーザグループコードを部門変換用ユーザグループとして設定し、ステップS2で取得したレコードに含まれる予算種類コードを予算種類コードとして設定し、部門変換用ユーザグループでユーザグループ所属部門マスタ106eを検索して部門コードを取得し、取得した部門コードを予算編成部門セキュリティテーブル106jに更新する。
ステップS6では、決定部102bが、ステップS5で設定された予算種類コードにて予算種類要素マスタ106hを検索し、ステップS5で設定された予算種類コードと同じ予算種類コードを含むレコードから勘定科目コードを取得する。
最後に、ステップS7では、画面制御部102cが、予算編成部門セキュリティテーブル106jに存在する予算種類コード及び部門コードと、ステップS6で取得した勘定科目コードとに対応する、予算種類、部門、及び科目の組み合わせのみ扱えるように画面114を制御する。
3-3. System Control Flow Next, the system control flow in this embodiment will be described. FIG. 15 is a flowchart showing an example of processing of the authority control device 100 according to this embodiment. As shown in FIG. 15, in step S1, the determination unit 102b searches the user group member master 106c with the login user ID and acquires the user group code.
Next, in step S2, the determination unit 102b searches the budget type-specific user group hierarchy master 106i with the user group code acquired in step S1 and acquires the corresponding record.
Next, in step S3, the determination unit 102b adds the record acquired in step S2 to the budget organization department security table 106j.
Subsequently, in step S4, the determination unit 102b searches for a record in the budget type-specific user group hierarchy master 106i, the hierarchy level data is a value equal to or higher than the hierarchy level data of the record acquired in step S2, and A record in which the user group code acquired in step S2 is set as the responsible user group code is acquired again.
Next, in step S5, the determination unit 102b sets the user group code acquired in step S1 as a login user group in the budget organization department security table 106j, and the user group included in the record acquired in step S2. The code is set as the department conversion user group, the budget type code included in the record obtained in step S2 is set as the budget type code, and the user group belonging department master 106e is searched in the department conversion user group to obtain the department code. The acquired department code is updated to the budget formation department security table 106j.
In step S6, the determination unit 102b searches the budget type element master 106h with the budget type code set in step S5, and selects the account item code from the record including the same budget type code as the budget type code set in step S5. To get.
Finally, in step S7, the screen control unit 102c causes the budget type, department, and item corresponding to the budget type code and department code existing in the budget organization department security table 106j and the account item code acquired in step S6. The screen 114 is controlled so that only the combination of

3−3−1.○○太郎がログインした場合
次に、本実施形態に係る権限制御装置100において、システム部のオペレータである○○太郎(ユーザID「USER3」)がログインした場合の処理の一例を説明する。図16は、ユーザグループメンバマスタ106cの一例を示す図である。図17は、予算種類別ユーザグループ階層マスタ106iの一例を示す図である。図18及び図20は、予算編成部門セキュリティテーブル106jの一例を示す図である。図19は、ユーザグループ所属部門マスタ106eの一例を示す図である。図21は、予算種類要素マスタ106hの一例を示す図である。図22は、予算入力画面114の一例を示す図である。
3-3-1. When Taro XX logs in Next, an example of processing when Taro XX (user ID “USER3”) who is an operator of the system unit in the authority control device 100 according to the present embodiment logs in will be described. FIG. 16 is a diagram showing an example of the user group member master 106c. FIG. 17 is a diagram showing an example of the budget type-based user group hierarchy master 106i. 18 and 20 are diagrams showing an example of the budget compilation department security table 106j. FIG. 19 is a diagram showing an example of the user group belonging department master 106e. FIG. 21 is a diagram showing an example of the budget type element master 106h. FIG. 22 is a diagram showing an example of the budget input screen 114.

ステップS1では、図16に示すように、ログインユーザID「USER3」にて、ユーザグループメンバマスタ106cを検索し、「USER3」を含むレコードM1からユーザグループコード「USERGROUP003」を取得する。
次に、ステップS2では、図17に示すように、ステップS1で取得したユーザグループコード「USERGROUP003」にて、予算種類別ユーザグループ階層マスタ106iを検索し、「USERGROUP003」を含むレコードM2を取得する。
次に、図18に示すように、ステップS3では、ステップS2で取得したレコードM2を予算編成部門セキュリティテーブル106jへ追加する(M3)。
さらに、ステップS4では、予算種類別ユーザグループ階層マスタ106iに対して、ステップS2で取得したレコードM2の階層レベル「20」以上、かつ、責任ユーザグループコードに「USERGROUP003」が設定されているレコードを検索するが、図17に示すように、該当するレコードはない。
ステップS5では、図19に示すように、図18に示した予算編成部門セキュリティテーブル106jのレコードM3に含まれる部門変換用ユーザグループ「USERGROUP003」にて、ユーザグループ所属部門マスタ106eを検索し、「USERGROUP003」を含むレコードM4から部門コード「BUMON3」を取得し、図20に示すように、取得した部門コード「BUMON3」を予算編成部門セキュリティテーブル106jに更新する。
ステップS6では、図21に示すように、ステップS5で設定された予算種類コード「Y001」にて予算種類要素マスタ106hを検索し、予算種類コード「Y001」を含むレコードM6から勘定科目コード「K001」、「K002」、及び「K003」を取得する。
最後に、ステップS7では、図22に示すように、図20の予算編成部門セキュリティテーブル106jに存在する予算種類コード「Y001」及び部門コード「BUMON3」と、ステップS6で取得した勘定科目コード「K001」、「K002」、及び「K003」とに対応する、予算科目、部門、及び科目の組み合わせのみ扱えるように予算入力画面114を制御する。
In step S1, as shown in FIG. 16, the login user ID “USER3” is searched for the user group member master 106c, and the user group code “USERGROUP003” is acquired from the record M1 including “USER3”.
Next, in step S2, as shown in FIG. 17, the user group code “USERGROUP003” acquired in step S1 is searched for the budget type-specific user group hierarchy master 106i, and a record M2 including “USERGROUP003” is acquired. ..
Next, as shown in FIG. 18, in step S3, the record M2 acquired in step S2 is added to the budget organization department security table 106j (M3).
Further, in step S4, for the budget type-specific user group hierarchy master 106i, a record in which the hierarchy level “20” or higher of the record M2 acquired in step S2 and the responsible user group code set to “USERGROUP003” are set. Although it is searched, there is no corresponding record as shown in FIG.
In step S5, as shown in FIG. 19, the user group belonging department master 106e is searched for in the department conversion user group “USERGROUP003” included in the record M3 of the budget organization department security table 106j shown in FIG. The department code “BUMON3” is acquired from the record M4 including USERGROUP003, and the acquired department code “BUMON3” is updated in the budget compilation department security table 106j as shown in FIG.
In step S6, as shown in FIG. 21, the budget type code “Y001” set in step S5 is searched for the budget type element master 106h, and the account item code “K001” is calculated from the record M6 including the budget type code “Y001”. , “K002”, and “K003” are acquired.
Finally, in step S7, as shown in FIG. 22, the budget type code “Y001” and the department code “BUMON3” existing in the budget organization department security table 106j in FIG. 20 and the account title code “K001” acquired in step S6. , "K002", and "K003", the budget input screen 114 is controlled so that only a combination of budget items, departments, and subjects can be handled.

3−3−2.○○花子がログインした場合
次に、本実施形態に係る権限制御装置100において、営業部のオペレータである○○花子(ユーザID「USER4」)がログインした場合の処理の一例について説明する。図23は、ユーザグループメンバマスタ106cの一例を示す図である。図24は、予算種類別ユーザグループ階層マスタ106iの一例を示す図である。図25及び図27は、予算編成部門セキュリティテーブル106jの一例を示す図である。図26は、ユーザグループ所属部門マスタ106eの一例を示す図である。図28は、予算種類要素マスタ106hの一例を示す図である。図29は、予算入力画面114の一例を示す図である。
3-3-2. When Hanako ○○ logs in Next, in the authority control device 100 according to the present embodiment, an example of processing when Hanako ○○ (user ID “USER4”) who is the operator of the sales department logs in will be described. FIG. 23 is a diagram showing an example of the user group member master 106c. FIG. 24 is a diagram showing an example of the user group hierarchy master 106i for each budget type. 25 and 27 are diagrams showing an example of the budget compilation department security table 106j. FIG. 26 is a diagram showing an example of the user group belonging department master 106e. FIG. 28 is a diagram showing an example of the budget type element master 106h. FIG. 29 is a diagram showing an example of the budget input screen 114.

ステップS1では、図23に示すように、ログインユーザID「USER4」にて、ユーザグループメンバマスタ106cを検索し、「USER4」を含むレコードM7からユーザグループコード「USERGROUP004」を取得する。
次に、ステップS2では、図24に示すように、ステップS1で取得したユーザグループコード「USERGROUP004」にて、予算種類別ユーザグループ階層マスタ106iを検索し、「USERGROUP004」を含むレコードM8及びM9を取得する。
次に、ステップS3では、図25に示すように、ステップS2で取得したレコードM8及びM9を予算編成部門セキュリティテーブル106jへ追加する(M10)。
さらに、ステップS4では、予算種類別ユーザグループ階層マスタ106iに対して、ステップS2で取得したレコードM8及びM9の階層レベル「30」以上、かつ、責任ユーザグループコードに「USERGROUP004」が設定されているレコードを検索するが、図24に示すように、該当するレコードはない。
ステップS5では、図26に示すように、図25に示した予算編成部門セキュリティテーブル106jのレコードM10に含まれる部門変換用ユーザグループ「USERGROUP004」にて、ユーザグループ所属部門マスタ106eを検索し、「USERGROUP004」を含むレコードM11から部門コード「BUMON4」を取得し、図27に示すように、取得した部門コード「BUMON4」を予算編成部門セキュリティテーブル106jに更新する。
ステップS6では、図28に示すように、ステップS5で設定された予算種類コード「Y002」及び「Y003」にて予算種類要素マスタ106hを検索し、予算種類コード「Y002」を含むレコードM12から勘定科目コード「K004」、「K005」、及び「K006」を、予算種類コード「Y003」を含むレコードM13から勘定科目コード「K007」、「K008」、及び「K009」を取得する。
最後に、ステップS7では、図29に示すように、図27の予算編成部門セキュリティテーブル106jに存在する予算種類コード「Y002」及び「Y003」と、部門コード「BUMON3」と、予算種類コード「Y002」に対してステップS6で取得した勘定科目コード「K004」、「K005」、及び「K006」と、予算種類コード「Y003」に対してステップS6で取得した勘定科目コード「K007」、「K008」、及び「K009」とに対応する、予算科目、部門、及び科目の組み合わせのみ扱えるように予算入力画面114を制御する。すなわち、予算種類に「Y002」が指定された場合、科目は「K004」、「K005」、及び「K006」のみ利用できる。また、予算種類に「Y003」が指定された場合、科目は「K007」、「K008」、及び「K009」のみ利用できる。
In step S1, as shown in FIG. 23, the login user ID “USER4” is searched for the user group member master 106c, and the user group code “USERGROUP004” is acquired from the record M7 including “USER4”.
Next, in step S2, as shown in FIG. 24, the user group code "USERGROUP004" acquired in step S1 is searched for the budget type-specific user group hierarchy master 106i, and records M8 and M9 including "USERGROUP004" are searched. get.
Next, in step S3, as shown in FIG. 25, the records M8 and M9 acquired in step S2 are added to the budget organization department security table 106j (M10).
Furthermore, in step S4, the hierarchy level "30" or higher of the records M8 and M9 acquired in step S2 and the responsible user group code "USERGROUP004" are set for the budget type-specific user group hierarchy master 106i. Although a record is searched, there is no corresponding record as shown in FIG.
In step S5, as shown in FIG. 26, the department conversion user group “USERGROUP004” included in the record M10 of the budget formation department security table 106j shown in FIG. 25 is searched for the user group belonging department master 106e, and “ The department code "BUMON4" is acquired from the record M11 including "USERGROUP004", and the acquired department code "BUMON4" is updated in the budget compilation department security table 106j as shown in FIG.
In step S6, as shown in FIG. 28, the budget type element master 106h is searched with the budget type codes “Y002” and “Y003” set in step S5, and the account is recorded from the record M12 including the budget type code “Y002”. The account code “K004”, “K005”, and “K006” and the account item codes “K007”, “K008”, and “K009” are acquired from the record M13 including the budget type code “Y003”.
Finally, in step S7, as shown in FIG. 29, the budget type codes “Y002” and “Y003” existing in the budget organization department security table 106j of FIG. 27, the department code “BUMON3”, and the budget type code “Y002”. For the account type codes “K004”, “K005”, and “K006” obtained in step S6, and the account type codes “K007”, “K008” obtained in step S6 for the budget type code “Y003”. , And “K009”, the budget input screen 114 is controlled so that only a combination of budget items, departments, and subjects can be handled. That is, when “Y002” is designated as the budget type, only “K004”, “K005”, and “K006” can be used as subjects. When "Y003" is designated as the budget type, only "K007", "K008", and "K009" can be used as subjects.

3−3−3.○○総務がログインした場合
次に、本実施形態に係る権限制御装置100において、○○総務(ユーザID「USER2」)がログインした場合の処理の一例について説明する。図30は、ユーザグループメンバマスタ106cの一例を示す図である。図31及び図33は、予算種類別ユーザグループ階層マスタ106iの一例を示す図である。図32、図34、及び図36は、予算編成部門セキュリティテーブル106jの一例を示す図である。図35は、ユーザグループ所属部門マスタ106eの一例を示す図である。図37は、予算種類要素マスタ106hの一例を示す図である。図38は、予算入力画面114の一例を示す図である。
3-3-3. When XX General Affairs Logs In Next, an example of processing when XX general affairs (user ID “USER2”) logs in in the authority control device 100 according to the present embodiment will be described. FIG. 30 is a diagram showing an example of the user group member master 106c. 31 and 33 are diagrams showing an example of the budget type-specific user group hierarchy master 106i. 32, 34, and 36 are diagrams showing an example of the budget compilation department security table 106j. FIG. 35 is a diagram illustrating an example of the user group belonging department master 106e. FIG. 37 is a diagram showing an example of the budget type element master 106h. FIG. 38 is a diagram showing an example of the budget input screen 114.

ステップS1では、図30に示すように、ログインユーザID「USER2」にて、ユーザグループメンバマスタ106cを検索し、「USER2」を含むレコードM14からユーザグループコード「USERGROUP002」を取得する。
次に、ステップS2では、図31に示すように、ステップS1で取得したユーザグループコード「USERGROUP002」にて、予算種類別ユーザグループ階層マスタ106iを検索し、「USERGROUP002」を含むレコードM15及びM16を取得する。
次に、ステップS3では、図32に示すように、ステップS2で取得したレコードM15及びM16を予算編成部門セキュリティテーブル106jへ追加する(M17)。
さらに、ステップS4では、図33に示すように、予算種類別ユーザグループ階層マスタ106iに対して、ステップS2で取得したレコードM15及びM16の階層レベル「20」以上、かつ、責任ユーザグループコードに「USERGROUP002」が設定されているレコードを検索し、該当するレコードM18及びM19を再取得し、図34に示すように、予算編成部門セキュリティテーブル106jにレコードM20として追加する。
ステップS5では、図35に示すように、図34に示した予算編成部門セキュリティテーブル106jのレコードM17及びM20に含まれる部門変換用ユーザグループ「USERGROUP001」、「USERGROUP002」、及び「USERGROUP004」にて、ユーザグループ所属部門マスタ106eを検索し、「USERGROUP001」、及び「USERGROUP002」を含むレコードM21から部門コード「BUMON1」、及び「BUMON2」を取得し、「USERGROUP004」を含むレコードM22から部門コード「BUMON4」を取得し、図36に示すように、取得した部門コード「BUMON1」、「BUMON2」、及び「BUMON4」をそれぞれ予算編成部門セキュリティテーブル106jに更新する。
ステップS6では、図37に示すように、ステップS5で設定された予算種類コード「Y002」及び「Y003」にて予算種類要素マスタ106hを検索し、予算種類コード「Y002」を含むレコードM24から勘定科目コード「K004」、「K005」、及び「K006」を、予算種類コード「Y003」を含むレコードM25から勘定科目コード「K007」、「K008」、及び「K009」を取得する。
最後に、ステップS7では、図38に示すように、図36の予算編成部門セキュリティテーブル106jに存在する予算種類コード「Y002」及び「Y003」にそれぞれ対応する部門コードと勘定科目コードの組み合わせに基づいて、予算入力画面114を制御する。すなわち、予算種類コード「Y002」が指定された場合は、部門コード「BUMON2」及び「BUMON4」と、ステップS6で取得した勘定科目コード「K004」、「K005」、及び「K006」とに対応する、予算科目、部門、及び科目の組み合わせのみ利用できる。また、予算種類コード「Y003」が指定された場合は、部門コード「BUMON1」、「BUMON2」、及び「BUMON4」と、ステップS6で取得した勘定科目コード「K007」、「K008」、及び「K009」とに対応する、予算科目、部門、及び科目の組み合わせのみ利用できる。
In step S1, as shown in FIG. 30, the login user ID “USER2” is searched for the user group member master 106c, and the user group code “USERGROUP002” is acquired from the record M14 including “USER2”.
Next, in step S2, as shown in FIG. 31, the user group code “USERGROUP002” acquired in step S1 is searched for the budget type-specific user group hierarchy master 106i, and records M15 and M16 including “USERGROUP002” are searched. get.
Next, in step S3, as shown in FIG. 32, the records M15 and M16 acquired in step S2 are added to the budget organization department security table 106j (M17).
Further, in step S4, as shown in FIG. 33, with respect to the budget type-specific user group hierarchy master 106i, the hierarchy level “20” or higher of the records M15 and M16 acquired in step S2 and the responsible user group code are “. A record in which "USERGROUP002" is set is searched, and the corresponding records M18 and M19 are reacquired and added as a record M20 to the budget compilation department security table 106j as shown in FIG.
In step S5, as shown in FIG. 35, in the department conversion user groups “USERGROUP001”, “USERGROUP002”, and “USERGROUP004” included in the records M17 and M20 of the budget organization department security table 106j shown in FIG. 34, The user group belonging department master 106e is searched, the department codes "BUMON1" and "BUMON2" are acquired from the record M21 including "USERGROUP001" and "USERGROUP002", and the department code "BUMON4" is acquired from the record M22 including "USERGROUP004". 36, the acquired department codes “BUMON1”, “BUMON2”, and “BUMON4” are respectively updated in the budget organization department security table 106j.
In step S6, as shown in FIG. 37, the budget type element master 106h is searched with the budget type codes “Y002” and “Y003” set in step S5, and the account is recorded from the record M24 including the budget type code “Y002”. The account code “K004”, “K005”, and “K006” and the account code “K007”, “K008”, and “K009” are acquired from the record M25 including the budget type code “Y003”.
Finally, in step S7, as shown in FIG. 38, based on the combination of the department code and the account item code respectively corresponding to the budget type codes “Y002” and “Y003” existing in the budget organization department security table 106j of FIG. Then, the budget input screen 114 is controlled. That is, when the budget type code “Y002” is specified, it corresponds to the department codes “BUMON2” and “BUMON4” and the account item codes “K004”, “K005”, and “K006” acquired in step S6. , Only budget subjects, departments, and subject combinations are available. If the budget type code “Y003” is designated, the department codes “BUMON1”, “BUMON2”, and “BUMON4”, and the account item codes “K007”, “K008”, and “K009” acquired in step S6. Only the combination of budget subject, department, and subject corresponding to "" can be used.

3−3−4.○○経理がログインした場合
次に、本実施形態に係る権限制御装置100において、○○経理(ユーザID「USER1」)がログインした場合の処理の一例について説明する。なお、本実施形態では経理部は全ての予算を参照できるように設定する。図39は、ユーザグループメンバマスタ106cの一例を示す図である。図40及び図42−1は、予算種類別ユーザグループ階層マスタ106iの一例を示す図である。図41、図43、及び図45は、予算編成部門セキュリティテーブル106jの一例を示す図である。図42−2は、予算種類別ユーザグループ階層マスタデータテーブルのレコード再取得を説明するための図である。図44は、ユーザグループ所属部門マスタ106eの一例を示す図である。図46は、予算種類要素マスタ106hの一例を示す図である。図47は、予算入力画面114の一例を示す図である。
3-3-4. When XX Accounting Logs In Next, an example of processing when XX accounting (user ID “USER1”) logs in in the authority control device 100 according to the present embodiment will be described. In this embodiment, the accounting department is set so that it can refer to all budgets. FIG. 39 is a diagram showing an example of the user group member master 106c. 40 and 42-1 are diagrams showing an example of the budget type-specific user group hierarchy master 106i. 41, 43, and 45 are diagrams showing an example of the budget compilation department security table 106j. FIG. 42-2 is a diagram for explaining record reacquisition of the user group hierarchy master data table by budget type. FIG. 44 is a diagram illustrating an example of the user group belonging department master 106e. FIG. 46 is a diagram showing an example of the budget type element master 106h. FIG. 47 is a diagram showing an example of the budget input screen 114.

ステップS1では、図39に示すように、ログインユーザID「USER1」にて、ユーザグループメンバマスタ106cを検索し、「USER1」を含むレコードM26からユーザグループコード「USERGROUP001」を取得する。
次に、ステップS2では、図40に示すように、ステップS1で取得したユーザグループコード「USERGROUP001」にて、予算種類別ユーザグループ階層マスタ106iを検索し、「USERGROUP001」を含むレコードM27からM30を取得する。
次に、ステップS3では、図41に示すように、ステップS2で取得したレコードM27からM30を予算編成部門セキュリティテーブル106jへ追加する(M31)。
ここで、本実施形態では、経理部は全ての予算を参照できるように設定する。
そこで、ステップS4では、図42−1に示すように、予算種類別ユーザグループ階層マスタ106iに対して、ステップS2で取得したレコードM27からM30に基づいて、階層レベル「10」以上、かつ、責任ユーザグループコードに「USERGROUP001」が設定されているレコードを検索し、該当するレコードを再取得する。
ここで、図42−2に示すように、責任ユーザグループコードに「USERGROUP001」が設定されているレコードとは、ユーザグループコードに「USERGROUP002」が設定されているレコードであり、続いて、責任ユーザグループコードに「USERGROUP002」が設定されているレコードを再取得する。責任ユーザグループコードに「USERGROUP002」が設定されているレコードとは、ユーザグループコードに「USERGROUP003」が設定されているレコードであり、続いて、責任ユーザグループコードに「USERGROUP003」が設定されているレコードを再取得する。上記を繰り返すことにより、図42−1のレコードM32からM35を再取得し、図43に示すように、予算編成部門セキュリティテーブル106jにレコードM36として追加する。なお、責任ユーザグループコードに「USERGROUP001」が設定されているレコードは、責任部門が経理部であることを意味し、責任ユーザグループコードに「USERGROUP002」が設定されているレコードは、責任部門が総務部であることを意味する。
ステップS5では、図44に示すように、図43に示した予算編成部門セキュリティテーブル106jのレコードM31及びM36に含まれる部門変換用ユーザグループ「USERGROUP001」、「USERGROUP002」、「USERGROUP003」、及び「USERGROUP004」にて、ユーザグループ所属部門マスタ106eを検索し、レコードM37から部門コード「BUMON1」、「BUMON2」、「BUMON3」、及び「BUMON4」を取得し、図45に示すように、取得した部門コード「BUMON1」、「BUMON2」、BUMON3」、及び「BUMON4」をそれぞれ予算編成部門セキュリティテーブル106jに更新する(M38)。
ステップS6では、図46に示すように、ステップS5で設定された予算種類コード「Y001」、「Y002」及び「Y003」にて予算種類要素マスタ106hを検索し、予算種類コード「Y001」を含むレコードM39から勘定科目コード「K001」、「K002」、及び「K003」を、予算種類コード「Y002」を含むレコードM40から勘定科目コード「K004」、「K005」、及び「K006」を、予算種類コード「Y003」を含むレコードM41から勘定科目コード「K007」、「K008」、及び「K009」を取得する。
最後に、ステップS7では、図47に示すように、図45の予算編成部門セキュリティテーブル106jに存在する予算種類コード「Y001」、「Y002」、及び「Y003」にそれぞれ対応する部門コードと勘定科目コードの組み合わせに基づいて、予算入力画面114を制御する。すなわち、予算種類コード「Y001」が指定された場合は、部門コード「BUMON1」及び「BUMON3」と、ステップS6で取得した勘定科目コード「K001」、「K002」、及び「K003」とに対応する、予算科目、部門、及び科目の組み合わせのみ利用できる。予算種類コード「Y002」が指定された場合は、部門コード「BUMON1」、「BUMON2」、及び「BUMON4」と、ステップS6で取得した勘定科目コード「K004」、「K005」、及び「K006」とに対応する、予算科目、部門、及び科目の組み合わせのみ利用できる。また、予算種類コード「Y003」が指定された場合は、部門コード「BUMON1」、「BUMON2」、及び「BUMON4」と、ステップS6で取得した勘定科目コード「K007」、「K008」、及び「K009」とに対応する、予算科目、部門、及び科目の組み合わせのみ利用できる。
In step S1, as shown in FIG. 39, the login user ID “USER1” is searched for the user group member master 106c, and the user group code “USERGROUP001” is acquired from the record M26 including “USER1”.
Next, in step S2, as shown in FIG. 40, the user group code "USERGROUP001" acquired in step S1 is searched for the budget type-specific user group hierarchy master 106i, and records M27 to M30 including "USERGROUP001" are searched. get.
Next, in step S3, as shown in FIG. 41, the records M27 to M30 acquired in step S2 are added to the budget organization department security table 106j (M31).
Here, in this embodiment, the accounting section is set so that all budgets can be referred to.
Therefore, in step S4, as shown in FIG. 42-1 with respect to the budget type-specific user group hierarchy master 106i, based on the records M27 to M30 acquired in step S2, the hierarchy level is “10” or higher, and the responsibility is set. A record in which "USERGROUP001" is set in the user group code is searched, and the corresponding record is acquired again.
Here, as shown in FIG. 42-2, the record in which the responsible user group code is set to “USERGROUP001” is a record in which the user group code is set to “USERGROUP002”, and then the responsible user. A record in which "USERGROUP002" is set in the group code is acquired again. A record in which "USERGROUP002" is set in the responsible user group code is a record in which "USERGROUP003" is set in the user group code, and subsequently, a record in which "USERGROUP003" is set in the responsible user group code. To get again. By repeating the above, the records M32 to M35 of FIG. 42-1 are reacquired, and as shown in FIG. 43, added to the budget compilation department security table 106j as a record M36. Note that a record in which the responsible user group code is set to “USERGROUP001” means that the responsible department is the accounting department, and a record in which the responsible user group code is set to “USERGROUP002” indicates that the responsible department is in charge of general affairs. Means a part.
In step S5, as shown in FIG. 44, department conversion user groups “USERGROUP001”, “USERGROUP002”, “USERGROUP003”, and “USERGROUP004” included in the records M31 and M36 of the budget organization department security table 106j shown in FIG. 43. , The user group belonging department master 106e is searched for, and the department codes “BUMON1”, “BUMON2”, “BUMON3”, and “BUMON4” are acquired from the record M37, and the acquired department codes are obtained as shown in FIG. “BUMON1”, “BUMON2”, BUMON3”, and “BUMON4” are updated in the budget compilation department security table 106j (M38).
In step S6, as shown in FIG. 46, the budget type element master 106h is searched with the budget type codes "Y001", "Y002" and "Y003" set in step S5, and the budget type code "Y001" is included. Account item codes “K001”, “K002”, and “K003” from record M39, account item codes “K004”, “K005”, and “K006” from record M40 including budget type code “Y002” Account item codes “K007”, “K008”, and “K009” are acquired from the record M41 including the code “Y003”.
Finally, in step S7, as shown in FIG. 47, department codes and account items respectively corresponding to the budget type codes “Y001”, “Y002”, and “Y003” existing in the budget compilation department security table 106j of FIG. 45. The budget input screen 114 is controlled based on the combination of codes. That is, when the budget type code “Y001” is designated, it corresponds to the department codes “BUMON1” and “BUMON3” and the account item codes “K001”, “K002”, and “K003” acquired in step S6. Only budget, budget, department, and subject combinations can be used. If the budget type code “Y002” is designated, the department codes “BUMON1”, “BUMON2”, and “BUMON4” and the account item codes “K004”, “K005”, and “K006” acquired in step S6 Only combinations of budget subjects, departments, and subjects that correspond to are available. If the budget type code “Y003” is designated, the department codes “BUMON1”, “BUMON2”, and “BUMON4”, and the account item codes “K007”, “K008”, and “K009” acquired in step S6. Only the combination of budget subject, department, and subject corresponding to "and" can be used.

[4.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[4. Other Embodiments]
The present invention may be implemented in various different embodiments within the scope of the technical idea described in the claims other than the above-described embodiments.

例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部又は一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部又は一部を公知の方法で自動的に行うこともできる。 For example, of the processes described in the embodiments, all or part of the processes described as being automatically performed may be manually performed, or all the processes described as manually performed may be performed. Alternatively, a part thereof can be automatically performed by a known method.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, unless otherwise specified, processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions for each processing, screen examples, and database configurations shown in this specification and the drawings are excluded. Can be changed arbitrarily.

また、権限制御装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Further, regarding the authority control device 100, the constituent elements shown in the drawings are functionally conceptual ones, and do not necessarily have to be physically configured as illustrated.

例えば、権限制御装置100が備える処理機能、特に制御部にて行われる各処理機能については、その全部又は任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて権限制御装置100に機械的に読み取られる。すなわち、ROM又はHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。 For example, the processing functions of the authority control device 100, particularly the respective processing functions performed by the control unit, may be realized in whole or in part by a CPU and a program interpreted and executed by the CPU. Alternatively, the hardware may be realized by wired logic. The program is recorded in a non-transitory computer-readable recording medium that includes programmed instructions for causing the information processing apparatus to execute the processing described in the present embodiment, and if necessary, the authority control device. Mechanically read to 100. That is, in a storage unit such as a ROM or a hard disk drive (HDD), a computer program for giving a command to the CPU in cooperation with the OS and performing various processes is recorded. This computer program is executed by being loaded in the RAM, and constitutes a control unit in cooperation with the CPU.

また、このコンピュータプログラムは、権限制御装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部又は一部をダウンロードすることも可能である。 Further, this computer program may be stored in an application program server connected to the authority control device 100 via an arbitrary network, and it is possible to download all or a part of it as necessary. is there.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD−ROM(Compact Disk Read Only Memory)、MO(Magneto−Optical disk)、DVD(Digital Versatile Disk)、および、Blu−ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 Further, the program for executing the processing described in the present embodiment may be stored in a non-transitory computer-readable recording medium, or may be configured as a program product. Here, the “recording medium” includes a memory card, a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), and an EEPROM (registered). (Trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical disk), MO (Magneto-Optical disk), etc. It shall include any "portable physical medium".

また、「プログラム」とは、任意の言語又は記述方法にて記述されたデータ処理方法であり、ソースコード又はバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 The "program" is a data processing method described in any language or description method, and may be in any format such as source code or binary code. Note that the "program" is not necessarily limited to a single configuration, and it achieves its function in cooperation with a distributed configuration of a plurality of modules and libraries, and a separate program represented by an OS. Including things. Note that known configurations and procedures can be used for the specific configuration and reading procedure for reading the recording medium in each device shown in the embodiment, and the installation procedure after reading.

記憶部に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、及び、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、及び、ウェブページ用ファイル等を格納する。 Various databases and the like stored in the storage unit are storage devices such as RAM, ROM and other memory devices, hard disk and other fixed disk devices, flexible disks, and optical disks, and are used for various processes and website provision. It stores programs, tables, databases, files for web pages, etc.

また、権限制御装置100は、既知のパーソナルコンピュータ又はワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、権限制御装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラム又はデータ等を含む)を実装することにより実現してもよい。 The authority control device 100 may be configured as an information processing device such as a known personal computer or workstation, or may be configured as the information processing device to which any peripheral device is connected. Further, the authority control device 100 may be realized by installing software (including a program, data, or the like) for realizing the processing described in the present embodiment in the device.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部又は一部を、各種の付加等に応じて又は機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Further, the specific form of the device dispersion/integration is not limited to that shown in the drawings, and all or part of the device may be functionally or physically arranged in arbitrary units according to various additions or functional loads. It can be distributed and integrated. That is, the embodiments described above may be implemented in any combination, or the embodiments may be selectively implemented.

本発明は、特に、予算編成業務などにおいて有用である。 The present invention is particularly useful for budgeting work and the like.

100 権限制御装置
102 制御部
102a 設定部
102b 決定部
102c 画面制御部
104 通信インターフェース部
106 記憶部
106a ユーザマスタ
106b ユーザグループマスタ
106c ユーザグループメンバマスタ
106d 部門マスタ
106e ユーザグループ所属部門マスタ
106f 予算種類マスタ
106g 勘定科目マスタ
106h 予算種類要素マスタ
106i 予算種類別ユーザグループ階層マスタ
106j 予算編成部門セキュリティテーブル
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
100 authority control device 102 control unit 102a setting unit 102b determining unit 102c screen control unit 104 communication interface unit 106 storage unit 106a user master 106b user group master 106c user group member master 106d department master 106e user group belonging department master 106f budget type master 106g Account item master 106h Budget type element master 106i Budget type user group hierarchy master 106j Budget organization department security table 108 Input/output interface 112 Input device 114 Output device 200 Server 300 Network

Claims (7)

制御部及び記憶部を備えた権限制御装置であって、
前記記憶部は、
ユーザIDデータ及びユーザグループコードデータを含むレコードを格納する第1のマスタデータテーブルと、
予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び責任部門ユーザグループコードデータを含むレコードを格納する第2のマスタデータテーブルと、
を格納し、
前記制御部は、
第1のマスタデータテーブルを参照して、入力されたユーザIDに対応するユーザグループコードデータを取得するグループコード取得手段と、
第2のマスタデータテーブルを参照して、前記取得されたユーザグループコードデータに対応する、予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータを取得するデータ取得手段と、
前記データ取得手段によって取得されたデータに基づいて、ユーザが利用可能な予算種類と部門と科目の組み合わせを決定するデータ決定手段と、
前記データ決定手段で決定した組み合わせに基づいて、予算種類と部門と科目を入力又は表示させるための画面を制御する画面制御手段と、
を備える、
ことを特徴とする権限制御装置。
An authority control device including a control unit and a storage unit,
The storage unit is
A first master data table storing records including user ID data and user group code data;
A second master data table for storing records including budget type code data, hierarchy level data, user group code data, and responsible department user group code data;
Store
The control unit is
Group code acquisition means for acquiring user group code data corresponding to the input user ID by referring to the first master data table,
Data acquisition means for acquiring budget type code data, hierarchy level data, and responsible department user group code data corresponding to the acquired user group code data by referring to the second master data table;
Data determination means for determining a combination of budget type, department, and subject available to the user based on the data acquired by the data acquisition means;
Screen control means for controlling a screen for inputting or displaying the budget type, department, and subject based on the combination determined by the data determination means;
With
An authority control device characterized by the above.
前記データ取得手段は、
更に、前記第2のマスタデータテーブルを参照し、前記取得された階層レベルデータの値以上の階層レベルデータであり、かつ、前記取得されたユーザグループコードデータと同一のユーザグループコードデータを責任部門ユーザグループコードに有するレコードを取得する、
ことを特徴とする請求項1に記載の権限制御装置。
The data acquisition means,
Further, referring to the second master data table, the responsible department is assigned the user group code data which is the layer level data equal to or higher than the value of the acquired layer level data and which is the same as the acquired user group code data. Get the record that has the user group code,
The authority control device according to claim 1, wherein:
前記記憶部は、
ユーザグループコードデータ及び部門コードデータを含むレコードを格納する第3のマスタデータテーブルを更に格納し、
前記制御部は、
第3のマスタデータテーブルを参照し、前記データ取得手段により取得されたユーザグループコードデータに対応する部門コードデータを取得する部門コード取得手段を更に備える、
ことを特徴とする請求項1又は2に記載の権限制御装置。
The storage unit is
Further storing a third master data table storing records including user group code data and department code data,
The control unit is
Further comprising a department code acquisition unit for referring to the third master data table and acquiring department code data corresponding to the user group code data acquired by the data acquisition unit,
The authority control device according to claim 1 or 2, characterized in that.
前記画面制御手段は、
前記データ決定手段で決定した組み合わせに含まれる予算種類の中から選択された予算種類に応じて、該選択された予算種類を含む組み合わせに含まれる部門及び科目を選択可能に制御する、
ことを特徴とする請求項1から3のいずれか一項に記載の権限制御装置。
The screen control means,
According to the budget type selected from the budget types included in the combination determined by the data determining means, the departments and subjects included in the combination including the selected budget type are controlled to be selectable.
The authority control device according to any one of claims 1 to 3, wherein:
前記予算種類は、勘定科目又は設定科目をグループ化したものである、
ことを特徴とする請求項1から4のいずれか一項に記載の権限制御装置。
The budget type is a grouping of account items or setting items,
The authority control device according to any one of claims 1 to 4, wherein:
制御部及び記憶部を備えた情報処理装置で実行される権限制御方法であって、
前記記憶部は、
ユーザIDデータ及びユーザグループコードデータを含むレコードを格納する第1のマスタデータテーブルと、
予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び責任部門ユーザグループコードデータを含むレコードを格納する第2のマスタデータテーブルと、
を格納し、
前記制御部で実行される、
第1のマスタデータテーブルを参照して、入力されたユーザIDに対応するユーザグループコードデータを取得するグループコード取得ステップと、
第2のマスタデータテーブルを参照して、前記取得されたユーザグループコードに対応する、予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータを取得するデータ取得ステップと、
前記取得された予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータに基づいて、ユーザが利用可能な予算種類と部門と科目の組み合わせを決定するデータ決定ステップと、
前記データ決定ステップで決定した組み合わせに基づいて、予算種類と部門と科目を入力又は表示させるための画面を制御する画面制御ステップと、
を含む、
ことを特徴とする権限制御方法。
A privilege control method executed by an information processing device including a control unit and a storage unit,
The storage unit is
A first master data table storing records including user ID data and user group code data;
A second master data table for storing records including budget type code data, hierarchy level data, user group code data, and responsible department user group code data;
Store
Executed by the control unit,
A group code acquisition step of acquiring user group code data corresponding to the input user ID by referring to the first master data table;
A data acquisition step of acquiring budget type code data, hierarchy level data, and responsible department user group code data corresponding to the acquired user group code with reference to the second master data table;
A data deciding step of deciding a combination of budget type, department and subject available to the user, based on the acquired budget type code data, hierarchy level data, and responsible department user group code data,
Based on the combination determined in the data determination step, a screen control step for controlling the screen for inputting or displaying the budget type, department and subject,
including,
An authority control method characterized by the above.
制御部及び記憶部を備えた情報処理装置に実行させるための権限制御プログラムであって、
前記記憶部は、
ユーザIDデータ及びユーザグループコードデータを含むレコードを格納する第1のマスタデータテーブルと、
予算種類コードデータ、階層レベルデータ、ユーザグループコードデータ、及び責任部門ユーザグループコードデータを含むレコードを格納する第2のマスタデータテーブルと、
を格納し、
前記制御部に実行させるための、
第1のマスタデータテーブルを参照して、入力されたユーザIDに対応するユーザグループコードデータを取得するグループコード取得ステップと、
第2のマスタデータテーブルを参照して、前記取得されたユーザグループコードに対応する、予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータを取得するデータ取得ステップと、
前記取得された予算種類コードデータ、階層レベルデータ、及び責任部門ユーザグループコードデータに基づいて、ユーザが利用可能な予算種類と部門と科目の組み合わせを決定するデータ決定ステップと、
前記データ決定ステップで決定した組み合わせに基づいて、予算種類と部門と科目を入力又は表示させるための画面を制御する画面制御ステップと、
を含む、
ことを特徴とする権限制御プログラム。
An authority control program to be executed by an information processing device including a control unit and a storage unit,
The storage unit is
A first master data table storing records including user ID data and user group code data;
A second master data table for storing records including budget type code data, hierarchy level data, user group code data, and responsible department user group code data;
Store
In order for the control unit to execute,
A group code acquisition step of acquiring user group code data corresponding to the input user ID with reference to the first master data table;
A data acquisition step of acquiring budget type code data, hierarchy level data, and responsible department user group code data corresponding to the acquired user group code with reference to the second master data table;
A data deciding step of deciding a combination of budget type, department and subject available to the user, based on the acquired budget type code data, hierarchy level data, and responsible department user group code data,
A screen control step for controlling a screen for inputting or displaying the budget type, department, and subject based on the combination determined in the data determination step,
including,
An authority control program characterized in that
JP2016165157A 2016-03-17 2016-08-25 Authority control device, authority control method, and authority control program Active JP6750982B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016054067 2016-03-17
JP2016054067 2016-03-17

Publications (2)

Publication Number Publication Date
JP2017174376A JP2017174376A (en) 2017-09-28
JP6750982B2 true JP6750982B2 (en) 2020-09-02

Family

ID=59973856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016165157A Active JP6750982B2 (en) 2016-03-17 2016-08-25 Authority control device, authority control method, and authority control program

Country Status (1)

Country Link
JP (1) JP6750982B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7096665B2 (en) * 2017-12-27 2022-07-06 株式会社オービック Simulation budgeting device, simulation budgeting method and simulation budgeting program
JP7579069B2 (en) * 2020-06-15 2024-11-07 株式会社オービック Electronic application support device, electronic application support method, and electronic application support program
JP7642459B2 (en) * 2021-02-26 2025-03-10 株式会社オービック SECURITY MANAGEMENT DEVICE, SECURITY MANAGEMENT METHOD, AND SECURITY MANAGEMENT PROGRAM

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003016206A (en) * 2001-06-29 2003-01-17 Omron Corp Expense management system, expense management method and output medium
JP2003216796A (en) * 2001-11-13 2003-07-31 Yozaburo Oka Financial calculation device, financial calculation method, financial calculation program and computer readable recording medium having the same recorded thereon
JP5356062B2 (en) * 2009-02-18 2013-12-04 株式会社Kadokawa Planned value data linkage system
JP2013156741A (en) * 2012-01-27 2013-08-15 Fujitsu Ltd Budget determination support program, budget determination support apparatus and budget determination support method

Also Published As

Publication number Publication date
JP2017174376A (en) 2017-09-28

Similar Documents

Publication Publication Date Title
US8812439B2 (en) Folder structure and authorization mirroring from enterprise resource planning systems to document management systems
JP7813439B2 (en) Program, method, information processing device, and system
JP6750982B2 (en) Authority control device, authority control method, and authority control program
JP7050145B2 (en) Display definition creation device, display definition creation method, and display definition creation program
JP7045812B2 (en) Transfer device, transfer method, and transfer program
JP6798856B2 (en) Amount calculation device, amount calculation method and amount calculation program
JP6913591B2 (en) Balance management device, balance management method, and balance management program
JP6830792B2 (en) Sales management equipment, sales management methods and sales management programs
JP7642459B2 (en) SECURITY MANAGEMENT DEVICE, SECURITY MANAGEMENT METHOD, AND SECURITY MANAGEMENT PROGRAM
JP2019061585A (en) Slip processing device, slip processing method, and slip processing program
US20070016623A1 (en) Data file editing device for computer systems
JP6927771B2 (en) Sales management equipment, sales management methods, and sales management programs
JP6947596B2 (en) Deposit processing device, deposit processing method, and deposit processing program
JP7670569B2 (en) Daily report processing device, daily report processing method, and daily report processing program
JP6947582B2 (en) Data updater, data update method, and data update program
JP6280271B1 (en) Data conversion apparatus, data conversion method, and data conversion program
JP7828101B2 (en) Information processing program, information processing method, and information processing device
JP7648446B2 (en) Sales restriction device, sales restriction method, and sales restriction program
JP7348995B2 (en) Print layout switching device, print layout switching method, and print layout switching program
JP7461861B2 (en) Manufacturing management device, manufacturing management method, and manufacturing management program
JP7104817B2 (en) Voucher registration control device, voucher registration control method, and voucher registration control program
JP7065704B2 (en) Calculation device, calculation method and calculation program
JP7235522B2 (en) Payment record issuing device, payment record issuing method, and payment record issuing program
JP2025037698A (en) Rights management device, rights management method, and rights management program
JP7183034B2 (en) Unit price management device, unit price management method, and unit price management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190813

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200626

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: 20200721

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200813

R150 Certificate of patent or registration of utility model

Ref document number: 6750982

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250