JP2009080536A - Bom editing device, editing program, editing system and editing method - Google Patents

Bom editing device, editing program, editing system and editing method Download PDF

Info

Publication number
JP2009080536A
JP2009080536A JP2007247380A JP2007247380A JP2009080536A JP 2009080536 A JP2009080536 A JP 2009080536A JP 2007247380 A JP2007247380 A JP 2007247380A JP 2007247380 A JP2007247380 A JP 2007247380A JP 2009080536 A JP2009080536 A JP 2009080536A
Authority
JP
Japan
Prior art keywords
editing
condition
unit
component
history
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007247380A
Other languages
Japanese (ja)
Inventor
Hideaki Suzuki
英明 鈴木
Noriyuki Haga
憲行 芳賀
Kimitaka Tamura
公孝 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007247380A priority Critical patent/JP2009080536A/en
Publication of JP2009080536A publication Critical patent/JP2009080536A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a BOM editing device, program, system, and method, for easily reproducing editing of a desired BOM, in order to solve the problem that a correlation between processing contents of a highly abstractive BOM operation and the program is not clear, and that it is difficult to know the BOM editing operation to be executed from the program, while using the program prepared using a versatile program language, when editing the BOM for preparing a production BOM from a design BOM. <P>SOLUTION: The BOM is edited using a command and a script as a unit used for editing, in the BOM editing device, program and system. The BOM editing device or the like is further provided with a functional part for reproduceably recording editing history of the BOM, a functional part for recording the editing history with a name and a comment added thereto, when recorded, and a functional part for re-executing the recorded editing history. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、部品表(以下、BOM:Bill of Materials)の編集技術に関する。   The present invention relates to a technology for editing a bill of materials (hereinafter referred to as BOM).

従来は、設計BOMから製造BOMを作成する場合、あるいは製造BOMから評価BOMを作成する場合には、たとえば特許文献1に記載された技術を用いていた。この従来技術では、設計BOMから製造BOMへの変換を行う際やBOMを編集・修正する際に、データベースソフトウェアに付属する汎用のプログラミング言語を用いて予め作成したプログラムを用いて、BOMを管理するデータベースを編集・修正する必要がある。   Conventionally, when a production BOM is created from a design BOM or an evaluation BOM is created from a production BOM, for example, the technique described in Patent Document 1 has been used. In this prior art, when a design BOM is converted to a manufacturing BOM, or when a BOM is edited or modified, the BOM is managed using a program created in advance using a general-purpose programming language attached to the database software. The database needs to be edited / modified.

ここで、BOMとは、ある製品について,どの部品がいくつ必要かを示した表のことである。   Here, the BOM is a table showing how many parts are required for a certain product.

当該プログラムの作成過程においては、BOMの操作・変換の処理・手順をプログラム作成者が複数ステップからなるデータベース処理手順に分解して、その手順を汎用のプログラム言語で記述する。メンテナンスを行う場合も、同様または類似の過程を経る。   In the process of creating the program, the BOM operation / conversion process / procedure is broken down into a database processing procedure composed of a plurality of steps by the program creator, and the procedure is described in a general-purpose programming language. When performing maintenance, a similar or similar process is performed.

また、そのプログラムを改変して他のBOMの編集用プログラムを作成し、あるいは改変せずにそのまま転用することもある。   Further, the program may be modified to create another BOM editing program, or may be used without modification.

特開2005−346530号公報JP 2005-346530 A

しかし、上記した従来技術で用いるプログラムは、汎用プログラム言語を用いているため、ソースコードに記載する処理命令と、それよりも抽象度の高いBOMの操作指示との対応付けが分かりにくい。そのため、例えば、そのプログラムの再利用時に、そのプログラムがどのようなBOM編集操作を実現しているのかを短期間で把握することが難しい。   However, since the program used in the above-described conventional technology uses a general-purpose program language, it is difficult to understand the correspondence between the processing instruction described in the source code and the BOM operation instruction having a higher abstraction level. Therefore, for example, when the program is reused, it is difficult to grasp in a short period what BOM editing operation the program realizes.

本発明は、BOMの編集・変換を実施履歴から再実施できる技術を提供することを目的とする。   An object of this invention is to provide the technique which can re-implement BOM edit and conversion from an implementation log | history.

本願に係る部品表編集装置、部品表編集プログラムおよび部品表編集システムは、上記課題を解決するため、BOMに対する編集操作のコマンドを記載したスクリプトを受け付けて実行することができる機能部を備える。このコマンドを介して、部品を指定するための条件と、編集内容を指定するための条件と、を指定することで、BOMの編集を行うことができるため、BOM操作の内容をスクリプトから把握することが容易となる。   The parts table editing device, parts table editing program, and parts table editing system according to the present application are provided with a function unit that can receive and execute a script that describes commands for editing operations on the BOM in order to solve the above-described problems. The BOM can be edited by specifying the conditions for specifying the part and the conditions for specifying the editing content via this command, so the contents of the BOM operation can be grasped from the script. It becomes easy.

さらに、部品表に対して行われる編集履歴を再生可能に記録し、編集履歴を記録する際に名称と自由メモを付属させて記録する機能部と、記録した編集履歴を再生、すなわち再実行する機能部とを備えた。   Furthermore, the edit history performed on the parts table is recorded so as to be reproducible, and when the edit history is recorded, a function unit for recording the name and a free memo is attached, and the recorded edit history is reproduced, that is, re-executed. And a functional part.

つまり、具体的には、部品表を編集する部品表編集装置であって、複数の編集命令を実行する制御部と、記憶部と、入力部と、を備え、前記制御部は、前記複数の編集命令の中から一の編集命令と、前記部品表から編集の対象となる部品を指定する条件である部品条件と、前記編集命令の編集内容を指定する条件である実行条件とを、前記入力部を介して受け付ける編集受付部と、前記部品条件受付部で受け付けた部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して前記編集受付部で受け付けた前記実行条件に応じて編集処理を実施する編集部と、前記部品表に対して行われる編集の履歴を前記記憶部に記憶させる履歴記憶部と、前記記憶した編集履歴に付加する名前とコメントの入力を、前記入力部を介して受け付けて編集履歴に付加し、前記記憶部に記憶させる履歴保存部と、処理の対象となる部品表の指定を、前記入力部を介して受け付ける部品表指定受付部と、前記履歴保存部により前記記憶部に記憶された編集履歴を前記コメントと共に読み出して表示し、そのうちから選択入力された編集履歴を、前記入力部を介して受け付ける編集履歴受付部と、前記編集履歴受付部により受け付けた前記編集履歴に含まれる前記編集命令と、前記部品条件と、前記実行条件と、を特定し、前記部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して、前記実行条件に指定された条件を付して前記編集命令に応じた編集処理を実施する履歴再生部と、を備えることを特徴とする。   That is, specifically, it is a parts table editing device that edits a parts table, and includes a control unit that executes a plurality of editing instructions, a storage unit, and an input unit, and the control unit includes the plurality of editing commands. One input from among the editing commands, a component condition that is a condition for designating a part to be edited from the parts table, and an execution condition that is a condition for designating the editing content of the editing command are input. An edit receiving unit that receives the component, and a component that satisfies the component condition received by the component condition receiving unit is acquired from the parts table, and the acquired condition is received according to the execution condition received by the edit receiving unit. An editing unit that performs editing processing, a history storage unit that stores a history of editing performed on the parts table in the storage unit, and an input of a name and a comment to be added to the stored editing history Accepted through the department The history storage unit to be added to the editing history and stored in the storage unit, the parts table designation receiving unit that receives the specification of the parts table to be processed via the input unit, and the storage by the history storage unit The editing history stored in the unit is read and displayed together with the comment, and the editing history selected from the editing history is received via the input unit, and the editing history received by the editing history receiving unit. The editing command, the part condition, and the execution condition included in the part are identified, a part satisfying the part condition is acquired from the parts table, and the execution part is designated as the execution condition. And a history reproducing unit that performs an editing process according to the editing command with the above conditions added.

本発明によれば、BOMの編集・変換を実施履歴から再実施できる技術を提供することが可能となる。   According to the present invention, it is possible to provide a technique capable of re-implementing BOM editing / conversion from the execution history.

まず、本発明の一実施形態について図1〜図26を用いて説明する。   First, an embodiment of the present invention will be described with reference to FIGS.

図1は、本発明の一実施の形態を示す部品表編集システム1の構成図である。部品表編集システム1は、入出力部11と、BOM管理部12と、データ格納部13と、を有して構成される。   FIG. 1 is a configuration diagram of a parts table editing system 1 showing an embodiment of the present invention. The parts table editing system 1 includes an input / output unit 11, a BOM management unit 12, and a data storage unit 13.

入出力部11は、入力部111と出力部112を有して構成される。   The input / output unit 11 includes an input unit 111 and an output unit 112.

入力部111はBOMに対する編集操作を使用者から受け付けて、BOM管理部12へ受け付けた情報を受け渡す機能部である。たとえば、入力部111は、キーボードやマウスなど、使用者がBOMに対して操作指示を行う装置である。   The input unit 111 is a functional unit that receives an editing operation on the BOM from the user and delivers the received information to the BOM management unit 12. For example, the input unit 111 is a device such as a keyboard or a mouse for a user to give an operation instruction to the BOM.

出力部112は、使用者に対してBOMデータを提示する表示出力機能を担う機能部である。たとえば、出力部112は、ディスプレイ装置や音響装置など、使用者へ情報を伝える装置である。   The output unit 112 is a functional unit having a display output function for presenting BOM data to the user. For example, the output unit 112 is a device that conveys information to the user, such as a display device or an audio device.

また、BOM管理部12は、編集条件受付部121と、編集処理実行部122と、編集・操作履歴管理部123と、編集・操作履歴実行部124と、制御部125と、を有して構成される。   The BOM management unit 12 includes an editing condition reception unit 121, an editing process execution unit 122, an editing / operation history management unit 123, an editing / operation history execution unit 124, and a control unit 125. Is done.

編集条件受付部121は、BOM編集内容に応じた各種の条件指定を受け付ける機能部である。   The editing condition receiving unit 121 is a functional unit that receives various condition designations according to the contents of BOM editing.

図2に示すように、編集条件受付部121は、部品属性一括設定条件受付部211と、部品削除条件受付部212と、部品追加条件受付部213と、部品置換条件受付部214と、部品属性コピー条件受付部215と、スクリプト受付部216と、を有して構成される。   As shown in FIG. 2, the editing condition reception unit 121 includes a component attribute batch setting condition reception unit 211, a component deletion condition reception unit 212, a component addition condition reception unit 213, a component replacement condition reception unit 214, and a component attribute. A copy condition receiving unit 215 and a script receiving unit 216 are included.

部品属性一括設定受付部211は、使用者から部品属性一括設定を行う旨の入力と、BOMデータの編集の対象が満たすべき条件を指定する部品条件の指定入力と、当該編集の対象とする部品に行なう編集処理を実行する条件である実行条件の指定入力と、を、入力部111を介して受け付ける。そして、受け付けた各入力値を編集処理実行部122が受け付けるデータ形式に合わせて構成し、編集処理実行部122に受け渡す。また、部品属性一括設定受付部211は、編集処理実行部122の処理が終了すると、処理結果を受け取り、出力部112を介して使用者に対して出力する。   The part attribute batch setting reception unit 211 receives input from the user that parts attribute batch setting is to be performed, part condition specification input for specifying a condition to be satisfied by the BOM data editing target, and a part to be edited. An input of an execution condition, which is a condition for executing the editing process performed in step S3, is received via the input unit 111. Then, each received input value is configured in accordance with the data format received by the editing process execution unit 122 and transferred to the editing process execution unit 122. Further, when the processing of the editing process execution unit 122 ends, the part attribute batch setting reception unit 211 receives the processing result and outputs it to the user via the output unit 112.

同様に、部品削除条件受付部212は、使用者から削除処理を行う旨の入力と、BOMデータの削除対象が満たすべき条件を指定する部品条件の指定入力と、を、入力部111を介して受け付け、受け付けた入力値をもとに、編集処理実行部122が受け付けるデータ形式に合わせてパラメータを構成し、編集処理実行部122に受け渡す。また、部品削除条件受付部212は、編集処理実行部122の処理が終了すると、処理結果を受け取り、出力部112を介して使用者に出力する。   Similarly, the component deletion condition reception unit 212 receives an input to perform a deletion process from the user and a component condition specification input for specifying a condition to be satisfied by the deletion target of the BOM data via the input unit 111. Based on the received and accepted input values, parameters are configured in accordance with the data format accepted by the editing process execution unit 122 and passed to the editing process execution unit 122. Further, when the process of the editing process execution unit 122 ends, the part deletion condition reception unit 212 receives the processing result and outputs it to the user via the output unit 112.

部品追加条件受付部213は、使用者から部品追加処理を行う旨の入力と、BOMデータを追加される対象が満たすべき条件を指定する部品条件の指定入力と、当該追加の対象とする部品を特定する条件である実行条件の指定入力と、を、入力部111を介して受け付け、受け付けた入力値をもとに、編集処理実行部122が受け付けるデータ形式に合わせてパラメータを構成し、編集処理実行部122に受け渡す。また、部品追加条件受付部213は、編集処理実行部122の処理が終了すると、処理結果を受け取り、出力部112を介して使用者に出力する。   The component addition condition reception unit 213 inputs an input to perform a component addition process from a user, a component condition designation input for designating a condition to be satisfied by a target to which BOM data is added, and a component to be added. A specification input of an execution condition, which is a condition to be identified, is received via the input unit 111. Based on the received input value, parameters are configured according to the data format accepted by the editing process execution unit 122, and editing processing is performed. The data is transferred to the execution unit 122. Further, when the processing of the editing process execution unit 122 ends, the component addition condition reception unit 213 receives the processing result and outputs it to the user via the output unit 112.

部品置換条件受付部214は、使用者から部品を置換する処理を行う旨の入力と、BOMデータの置換対象が満たすべき条件を指定する部品条件の指定入力と、当該置換の対象とする部品に行なう置換元を特定する条件である実行条件の指定入力と、を、入力部111を介して受け付け、受け付けた入力値をもとに、編集処理実行部122が受け付けるデータ形式に合わせてパラメータを構成し、編集処理実行部122に受け渡す。また、部品置換条件受付部214は、編集処理実行部122の処理が終了すると、処理結果を受け取り、出力部112を介して使用者に出力する。   The part replacement condition receiving unit 214 inputs an instruction to perform a part replacement process from the user, a part condition specification input for specifying a condition to be satisfied by a replacement target of the BOM data, and a part to be replaced. A specification input of an execution condition, which is a condition for specifying a replacement source to be performed, is received via the input unit 111, and parameters are configured according to the data format received by the editing process execution unit 122 based on the received input value. Then, the data is transferred to the editing process execution unit 122. In addition, when the processing of the editing process execution unit 122 ends, the component replacement condition reception unit 214 receives the processing result and outputs it to the user via the output unit 112.

部品属性コピー条件受付部215は、使用者からコピー処理を行う旨の入力と、BOMデータのコピー先の対象が満たすべき条件を指定する部品条件の指定入力と、当該コピーの元とする対象を特定する条件である実行条件の指定入力と、を、入力部111を介して受け付け、受け付けた入力値をもとに、編集処理実行部122が受け付けるデータ形式に合わせてパラメータを構成し、編集処理実行部122に受け渡す。また、部品属性コピー条件受付部215は、編集処理実行部122の処理が終了すると、処理結果を受け取り、出力部112を介して使用者に出力する。   The component attribute copy condition accepting unit 215 receives an input indicating that the copy process is to be performed from the user, a specification input of a component condition that specifies a condition to be satisfied by a copy destination target of the BOM data, and a target that is a source of the copy. A specification input of an execution condition, which is a condition to be identified, is received via the input unit 111. Based on the received input value, parameters are configured according to the data format accepted by the editing process execution unit 122, and editing processing is performed. The data is transferred to the execution unit 122. Further, when the processing of the editing process execution unit 122 ends, the part attribute copy condition reception unit 215 receives the processing result and outputs it to the user via the output unit 112.

また、スクリプト受付部216は、使用者からスクリプト実行を行う旨の入力と、認証に必要なユーザ名と、パスワードと、実行対象のBOM名と、実行するスクリプトファイル名とを、入力部111を介して受け付け、受け付けた入力値をもとに、編集処理実行部122が受け付けるデータ形式に合わせてパラメータを構成し、編集処理実行部122に受け渡す。また、スクリプト受付部216は、編集処理実行部122の処理が終了すると、処理結果を受け取り、出力部112を介して使用者に対して出力する。   Further, the script receiving unit 216 inputs an input to the user to execute the script, a user name necessary for authentication, a password, a BOM name to be executed, and a script file name to be executed, and inputs the input unit 111. Based on the received input value, the parameters are configured in accordance with the data format accepted by the editing process execution unit 122 and transferred to the editing process execution unit 122. In addition, when the process of the editing process execution unit 122 ends, the script reception unit 216 receives the processing result and outputs it to the user via the output unit 112.

編集処理実行部122は、BOM編集に係わる編集条件受付部121で部品条件の指定条件を用いて部品表データ格納部131にあるBOMデータから実行対象BOMデータを抽出し、抽出したBOMデータを対象として、指定された実行条件に合致する編集処理を実行する。この際、編集条件受付部121で、部品ごとに編集処理を実行する直前に実行の確認をするよう受け付けていた場合には、出力部112を通じて実行確認メッセージを表示し、入力部111を介して使用者からの確認指示を受け付けたことを条件として実行する。   The edit processing execution unit 122 extracts the execution target BOM data from the BOM data in the BOM data storage unit 131 by using the specification condition of the part condition in the edit condition reception unit 121 related to the BOM editing, and the extracted BOM data is the target. As a result, an editing process that matches the specified execution condition is executed. At this time, if the editing condition receiving unit 121 has received the confirmation of execution immediately before executing the editing process for each part, an execution confirmation message is displayed through the output unit 112, and the input unit 111 It is executed on condition that a confirmation instruction from the user is accepted.

図3に示すように、編集処理実行部122は、部品属性一括設定部221と、部品削除部222と、部品追加部223と、部品置換部224と、部品属性コピー部225と、スクリプト実行部226と、を有して構成される。   As shown in FIG. 3, the edit processing execution unit 122 includes a component attribute batch setting unit 221, a component deletion unit 222, a component addition unit 223, a component replacement unit 224, a component attribute copy unit 225, and a script execution unit. 226.

部品属性一括設定部221は、「部品属性一括設定」コマンドにより処理を開始し、部品属性一括設定条件受付部211から受け渡された編集の種類の指定と、部品条件の指定と、実行条件の指定と、を含んで構成されるパラメータをもとに、部品属性を一括で変更・設定する処理を行う。   The part attribute batch setting unit 221 starts processing by a “part attribute batch setting” command, specifies the type of editing passed from the part attribute batch setting condition reception unit 211, specifies the part condition, and sets the execution condition. Based on the parameters including the designation, a process for changing and setting the component attributes at once is performed.

この処理では、指定された部品条件から、部品マスタ表1311または部品表1312のどちらを選択すべきかを特定して、当該部品条件に合致するレコードをいずれかの部品表データから検索し、当該部品条件を満たすレコードを抽出する。そして、そのレコードを対象に実行条件に指定した条件を設定する。   In this processing, it is specified from the designated part condition whether the part master table 1311 or the part table 1312 is to be selected, and a record that matches the part condition is searched from any part table data, and the part Extract records that meet the conditions. Then, the condition specified as the execution condition is set for the record.

具体的には、例えば、部品条件に指定された部品種類が「ねじ」である場合には、部品マスタ表1311の属性に部品種類という属性が含まれるか否かを判定し、部品表1312の属性に部品種類という属性が含まれるか否かを判定する。そして、例えば、判定の結果、部品表1312に部品種類という属性が含まれる場合には、部品表1312を検索して、部品種類が「ねじ」であるレコードを抽出し、これに対して、「組付動作」の属性に、「[↓][Q]」の値を設定する、などの処理を行う。   Specifically, for example, when the part type specified in the part condition is “screw”, it is determined whether or not the attribute of the part type is included in the attribute of the part master table 1311. It is determined whether or not the attribute includes a component type attribute. For example, if the part table 1312 includes an attribute of a part type as a result of the determination, the parts table 1312 is searched to extract a record whose part type is “screw”. Set the value of “[↓] [Q]” in the “Assembly operation” attribute.

同様に、部品削除部222は、「部品削除」コマンドにより処理を開始し、部品削除条件受付部212から受け渡された編集の種類の指定と、部品条件の指定と、を含んで構成されるパラメータをもとに、部品を削除する。   Similarly, the component deletion unit 222 is configured to start processing by a “delete component” command and include the specification of the type of editing and the specification of the component condition transferred from the component deletion condition reception unit 212. Delete parts based on parameters.

この処理では、指定された部品条件から、部品マスタ表1311または部品表1312のどちらを選択すべきかを特定して、当該部品条件に合致するレコードをいずれかの部品表データから検索し、当該部品条件を満たすレコードを抽出する。そして、そのレコードを削除する。   In this processing, it is specified from the designated part condition whether the part master table 1311 or the part table 1312 is to be selected, and a record that matches the part condition is searched from any part table data, and the part Extract records that meet the conditions. Then, the record is deleted.

具体的には、例えば、部品条件に指定された部品コードが「675-UT1002」である場合には、部品マスタ表1311の属性に部品コードという属性が含まれるか否かを判定し、部品表1312の属性に部品コードという属性が含まれるか否かを判定する。そして、例えば、判定の結果、部品マスタ表1311に部品コードという属性が含まれる場合には、後述する部品マスタ表1311を検索して、部品コードが「675-UT1002」であるレコードを抽出し、当該レコードを削除する、などの処理を行う。   Specifically, for example, when the part code specified in the part condition is “675-UT1002”, it is determined whether or not the attribute of the part master table 1311 includes an attribute called a part code. It is determined whether or not the attribute 1312 includes an attribute called a part code. And, for example, if the part master table 1311 includes an attribute called a part code as a result of the determination, the part master table 1311 described later is searched to extract a record whose part code is “675-UT1002”. Process such as deleting the record.

同様に、部品追加部223は、「部品追加」コマンドにより処理を開始し、部品追加条件受付部213から受け渡された編集の種類の指定と、部品条件の指定と、実行条件の指定と、を含んで構成されるパラメータをもとに、部品を追加する。   Similarly, the component addition unit 223 starts processing by an “add component” command, specifies the type of editing passed from the component addition condition reception unit 213, specifies the component condition, specifies the execution condition, Add a part based on the parameters that include

この処理では、指定された部品条件から、部品マスタ表1311または部品表1312のどちらを選択すべきかを特定して、当該部品条件に合致するレコードをいずれかの部品表データに作製する。そして、そのレコードを対象に実行条件に指定した条件を満たす部品の情報をコピーして設定する。   In this process, it is specified which of the parts master table 1311 or the parts table 1312 should be selected from the specified part conditions, and a record that matches the part conditions is created in any part table data. Then, information on parts satisfying the conditions specified in the execution condition is copied and set for the record.

具体的には、例えば、部品条件に指定された部品コードが「675-UT1111」である場合には、部品マスタ表1311の属性に部品コードという属性が含まれるか否かを判定し、部品表1312の属性に部品コードという属性が含まれるか否かを判定する。そして、例えば、判定の結果、部品マスタ表1311に部品コードという属性が含まれる場合には、後述する部品マスタ表1311を検索して、部品コードが「675-UT1111」であるレコードを作製し、これに対して、実行条件に指定した条件である部品コードが「675-FV600」である部品を検索してそのレコードに設定された値をコピーする、などの処理を行う。   Specifically, for example, when the part code specified in the part condition is “675-UT1111”, it is determined whether or not the attribute of the part master table 1311 includes an attribute called a part code. It is determined whether or not the attribute 1312 includes an attribute called a part code. And, for example, if the part master table 1311 contains an attribute called a part code as a result of the determination, a part master table 1311 described later is searched to create a record whose part code is “675-UT1111”. On the other hand, processing such as searching for a part whose part code is “675-FV600”, which is the condition specified as the execution condition, and copying the value set in the record is performed.

部品置換部224は、「部品置換」コマンドにより処理を開始し、部品置換条件受付部214から受け渡された編集の種類の指定と、部品条件の指定と、実行条件の指定と、を含んで構成されるパラメータをもとに、部品を置換する。   The component replacement unit 224 starts processing by a “component replacement” command, and includes the specification of the type of editing passed from the component replacement condition reception unit 214, the specification of the component condition, and the specification of the execution condition. Replace parts based on configured parameters.

この処理では、指定された部品条件から、部品マスタ表1311または部品表1312のどちらを選択すべきかを特定して、当該部品条件に合致するレコードをいずれかの部品表データから検索し、当該部品条件を満たすレコードを抽出する。そして、そのレコードに対して、実行条件に指定した条件を満たす部品の情報をコピーして設定する。   In this processing, it is specified from the designated part condition whether the part master table 1311 or the part table 1312 is to be selected, and a record that matches the part condition is searched from any part table data, and the part Extract records that meet the conditions. Then, the information of the part satisfying the condition specified in the execution condition is copied and set for the record.

具体的には、例えば、部品条件に指定された部品コードが「675-UT1111」である場合には、部品マスタ表1311の属性に部品コードという属性が含まれるか否かを判定し、部品表1312のPS属性に部品コードという属性が含まれるか否かを判定する。そして、例えば、判定の結果、部品マスタ表1311に部品コードという属性が含まれる場合には、後述する部品マスタ表1311を検索して、部品コードが「675-UT1111」であるレコードを抽出し、実行条件に指定した条件である部品コードが「675-FV600」である部品を検索してそのレコードに設定された値を抽出したレコードにコピーする、などの処理を行う。   Specifically, for example, when the part code specified in the part condition is “675-UT1111”, it is determined whether or not the attribute of the part master table 1311 includes an attribute called a part code. It is determined whether or not an attribute called a part code is included in the PS attribute 1312. Then, for example, if the part master table 1311 includes an attribute called a part code as a result of the determination, the part master table 1311 described later is searched to extract a record whose part code is “675-UT1111”. Processing such as searching for a part whose part code is “675-FV600”, which is the condition specified as the execution condition, is copied to the extracted record.

同様に、部品属性コピー部225は、「部品属性コピー」コマンドにより処理を開始し、部品属性コピー条件受付部215から受け渡された編集の種類の指定と、部品条件の指定と、実行条件の指定と、を含んで構成されるパラメータをもとに、部品の特定の属性をコピーする。   Similarly, the component attribute copy unit 225 starts processing by a “copy component attribute” command, specifies the type of editing passed from the component attribute copy condition reception unit 215, specifies the component condition, and the execution condition. A specific attribute of the part is copied based on the parameter including the designation.

この処理では、指定された部品条件から、部品マスタ表1311または部品表1312のどちらを選択すべきかを特定して、当該部品条件に合致するレコードをいずれかの部品表データから検索し、当該部品条件を満たすレコードを抽出する。そして、そのレコードに対して、実行条件に指定した条件を満たす部品の特定の属性情報をコピーして設定する。   In this processing, it is specified from the designated part condition whether the part master table 1311 or the part table 1312 is to be selected, and a record that matches the part condition is searched from any part table data, and the part Extract records that meet the conditions. Then, specific attribute information of a component that satisfies the conditions specified in the execution condition is copied and set for the record.

具体的には、例えば、部品条件に指定された部品種類が「ねじ」である場合には、部品マスタ表1311の属性に部品種類という属性が含まれるか否かを判定し、部品表1312の属性に部品種類という属性が含まれるか否かを判定する。そして、例えば、判定の結果、部品表1312に部品種類という属性が含まれる場合には、後述する部品表1312を検索して、部品種類が「ねじ」であるレコードを抽出する。そして、実行条件に指定した条件である親部品コードが「675-FV600」であって子部品コードが「675-IA300」である部品の属性「組付動作」の設定値を、抽出したレコードにコピーする、などの処理を行う。   Specifically, for example, when the part type specified in the part condition is “screw”, it is determined whether or not the attribute of the part type is included in the attribute of the part master table 1311. It is determined whether or not the attribute includes a component type attribute. For example, if the result of determination includes an attribute of component type in the component table 1312, a component table 1312 to be described later is searched to extract a record whose component type is “screw”. Then, the setting value of the attribute “Assembly operation” of the part whose parent part code is “675-FV600” and whose child part code is “675-IA300”, which is the condition specified in the execution condition, is stored in the extracted record. Performs processing such as copying.

また、スクリプト実行部226は、「スクリプト実行」コマンドにより処理を開始し、スクリプト受付部216から受け渡されたスクリプト実行を行う旨の入力と、実行するスクリプト名と、対象BOM名と、ユーザIDと、パスワードと、を含んで構成されるパラメータをもとに、スクリプトを実行する。   In addition, the script execution unit 226 starts processing by the “execute script” command, inputs that the script execution passed from the script reception unit 216 is executed, the name of the script to be executed, the target BOM name, and the user ID And execute the script based on the parameters including password and password.

この処理では、スクリプト実行部226は、ユーザIDとパスワードによる認証処理を行う。認証処理は、ユーザIDとパスワードの組み合わせが、あらかじめ定められ記憶されたものと一致するか否かを判定し、一致することにより適切であると判定する処理である。この認証処理は、図示しない認証処理部など、サーバ53が備える機能部あるいは図示しない他のサーバの認証処理部などにより実施する。そして、スクリプト実行部226は、認証処理の結果が適切であると判定すると、実行するスクリプトをスクリプト名から特定する。そして、その特定したスクリプトを編集・操作履歴データ格納部132のスクリプトファイル1324から読み込む。そして、そのスクリプトファイル1324に記載された行ごとに、その行をコマンドとして取り出し、取り出したコマンドを基にパラメータを構成する。そして、行ごとに、BOM名を指定して、部品属性一括設定部221、部品削除部222、部品追加部223、部品置換部224、部品属性コピー部225のうちから合致する機能部へ処理を委譲する。これを繰り返してスクリプトの全行を処理し終えると、処理が完了したことをスクリプト受付部216に送信する。   In this process, the script execution unit 226 performs an authentication process using a user ID and a password. The authentication process is a process for determining whether or not a combination of a user ID and a password matches a predetermined and stored one, and determining that the combination is appropriate by matching. This authentication process is performed by a functional unit included in the server 53 such as an authentication processing unit (not shown) or an authentication processing unit of another server (not shown). When the script execution unit 226 determines that the result of the authentication process is appropriate, the script execution unit 226 identifies the script to be executed from the script name. Then, the specified script is read from the script file 1324 of the editing / operation history data storage unit 132. Then, for each line described in the script file 1324, the line is extracted as a command, and parameters are configured based on the extracted command. Then, a BOM name is designated for each row, and processing is performed from the component attribute batch setting unit 221, the component deletion unit 222, the component addition unit 223, the component replacement unit 224, and the component attribute copy unit 225 to the matching functional unit. Delegate. When all the lines of the script have been processed by repeating this, the fact that the processing has been completed is transmitted to the script receiving unit 216.

なお、スクリプト実行部226が受け付けるコマンドは、上述の編集処理実行部122の各処理部に対応し、部品属性一括設定と、部品削除と、部品追加と、部品置換と、部品属性コピーの5種類である。そのコマンドの文法を、以下に示す。   The commands received by the script execution unit 226 correspond to the respective processing units of the editing processing execution unit 122 described above, and are five types of component attribute batch setting, component deletion, component addition, component replacement, and component attribute copy. It is. The command syntax is shown below.

まず、部品属性一括設定については、「SetAttr(ブランク)部品条件,実行条件;」がその文法である。ここで、「SetAttr」は、コマンドを示す記述であり、これにより部品属性一括設定という処理を特定することができる。続く「(ブランク)」は、空白のことである。続く「部品条件,」は、上述の通り部品条件の指定を行う記述である。ただし、条件関係により条件を複数設定される場合には、この部品条件に相当する部分に、条件関係(条件(1),条件(2))という記述を用いて部品条件を指定することができる。すなわち、「SetAttr(ブランク)条件関係(条件(1),条件(2)),実行条件;」とすることも可能である。続く「実行条件」は、上述の通り実行条件の指定を行う記述である。続く「;」は、コマンドの終結を示す行末記号である。   First, “SetAttr (blank) component condition, execution condition;” is the grammar of the component attribute batch setting. Here, “SetAttr” is a description indicating a command, and by this, a process of batch setting of component attributes can be specified. The following “(blank)” is a blank. The following “component condition” is a description for specifying the component condition as described above. However, when a plurality of conditions are set according to the condition relationship, the component condition can be specified by using the description of the condition relationship (condition (1), condition (2)) in the part corresponding to the component condition. . That is, “SetAttr (blank) condition relationship (condition (1), condition (2)), execution condition;” can also be established. The subsequent “execution condition” is a description for specifying the execution condition as described above. The following “;” is an end-of-line symbol indicating the end of the command.

次に、部品削除については、「DelParts(ブランク)部品条件;」がその文法である。ここで、「DelParts」は、コマンドを示す記述であり、これにより部品削除という処理を特定することができる。続く「(ブランク)」は、空白のことである。続く「部品条件」は、上述の通り部品条件の指定を行う記述である。ただし、条件関係により条件を複数設定される場合には、この部品条件に相当する部分に、条件関係(条件(1),条件(2))という記述を用いて部品条件を指定することができる。すなわち、「SetAttr(ブランク)条件関係(条件(1),条件(2)),実行条件;」とすることも可能である。続く「;」は、コマンドの終結を示す行末記号である。   Next, “DelParts (blank) part condition;” is the grammar of part deletion. Here, “DelParts” is a description indicating a command, and by this, a process of part deletion can be specified. The following “(blank)” is a blank. The subsequent “component condition” is a description for specifying the component condition as described above. However, when a plurality of conditions are set according to the condition relationship, the component condition can be specified by using the description of the condition relationship (condition (1), condition (2)) in the part corresponding to the component condition. . That is, “SetAttr (blank) condition relationship (condition (1), condition (2)), execution condition;” can also be established. The following “;” is an end-of-line symbol indicating the end of the command.

次に、部品追加については、「AddParts(ブランク)部品条件,実行条件;」がその文法である。ここで、「AddParts」は、コマンドを示す記述であり、これにより部品追加という処理を特定することができる。続く「(ブランク)」は、空白のことである。続く「部品条件,」は、上述の通り部品条件の指定を行う記述である。ただし、条件関係により条件を複数設定される場合には、この部品条件に相当する部分に、条件関係(条件(1),条件(2))という記述を用いて部品条件を指定することができる。すなわち、「SetAttr(ブランク)条件関係(条件(1),条件(2)),実行条件;」とすることも可能である。続く「実行条件」は、上述の通り実行条件の指定を行う記述である。続く「;」は、コマンドの終結を示す行末記号である。   Next, as for part addition, “AddParts (blank) part condition, execution condition;” is the grammar. Here, “AddParts” is a description indicating a command, and by this, a process of adding a part can be specified. The following “(blank)” is a blank. The following “component condition” is a description for specifying the component condition as described above. However, when a plurality of conditions are set according to the condition relationship, the component condition can be specified by using the description of the condition relationship (condition (1), condition (2)) in the part corresponding to the component condition. . That is, “SetAttr (blank) condition relationship (condition (1), condition (2)), execution condition;” can also be established. The subsequent “execution condition” is a description for specifying the execution condition as described above. The following “;” is an end-of-line symbol indicating the end of the command.

次に、部品置換については、「RplParts(ブランク)部品条件,実行条件;」がその文法である。ここで、「RplParts」は、コマンドを示す記述であり、これにより部品属性一括設定という処理を特定することができる。続く「(ブランク)」は、空白のことである。続く「部品条件,」は、上述の通り部品条件の指定を行う記述である。ただし、条件関係により条件を複数設定される場合には、この部品条件に相当する部分に、条件関係(条件(1),条件(2))という記述を用いて部品条件を指定することができる。すなわち、「SetAttr(ブランク)条件関係(条件(1),条件(2)),実行条件;」とすることも可能である。続く「実行条件」は、上述の通り実行条件の指定を行う記述である。続く「;」は、コマンドの終結を示す行末記号である。   Next, as for component replacement, “RplParts (blank) component condition, execution condition;” is the grammar. Here, “RplParts” is a description indicating a command, and by this, a process of component attribute batch setting can be specified. The following “(blank)” is a blank. The following “component condition” is a description for specifying the component condition as described above. However, when a plurality of conditions are set according to the condition relationship, the component condition can be specified by using the description of the condition relationship (condition (1), condition (2)) in the part corresponding to the component condition. . That is, “SetAttr (blank) condition relationship (condition (1), condition (2)), execution condition;” can also be established. The subsequent “execution condition” is a description for specifying the execution condition as described above. The following “;” is an end-of-line symbol indicating the end of the command.

次に、部品属性コピーについては、「CpyAttr(ブランク)部品条件,実行条件;」がその文法である。ここで、「CpyAttr」は、コマンドを示す記述であり、これにより部品属性一括設定という処理を特定することができる。続く「(ブランク)」は、空白のことである。続く「部品条件,」は、上述の通り部品条件の指定を行う記述である。ただし、条件関係により条件を複数設定される場合には、この部品条件に相当する部分に、条件関係(条件(1),条件(2))という記述を用いて部品条件を指定することができる。すなわち、「SetAttr(ブランク)条件関係(条件(1),条件(2)),実行条件;」とすることも可能である。続く「実行条件」は、上述の通り実行条件の指定を行う記述である。続く「;」は、コマンドの終結を示す行末記号である。   Next, for the component attribute copy, “CpyAttr (blank) component condition, execution condition;” is the grammar. Here, “CpyAttr” is a description indicating a command, and by this, it is possible to specify a process of component attribute batch setting. The following “(blank)” is a blank. The following “component condition” is a description for specifying the component condition as described above. However, when a plurality of conditions are set according to the condition relationship, the component condition can be specified by using the description of the condition relationship (condition (1), condition (2)) in the part corresponding to the component condition. . That is, “SetAttr (blank) condition relationship (condition (1), condition (2)), execution condition;” can also be established. The subsequent “execution condition” is a description for specifying the execution condition as described above. The following “;” is an end-of-line symbol indicating the end of the command.

以上が、スクリプト実行部226が受け付けるコマンドの文法である。   The above is the syntax of the command that the script execution unit 226 accepts.

編集・操作履歴管理部123は、編集履歴や操作履歴を記録し、また、記録した各履歴を読み込んで実行する際の指示を受け付ける機能部である。   The editing / operation history management unit 123 is a functional unit that records an editing history and an operation history, and receives an instruction when the recorded history is read and executed.

図4に示すように、編集・操作履歴管理部123は、編集・操作履歴記録部231と、編集・操作履歴実行受付部232と、を有して構成される。   As shown in FIG. 4, the editing / operation history management unit 123 includes an editing / operation history recording unit 231 and an editing / operation history execution receiving unit 232.

編集・操作履歴記録部231は、入力部111を介して履歴記録開始の指示を受け付けると、それ以降、履歴記録終了の指示を受け付けるまで、編集条件受付部121が受け付けた編集の種類の指定と、部品条件の指定と、指定があった場合には実行条件の指定と、をモニタリングする。また、編集・操作履歴記録部231は、編集操作を後述する編集・操作履歴データ格納部132のコマンド履歴表1322または編集履歴表1323に記憶させる。この際、履歴リスト1321(図示せず)に、記録したコマンド履歴表1322または編集履歴表1323の識別子を、その編集の種類、つまりコマンドの実行であるのか、それともBOMデータの操作であるのか、を識別する情報と共に記録する。   When the editing / operation history recording unit 231 receives a history recording start instruction via the input unit 111, the editing / operation history recording unit 231 thereafter specifies the type of editing received by the editing condition reception unit 121 until a history recording end instruction is received. The specification of the component condition and the designation of the execution condition when designated are monitored. The editing / operation history recording unit 231 stores the editing operation in the command history table 1322 or the editing history table 1323 of the editing / operation history data storage unit 132 described later. At this time, the identifier of the command history table 1322 or the editing history table 1323 recorded in the history list 1321 (not shown) is used as the type of editing, that is, whether the command is executed or the operation of the BOM data. Is recorded together with information for identifying.

編集・操作履歴記録部231は、上記の履歴記録のモニタリング中に入力部111を介して履歴記録終了の指示を受け付けると、出力部112を介して、使用者に編集履歴の保存名称と、添付するコメントと、を入力するよう促す。そして、編集・操作履歴記録部231は、入力部111を介して使用者から、コマンド履歴または編集履歴の保存名称と、添付するコメントと、の入力を受け付ける。そして、一意の識別子を付与して、コマンドの実行であれば、編集・操作履歴データ格納部132のコマンド履歴表1322に、BOMデータの操作であれば編集履歴表1323に、コマンドのパラメータあるいはBOMデータの編集内容を記憶する。   When the editing / operation history recording unit 231 receives an instruction to end the history recording via the input unit 111 during the monitoring of the above-described history recording, the editing history storing unit 231 provides the user with a storage name of the editing history and an attachment via the output unit 112. And to enter a comment. Then, the editing / operation history recording unit 231 accepts an input of the command history or the saved name of the editing history and the attached comment from the user via the input unit 111. If a unique identifier is assigned and the command is executed, the command history table 1322 of the editing / operation history data storage unit 132 is displayed. If the BOM data operation is performed, the command parameter or BOM is stored in the editing history table 1323. The edited contents of data are stored.

編集・操作履歴実行部124は、編集・操作履歴管理部123で記録したコマンド履歴表1322または編集履歴表1323をもとに、同一の条件を指定して同一又は別のBOMデータに対して、同様の編集を実行する実行部である。   The editing / operation history executing unit 124 designates the same condition based on the command history table 1322 or the editing history table 1323 recorded by the editing / operation history management unit 123, and performs the same or different BOM data. It is an execution part which performs the same editing.

図5に示すように、編集・履歴実行部124は、履歴実行制御部241と、部品属性一括設定部242と、部品削除部243と、部品追加部244と、部品置換部245と、部品属性コピー部246と、を有して構成される。   As shown in FIG. 5, the edit / history execution unit 124 includes a history execution control unit 241, a component attribute batch setting unit 242, a component deletion unit 243, a component addition unit 244, a component replacement unit 245, and a component attribute. And a copy unit 246.

履歴実行制御部241は、コマンド履歴表1322を読み込んで再生する処理と、編集履歴表1323を読みこんで再生する処理と、を行う。   The history execution control unit 241 performs processing for reading and reproducing the command history table 1322 and processing for reading and reproducing the editing history table 1323.

コマンド履歴表1322を読み込んで再生する処理では、履歴実行制御部241は、まず、入力部111を介して使用者からコマンド履歴再生指示と、再生するコマンド履歴の識別子とを受け付けて、編集・操作履歴記録部231によって記録されたコマンド履歴表1322の中から、受け付けた識別子により識別されるコマンド履歴のレコードを特定し読み込む。   In the process of reading and reproducing the command history table 1322, the history execution control unit 241 first receives a command history reproduction instruction and an identifier of the command history to be reproduced from the user via the input unit 111, and edits / operates. A command history record identified by the received identifier is identified and read from the command history table 1322 recorded by the history recording unit 231.

そして、コマンド432ごとに、特定した条件(1)433と、条件関係434と、条件(2)435と、実行条件436と、を用いてパラメータを再構成し、部品属性一括設定部242、部品削除部243、部品追加部244、部品置換部245、部品属性コピー部246のうちから合致する機能部へ処理を委譲する。履歴実行制御部241は、コマンド履歴の実行を終えると、実行が完了したことを使用者に対して出力部112を介して表示する。   For each command 432, parameters are reconfigured using the specified condition (1) 433, condition relationship 434, condition (2) 435, and execution condition 436, and the component attribute batch setting unit 242, component The processing is transferred from the deletion unit 243, the component addition unit 244, the component replacement unit 245, and the component attribute copy unit 246 to the matching functional unit. When the execution of the command history is finished, the history execution control unit 241 displays the completion of execution to the user via the output unit 112.

編集履歴表1323を読み込んで再生する処理では、履歴実行制御部241は、まず、入力部111を介して使用者から編集履歴再生の指示と再生する編集履歴の識別子とを受け付けて、編集・操作履歴記録部231によって記録された編集履歴表1323の中から、受け付けた識別子により識別される編集履歴のレコードを読み込む。   In the process of reading and playing the editing history table 1323, the history execution control unit 241 first receives an editing history playback instruction and an editing history identifier to be played back from the user via the input unit 111, and edits / operates. The editing history record identified by the received identifier is read from the editing history table 1323 recorded by the history recording unit 231.

履歴実行制御部241は、読み込んだ編集履歴のレコードから、親部品422と、子部品423と、編集操作424と、編集対象425と、変更前の値426と、変更後の値427と、を取り出し、編集操作424ごとにこれらのパラメータを所定のデータ形式に合うように構成する。そして、履歴実行制御部241は、部品属性一括設定部242、部品削除部243、部品追加部244、部品置換部245、部品属性コピー部246のうちから対応する機能部へ処理を委譲する。具体的には、後述する編集履歴表1323の編集操作424に格納された編集操作により示される操作を実施するために、上記各機能部へ処理を委譲する。   The history execution control unit 241 reads a parent part 422, a child part 423, an editing operation 424, an editing target 425, a value 426 before change, and a value 427 after change from the read editing history record. Each parameter is extracted and edited so that these parameters conform to a predetermined data format. Then, the history execution control unit 241 delegates the processing from the component attribute batch setting unit 242, the component deletion unit 243, the component addition unit 244, the component replacement unit 245, and the component attribute copy unit 246 to the corresponding functional unit. Specifically, in order to perform an operation indicated by the editing operation stored in the editing operation 424 of the editing history table 1323 to be described later, the processing is delegated to each functional unit.

履歴実行制御部241は、編集履歴のレコードを再処理し終えると、処理が完了したことを使用者に対して出力部112を介して表示する。   When the history execution control unit 241 completes the reprocessing of the edit history record, the history execution control unit 241 displays the completion of the processing to the user via the output unit 112.

部品属性一括設定部242と、部品削除部243と、部品追加部244と、部品置換部245と、部品属性コピー部246とは、それぞれ、上記した編集処理実行部122に含まれる部品属性一括設定部221と、部品削除部222と、部品追加部223と、部品置換部224と、部品属性コピー部225と同様の機能を担い、同様の処理を行うものである。そのため、部品属性一括設定部242と、部品削除部243と、部品追加部244と、部品置換部245と、部品属性コピー部246とは、それぞれ、上記した編集処理実行部122に含まれる部品属性一括設定部221と、部品削除部222と、部品追加部223と、部品置換部224と、部品属性コピー部225とがその役割を兼ねても良い。   The component attribute batch setting unit 242, the component deletion unit 243, the component addition unit 244, the component replacement unit 245, and the component attribute copy unit 246 are respectively set by the component attribute batch setting included in the editing process execution unit 122. The unit 221, the component deletion unit 222, the component addition unit 223, the component replacement unit 224, and the component attribute copy unit 225 bear the same functions and perform the same processing. Therefore, the component attribute batch setting unit 242, the component deletion unit 243, the component addition unit 244, the component replacement unit 245, and the component attribute copy unit 246 are respectively included in the editing process execution unit 122. The collective setting unit 221, the component deletion unit 222, the component addition unit 223, the component replacement unit 224, and the component attribute copy unit 225 may serve as the roles.

制御部125は、上記した編集条件受付部121と、編集処理実行部122と、編集・操作履歴管理部123と、編集・操作履歴実行部124と、の動作を制御する処理部である。   The control unit 125 is a processing unit that controls the operations of the editing condition receiving unit 121, the editing process execution unit 122, the editing / operation history management unit 123, and the editing / operation history execution unit 124.

データ格納部13は、部品表データ格納部131と、編集・操作履歴データ格納部132からなる。   The data storage unit 13 includes a parts table data storage unit 131 and an editing / operation history data storage unit 132.

部品表データ格納部131は、部品マスタ表1311を格納する記憶領域と、部品表1312を格納する記憶領域と、を備える。部品マスタ表1311と、部品表1312とは、それぞれを一意に識別するための識別子であるBOM名を付加して記憶される。   The parts table data storage unit 131 includes a storage area for storing the parts master table 1311 and a storage area for storing the parts table 1312. The parts master table 1311 and the parts table 1312 are stored by adding a BOM name that is an identifier for uniquely identifying each of them.

編集・操作履歴データ格納部132は、履歴リスト1321を格納する記憶領域と、コマンド履歴表1322を格納する記憶領域と、編集履歴表1323を格納する記憶領域と、スクリプトファイル1324を格納する記憶領域と、を備えている。   The editing / operation history data storage unit 132 includes a storage area for storing the history list 1321, a storage area for storing the command history table 1322, a storage area for storing the editing history table 1323, and a storage area for storing the script file 1324. And.

図6に、部品表データ格納部131に格納される部品マスタ表1311と、部品表1312のデータ構造を示す。なお、部品マスタ表1311であるPN(Parts Number)と、部品表1312である部品の階層構造を示すPS(Parts Structure)とをあわせて、BOMデータと呼ぶ。   FIG. 6 shows the data structure of the parts master table 1311 and the parts table 1312 stored in the parts table data storage unit 131. The PN (Parts Number) that is the parts master table 1311 and the PS (Parts Structure) that indicates the hierarchical structure of the parts that are the parts table 1312 are collectively referred to as BOM data.

部品マスタ表1311は、部品を識別するための部品コードを記憶する部品コード欄311と、部品の名称を記憶する部品名称欄312と、部品ごとに異なる属性情報を記憶する部品属性a欄313と、部品属性b欄314と、を有して構成される。一般に、部品マスタ表の部品属性は部品によって様々に異なるため、部品に応じて部品属性a欄313や部品属性b欄314の属性の名称は各々異なる。   The component master table 1311 includes a component code column 311 for storing a component code for identifying a component, a component name column 312 for storing the name of the component, and a component attribute a column 313 for storing different attribute information for each component. And a component attribute b column 314. In general, the component attributes in the component master table vary depending on the component, and therefore the attribute names in the component attribute a column 313 and the component attribute b column 314 are different depending on the component.

また、部品表1312は、ある部品の部品コードである親部品コードを記憶する親部品コード欄321と、その部品を構成するために必要な子部品の部品コードである子部品コードを記憶する子部品コード欄322と、その子部品の個数を示す員数を記憶する員数欄323と、親部品ごとに異なるPS属性情報を記憶するPS属性c欄324と、を有して構成される。一般に、部品表のPS属性は部品によって様々に異なるため、PS属性のバリエーションに応じてPS属性c欄の属性の名称は各々異なる。   The parts table 1312 also includes a parent part code column 321 that stores a parent part code that is a part code of a part, and a child part code that is a part code of a child part that is necessary to configure the part. A component code column 322, a number column 323 for storing the number indicating the number of child components, and a PS attribute c column 324 for storing different PS attribute information for each parent component are configured. In general, the PS attribute of the parts table varies depending on the part, and therefore the name of the attribute in the PS attribute c column differs depending on the variation of the PS attribute.

編集・操作履歴データ格納部132に格納される履歴リスト1321は、ID欄411と、種類欄412と、リンクID欄413と、を有して構成される。ID欄411は、履歴リスト1321上でレコードを特定できるようなユニークな値を持つIDを記憶する欄であり、種類欄412は、履歴の種類がBOM操作の履歴なのか、コマンド実行の履歴なのか、を判定するための値を記憶する欄である。例えば、その値は、BOM操作の履歴であれば、「操作」であり、コマンド実行の履歴であれば「コマンド」である。リンクID欄413は、記録されている操作またはコマンドの詳細を識別するためのユニークな値を記憶する欄である。これは、具体的には、コマンド履歴表1322あるいは編集履歴表1323のデータを識別するための値を記憶する欄である。   The history list 1321 stored in the editing / operation history data storage unit 132 includes an ID column 411, a type column 412, and a link ID column 413. The ID column 411 is a column for storing an ID having a unique value that can identify a record on the history list 1321. The type column 412 is a history of command execution whether the history type is a BOM operation history. This is a column for storing a value for determining whether or not. For example, the value is “operation” if it is a BOM operation history, and “command” if it is a command execution history. The link ID column 413 is a column for storing a unique value for identifying details of a recorded operation or command. Specifically, this is a column for storing values for identifying data in the command history table 1322 or the edit history table 1323.

次に、図7に、編集・操作履歴データ格納部132に格納されるコマンド履歴表1322のデータ構造を示す。図7に示すように、コマンド履歴表1322は、コマンドID欄431と、コマンド欄432と、条件(1)欄433と、条件関係欄434と、条件(2)欄435と、実行条件欄436と、備考欄437と、を有して構成される。コマンドID欄431は、コマンド履歴表1322の各レコードを識別するための識別子であるコマンドIDを格納する。コマンド欄432は、実行したコマンドを格納する。条件(1)欄433は、実行したコマンドの対象を選択する際に指定した部品条件のうち、第一の条件である部品条件1を格納する。条件(2)欄435は、実行したコマンドの対象を選択する際に指定した部品条件のうち、第二の条件である部品条件2を格納する。条件関係欄434は、実行したコマンドの対象を選択する際に指定した部品条件1と部品条件2との論理関係を格納する。実行条件欄436は、実行したコマンドの処理時に指定した実行条件を格納する。   Next, FIG. 7 shows the data structure of the command history table 1322 stored in the editing / operation history data storage unit 132. As shown in FIG. 7, the command history table 1322 includes a command ID column 431, a command column 432, a condition (1) column 433, a condition relation column 434, a condition (2) column 435, and an execution condition column 436. And a remarks column 437. The command ID column 431 stores a command ID that is an identifier for identifying each record in the command history table 1322. The command column 432 stores executed commands. The condition (1) column 433 stores the component condition 1 which is the first condition among the component conditions specified when selecting the target of the executed command. The condition (2) column 435 stores the component condition 2 which is the second condition among the component conditions specified when selecting the target of the executed command. The condition relationship column 434 stores the logical relationship between the component condition 1 and the component condition 2 specified when selecting the target of the executed command. The execution condition column 436 stores an execution condition specified when processing the executed command.

このように、コマンド履歴表1322にコマンド履歴の情報を記憶しておくことによって、コマンド履歴を基に再度同様の操作を他のBOMデータに対して行いやすくすることができる。   As described above, by storing the command history information in the command history table 1322, the same operation can be easily performed again on other BOM data based on the command history.

次に、図8に、編集・操作履歴データ格納部132に格納される編集履歴表1323のデータ構造を示す。図8に示すように、編集履歴表1323は、操作ID欄421と、親部品欄422と、子部品欄423と、編集操作欄424と、編集対象欄425と、変更前の値欄426と、変更後の値欄427と、備考欄428と、を有して構成される。操作ID欄421は、編集履歴表1323の各レコードを識別するための識別子である操作IDを格納する。親部品欄422は、編集した対象の部品により構成される親部品に関する親部品コード321を格納する。子部品欄423は、編集した対象の部品に関する部品コード311を格納する。編集操作欄424は、編集した際の編集の操作名称を格納する。編集対象欄425は、編集を行った対象の部品マスタ表1311あるいは部品表1312の部品名称を格納する。変更前の値欄426は、編集を行った対象について、編集前の属性の値を格納する。変更後の値欄427は、編集後の属性の値を格納する。備考欄428は、備考情報を格納する。   Next, FIG. 8 shows the data structure of the edit history table 1323 stored in the edit / operation history data storage unit 132. As shown in FIG. 8, the edit history table 1323 includes an operation ID column 421, a parent component column 422, a child component column 423, an edit operation column 424, an edit target column 425, and a value column 426 before change. The changed value column 427 and the remarks column 428 are configured. The operation ID column 421 stores an operation ID that is an identifier for identifying each record of the edit history table 1323. The parent part column 422 stores a parent part code 321 relating to a parent part constituted by the edited target part. The child component column 423 stores a component code 311 related to the edited target component. The edit operation column 424 stores an edit operation name at the time of editing. The edit target column 425 stores the part name of the part master table 1311 or the parts table 1312 to be edited. The value column 426 before change stores the value of the attribute before editing with respect to the edited object. The changed value column 427 stores attribute values after editing. The remarks column 428 stores remark information.

次に、図9に、編集・操作履歴データ格納部132に格納されるスクリプトファイル1324のデータ構造を示す。図9に示すように、スクリプトファイル1324は、コマンド記述と、部品条件記述と、実行条件記述とを結合した行を、一行以上記述し、その最後にEOF(End of File)記号を記述するデータ構造で構成される。コマンド記述は実行するコマンドの記述である。部品条件記述は、実行するコマンドの対象を選択する際に指定する部品条件の記述である。実行条件記述は、実行するコマンドの処理時に指定する実行条件の記述である。   Next, FIG. 9 shows the data structure of the script file 1324 stored in the editing / operation history data storage unit 132. As shown in FIG. 9, the script file 1324 describes one or more lines that combine the command description, the component condition description, and the execution condition description, and data that describes an EOF (End of File) symbol at the end. Composed of structure. The command description is a description of the command to be executed. The component condition description is a description of the component condition specified when selecting the target of the command to be executed. The execution condition description is a description of an execution condition specified when processing the command to be executed.

次に、本発明の方法の一実施の形態を示す部品表編集システム1を構成するハードウェアについて、図10を用いて説明する。   Next, hardware constituting the parts table editing system 1 showing an embodiment of the method of the present invention will be described with reference to FIG.

図10に示す本実施形態では、クライアント51は、ネットワーク52を介して、サーバ53と接続することができる。サーバ53は、入力装置531と、システム装置532と、出力装置533と、を有して構成される装置である。システム装置532は、中央演算装置5321と、主記憶装置5322と、補助記憶装置5323と、通信装置5324と、をバス5325で接続した構成である。一方、クライアント51は、入力装置511とシステム装置512と出力装置513とから構成されたコンピュータである。システム装置512は、中央演算装置5121と主記憶装置5122と補助記憶装置5123と通信装置5124とをバス5125で接続した構成である。   In the present embodiment illustrated in FIG. 10, the client 51 can be connected to the server 53 via the network 52. The server 53 is a device configured to include an input device 531, a system device 532, and an output device 533. The system device 532 has a configuration in which a central processing unit 5321, a main storage device 5322, an auxiliary storage device 5323, and a communication device 5324 are connected by a bus 5325. On the other hand, the client 51 is a computer including an input device 511, a system device 512, and an output device 513. The system device 512 has a configuration in which a central processing unit 5121, a main storage device 5122, an auxiliary storage device 5123, and a communication device 5124 are connected by a bus 5125.

編集条件受付部121と、編集処理実行部122と、編集・操作履歴管理部123と、編集・操作履歴実行部124と、制御部125と、は、サーバ53上で実装される。ただし、これに限られず、もちろん、クライアント51と、サーバ53とに分かれて機能実装してもよい。すなわち、入出力部11はクライアント51に実装され、BOM管理部12とデータ格納部13はサーバ53に実装されるようにしてもよい。他にも、本実施形態では、BOM管理部12とデータ格納部13は同一のサーバ53に実装されるが、それぞれ別々のサーバで実装してもよい。また、BOM管理部12の編集条件指示部121と、編集処理実行部122と、編集・操作履歴管理部123と、編集・操作履歴実行部124と、制御部125と、は本実施形態では同一のサーバ53に実装するが、それぞれ別のサーバに実装してもよい。   The editing condition reception unit 121, the editing process execution unit 122, the editing / operation history management unit 123, the editing / operation history execution unit 124, and the control unit 125 are implemented on the server 53. However, the present invention is not limited to this, and of course, the client 51 and the server 53 may be separately function-implemented. That is, the input / output unit 11 may be mounted on the client 51, and the BOM management unit 12 and the data storage unit 13 may be mounted on the server 53. In addition, although the BOM management unit 12 and the data storage unit 13 are mounted on the same server 53 in the present embodiment, they may be mounted on different servers. Further, the editing condition instruction unit 121, the editing process execution unit 122, the editing / operation history management unit 123, the editing / operation history execution unit 124, and the control unit 125 of the BOM management unit 12 are the same in this embodiment. However, they may be mounted on different servers.

また、データ格納部13の部品表格納部131と編集操作履歴データ格納部132とは同一のサーバに実装される。しかしこれに限らず、それぞれ別のサーバで実装してもよい。   Further, the parts table storage unit 131 and the editing operation history data storage unit 132 of the data storage unit 13 are mounted on the same server. However, the present invention is not limited to this.

また、本実施形態では、BOM管理部12の各機能は、サーバの中央演算装置5321に処理を行わせるプログラムによって実現する。このプログラムはサーバ主記憶装置5322または補助記憶装置5323内に記憶され、実行にあたってサーバ53の主記憶装置5322上にロードされ、中央演算装置5321により実行される。   In the present embodiment, each function of the BOM management unit 12 is realized by a program that causes the central processing unit 5321 of the server to perform processing. This program is stored in the server main storage device 5322 or the auxiliary storage device 5323, loaded on the main storage device 5322 of the server 53 for execution, and executed by the central processing unit 5321.

また、サーバ53がクライアント51にこのBOM管理部12のプログラムを送付し、クライアント51にてそのプログラムを実行するようにしてもよい。つまり、サーバ53は、サーバ主記憶装置5322または補助記憶装置5323内に記憶されたプログラムを、通信装置5324とネットワーク52を介してクライアント51に送信し、クライアント51の主記憶装置5122または補助記憶装置5123内にプログラムを記憶させてからクライアントの中央演算装置5121で実行するように機能ブロックの一部の機能或いはすべての機能を実装するようにしてもよい。   Alternatively, the server 53 may send the program of the BOM management unit 12 to the client 51 and the client 51 may execute the program. That is, the server 53 transmits the program stored in the server main storage device 5322 or the auxiliary storage device 5323 to the client 51 via the communication device 5324 and the network 52, and the main storage device 5122 or the auxiliary storage device of the client 51 is transmitted. A part or all of the functional blocks may be implemented so that the program is stored in 5123 and then executed by the central processing unit 5121 of the client.

次に、本実施形態による部品表編集システム1における編集処理のフローについて図11を用いて説明する。   Next, the flow of editing processing in the parts table editing system 1 according to the present embodiment will be described with reference to FIG.

図11に示すように、まず、制御部125は、BOM編集に関するコマンドを受け付け、受け付けたコマンドに応じて編集条件受付部121の各機能部に制御を受け渡す。例えば、受け付けたコマンドが部品属性一括設定コマンドであった場合には、部品属性一括設定条件受付部211に制御を受け渡す。そして、制御を受け渡された編集条件受付部121の各機能部は、それぞれの条件指定の入力を使用者に促し、入力を受け付けるための画面を表示する。例えば、部品属性一括設定条件受付部211は、図12に示すような、部品条件と実行条件の入力画面60を、出力部112を介して使用者に表示する(ステップ71)。もちろん、受け付けたコマンドが、編集条件受付部121のその他の機能部に対応するものであれば、その機能部に対応する画面を表示する。その例については、後述する。   As shown in FIG. 11, first, the control unit 125 receives a command related to BOM editing, and transfers control to each function unit of the editing condition receiving unit 121 according to the received command. For example, when the received command is a component attribute batch setting command, control is transferred to the component attribute batch setting condition receiving unit 211. Then, each function unit of the editing condition receiving unit 121 that has received the control prompts the user to input each condition specification, and displays a screen for receiving the input. For example, the part attribute batch setting condition accepting unit 211 displays a part condition and execution condition input screen 60 as shown in FIG. 12 to the user via the output part 112 (step 71). Of course, if the received command corresponds to another functional unit of the editing condition receiving unit 121, a screen corresponding to the functional unit is displayed. Examples thereof will be described later.

ここで、図12の画面60について説明する。図12に示す画面60は、部品属性一括設定を行う場合の入力画面である。画面60は、保存条件の入力領域61と、部品条件の入力領域62と、実行条件の入力領域63と、入力した条件でコマンドを実行する命令を入力するボタンである実行ボタン64と、本画面の入力を中止し、キャンセルする命令を入力するボタンであるキャンセルボタン65と、画面60で設定した条件を保存する命令を入力するボタンである保存ボタン66と、部品ごとに属性値の設定を実行することを確認しながら処理する確認モードを指定するためのチェックボックス67とを有して構成される。   Here, the screen 60 of FIG. 12 will be described. A screen 60 illustrated in FIG. 12 is an input screen for performing component attribute batch setting. The screen 60 includes an input area 61 for storage conditions, an input area 62 for parts conditions, an input area 63 for execution conditions, an execution button 64 that is a button for inputting a command to execute a command under the input conditions, and this screen. Cancel button 65 for inputting an instruction to cancel, save button 66 for inputting a command for saving conditions set on screen 60, and setting of attribute values for each part And a check box 67 for designating a confirmation mode to be processed while confirming.

まず、保存条件の入力領域61について説明する。保存条件の入力領域61では、選択的に保存条件の名称の入力を受け付けるコンボボックスを表示する。コンボボックスを介して使用者から保存名称の選択を受け付けると、制御部125は、その指定された保存名称に合致する保存条件をデータ格納部13から抽出し、事前に保存した部品条件と実行条件を読み出す。そして、読み出した各条件を、部品条件の入力領域62および実行条件の入力領域63の各領域に表示する。これにより、使用者は、以前に保存した条件を選択することで再利用ができるようになり、再利用が容易になる。なお、事前に保存した条件とは、保存ボタン66に指示を受け付けることにより予め名前をつけてデータ格納部13に保存した部品条件と実行条件である。   First, the storage condition input area 61 will be described. In the storage condition input area 61, a combo box for selectively inputting a storage condition name is displayed. When the selection of the storage name is received from the user via the combo box, the control unit 125 extracts the storage condition that matches the specified storage name from the data storage unit 13 and stores the part condition and the execution condition stored in advance. Is read. The read conditions are displayed in the parts condition input area 62 and the execution condition input area 63. Accordingly, the user can reuse by selecting a previously saved condition, and the reuse becomes easy. The pre-saved conditions are part conditions and execution conditions that are pre-named and saved in the data storage unit 13 by accepting an instruction to the save button 66.

次に、部品条件の入力領域62について説明する。部品条件の入力領域62は、第1条件と、第2条件と、の2つの条件の入力領域を備える。なお、この入力領域は3つ以上あってもよい。また、この第1条件と第2条件との論理関係は、使用者が関係入力616に選択入力する。関係入力616は、選択的に入力を行うことができるコンボボックスなどにより表示され、「第1条件のみ」と、「かつ(And)」と、「または(Or)」のうちのいずれかの論理関係を指定できるものである。「第1条件のみ」とは、第1条件を満たす部品のみを処理対象とし、第2条件を処理対象の選択に適用しないことをいい、「かつ」とは、第1条件を満たす部品のうち、第2条件も満たす部品を処理対象とすることをいう。「または」とは、第1条件のみを満たす部品か、または第2条件のみを満たす部品か、第1条件と第2条件のどちらも満たす部品、を処理対象とすることをいう。   Next, the component condition input area 62 will be described. The part condition input area 62 includes input areas for two conditions of a first condition and a second condition. There may be three or more input areas. Further, the logical relationship between the first condition and the second condition is selected and input to the relationship input 616 by the user. The relation input 616 is displayed by a combo box or the like that can be selectively input, and the logic of any one of “first condition only”, “and (And)”, and “or (Or)” is displayed. A relationship can be specified. “Only the first condition” means that only parts satisfying the first condition are to be processed, and the second condition is not applied to selection of the process target. This means that a part that also satisfies the second condition is to be processed. “Or” means that a part that satisfies only the first condition, a part that satisfies only the second condition, or a part that satisfies both the first condition and the second condition is a processing target.

部品条件の入力領域62の第1条件入力領域は、処理対象の部品を特定するための条件を入力する領域である。部品条件の入力領域62は、検索対象指定領域611と、条件選択指定領域612と、属性名称指定領域613と、検索する値指定領域614と、検索する値条件指定領域615と、を備える。検索対象指定領域611は、部品コードで対象の部品を検索し抽出する、または部品属性で対象の部品を検索し抽出する、のいずれかを指定する入力を受け付ける領域である。条件選択領域612は、検索し抽出する対象を絞る条件を指定するための入力を受け付ける領域である。なお、この条件選択領域612は、検索対象指定領域611にて「部品コード」が指定される場合には、入力を受け付けないように表示される。属性名称指定領域613は、検索し抽出する対象を絞るための属性の名称を指定する領域である。なお、この属性名称指定領域613は、検索対象指定領域611にて「部品コード」が指定される場合には、入力を受け付けないように表示される。検索する値指定領域614は、検索する属性値を文字列で指定する領域である。また、検索する値条件指定領域615は、検索する値指定領域614で指定した検索する値の詳細検索条件の入力を受け付ける領域である。検索する値条件指定領域615は、(検索する値)「を含む」と、「を含まない」と、「と一致する」と、「と一致しない」と、「より大きい」と、「以上」と、「より小さい」と、「以下」と、「で始まる」と、「で始まらない」と、「で終わる」と、「で終わらない」の12種類の条件で指定する領域である。   The first condition input area of the part condition input area 62 is an area for inputting a condition for specifying a component to be processed. The part condition input area 62 includes a search target designation area 611, a condition selection designation area 612, an attribute name designation area 613, a value designation area 614 to be retrieved, and a value condition designation area 615 to be retrieved. The search target designation area 611 is an area that accepts an input for designating whether to search for and extract a target part with a part code, or to search for and extract a target part with a part attribute. The condition selection area 612 is an area that receives an input for specifying a condition for narrowing down a target to be searched and extracted. The condition selection area 612 is displayed so as not to accept an input when “part code” is designated in the search target designation area 611. The attribute name designation area 613 is an area for designating an attribute name for narrowing down a target to be searched and extracted. The attribute name designation area 613 is displayed so as not to accept an input when “part code” is designated in the search target designation area 611. The value specifying area 614 to be searched is an area for specifying an attribute value to be searched with a character string. The search value condition specifying area 615 is an area for accepting input of a detailed search condition of a search value specified in the search value specifying area 614. The value condition specification area 615 to search includes (search value) “includes”, “does not include”, “matches with”, “does not match”, “greater than”, and “more than”. And “less than”, “below”, “starts with”, “does not start with”, “ends with”, and “does not end with”.

「を含む」とは、検索する値をその値の一部に持つ属性を備えた部品であれば全て該当するとして検索する条件をいう。「を含まない」とは、逆に、検索する値をその値の一部に持たない属性を備えた部品であれば全て該当するとして検索する条件をいう。   “Including” refers to a condition for searching that all parts having an attribute having a value to be searched for as a part of the value are applicable. “Does not include” means a condition for searching for all parts having an attribute that does not have a value to be searched as part of the value.

「と一致する」とは、検索する値をその属性値に備えた部品を検索する条件をいう。「と一致しない」とは、逆に、検索する値をその属性値に備えない部品を検索する条件をいう。   “Matches” means a condition for searching for a component having a value to be searched for in its attribute value. In contrast, “does not match” refers to a condition for searching for a component that does not have a value to be searched for in its attribute value.

「を含む」とは、検索する値をその値の一部に持つ属性を備えた部品であれば全て該当するとして検索する条件をいう。「を含まない」とは、逆に、検索する値をその値の一部に持たない属性値のみからなる部品であれば全て該当するとして検索する条件をいう。   “Including” refers to a condition for searching that all parts having an attribute having a value to be searched for as a part of the value are applicable. “Does not include” means a condition for searching that all parts that are only attribute values that do not have the value to be searched for are applicable.

「より大きい」とは、検索する値より大きい値をその属性値に備えた部品を検索する条件をいう。「以下」とは、逆に、検索する値以下の値をその属性値に備えた部品を検索する条件をいう。   “Greater than” refers to a condition for searching for a component having a value larger than the value to be searched for in its attribute value. “Following” refers to a condition for searching for a component having a value equal to or less than the value to be searched for in its attribute value.

「で始まる」とは、検索する値をその属性値に含み、かつその属性値は検索する値と前方一致する部品を検索する条件をいう。「で始まらない」とは、逆に、検索する値をその属性値に含む場合であって、かつその属性値は検索する値と前方一致しない部品を検索する条件をいう。   “Begins with” refers to a condition for searching for a component that includes a value to be searched for in the attribute value and the attribute value matches the value to be searched forward. “Does not begin with” refers to a condition for searching for a component that includes a value to be searched for in the attribute value and the attribute value does not coincide with the value to be searched forward.

「で終わる」とは、検索する値をその属性値に含み、かつその属性値は検索する値と後方一致する部品を検索する条件をいう。「で終わらない」とは、逆に、検索する値をその属性値に含む場合であって、かつその属性値は検索する値と後方一致しない部品を検索する条件をいう。   “Ends with” means a condition for searching for a component that includes the value to be searched for in the attribute value and the attribute value is backwardly matched with the value to be searched. “Does not end with” refers to a condition for searching for a component that includes the value to be searched for in the attribute value and whose attribute value does not coincide with the value to be searched for.

第2条件入力領域は、第1条件入力領域と同様に、検索対象指定領域617と、条件選択指定領域618と、属性名称指定領域619と、検索する値指定領域620と、検索する値条件指定領域621と、を備える。それぞれ、第1条件入力領域の、検索対象指定領域611と、条件選択指定領域612と、属性名称指定領域613と、検索する値指定領域614と、検索する値条件指定領域615と、と同様である。   Similar to the first condition input area, the second condition input area is a search target designation area 617, a condition selection designation area 618, an attribute name designation area 619, a value designation area 620 to be retrieved, and a value condition designation to be retrieved. A region 621. The search condition designation area 611, the condition selection designation area 612, the attribute name designation area 613, the value designation area 614 to be retrieved, and the value condition designation area 615 to be retrieved are the same as the first condition input area, respectively. is there.

次に、実行条件の入力領域63について説明する。実行条件の入力領域63で指定する内容は、部品条件の入力領域62で選択された部品に対して行う処理の詳細な条件を指定するものである。たとえば「属性の一括設定」を行う場合には、設定する属性と設定値を指定するものである。   Next, the execution condition input area 63 will be described. The content specified in the execution condition input area 63 is to specify detailed conditions of processing to be performed on the part selected in the part condition input area 62. For example, when “batch setting of attributes” is performed, an attribute to be set and a setting value are designated.

実行条件の入力領域63は、条件選択指定領域622と、属性名称指定領域623と、設定値指定領域624と、を有して構成されている。条件選択指定領域622は、使用者に指定された条件を基に、対象となる部品属性を絞るための条件の指定を受け付ける領域である。属性名称指定領域623は、値を設定する部品属性の名称の指定を受け付ける領域である。設定値指定領域624は、設定する値の指定を受け付ける領域である。   The execution condition input area 63 includes a condition selection / designation area 622, an attribute name designation area 623, and a set value designation area 624. The condition selection / designation area 622 is an area that accepts designation of conditions for narrowing down target component attributes based on conditions designated by the user. The attribute name designation area 623 is an area for accepting designation of the name of a component attribute for which a value is set. The setting value designation area 624 is an area for accepting designation of a value to be set.

実行ボタン64は、部品条件62、実行条件63、および確認モードの指定を受け付けるためのチェックボックス67で指定された条件を用いて処理を開始する指示を受け付けるボタンである。当該指示を受け付けた部品属性一括設定条件受付部211は、部品条件の入力領域62、実行条件の入力領域63、および確認モードの指定を受け付けるためのチェックボックス67で指定された条件を受け付け、編集処理実行部122の部品属性一括設定部221に制御を受け渡す。   The execution button 64 is a button for receiving an instruction to start processing using the conditions specified by the check box 67 for receiving the specification of the component condition 62, the execution condition 63, and the confirmation mode. The part attribute batch setting condition accepting unit 211 that accepts the instruction accepts and edits the conditions specified by the part condition input area 62, the execution condition input area 63, and the check box 67 for accepting the specification of the confirmation mode. Control is transferred to the component attribute batch setting unit 221 of the process execution unit 122.

キャンセルボタン65は、当該部品属性一括設定条件受付部211の処理を終了させる指示の入力を受け付けるボタンである。当該指示を受け付けた部品属性一括設定条件受付部211は、その処理を中断し、制御部125に制御を返却する。   The cancel button 65 is a button that accepts an input of an instruction to end the processing of the component attribute batch setting condition accepting unit 211. The component attribute batch setting condition reception unit 211 that has received the instruction interrupts the process and returns control to the control unit 125.

保存ボタン66は、部品条件62、実行条件63、および確認モードの指定を受け付けるためのチェックボックス67で指定された条件をデータ格納部13の図示しない領域に記憶させる指示を受け付けるためのボタンである。当該指示を受け取った部品属性一括設定条件受付部211は、部品条件62、実行条件63、および確認モードの指定を受け付けるためのチェックボックス67で指定された条件を、データ格納部13に記憶させる。   The save button 66 is a button for receiving an instruction to store the conditions specified by the check box 67 for receiving the specification of the component condition 62, the execution condition 63, and the confirmation mode in an area (not shown) of the data storage unit 13. . The component attribute batch setting condition reception unit 211 that has received the instruction causes the data storage unit 13 to store the condition specified by the check box 67 for receiving the specification of the component condition 62, the execution condition 63, and the confirmation mode.

チェックボックス67は、部品ごとに属性値の設定を使用者に確認しながら処理する確認モードを適用することの指定を受け付ける領域であり、チェックがONかOFFかにより適用の指定を受け付ける。   The check box 67 is an area for accepting designation of applying a confirmation mode in which processing is performed while confirming the attribute value setting for each part with the user, and accepts designation of application depending on whether the check is ON or OFF.

処理の説明に戻る。ステップ71にて画面60が表示されると、編集条件受付部121は、保存条件の入力領域61と、部品条件の入力領域62と、実行条件の入力領域63と、実行ボタン64と、キャンセルボタン65と、保存ボタン66と、チェックボックス67と、に対する操作を受け付ける。そのうち、実行ボタン64に対する操作を受け付けると、保存条件の入力領域61の指定内容と、部品条件の入力領域62の指定内容を受け付け(ステップ72)、実行条件の入力領域63とチェックボックス67との指定内容を受け付け(ステップ73)る。そして例えば、受け付けた条件をパラメータとして処理を部品ごとに実施するように部品属性一括設定部221に処理を依頼する(ステップ74)。   Return to the description of the process. When the screen 60 is displayed in step 71, the editing condition receiving unit 121 displays a storage condition input area 61, a part condition input area 62, an execution condition input area 63, an execution button 64, and a cancel button. 65, a save button 66, and a check box 67 are accepted. Among them, when an operation on the execution button 64 is accepted, the designated content of the storage condition input area 61 and the designated content of the part condition input area 62 are accepted (step 72), and the execution condition input area 63 and the check box 67 are displayed. The designated content is accepted (step 73). Then, for example, the component attribute batch setting unit 221 is requested to perform the processing for each component using the received condition as a parameter (step 74).

部品属性一括設定部221は、部品条件の入力領域62の指定内容をパラメータから取得すると、部品マスタ表1311と部品表1312とを検索し、部品条件の指定内容に合致する部品マスタ表1311と部品表1312のレコードを主記憶装置5322にロードする。   When the part attribute batch setting unit 221 acquires the specification contents of the part condition input area 62 from the parameters, the part attribute batch setting unit 221 searches the part master table 1311 and the parts table 1312 and matches the part master table 1311 and the parts that match the part condition specification contents. The record of Table 1312 is loaded into the main storage device 5322.

部品属性一括設定部221は、ロードした部品マスタ表1311と部品表1312のレコードそれぞれに対して、以下のステップ75〜79の処理を実施する。   The part attribute batch setting unit 221 performs the following steps 75 to 79 for each of the loaded parts master table 1311 and parts table 1312 records.

部品属性一括設定部221は、チェックボックス67がONに設定されているか否かを判定する(ステップ75)。   The part attribute batch setting unit 221 determines whether or not the check box 67 is set to ON (step 75).

ステップ75の判定結果がNOである、即ちチェックボックス67がOFFに設定されている場合、部品属性一覧設定部221は、ロードした部品マスタ表1311と部品表1312のレコードに対して、実行条件の指定内容を基に処理を行うとともに、その実行内容を編集履歴表1323に記録する(ステップ76)。   When the determination result in step 75 is NO, that is, when the check box 67 is set to OFF, the part attribute list setting unit 221 executes the execution condition for the loaded parts master table 1311 and parts table 1312 records. The processing is performed based on the designated content, and the execution content is recorded in the edit history table 1323 (step 76).

具体的には、例えば、部品属性一覧設定部221は、部品マスタ表1311と部品表1312に対して、条件選択指定領域622で指定した属性を備えた表を選択し、選択された表の属性名称指定領域623で指定した属性名称に合致する属性に対して、設定値指定領域624で指定した設定値を設定する。   Specifically, for example, the component attribute list setting unit 221 selects a table having the attribute specified in the condition selection specification area 622 for the component master table 1311 and the component table 1312, and selects the attribute of the selected table. The setting value specified in the setting value specifying area 624 is set for the attribute that matches the attribute name specified in the name specifying area 623.

部品属性一覧設定部221は、ステップ76を実施したのち、全てのロードした部品マスタ表1311と部品表1312に対して実施したか否かを判定して、YES、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施したのであれば、その処理を終了して編集条件受付部121の各機能部に制御を返却し、編集条件受付部121の各機能部は、その処理を中断し、制御部125に制御を返却する(ステップ77)。   After executing step 76, the component attribute list setting unit 221 determines whether or not the processing has been performed for all the loaded component master tables 1311 and 1312, and YES, that is, all the loaded component master tables. If the processing is performed on the component table 1311 and the parts table 1312, the processing is terminated and the control is returned to each functional unit of the editing condition receiving unit 121, and each functional unit of the editing condition receiving unit 121 interrupts the processing. Then, control is returned to the control unit 125 (step 77).

部品属性一覧設定部221は、ステップ77の判定がNOであれば、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施し終えていないのであれば、再度ステップ75から処理を実施する。   The part attribute list setting unit 221 executes the process from step 75 again if the determination in step 77 is NO, that is, if all the loaded parts master table 1311 and parts table 1312 have not been executed. To do.

また、ステップ75の判定結果がYES、即ちチェックボックス67がONに設定されている場合、部品属性一覧設定部221は、ロードした部品マスタ表1311と部品表1312のうち実行対象のレコードの部品コード312、あるいは実行対象の親部品コード321と子部品コード322の組、を含むメッセージを画面に表示させて、実行する対象を使用者に確認させる(ステップ78)。   If the determination result in step 75 is YES, that is, the check box 67 is set to ON, the component attribute list setting unit 221 selects the component code of the record to be executed from the loaded component master table 1311 and component table 1312. A message including 312 or a combination of the parent part code 321 and the child part code 322 to be executed is displayed on the screen to make the user confirm the execution target (step 78).

ここで、ステップ78にて表示させるメッセージの画面を図13に示す。   Here, a message screen to be displayed in step 78 is shown in FIG.

図13は、実行確認を行う場合の対象部品確認画面1300を示す図面である。   FIG. 13 is a diagram showing a target component confirmation screen 1300 when execution confirmation is performed.

対象部品確認画面1300は、メッセージ表示欄1301と、実行対象確認受付欄1302と、すべてチェック指定欄1303と、OKボタン1304と、キャンセルボタン1305と、チェック入力欄1306と、部品表示欄1307と、を有して構成される。   The target component confirmation screen 1300 includes a message display column 1301, an execution target confirmation reception column 1302, an all check designation column 1303, an OK button 1304, a cancel button 1305, a check input column 1306, a component display column 1307, It is comprised.

部品属性一覧設定部221は、メッセージ表示欄1301に、処理内容を含むメッセージを表示させる。例えば、「以下の構成情報の組み付け動作項目に値[↓][Q]をセットします」などの文章をメッセージとする。   The component attribute list setting unit 221 displays a message including the processing content in the message display field 1301. For example, a message such as “value [↓] [Q] is set in the assembling operation item of the following configuration information” is used as the message.

また、部品属性一覧設定部221は、実行対象確認受付欄1302に、部品条件を満たす部品を表示させる。なお、図示しないが、このとき、表示しきれないほどに部品が有る場合には、スクロールさせるボタンなどを表示させてもよい。   In addition, the part attribute list setting unit 221 displays parts satisfying the part condition in the execution target confirmation receiving field 1302. Although not shown, when there are parts that cannot be displayed at this time, a scroll button or the like may be displayed.

すべてチェック指定欄1303は、ONを指定すると、実行対象確認欄1302に表示されているすべての部品のチェックをONに設定する。OFFを指定すると、全ての部品のチェックはOFFに設定される。   In the all check designation field 1303, when ON is designated, all parts displayed in the execution target confirmation field 1302 are set to ON. If OFF is specified, all component checks are set to OFF.

OKボタン1304は、実行対象確認受け付け欄1302に表示された部品のうち、チェックをONに指定されている物を対象として、送信する処理を開始するボタンである。   An OK button 1304 is a button for starting a process of transmitting a part whose check is designated as ON among the parts displayed in the execution target confirmation receiving field 1302.

キャンセルボタン1305は、対象部品確認画面1300の表示を終了させ、画面60に表示を戻すボタンである。   A cancel button 1305 is a button for ending the display of the target component confirmation screen 1300 and returning the display to the screen 60.

チェック入力欄1306は、部品表示欄1307に表示した部品一つに応じて一つ表示される入力欄であり、ONに設定されることで実行対象となり、OFFに設定されることで実行対象から除外されるが、そのONとOFFの受付を行う欄である。   The check input field 1306 is an input field that is displayed according to one component displayed in the component display field 1307, and is set as an execution target when set to ON, and from the execution target when set as OFF. Although excluded, this is a column for accepting ON and OFF.

部品表示欄1307は、部品条件を満たす部品を表示する欄である。   The component display column 1307 is a column for displaying components that satisfy the component condition.

ステップ78で表示させた対象部品確認画面1300のOKボタン1304に対する操作により指定内容が送信されると、部品属性一覧設定部221は、入力部111を介して使用者の応答を受け付け、その内容が実行を許可するものであるか否かの判定を行う(ステップ79)。例えば、部品表示欄1307に示した部品ごとに、対応するチェック入力欄1306がONであれば、実行を許可するものであると判定する。   When the specified content is transmitted by an operation on the OK button 1304 on the target component confirmation screen 1300 displayed in step 78, the component attribute list setting unit 221 receives a user response via the input unit 111, and the content is It is determined whether or not the execution is permitted (step 79). For example, for each component shown in the component display field 1307, if the corresponding check input field 1306 is ON, it is determined that the execution is permitted.

ステップ79の判定の結果、YES、つまり受け付けた応答が実行を許可するものであれば、部品属性一覧設定部221は、ステップ76を実行する。   If the result of determination in step 79 is YES, that is, if the received response permits execution, the component attribute list setting unit 221 executes step 76.

ステップ79の判定の結果、NO、つまり受け付けた応答が実行を許可するものでなければ、部品属性一覧設定部221は、ステップ77を実行する。   If the result of determination in step 79 is NO, that is, if the accepted response does not permit execution, the component attribute list setting unit 221 executes step 77.

以上が、部品属性一括設定処理の処理フローである。   The above is the process flow of the component attribute batch setting process.

以下に、ステップ71で受け付けたコマンドが部品削除コマンドであった場合の処理について、図14と図15を用いて説明する。受け付けたコマンドが部品削除コマンドであった場合には、制御部125は、部品削除条件受付部212に制御を受け渡す。そして、部品削除条件受付部212は、条件指定の入力を使用者に促し、入力を受け付けるための画面を表示する。例えば、部品削除条件受付部212は、図15に示すような、部品条件の入力画面1400を、出力部112を介して使用者に表示する(ステップ151)。   Hereinafter, processing when the command received in step 71 is a component deletion command will be described with reference to FIGS. 14 and 15. If the received command is a component deletion command, the control unit 125 passes control to the component deletion condition reception unit 212. Then, the component deletion condition reception unit 212 prompts the user to input a condition specification and displays a screen for receiving the input. For example, the component deletion condition reception unit 212 displays a component condition input screen 1400 as shown in FIG. 15 to the user via the output unit 112 (step 151).

ここで、図15の画面1400について説明する。図15に示す画面1400は、部品削除を行う場合の入力画面である。画面1400は、保存条件の入力領域1401と、部品条件の入力領域1402と、入力した条件でコマンドを実行する命令を入力するボタンである実行ボタン1403と、本画面の入力を中止し、キャンセルする命令を入力するボタンであるキャンセルボタン1404と、画面1400で設定した条件を保存する命令を入力するボタンである保存ボタン1405と、部品ごとに属性値の設定を実行することを確認しながら処理する確認モードを指定するためのチェックボックス1406とを有して構成される。   Here, the screen 1400 of FIG. 15 will be described. A screen 1400 shown in FIG. 15 is an input screen for performing component deletion. The screen 1400 cancels and cancels the input of this screen, the storage condition input area 1401, the part condition input area 1402, the execution button 1403 that is a button for inputting a command to execute a command under the input conditions. A cancel button 1404 that is a button for inputting a command, a save button 1405 that is a button for inputting a command for saving conditions set on the screen 1400, and processing while confirming that attribute value setting is executed for each component And a check box 1406 for designating a confirmation mode.

まず、保存条件の入力領域1401について説明する。保存条件の入力領域1401では、選択的に保存条件の名称の入力を受け付けるコンボボックスを表示する。コンボボックスを介して使用者から保存名称の選択を受け付けると、制御部125は、その指定された保存名称に合致する保存条件をデータ格納部13から抽出し、事前に保存した部品条件を読み出す。そして、読み出した各条件を、部品条件の入力領域1402の領域に表示する。これにより、使用者は、以前に保存した条件を選択することで再利用ができるようになり、再利用が容易になる。なお、事前に保存した条件とは、保存ボタン1405に指示を受け付けることにより予め名前をつけてデータ格納部13に保存した部品条件と実行条件である。   First, the storage condition input area 1401 will be described. A storage condition input area 1401 displays a combo box that selectively receives an input of a storage condition name. When the selection of the storage name is received from the user via the combo box, the control unit 125 extracts the storage condition that matches the specified storage name from the data storage unit 13 and reads the pre-stored part condition. Then, each read condition is displayed in the part condition input area 1402. Accordingly, the user can reuse by selecting a previously saved condition, and the reuse becomes easy. The pre-saved conditions are part conditions and execution conditions that are pre-named and saved in the data storage unit 13 by accepting an instruction to the save button 1405.

次に、部品条件の入力領域1402について説明する。部品条件の入力領域1402は、第1条件と、第2条件と、の2つの条件の入力領域を備える。なお、この入力領域は3つ以上あってもよい。また、この第1条件と第2条件との論理関係は、使用者が関係入力1416に選択入力する。関係入力1416は、選択的に入力を行うことができるコンボボックスなどにより表示され、「第1条件のみ」と、「かつ(And)」と、「または(Or)」のうちのいずれかの論理関係を指定できるものである。「第1条件のみ」とは、第1条件を満たす部品のみを処理対象とし、第2条件を処理対象の選択に適用しないことをいい、「かつ」とは、第1条件を満たす部品のうち、第2条件も満たす部品を処理対象とすることをいう。「または」とは、第1条件のみを満たす部品か、または第2条件のみを満たす部品か、第1条件と第2条件のどちらも満たす部品、を処理対象とすることをいう。   Next, the component condition input area 1402 will be described. The component condition input area 1402 includes two condition input areas, a first condition and a second condition. There may be three or more input areas. The logical relationship between the first condition and the second condition is selected and input by the user to the relationship input 1416. The relation input 1416 is displayed by a combo box or the like that can be selectively input. The relation input 1416 is a logic of any one of “first condition only”, “and (And)”, and “or (Or)”. A relationship can be specified. “Only the first condition” means that only parts satisfying the first condition are to be processed, and the second condition is not applied to selection of the process target. This means that a part that also satisfies the second condition is to be processed. “Or” means that a part that satisfies only the first condition, a part that satisfies only the second condition, or a part that satisfies both the first condition and the second condition is a processing target.

部品条件の入力領域1402の第1条件入力領域は、処理対象の部品を特定するための条件を入力する領域である。部品条件の入力領域1402は、検索対象指定領域1411と、条件選択指定領域1412と、属性名称指定領域1413と、検索する値指定領域1414と、検索する値条件指定領域1415と、を備える。検索対象指定領域1411は、部品コードで対象の部品を検索し抽出する、または部品属性で対象の部品を検索し抽出する、のいずれかを指定する入力を受け付ける領域である。条件選択領域1412は、検索し抽出する対象を絞る条件を指定するための入力を受け付ける領域である。なお、この条件選択領域1412は、検索対象指定領域1411にて「部品コード」が指定される場合には、入力を受け付けないように表示される。属性名称指定領域1413は、検索し抽出する対象を絞るための属性の名称を指定する領域である。なお、この属性名称指定領域1413は、検索対象指定領域1411にて「部品コード」が指定される場合には、入力を受け付けないように表示される。検索する値指定領域1414は、検索する属性値を文字列で指定する領域である。また、検索する値条件指定領域1415は、検索する値指定領域1414で指定した検索する値の詳細検索条件の入力を受け付ける領域である。検索する値条件指定領域1415は、(検索する値)「を含む」と、「を含まない」と、「と一致する」と、「と一致しない」と、「より大きい」と、「以上」と、「より小さい」と、「以下」と、「で始まる」と、「で始まらない」と、「で終わる」と、「で終わらない」の12種類の条件で指定する領域である。   The first condition input area of the part condition input area 1402 is an area for inputting a condition for specifying a component to be processed. The part condition input area 1402 includes a search target designation area 1411, a condition selection designation area 1412, an attribute name designation area 1413, a value designation area 1414 to be retrieved, and a value condition designation area 1415 to be retrieved. The search target designation area 1411 is an area that accepts an input that designates either searching for and extracting a target part with a part code or searching for and extracting a target part with a part attribute. The condition selection area 1412 is an area that receives an input for specifying a condition for narrowing down a target to be searched and extracted. The condition selection area 1412 is displayed so as not to accept an input when “part code” is designated in the search target designation area 1411. The attribute name designation area 1413 is an area for designating an attribute name for narrowing down a target to be searched and extracted. This attribute name designation area 1413 is displayed so as not to accept an input when “part code” is designated in the search target designation area 1411. The value specification area 1414 to be searched is an area for specifying a search attribute value by a character string. Further, the search value condition specification area 1415 is an area for accepting input of a detailed search condition of the search value specified in the search value specification area 1414. The value condition specifying area 1415 to search includes (search value) “includes”, “does not include”, “matches with”, “does not match”, “greater than”, and “more than”. And “less than”, “below”, “starts with”, “does not start with”, “ends with”, and “does not end with”.

なお、これらの条件については、前述した部品属性一括設定処理において表示する画面60の検索する値条件指定領域615と同様であるため、ここでは説明を省略する。   Note that these conditions are the same as those in the value condition designation area 615 to be searched for on the screen 60 displayed in the component attribute batch setting process described above, and thus the description thereof is omitted here.

第2条件入力領域は、第1条件入力領域と同様に、検索対象指定領域1417と、条件選択指定領域1418と、属性名称指定領域1419と、検索する値指定領域1420と、検索する値条件指定領域1421と、を備える。それぞれ、第1条件入力領域の、検索対象指定領域1411と、条件選択指定領域1412と、属性名称指定領域1413と、検索する値指定領域1414と、検索する値条件指定領域1415と、と同様である。   Similar to the first condition input area, the second condition input area includes a search target designation area 1417, a condition selection designation area 1418, an attribute name designation area 1419, a value designation area 1420 to be retrieved, and a value condition designation to be retrieved. A region 1421. The same as the search target specifying area 1411, the condition selection specifying area 1412, the attribute name specifying area 1413, the value specifying area 1414 to be searched, and the value condition specifying area 1415 to be searched, respectively, in the first condition input area. is there.

実行ボタン1403は、部品条件1402および確認モードの指定を受け付けるためのチェックボックス1406で指定された条件を用いて処理を開始する指示を受け付けるボタンである。当該指示を受け付けた部品削除部212は、部品条件の入力領域1402および確認モードの指定を受け付けるためのチェックボックス1606で指定された条件を受け付け、編集処理実行部122の部品削除条件部222に制御を受け渡す。   The execution button 1403 is a button for accepting an instruction to start processing using the conditions designated by the check box 1406 for accepting designation of the component condition 1402 and the confirmation mode. The component deletion unit 212 that has received the instruction receives the conditions specified by the input area 1402 of the component conditions and the check box 1606 for receiving the specification of the confirmation mode, and controls the component deletion condition unit 222 of the editing process execution unit 122 to control the conditions. Hand over.

キャンセルボタン1404は、当該部品削除条件受付部212の処理を終了させる指示の入力を受け付けるボタンである。当該指示を受け付けた部品削除条件受付部212は、その処理を中断し、制御部125に制御を返却する。   A cancel button 1404 is a button for accepting an input of an instruction to end the process of the component deletion condition accepting unit 212. The component deletion condition receiving unit 212 that has received the instruction interrupts the process and returns control to the control unit 125.

保存ボタン1405は、部品条件1402および確認モードの指定を受け付けるためのチェックボックス1406で指定された条件をデータ格納部13の図示しない領域に記憶させる指示を受け付けるためのボタンである。当該指示を受け取った部品削除条件受付部212は、部品条件1402および確認モードの指定を受け付けるためのチェックボックス1406で指定された条件を、データ格納部13に記憶させる。   The save button 1405 is a button for accepting an instruction to store the condition designated by the check box 1406 for accepting the specification of the component condition 1402 and the confirmation mode in an area (not shown) of the data storage unit 13. The component deletion condition reception unit 212 that has received the instruction causes the data storage unit 13 to store the condition specified by the check box 1406 for receiving the specification of the component condition 1402 and the confirmation mode.

チェックボックス1406は、部品ごとに属性値の設定を使用者に確認しながら処理する確認モードを適用することの指定を受け付ける領域であり、チェックがONかOFFかにより適用の指定を受け付ける。   A check box 1406 is an area for accepting designation of applying a confirmation mode in which processing is performed while confirming the attribute value setting for each component with the user, and accepts designation of application depending on whether the check is ON or OFF.

処理の説明に戻る。ステップ151にて画面1400が表示されると、部品削除条件受付部212は、保存条件の入力領域1401と、部品条件の入力領域1402と、実行ボタン1403と、キャンセルボタン1404と、保存ボタン1405と、チェックボックス1406と、に対する操作を受け付ける。そのうち、実行ボタン1403に対する操作を受け付けると、保存条件の入力領域1401の指定内容と、部品条件の入力領域1402の指定内容を受け付け(ステップ152)、チェックボックス1406の指定内容を受け付け(ステップ153)る。そして例えば、受け付けた条件をパラメータとして処理を部品ごとに実施するように部品削除部222に処理を依頼する(ステップ154)。   Return to the description of the process. When the screen 1400 is displayed in step 151, the part deletion condition reception unit 212 displays a storage condition input area 1401, a part condition input area 1402, an execution button 1403, a cancel button 1404, and a save button 1405. , An operation for the check box 1406 is accepted. Among them, when an operation on the execution button 1403 is accepted, the designated content of the storage condition input area 1401 and the designated content of the part condition input area 1402 are accepted (step 152), and the designated content of the check box 1406 is accepted (step 153). The Then, for example, the component deletion unit 222 is requested to perform the process so that the process is performed for each component using the received condition as a parameter (step 154).

部品削除部222は、部品条件の入力領域1402の指定内容をパラメータから取得すると、部品マスタ表1311と部品表1312とを検索し、部品条件の指定内容に合致する部品マスタ表1311と部品表1312のレコードを主記憶装置5322にロードする。   When the part deletion unit 222 acquires the specification content of the part condition input area 1402 from the parameters, the part deletion unit 222 searches the part master table 1311 and the part table 1312 and matches the part condition specification content with the part master table 1311 and the part table 1312. Are loaded into the main memory 5322.

部品削除部222は、ロードした部品マスタ表1311と部品表1312のレコードそれぞれに対して、以下のステップ155〜159の処理を実施する。   The parts deletion unit 222 performs the following processes of steps 155 to 159 for each of the loaded parts master table 1311 and parts table 1312 records.

部品属性一括設定部221は、チェックボックス1406がONに設定されているか否かを判定する(ステップ155)。   The component attribute batch setting unit 221 determines whether or not the check box 1406 is set to ON (step 155).

ステップ155の判定結果がNOである、即ちチェックボックス1406がOFFに設定されている場合、部品削除部222は、ロードした部品マスタ表1311と部品表1312のレコードに対して、実行条件の指定内容を基に削除処理を行うとともに、その実行内容を編集履歴表1323に記録する(ステップ156)。   If the determination result in step 155 is NO, that is, if the check box 1406 is set to OFF, the component deletion unit 222 specifies the execution condition specification contents for the loaded component master table 1311 and component table 1312 records. Is deleted, and the execution contents are recorded in the edit history table 1323 (step 156).

具体的には、例えば、部品削除部222は、ロードした部品マスタ表1311と部品表1312に対して、そのレコードを削除する。   Specifically, for example, the component deletion unit 222 deletes the record from the loaded component master table 1311 and the component table 1312.

部品削除部222は、ステップ156を実施したのち、全てのロードした部品マスタ表1311と部品表1312に対して実施したか否かを判定して、YES、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施したのであれば、その処理を終了して編集条件受付部121の部品削除条件受付部212に制御を返却し、部品削除条件受付部212は、その処理を中断し、制御部125に制御を返却する(ステップ157)。   After executing step 156, the component deletion unit 222 determines whether or not the processing has been performed for all the loaded component master tables 1311 and the component table 1312. YES, that is, all the loaded component master tables 1311 and If it has been performed on the parts table 1312, the process is terminated and control is returned to the part deletion condition reception unit 212 of the editing condition reception unit 121. The part deletion condition reception unit 212 interrupts the process, Control is returned to the control unit 125 (step 157).

部品削除部222は、ステップ157の判定がNOであれば、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施し終えていないのであれば、再度ステップ155から処理を実施する。   If the determination in step 157 is NO, that is, if the execution has not been completed for all the loaded component master table 1311 and component table 1312, the component deletion unit 222 executes the processing from step 155 again.

また、ステップ155の判定結果がYES、即ちチェックボックス1406がONに設定されている場合、部品削除部222は、ロードした部品マスタ表1311と部品表1312のうち実行対象のレコードの部品コード312、あるいは実行対象の親部品コード321と子部品コード322の組、を含むメッセージを画面に表示させて、実行する対象を使用者に確認させる(ステップ158)。   When the determination result in step 155 is YES, that is, when the check box 1406 is set to ON, the component deletion unit 222 includes the component code 312 of the execution target record in the loaded component master table 1311 and the component table 1312. Alternatively, a message including a set of the parent part code 321 and the child part code 322 to be executed is displayed on the screen to make the user confirm the target to be executed (step 158).

ここで、ステップ158にて表示させるメッセージの画面は、図13に示した対象部品確認画面1300と同様の画面であるため、説明を省略する。   Here, the message screen displayed in step 158 is the same as the target component confirmation screen 1300 shown in FIG.

ステップ158で表示させた対象部品確認画面1300のOKボタン1304に対する操作により指定内容が送信されると、部品削除部222は、入力部111を介して使用者の応答を受け付け、その内容が実行を許可するものであるか否かの判定を行う(ステップ159)。例えば、部品表示欄1307に示した部品ごとに、対応するチェック入力欄1306がONであれば、実行を許可するものであると判定する。   When the specified content is transmitted by an operation on the OK button 1304 of the target component confirmation screen 1300 displayed in step 158, the component deletion unit 222 receives a response from the user via the input unit 111, and the content is executed. It is determined whether or not it is permitted (step 159). For example, for each component shown in the component display field 1307, if the corresponding check input field 1306 is ON, it is determined that the execution is permitted.

ステップ159の判定の結果、YES、つまり受け付けた応答が実行を許可するものであれば、部品削除部222は、ステップ156を実行する。   If the result of determination in step 159 is YES, that is, if the accepted response permits execution, the component deletion unit 222 executes step 156.

ステップ159の判定の結果、NO、つまり受け付けた応答が実行を許可するものでなければ、部品削除部222は、ステップ157を実行する。   If the result of determination in step 159 is NO, that is, if the accepted response does not permit execution, the component deletion unit 222 executes step 157.

以上が、部品削除処理の場合の処理フローである。   The processing flow in the case of component deletion processing has been described above.

以下に、ステップ71で受け付けたコマンドが部品追加コマンドであった場合の処理について、図16と図17を用いて説明する。受け付けたコマンドが部品追加コマンドであった場合には、制御部125は、部品追加条件受付部213に制御を受け渡す。そして、部品追加条件受付部213は、条件指定の入力を使用者に促し、入力を受け付けるための画面を表示する。例えば、部品追加条件受付部213は、図17に示すような、部品条件と実行条件の入力画面1600を、出力部112を介して使用者に表示する(ステップ171)。   Hereinafter, processing when the command received in step 71 is a component addition command will be described with reference to FIGS. 16 and 17. If the received command is a component addition command, the control unit 125 passes control to the component addition condition reception unit 213. Then, the component addition condition reception unit 213 prompts the user to input a condition specification and displays a screen for receiving the input. For example, the component addition condition receiving unit 213 displays a component condition and execution condition input screen 1600 as shown in FIG. 17 to the user via the output unit 112 (step 171).

ここで、図17の画面1600について説明する。図17に示す画面1600は、部品追加を行う場合の入力画面である。画面1600は、保存条件の入力領域1601と、部品条件の入力領域1602と、実行条件の入力領域1603と、入力した条件でコマンドを実行する命令を入力するボタンである実行ボタン1604と、本画面の入力を中止し、キャンセルする命令を入力するボタンであるキャンセルボタン1605と、画面1600で設定した条件を保存する命令を入力するボタンである保存ボタン1606と、部品ごとに属性値の設定を実行することを確認しながら処理する確認モードを指定するためのチェックボックス1607とを有して構成される。   Here, the screen 1600 in FIG. 17 will be described. A screen 1600 shown in FIG. 17 is an input screen for adding a component. The screen 1600 includes a storage condition input area 1601, a part condition input area 1602, an execution condition input area 1603, an execution button 1604 that is a button for inputting a command to execute a command under the input conditions, and this screen. Cancel button 1605 that is a button for inputting an instruction to cancel, a save button 1606 that is a button for inputting a command for saving the conditions set on the screen 1600, and setting attribute values for each part And a check box 1607 for designating a confirmation mode to be processed while confirming.

まず、保存条件の入力領域1601について説明する。保存条件の入力領域1601では、選択的に保存条件の名称の入力を受け付けるコンボボックスを表示する。コンボボックスを介して使用者から保存名称の選択を受け付けると、制御部125は、その指定された保存名称に合致する保存条件をデータ格納部13から抽出し、事前に保存した部品条件と実行条件を読み出す。そして、読み出した各条件を、部品条件の入力領域1602および実行条件の入力領域1603の各領域に表示する。これにより、使用者は、以前に保存した条件を選択することで再利用ができるようになり、再利用が容易になる。なお、事前に保存した条件とは、保存ボタン1606に指示を受け付けることにより予め名前をつけてデータ格納部13に保存した部品条件と実行条件である。   First, the storage condition input area 1601 will be described. A storage condition input area 1601 displays a combo box that selectively receives an input of a storage condition name. When the selection of the storage name is received from the user via the combo box, the control unit 125 extracts the storage condition that matches the specified storage name from the data storage unit 13 and stores the part condition and the execution condition stored in advance. Is read. The read conditions are displayed in the parts condition input area 1602 and the execution condition input area 1603. Accordingly, the user can reuse by selecting a previously saved condition, and the reuse becomes easy. The pre-saved conditions are part conditions and execution conditions that are pre-named and saved in the data storage unit 13 by accepting an instruction to the save button 1606.

次に、部品条件の入力領域1602について説明する。部品条件の入力領域1602は、第1条件と、第2条件と、の2つの条件の入力領域を備える。なお、この入力領域は3つ以上あってもよい。また、この第1条件と第2条件との論理関係は、使用者が関係入力1616に選択入力する。関係入力1616は、選択的に入力を行うことができるコンボボックスなどにより表示され、「第1条件のみ」と、「かつ(And)」と、「または(Or)」のうちのいずれかの論理関係を指定できるものである。「第1条件のみ」とは、第1条件を満たす部品のみを処理対象とし、第2条件を処理対象の選択に適用しないことをいい、「かつ」とは、第1条件を満たす部品のうち、第2条件も満たす部品を処理対象とすることをいう。「または」とは、第1条件のみを満たす部品か、または第2条件のみを満たす部品か、第1条件と第2条件のどちらも満たす部品、を処理対象とすることをいう。   Next, the component condition input area 1602 will be described. The part condition input area 1602 includes two condition input areas, a first condition and a second condition. There may be three or more input areas. Further, the logical relationship between the first condition and the second condition is selected and input to the relationship input 1616 by the user. The relation input 1616 is displayed by a combo box or the like that can be selectively input, and the logic of any one of “first condition only”, “and (And)”, and “or (Or)” is displayed. A relationship can be specified. “Only the first condition” means that only parts satisfying the first condition are to be processed, and the second condition is not applied to selection of the process target. This means that a part that also satisfies the second condition is to be processed. “Or” means that a part that satisfies only the first condition, a part that satisfies only the second condition, or a part that satisfies both the first condition and the second condition is a processing target.

部品条件の入力領域1602の第1条件入力領域は、処理対象の部品を特定するための条件を入力する領域である。部品条件の入力領域1602は、検索対象指定領域1611と、条件選択指定領域1612と、属性名称指定領域1613と、検索する値指定領域1614と、検索する値条件指定領域1615と、を備える。検索対象指定領域1611は、部品コードで対象の部品を検索し抽出する、または部品属性で対象の部品を検索し抽出する、のいずれかを指定する入力を受け付ける領域である。条件選択領域1612は、検索し抽出する対象を絞る条件を指定するための入力を受け付ける領域である。なお、この条件選択領域1612は、検索対象指定領域1611にて「部品コード」が指定される場合には、入力を受け付けないように表示される。属性名称指定領域1613は、検索し抽出する対象を絞るための属性の名称を指定する領域である。なお、この属性名称指定領域1613は、検索対象指定領域1611にて「部品コード」が指定される場合には、入力を受け付けないように表示される。検索する値指定領域1614は、検索する属性値を文字列で指定する領域である。また、検索する値条件指定領域1615は、検索する値指定領域1614で指定した検索する値の詳細検索条件の入力を受け付ける領域である。検索する値条件指定領域1615は、(検索する値)「を含む」と、「を含まない」と、「と一致する」と、「と一致しない」と、「より大きい」と、「以上」と、「より小さい」と、「以下」と、「で始まる」と、「で始まらない」と、「で終わる」と、「で終わらない」の12種類の条件で指定する領域である。   The first condition input area of the part condition input area 1602 is an area for inputting a condition for specifying a component to be processed. The part condition input area 1602 includes a search target designation area 1611, a condition selection designation area 1612, an attribute name designation area 1613, a value designation area 1614 to be retrieved, and a value condition designation area 1615 to be retrieved. The search target designation area 1611 is an area that accepts an input for designating whether to search for and extract a target part with a part code, or to search for and extract a target part with a part attribute. The condition selection area 1612 is an area for receiving an input for specifying a condition for narrowing down a target to be searched and extracted. The condition selection area 1612 is displayed so as not to accept an input when “part code” is designated in the search target designation area 1611. The attribute name designation area 1613 is an area for designating an attribute name for narrowing down a target to be searched and extracted. This attribute name designation area 1613 is displayed so as not to accept input when “part code” is designated in the search target designation area 1611. The search value designation area 1614 is an area for designating a search attribute value by a character string. Further, the search value condition specifying area 1615 is an area for accepting input of a detailed search condition of the search value specified in the search value specifying area 1614. The value condition specifying area 1615 to search includes (search value) “includes”, “does not include”, “matches with”, “does not match”, “greater than”, and “greater than”. And “less than”, “below”, “starts with”, “does not start with”, “ends with”, and “does not end with”.

なお、これらの条件については、前述した部品属性一括設定処理において表示する画面60の検索する値条件指定領域615と同様であるため、ここでは説明を省略する。   Note that these conditions are the same as those in the value condition designation area 615 to be searched for on the screen 60 displayed in the component attribute batch setting process described above, and thus the description thereof is omitted here.

第2条件入力領域は、第1条件入力領域と同様に、検索対象指定領域1617と、条件選択指定領域1618と、属性名称指定領域1619と、検索する値指定領域1620と、検索する値条件指定領域1621と、を備える。それぞれ、第1条件入力領域の、検索対象指定領域1611と、条件選択指定領域1612と、属性名称指定領域1613と、検索する値指定領域1614と、検索する値条件指定領域1615と、と同様である。   Similar to the first condition input area, the second condition input area includes a search target designation area 1617, a condition selection designation area 1618, an attribute name designation area 1619, a value designation area 1620 to be retrieved, and a value condition designation to be retrieved. Region 1621. The search condition designation area 1611, the condition selection designation area 1612, the attribute name designation area 1613, the value designation area 1614 to be retrieved, and the value condition designation area 1615 to be retrieved are the same as the first condition input area, respectively. is there.

次に、実行条件の入力領域1603について説明する。実行条件の入力領域1603で指定する内容は、部品条件の入力領域1602で選択された部品に対して行う処理の詳細な条件を指定するものである。たとえば「属性追加」を行う場合には、追加するにあたり元とする部品を特定する条件を指定するものである。   Next, the execution condition input area 1603 will be described. The contents specified in the execution condition input area 1603 specify detailed conditions for processing to be performed on the part selected in the part condition input area 1602. For example, when “add attribute” is performed, a condition for specifying a component as a base for adding is specified.

実行条件の入力領域1603は、コピー元BOM1622と、部品指定1623と、を有して構成されている。コピー元BOM1622は、使用者に指定された条件を基に、対象となるコピー元BOMを絞るための条件の指定を受け付ける領域である。部品指定1623は、コピー元とする部品の部品コードの指定を受け付ける領域である。   The execution condition input area 1603 includes a copy source BOM 1622 and a component designation 1623. The copy source BOM 1622 is an area that accepts specification of conditions for narrowing down the target copy source BOM based on conditions specified by the user. The component designation 1623 is an area for accepting designation of a component code of a component to be copied.

実行ボタン1604は、部品条件1602、実行条件1603、および確認モードの指定を受け付けるためのチェックボックス1607で指定された条件を用いて処理を開始する指示を受け付けるボタンである。当該指示を受け付けた部品追加条件受付部213は、部品条件の入力領域1602、実行条件の入力領域1603、および確認モードの指定を受け付けるためのチェックボックス1607で指定された条件を受け付け、編集処理実行部122の部品追加部223に制御を受け渡す。   The execution button 1604 is a button for accepting an instruction to start processing using the conditions specified in the check box 1607 for accepting designation of the component condition 1602, the execution condition 1603, and the confirmation mode. The component addition condition reception unit 213 that has received the instruction receives the conditions specified in the component condition input area 1602, the execution condition input area 1603, and the check box 1607 for receiving the confirmation mode specification, and executes the editing process. Control is transferred to the component adding unit 223 of the unit 122.

キャンセルボタン1605は、当該部品追加条件受付部213の処理を終了させる指示の入力を受け付けるボタンである。当該指示を受け付けた部品追加条件受付部213は、その処理を中断し、制御部125に制御を返却する。   A cancel button 1605 is a button that accepts an input of an instruction to end the processing of the component addition condition accepting unit 213. The component addition condition receiving unit 213 that has received the instruction interrupts the process and returns control to the control unit 125.

保存ボタン1606は、部品条件1602、実行条件1603、および確認モードの指定を受け付けるためのチェックボックス1607で指定された条件をデータ格納部13の図示しない領域に記憶させる指示を受け付けるためのボタンである。当該指示を受け取った部品追加条件受付部213は、部品条件1602、実行条件1603、および確認モードの指定を受け付けるためのチェックボックス1607で指定された条件を、データ格納部13に記憶させる。   A save button 1606 is a button for accepting an instruction to store the conditions specified in the check box 1607 for accepting designation of the component condition 1602, the execution condition 1603, and the confirmation mode in an area (not shown) of the data storage unit 13. . The component addition condition receiving unit 213 that has received the instruction causes the data storage unit 13 to store the conditions specified by the check box 1607 for receiving the specification of the component condition 1602, the execution condition 1603, and the confirmation mode.

チェックボックス1607は、部品ごとに属性値の設定を使用者に確認しながら処理する確認モードを適用することの指定を受け付ける領域であり、チェックがONかOFFかにより適用の指定を受け付ける。   A check box 1607 is an area for accepting designation of applying a confirmation mode in which processing is performed while confirming the attribute value setting for each component with the user, and accepts designation of application depending on whether the check is ON or OFF.

処理の説明に戻る。ステップ171にて画面1600が表示されると、編集条件受付部121の部品追加条件受付部213は、保存条件の入力領域1601と、部品条件の入力領域1602と、実行条件の入力領域1603と、実行ボタン1604と、キャンセルボタン1605と、保存ボタン1606と、チェックボックス1607と、に対する操作を受け付ける。そのうち、実行ボタン1604に対する操作を受け付けると、保存条件の入力領域1601の指定内容と、部品条件の入力領域1602の指定内容を受け付け(ステップ172)、実行条件の入力領域1603とチェックボックス1607との指定内容を受け付け(ステップ173)る。そして例えば、受け付けた条件をパラメータとして処理を部品ごとに実施するように部品追加部223に処理を依頼する(ステップ174)。   Return to the description of the process. When the screen 1600 is displayed in step 171, the component addition condition receiving unit 213 of the editing condition receiving unit 121 includes a storage condition input region 1601, a component condition input region 1602, an execution condition input region 1603, Operations for the execute button 1604, cancel button 1605, save button 1606, and check box 1607 are accepted. Among them, when an operation for the execution button 1604 is accepted, the designated content of the storage condition input area 1601 and the designated content of the part condition input area 1602 are accepted (step 172), and the execution condition input area 1603 and the check box 1607 The specified content is accepted (step 173). Then, for example, the component adding unit 223 is requested to perform the processing so that the processing is performed for each component using the received condition as a parameter (step 174).

部品追加部223は、部品条件の入力領域1602の指定内容をパラメータから取得すると、部品マスタ表1311と部品表1312とを検索し、部品条件の指定内容に合致する部品マスタ表1311と部品表1312のレコードを主記憶装置5322にロードする。合致するレコードがない場合には、空のレコードを作成してロードする。   When the component addition unit 223 acquires the specification content of the component condition input area 1602 from the parameters, the component addition unit 223 searches the component master table 1311 and the component table 1312 and matches the specification content of the component condition with the component master table 1311 and the component table 1312. Are loaded into the main memory 5322. If there is no matching record, create and load an empty record.

部品追加部223は、ロードした部品マスタ表1311と部品表1312のレコードそれぞれに対して、以下のステップ175〜179の処理を実施する。   The parts adding unit 223 performs the following processes of steps 175 to 179 for each of the records of the loaded parts master table 1311 and parts table 1312.

部品追加部223は、チェックボックス1607がONに設定されているか否かを判定する(ステップ175)。   The component adding unit 223 determines whether or not the check box 1607 is set to ON (step 175).

ステップ175の判定結果がNOである、即ちチェックボックス1607がOFFに設定されている場合、部品追加部223は、ロードした部品マスタ表1311と部品表1312のレコードに対して、実行条件の指定内容を基に処理を行うとともに、その実行内容を編集履歴表1323に記録する(ステップ176)。   When the determination result of step 175 is NO, that is, when the check box 1607 is set to OFF, the component adding unit 223 specifies the execution condition for the loaded component master table 1311 and component table 1312 records. Is executed, and the execution content is recorded in the edit history table 1323 (step 176).

具体的には、例えば、部品追加部223は、コピー元BOM1622で指定したBOMに含まれる、部品指定1623で指定した部品コードを持つレコードに含まれる値を全てコピーして、ロードした部品マスタ表1311と部品表1312のレコードに対して、そのコピーした値を書き込む。   Specifically, for example, the component adding unit 223 copies all the values included in the record having the component code specified by the component specification 1623 included in the BOM specified by the copy source BOM 1622 and loads the loaded component master table. The copied value is written in the records 1311 and the parts table 1312.

部品追加部223は、ステップ176を実施したのち、全てのロードした部品マスタ表1311と部品表1312に対して実施したか否かを判定して、YES、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施したのであれば、その処理を終了して編集条件受付部121の部品追加条件受付部213に制御を返却し、部品追加条件受付部213は、その処理を中断し、制御部125に制御を返却する(ステップ177)。   After executing step 176, the component adding unit 223 determines whether or not the processing has been performed for all the loaded component master tables 1311 and the component table 1312. YES, that is, all the loaded component master tables 1311 and If it has been performed on the parts table 1312, the process is terminated and control is returned to the part addition condition reception part 213 of the editing condition reception part 121, and the part addition condition reception part 213 interrupts the process, Control is returned to the control unit 125 (step 177).

部品追加部223は、ステップ177の判定がNOであれば、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施し終えていないのであれば、再度ステップ175から処理を実施する。   If the determination in step 177 is NO, that is, if the execution has not been completed for all the loaded component master table 1311 and component table 1312, the component adding unit 223 executes the processing from step 175 again.

また、ステップ175の判定結果がYES、即ちチェックボックス1607がONに設定されている場合、部品追加部223は、ロードした部品マスタ表1311と部品表1312のうち実行対象のレコードの部品コード312、あるいは実行対象の親部品コード321と子部品コード322の組、を含むメッセージを画面に表示させて、実行する対象を使用者に確認させる(ステップ178)。   When the determination result in step 175 is YES, that is, when the check box 1607 is set to ON, the component adding unit 223 includes the component code 312 of the record to be executed among the loaded component master table 1311 and the component table 1312. Alternatively, a message including a set of the parent part code 321 and the child part code 322 to be executed is displayed on the screen to make the user confirm the target to be executed (step 178).

ここで、ステップ178にて表示させるメッセージの画面は、図13に示した対象部品確認画面1300と同様の画面であるため、説明を省略する。   Here, the message screen displayed in step 178 is the same as the target component confirmation screen 1300 shown in FIG.

ステップ178で表示させた対象部品確認画面1300のOKボタン1304に対する操作により指定内容が送信されると、部品追加部223は、入力部111を介して使用者の応答を受け付け、その内容が実行を許可するものであるか否かの判定を行う(ステップ179)。例えば、部品表示欄1307に示した部品ごとに、対応するチェック入力欄1306がONであれば、実行を許可するものであると判定する。   When the specified content is transmitted by an operation on the OK button 1304 on the target component confirmation screen 1300 displayed in step 178, the component adding unit 223 receives a response from the user via the input unit 111, and the content is executed. It is determined whether or not it is permitted (step 179). For example, for each component shown in the component display field 1307, if the corresponding check input field 1306 is ON, it is determined that the execution is permitted.

ステップ179の判定の結果、YES、つまり受け付けた応答が実行を許可するものであれば、部品追加部223は、ステップ176を実行する。   If the result of determination in step 179 is YES, that is, if the accepted response permits execution, the component adding unit 223 executes step 176.

ステップ179の判定の結果、NO、つまり受け付けた応答が実行を許可するものでなければ、部品追加部223は、ステップ177を実行する。   If the result of determination in step 179 is NO, that is, if the accepted response does not permit execution, the component adding unit 223 executes step 177.

以上が、部品追加処理の場合の処理フローである。   The processing flow in the case of the component addition processing has been described above.

以下に、ステップ71で受け付けたコマンドが部品置換コマンドであった場合の処理について、図18と図19を用いて説明する。受け付けたコマンドが部品置換コマンドであった場合には、制御部125は、部品置換条件受付部214に制御を受け渡す。そして、部品置換条件受付部214は、条件指定の入力を使用者に促し、入力を受け付けるための画面を表示する。例えば、部品置換条件受付部214は、図19に示すような、部品条件と実行条件の入力画面1800を、出力部112を介して使用者に表示する(ステップ191)。   Hereinafter, processing when the command received in step 71 is a component replacement command will be described with reference to FIGS. If the received command is a component replacement command, the control unit 125 passes control to the component replacement condition receiving unit 214. Then, the component replacement condition receiving unit 214 prompts the user to input a condition specification and displays a screen for receiving the input. For example, the component replacement condition reception unit 214 displays a component condition and execution condition input screen 1800 as shown in FIG. 19 to the user via the output unit 112 (step 191).

ここで、図19の画面1800について説明する。図19に示す画面1800は、部品追加を行う場合の入力画面である。画面1800は、保存条件の入力領域1801と、部品条件の入力領域1802と、実行条件の入力領域1803と、入力した条件でコマンドを実行する命令を入力するボタンである実行ボタン1804と、本画面の入力を中止し、キャンセルする命令を入力するボタンであるキャンセルボタン1805と、画面1800で設定した条件を保存する命令を入力するボタンである保存ボタン1806と、部品ごとに属性値の設定を実行することを確認しながら処理する確認モードを指定するためのチェックボックス1807とを有して構成される。   Here, the screen 1800 in FIG. 19 will be described. A screen 1800 shown in FIG. 19 is an input screen for adding a component. The screen 1800 includes a storage condition input area 1801, a part condition input area 1802, an execution condition input area 1803, an execution button 1804 that is a button for inputting a command to execute a command under the input conditions, and this screen. Cancel button 1805 which is a button for inputting an instruction to cancel, a save button 1806 which is a button for inputting a command for saving the conditions set on the screen 1800, and setting attribute values for each part And a check box 1807 for designating a confirmation mode to be processed while confirming.

まず、保存条件の入力領域1801について説明する。保存条件の入力領域1801では、選択的に保存条件の名称の入力を受け付けるコンボボックスを表示する。コンボボックスを介して使用者から保存名称の選択を受け付けると、制御部125は、その指定された保存名称に合致する保存条件をデータ格納部13から抽出し、事前に保存した部品条件と実行条件を読み出す。そして、読み出した各条件を、部品条件の入力領域1802および実行条件の入力領域1803の各領域に表示する。これにより、使用者は、以前に保存した条件を選択することで再利用ができるようになり、再利用が容易になる。なお、事前に保存した条件とは、保存ボタン1806に指示を受け付けることにより予め名前をつけてデータ格納部13に保存した部品条件と実行条件である。   First, the storage condition input area 1801 will be described. In a storage condition input area 1801, a combo box for selectively receiving a storage condition name is displayed. When the selection of the storage name is received from the user via the combo box, the control unit 125 extracts the storage condition that matches the specified storage name from the data storage unit 13 and stores the part condition and the execution condition stored in advance. Is read. The read conditions are displayed in the parts condition input area 1802 and the execution condition input area 1803. Accordingly, the user can reuse by selecting a previously saved condition, and the reuse becomes easy. The pre-saved conditions are part conditions and execution conditions that are pre-named and saved in the data storage unit 13 by accepting an instruction to the save button 1806.

次に、部品条件の入力領域1802について説明する。部品条件の入力領域1802は、第1条件と、第2条件と、の2つの条件の入力領域を備える。なお、この入力領域は3つ以上あってもよい。また、この第1条件と第2条件との論理関係は、使用者が関係入力1816に選択入力する。関係入力1816は、選択的に入力を行うことができるコンボボックスなどにより表示され、「第1条件のみ」と、「かつ(And)」と、「または(Or)」のうちのいずれかの論理関係を指定できるものである。「第1条件のみ」とは、第1条件を満たす部品のみを処理対象とし、第2条件を処理対象の選択に適用しないことをいい、「かつ」とは、第1条件を満たす部品のうち、第2条件も満たす部品を処理対象とすることをいう。「または」とは、第1条件のみを満たす部品か、または第2条件のみを満たす部品か、第1条件と第2条件のどちらも満たす部品、を処理対象とすることをいう。   Next, the component condition input area 1802 will be described. The part condition input area 1802 includes two condition input areas, a first condition and a second condition. There may be three or more input areas. The logical relationship between the first condition and the second condition is selected and input by the user to the relationship input 1816. The relation input 1816 is displayed by a combo box or the like that can be selectively input. The relation input 1816 is a logic of any one of “first condition only”, “and (And)”, and “or (Or)”. A relationship can be specified. “Only the first condition” means that only parts satisfying the first condition are to be processed, and the second condition is not applied to selection of the process target. This means that a part that also satisfies the second condition is to be processed. “Or” means that a part that satisfies only the first condition, a part that satisfies only the second condition, or a part that satisfies both the first condition and the second condition is a processing target.

部品条件の入力領域1802の第1条件入力領域は、処理対象の部品を特定するための条件を入力する領域である。部品条件の入力領域1802は、検索対象指定領域1811と、条件選択指定領域1812と、属性名称指定領域1813と、検索する値指定領域1814と、検索する値条件指定領域1815と、を備える。検索対象指定領域1811は、部品コードで対象の部品を検索し抽出する、または部品属性で対象の部品を検索し抽出する、のいずれかを指定する入力を受け付ける領域である。条件選択領域1812は、検索し抽出する対象を絞る条件を指定するための入力を受け付ける領域である。なお、この条件選択領域1812は、検索対象指定領域1811にて「部品コード」が指定される場合には、入力を受け付けないように表示される。属性名称指定領域1813は、検索し抽出する対象を絞るための属性の名称を指定する領域である。なお、この属性名称指定領域1813は、検索対象指定領域1811にて「部品コード」が指定される場合には、入力を受け付けないように表示される。検索する値指定領域1814は、検索する属性値を文字列で指定する領域である。また、検索する値条件指定領域1815は、検索する値指定領域1814で指定した検索する値の詳細検索条件の入力を受け付ける領域である。検索する値条件指定領域1815は、(検索する値)「を含む」と、「を含まない」と、「と一致する」と、「と一致しない」と、「より大きい」と、「以上」と、「より小さい」と、「以下」と、「で始まる」と、「で始まらない」と、「で終わる」と、「で終わらない」の12種類の条件で指定する領域である。   The first condition input area of the part condition input area 1802 is an area for inputting a condition for specifying a component to be processed. The part condition input area 1802 includes a search target designation area 1811, a condition selection designation area 1812, an attribute name designation area 1813, a value designation area 1814 to be retrieved, and a value condition designation area 1815 to be retrieved. The search target designation area 1811 is an area that accepts an input for designating whether to search for and extract a target part with a part code, or to search for and extract a target part with a part attribute. The condition selection area 1812 is an area for receiving an input for specifying a condition for narrowing down a target to be searched and extracted. The condition selection area 1812 is displayed so as not to accept an input when “part code” is designated in the search target designation area 1811. The attribute name designation area 1813 is an area for designating an attribute name for narrowing down a target to be searched and extracted. The attribute name designation area 1813 is displayed so as not to accept an input when “part code” is designated in the search target designation area 1811. A value specification area 1814 to be searched is an area for specifying a search attribute value by a character string. Further, the search value condition specifying area 1815 is an area for receiving an input of a detailed search condition of the search value specified in the search value specifying area 1814. The value condition specifying area 1815 to be searched includes (search value) “includes”, “does not include”, “matches with”, “does not match”, “greater than”, and “more than”. And “less than”, “below”, “starts with”, “does not start with”, “ends with”, and “does not end with”.

なお、これらの条件については、前述した部品属性一括設定処理において表示する画面60の検索する値条件指定領域615と同様であるため、ここでは説明を省略する。   Note that these conditions are the same as those in the value condition designation area 615 to be searched for on the screen 60 displayed in the component attribute batch setting process described above, and thus the description thereof is omitted here.

第2条件入力領域は、第1条件入力領域と同様に、検索対象指定領域1817と、条件選択指定領域1818と、属性名称指定領域1819と、検索する値指定領域1820と、検索する値条件指定領域1821と、を備える。それぞれ、第1条件入力領域の、検索対象指定領域1811と、条件選択指定領域1812と、属性名称指定領域1813と、検索する値指定領域1814と、検索する値条件指定領域1815と、と同様である。   Similar to the first condition input area, the second condition input area includes a search target designation area 1817, a condition selection designation area 1818, an attribute name designation area 1819, a value designation area 1820 to be retrieved, and a value condition designation to be retrieved. A region 1821. The search condition designation area 1811, the condition selection designation area 1812, the attribute name designation area 1813, the value designation area 1814 to be retrieved, and the value condition designation area 1815 to be retrieved are the same as the first condition input area, respectively. is there.

次に、実行条件の入力領域1803について説明する。実行条件の入力領域1803で指定する内容は、部品条件の入力領域1802で選択された部品に対して行う処理の詳細な条件を指定するものである。たとえば「属性置換」を行う場合には、置換元の属性を特定する条件を指定するものである。   Next, the execution condition input area 1803 will be described. The content specified in the execution condition input area 1803 specifies detailed conditions for processing to be performed on the part selected in the part condition input area 1802. For example, when “attribute replacement” is performed, a condition for specifying a replacement source attribute is designated.

実行条件の入力領域1803は、コピー元BOM1822と、部品指定1823と、を有して構成されている。コピー元BOM1822は、使用者に指定された条件を基に、対象となるコピー元BOMを絞るための条件の指定を受け付ける領域である。部品指定1823は、コピー元とする部品の部品コードの指定を受け付ける領域である。   The execution condition input area 1803 includes a copy source BOM 1822 and a component designation 1823. The copy source BOM 1822 is an area that accepts specification of conditions for narrowing down the target copy source BOM based on conditions specified by the user. The component designation 1823 is an area for accepting designation of a component code of a component to be copied.

実行ボタン1804は、部品条件1802、実行条件1803、および確認モードの指定を受け付けるためのチェックボックス1807で指定された条件を用いて処理を開始する指示を受け付けるボタンである。当該指示を受け付けた部品置換条件受付部214は、部品条件の入力領域1802、実行条件の入力領域1803、および確認モードの指定を受け付けるためのチェックボックス1807で指定された条件を受け付け、編集処理実行部122の部品置換部224に制御を受け渡す。   The execution button 1804 is a button for accepting an instruction to start processing using the conditions specified in the check box 1807 for accepting designation of the component condition 1802, the execution condition 1803, and the confirmation mode. The component replacement condition reception unit 214 that has received the instruction receives the conditions specified by the component condition input area 1802, the execution condition input area 1803, and the check box 1807 for receiving the confirmation mode specification, and executes the editing process. Control is transferred to the component replacement unit 224 of the unit 122.

キャンセルボタン1805は、当該部品置換条件受付部214の処理を終了させる指示の入力を受け付けるボタンである。当該指示を受け付けた部品置換条件受付部214は、その処理を中断し、制御部125に制御を返却する。   A cancel button 1805 is a button for accepting an input of an instruction to end the process of the component replacement condition accepting unit 214. The component replacement condition receiving unit 214 that has received the instruction interrupts the process and returns control to the control unit 125.

保存ボタン1806は、部品条件1802、実行条件1803、および確認モードの指定を受け付けるためのチェックボックス1807で指定された条件をデータ格納部13の図示しない領域に記憶させる指示を受け付けるためのボタンである。当該指示を受け取った部品置換条件受付部214は、部品条件1802、実行条件1803、および確認モードの指定を受け付けるためのチェックボックス1807で指定された条件を、データ格納部13に記憶させる。   A save button 1806 is a button for accepting an instruction to store the conditions specified in the check box 1807 for accepting designation of the component condition 1802, the execution condition 1803, and the confirmation mode in an area (not shown) of the data storage unit 13. . Receiving the instruction, the component replacement condition receiving unit 214 stores in the data storage unit 13 the conditions specified by the check box 1807 for receiving the specification of the component condition 1802, the execution condition 1803, and the confirmation mode.

チェックボックス1807は、部品ごとに属性値の設定を使用者に確認しながら処理する確認モードを適用することの指定を受け付ける領域であり、チェックがONかOFFかにより適用の指定を受け付ける。   A check box 1807 is an area for accepting designation of applying a confirmation mode in which processing is performed while confirming the attribute value setting for each component with the user, and accepts designation of application depending on whether the check is ON or OFF.

処理の説明に戻る。ステップ191にて画面1800が表示されると、編集条件受付部121の部品置換条件受付部214は、保存条件の入力領域1801と、部品条件の入力領域1802と、実行条件の入力領域1803と、実行ボタン1804と、キャンセルボタン1805と、保存ボタン1806と、チェックボックス1807と、に対する操作を受け付ける。そのうち、実行ボタン1804に対する操作を受け付けると、保存条件の入力領域1801の指定内容と、部品条件の入力領域1802の指定内容を受け付け(ステップ192)、実行条件の入力領域1803とチェックボックス1807との指定内容を受け付け(ステップ193)る。そして例えば、受け付けた条件をパラメータとして処理を部品ごとに実施するように部品置換部224に処理を依頼する(ステップ194)。   Return to the description of the process. When the screen 1800 is displayed in step 191, the component replacement condition receiving unit 214 of the editing condition receiving unit 121 includes a storage condition input region 1801, a component condition input region 1802, an execution condition input region 1803, Operations for the execute button 1804, cancel button 1805, save button 1806, and check box 1807 are accepted. Among them, when an operation for the execution button 1804 is accepted, the designation content of the storage condition input area 1801 and the designation content of the part condition input area 1802 are accepted (step 192), and the execution condition input area 1803 and the check box 1807 The designated content is accepted (step 193). Then, for example, the component replacement unit 224 is requested to perform the processing so that the processing is performed for each component using the received condition as a parameter (step 194).

部品置換部224は、部品条件の入力領域1802の指定内容をパラメータから取得すると、部品マスタ表1311と部品表1312とを検索し、部品条件の指定内容に合致する部品マスタ表1311と部品表1312のレコードを主記憶装置5322にロードする。合致するレコードがない場合には、エラーとして処理するため、当フローを終了して制御部125に制御を返却する。   When the component replacement unit 224 acquires the specified content of the component condition input area 1802 from the parameters, the component replacement unit 224 searches the component master table 1311 and the component table 1312 and matches the specified content of the component condition with the component master table 1311 and the component table 1312. Are loaded into the main memory 5322. If there is no matching record, this flow is terminated and control is returned to the control unit 125 in order to process it as an error.

部品置換部224は、ロードした部品マスタ表1311と部品表1312のレコードそれぞれに対して、以下のステップ195〜199の処理を実施する。   The component replacement unit 224 performs the following processing of steps 195 to 199 for each of the records of the loaded component master table 1311 and the component table 1312.

部品置換部224は、チェックボックス1807がONに設定されているか否かを判定する(ステップ195)。   The component replacement unit 224 determines whether or not the check box 1807 is set to ON (step 195).

ステップ195の判定結果がNOである、即ちチェックボックス1807がOFFに設定されている場合、部品置換部224は、ロードした部品マスタ表1311と部品表1312のレコードに対して、実行条件の指定内容を基に処理を行うとともに、その実行内容を編集履歴表1323に記録する(ステップ196)。   When the determination result in step 195 is NO, that is, when the check box 1807 is set to OFF, the component replacement unit 224 specifies the execution condition specification contents for the loaded component master table 1311 and component table 1312 records. Is executed, and the execution content is recorded in the edit history table 1323 (step 196).

具体的には、例えば、部品置換部224は、コピー元BOM1822で指定したBOMに含まれる、部品指定1823で指定した部品コードを持つレコードに含まれる値を全てコピーして、ロードした部品マスタ表1311と部品表1312のレコードに対して、そのコピーした値を書き込む。   Specifically, for example, the component replacement unit 224 copies all the values included in the record having the component code specified by the component specification 1823 included in the BOM specified by the copy source BOM 1822 and loads the loaded component master table. The copied value is written in the records 1311 and the parts table 1312.

部品置換部224は、ステップ196を実施したのち、全てのロードした部品マスタ表1311と部品表1312に対して実施したか否かを判定して、YES、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施したのであれば、その処理を終了して編集条件受付部121の部品置換条件受付部214に制御を返却し、部品置換条件受付部214は、その処理を中断し、制御部125に制御を返却する(ステップ197)。   After executing step 196, the component replacement unit 224 determines whether or not the processing has been performed for all the loaded component master tables 1311 and the component table 1312. YES, that is, all the loaded component master tables 1311 If it has been performed on the parts table 1312, the process is terminated and control is returned to the part replacement condition reception unit 214 of the editing condition reception unit 121, and the part replacement condition reception unit 214 interrupts the process, Control is returned to the control unit 125 (step 197).

部品置換部224は、ステップ197の判定がNOであれば、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施し終えていないのであれば、再度ステップ195から処理を実施する。   If the determination in step 197 is NO, that is, if the execution has not been completed for all the loaded component master table 1311 and the component table 1312, the component replacement unit 224 executes the processing from step 195 again.

また、ステップ195の判定結果がYES、即ちチェックボックス1807がONに設定されている場合、部品置換部224は、ロードした部品マスタ表1311と部品表1312のうち実行対象のレコードの部品コード312、あるいは実行対象の親部品コード321と子部品コード322の組、を含むメッセージを画面に表示させて、実行する対象を使用者に確認させる(ステップ198)。   If the determination result in step 195 is YES, that is, if the check box 1807 is set to ON, the component replacement unit 224 includes the component code 312 of the record to be executed among the loaded component master table 1311 and the component table 1312. Alternatively, a message including a set of the parent part code 321 and the child part code 322 to be executed is displayed on the screen to make the user confirm the target to be executed (step 198).

ここで、ステップ198にて表示させるメッセージの画面は、図13に示した対象部品確認画面1300と同様の画面であるため、説明を省略する。   Here, the message screen displayed in step 198 is the same as the target component confirmation screen 1300 shown in FIG.

ステップ198で表示させた対象部品確認画面1300のOKボタン1304に対する操作により指定内容が送信されると、部品置換部224は、入力部111を介して使用者の応答を受け付け、その内容が実行を許可するものであるか否かの判定を行う(ステップ199)。例えば、部品表示欄1307に示した部品ごとに、対応するチェック入力欄1306がONであれば、実行を許可するものであると判定する。   When the specified content is transmitted by an operation on the OK button 1304 of the target component confirmation screen 1300 displayed in step 198, the component replacement unit 224 receives a user response via the input unit 111, and the content is executed. It is determined whether or not it is permitted (step 199). For example, for each component shown in the component display field 1307, if the corresponding check input field 1306 is ON, it is determined that the execution is permitted.

ステップ199の判定の結果、YES、つまり受け付けた応答が実行を許可するものであれば、部品置換部224は、ステップ196を実行する。   If the result of determination in step 199 is YES, that is, if the received response permits execution, the component replacement unit 224 executes step 196.

ステップ199の判定の結果、NO、つまり受け付けた応答が実行を許可するものでなければ、部品置換部224は、ステップ197を実行する。   If the result of determination in step 199 is NO, that is, if the accepted response does not permit execution, the component replacement unit 224 executes step 197.

以上が、部品置換処理の場合の処理フローである。   The processing flow in the case of the component replacement processing has been described above.

以下に、ステップ71で受け付けたコマンドが部品属性コピーコマンドであった場合の処理について、図20と図21を用いて説明する。受け付けたコマンドが部品属性コピーコマンドであった場合には、制御部125は、部品属性コピー条件受付部215に制御を受け渡す。そして、部品属性コピー条件受付部215は、条件指定の入力を使用者に促し、入力を受け付けるための画面を表示する。例えば、部品属性コピー条件受付部215は、図21に示すような、部品条件と実行条件の入力画面2000を、出力部112を介して使用者に表示する(ステップ261)。   Hereinafter, processing when the command received in step 71 is a component attribute copy command will be described with reference to FIGS. 20 and 21. FIG. If the received command is a component attribute copy command, the control unit 125 passes control to the component attribute copy condition reception unit 215. Then, the component attribute copy condition receiving unit 215 prompts the user to input a condition specification and displays a screen for receiving the input. For example, the component attribute copy condition reception unit 215 displays a component condition and execution condition input screen 2000 as shown in FIG. 21 to the user via the output unit 112 (step 261).

ここで、図21の画面2000について説明する。図21に示す画面2000は、部品属性コピーを行う場合の入力画面である。画面2000は、保存条件の入力領域2001と、部品条件の入力領域2002と、実行条件の入力領域2003と、入力した条件でコマンドを実行する命令を入力するボタンである実行ボタン2004と、本画面の入力を中止し、キャンセルする命令を入力するボタンであるキャンセルボタン2005と、画面2000で設定した条件を保存する命令を入力するボタンである保存ボタン2006と、部品ごとに属性値の設定を実行することを確認しながら処理する確認モードを指定するためのチェックボックス2007とを有して構成される。   Here, the screen 2000 of FIG. 21 will be described. A screen 2000 shown in FIG. 21 is an input screen for performing component attribute copying. The screen 2000 includes a storage condition input area 2001, a part condition input area 2002, an execution condition input area 2003, an execution button 2004 that is a button for inputting a command to execute a command under the input conditions, and this screen Cancel button 2005 that is a button for inputting an instruction to cancel, save button 2006 that is a button for inputting a command for saving conditions set on screen 2000, and setting of attribute values for each part And a check box 2007 for designating a confirmation mode to be processed while confirming.

まず、保存条件の入力領域2001について説明する。保存条件の入力領域2001では、選択的に保存条件の名称の入力を受け付けるコンボボックスを表示する。コンボボックスを介して使用者から保存名称の選択を受け付けると、制御部125は、その指定された保存名称に合致する保存条件をデータ格納部13から抽出し、事前に保存した部品条件と実行条件を読み出す。そして、読み出した各条件を、部品条件の入力領域2002および実行条件の入力領域2003の各領域に表示する。これにより、使用者は、以前に保存した条件を選択することで再利用ができるようになり、再利用が容易になる。なお、事前に保存した条件とは、保存ボタン2006に指示を受け付けることにより予め名前をつけてデータ格納部13に保存した部品条件と実行条件である。   First, the storage condition input area 2001 will be described. In a storage condition input area 2001, a combo box that selectively receives a storage condition name is displayed. When the selection of the storage name is received from the user via the combo box, the control unit 125 extracts the storage condition that matches the specified storage name from the data storage unit 13 and stores the part condition and the execution condition stored in advance. Is read. The read conditions are displayed in the parts condition input area 2002 and the execution condition input area 2003. Accordingly, the user can reuse by selecting a previously saved condition, and the reuse becomes easy. The pre-saved conditions are part conditions and execution conditions that are pre-named and saved in the data storage unit 13 by accepting an instruction to the save button 2006.

次に、部品条件の入力領域2002について説明する。部品条件の入力領域2002は、第1条件と、第2条件と、の2つの条件の入力領域を備える。なお、この入力領域は3つ以上あってもよい。また、この第1条件と第2条件との論理関係は、使用者が関係入力2016に選択入力する。関係入力2016は、選択的に入力を行うことができるコンボボックスなどにより表示され、「第1条件のみ」と、「かつ(And)」と、「または(Or)」のうちのいずれかの論理関係を指定できるものである。「第1条件のみ」とは、第1条件を満たす部品のみを処理対象とし、第2条件を処理対象の選択に適用しないことをいい、「かつ」とは、第1条件を満たす部品のうち、第2条件も満たす部品を処理対象とすることをいう。「または」とは、第1条件のみを満たす部品か、または第2条件のみを満たす部品か、第1条件と第2条件のどちらも満たす部品、を処理対象とすることをいう。   Next, the component condition input area 2002 will be described. The component condition input area 2002 includes two condition input areas, a first condition and a second condition. There may be three or more input areas. Further, the logical relationship between the first condition and the second condition is selected and input by the user to the relationship input 2016. The relation input 2016 is displayed by a combo box or the like that can be selectively input, and the logic of any one of “first condition only”, “and (And)”, and “or (Or)” is displayed. A relationship can be specified. “Only the first condition” means that only parts satisfying the first condition are to be processed, and the second condition is not applied to selection of the process target. This means that a part that also satisfies the second condition is to be processed. “Or” means that a part that satisfies only the first condition, a part that satisfies only the second condition, or a part that satisfies both the first condition and the second condition is a processing target.

部品条件の入力領域2002の第1条件入力領域は、処理対象の部品を特定するための条件を入力する領域である。部品条件の入力領域2002は、検索対象指定領域2011と、条件選択指定領域2012と、属性名称指定領域2013と、検索する値指定領域2014と、検索する値条件指定領域2015と、を備える。検索対象指定領域2011は、部品コードで対象の部品を検索し抽出する、または部品属性で対象の部品を検索し抽出する、のいずれかを指定する入力を受け付ける領域である。条件選択領域2012は、検索し抽出する対象を絞る条件を指定するための入力を受け付ける領域である。なお、この条件選択領域2012は、検索対象指定領域2011にて「部品コード」が指定される場合には、入力を受け付けないように表示される。属性名称指定領域2013は、検索し抽出する対象を絞るための属性の名称を指定する領域である。なお、この属性名称指定領域2013は、検索対象指定領域2011にて「部品コード」が指定される場合には、入力を受け付けないように表示される。検索する値指定領域2014は、検索する属性値を文字列で指定する領域である。また、検索する値条件指定領域2015は、検索する値指定領域2014で指定した検索する値の詳細検索条件の入力を受け付ける領域である。検索する値条件指定領域2015は、(検索する値)「を含む」と、「を含まない」と、「と一致する」と、「と一致しない」と、「より大きい」と、「以上」と、「より小さい」と、「以下」と、「で始まる」と、「で始まらない」と、「で終わる」と、「で終わらない」の12種類の条件で指定する領域である。   The first condition input area of the part condition input area 2002 is an area for inputting a condition for specifying a component to be processed. The part condition input area 2002 includes a search target specification area 2011, a condition selection specification area 2012, an attribute name specification area 2013, a search value specification area 2014, and a search value condition specification area 2015. The search target designation area 2011 is an area for receiving an input for designating whether to search for and extract a target part with a part code, or to search for and extract a target part with a part attribute. The condition selection area 2012 is an area that receives an input for specifying a condition for narrowing down a target to be searched and extracted. The condition selection area 2012 is displayed so as not to accept an input when “part code” is designated in the search object designation area 2011. The attribute name designation area 2013 is an area for designating the name of an attribute for narrowing down the object to be searched and extracted. The attribute name designation area 2013 is displayed so as not to accept an input when “part code” is designated in the search target designation area 2011. The search value specification area 2014 is an area for specifying a search attribute value by a character string. Further, the value condition specifying area 2015 to be searched is an area for receiving the input of the detailed search condition of the value to be searched specified in the value specifying area 2014 to be searched. The value condition specifying area 2015 to search includes (search value) “includes”, “does not include”, “matches with”, “does not match”, “greater than”, and “more than”. And “less than”, “below”, “starts with”, “does not start with”, “ends with”, and “does not end with”.

なお、これらの条件については、前述した部品属性一括設定処理において表示する画面60の検索する値条件指定領域615と同様であるため、ここでは説明を省略する。   Note that these conditions are the same as those in the value condition designation area 615 to be searched for on the screen 60 displayed in the component attribute batch setting process described above, and thus the description thereof is omitted here.

第2条件入力領域は、第1条件入力領域と同様に、検索対象指定領域2017と、条件選択指定領域2018と、属性名称指定領域2019と、検索する値指定領域2020と、検索する値条件指定領域2021と、を備える。それぞれ、第1条件入力領域の、検索対象指定領域2011と、条件選択指定領域2012と、属性名称指定領域2013と、検索する値指定領域2014と、検索する値条件指定領域2015と、と同様である。   Similar to the first condition input area, the second condition input area includes a search target designation area 2017, a condition selection designation area 2018, an attribute name designation area 2019, a value designation area 2020 to be retrieved, and a value condition designation to be retrieved. An area 2021. The same as the search target designation area 2011, the condition selection designation area 2012, the attribute name designation area 2013, the value designation area 2014 to be retrieved, and the value condition designation area 2015 to be retrieved, respectively, in the first condition input area. is there.

次に、実行条件の入力領域2003について説明する。実行条件の入力領域2003で指定する内容は、部品条件の入力領域2002で選択された部品に対して行う処理の詳細な条件を指定するものである。たとえば「属性コピー」を行う場合には、設定する属性を特定する条件を指定するものである。   Next, the execution condition input area 2003 will be described. The content specified in the execution condition input area 2003 is to specify detailed conditions for processing to be performed on the part selected in the part condition input area 2002. For example, when “attribute copying” is performed, a condition for specifying an attribute to be set is designated.

実行条件の入力領域2003は、コピー元BOM2022と、条件選択2023と、属性名称2024と、親部品指定2025と、子部品指定2026と、を有して構成されている。コピー元BOM2022は、使用者に指定された条件を基に、対象となるコピー元BOMを絞るための条件の指定を受け付ける領域である。条件選択2023は、コピー元とする部品が属する部品管理単位の指定を受け付ける領域である。属性名称2024は、コピー元となる属性の指定を受け付ける領域である。親部品指定2025と、子部品指定2026とは、コピー元となる属性を持つ部品を特定する親部品コード、子部品コードの指定を受け付ける領域である。   The execution condition input area 2003 includes a copy source BOM 2022, a condition selection 2023, an attribute name 2024, a parent part designation 2025, and a child part designation 2026. The copy source BOM 2022 is an area that accepts specification of conditions for narrowing down the target copy source BOM based on the conditions specified by the user. The condition selection 2023 is an area for receiving designation of a component management unit to which a component as a copy source belongs. An attribute name 2024 is an area for accepting designation of an attribute as a copy source. The parent part designation 2025 and the child part designation 2026 are areas for receiving designation of a parent part code and a child part code for specifying a part having an attribute as a copy source.

実行ボタン2004は、部品条件2002、実行条件2003、および確認モードの指定を受け付けるためのチェックボックス2007で指定された条件を用いて処理を開始する指示を受け付けるボタンである。当該指示を受け付けた部品属性コピー条件受付部215は、部品条件の入力領域2002、実行条件の入力領域2003、および確認モードの指定を受け付けるためのチェックボックス2007で指定された条件を受け付け、編集処理実行部122の部品属性コピー部225に制御を受け渡す。   The execution button 2004 is a button for receiving an instruction to start processing using the conditions specified in the check box 2007 for receiving specification of the component condition 2002, the execution condition 2003, and the confirmation mode. The component attribute copy condition reception unit 215 that has received the instruction receives the conditions specified by the component condition input area 2002, the execution condition input area 2003, and the check box 2007 for receiving the confirmation mode specification, and the editing process. Control is transferred to the component attribute copy unit 225 of the execution unit 122.

キャンセルボタン2005は、当該部品属性コピー条件受付部215の処理を終了させる指示の入力を受け付けるボタンである。当該指示を受け付けた部品属性コピー条件受付部215は、その処理を中断し、制御部125に制御を返却する。   A cancel button 2005 is a button for accepting an input of an instruction to end the process of the component attribute copy condition accepting unit 215. The component attribute copy condition reception unit 215 that has received the instruction interrupts the process and returns control to the control unit 125.

保存ボタン2006は、部品条件2002、実行条件2003、および確認モードの指定を受け付けるためのチェックボックス2007で指定された条件をデータ格納部13の図示しない領域に記憶させる指示を受け付けるためのボタンである。当該指示を受け取った部品属性コピー条件受付部215は、部品条件2002、実行条件2003、および確認モードの指定を受け付けるためのチェックボックス2007で指定された条件を、データ格納部13に記憶させる。   The save button 2006 is a button for accepting an instruction to store the conditions specified in the check box 2007 for accepting designation of the component condition 2002, the execution condition 2003, and the confirmation mode in an area (not shown) of the data storage unit 13. . The component attribute copy condition receiving unit 215 that has received the instruction causes the data storage unit 13 to store the conditions specified by the check box 2007 for receiving the specification of the component condition 2002, the execution condition 2003, and the confirmation mode.

チェックボックス2007は、部品ごとに属性値の設定を使用者に確認しながら処理する確認モードを適用することの指定を受け付ける領域であり、チェックがONかOFFかにより適用の指定を受け付ける。   A check box 2007 is an area for accepting designation of applying a confirmation mode in which processing is performed while confirming the attribute value setting with the user for each component, and accepts designation of application depending on whether the check is ON or OFF.

処理の説明に戻る。ステップ261にて画面2000が表示されると、編集条件受付部121の部品属性コピー条件受付部215は、保存条件の入力領域2001と、部品条件の入力領域2002と、実行条件の入力領域2003と、実行ボタン2004と、キャンセルボタン2005と、保存ボタン2006と、チェックボックス2007と、に対する操作を受け付ける。そのうち、実行ボタン2004に対する操作を受け付けると、保存条件の入力領域2001の指定内容と、部品条件の入力領域2002の指定内容を受け付け(ステップ262)、実行条件の入力領域2003とチェックボックス2007との指定内容を受け付ける(ステップ263)。そして例えば、受け付けた条件をパラメータとして処理を部品ごとに実施するように部品属性コピー部225に処理を依頼する(ステップ264)。   Return to the description of the process. When the screen 2000 is displayed in step 261, the component attribute copy condition receiving unit 215 of the editing condition receiving unit 121 includes a storage condition input area 2001, a part condition input area 2002, and an execution condition input area 2003. , An operation for the execution button 2004, the cancel button 2005, the save button 2006, and the check box 2007 is accepted. Among them, when an operation on the execution button 2004 is accepted, the designated content of the storage condition input area 2001 and the designated content of the part condition input area 2002 are accepted (step 262), and the execution condition input area 2003 and the check box 2007 are displayed. The specified content is accepted (step 263). Then, for example, the component attribute copying unit 225 is requested to perform the processing so that the processing is performed for each component using the received condition as a parameter (step 264).

部品属性コピー部225は、部品条件の入力領域2002の指定内容をパラメータから取得すると、部品マスタ表1311と部品表1312とを検索し、部品条件の指定内容に合致する部品マスタ表1311と部品表1312のレコードを主記憶装置5322にロードする。合致するレコードがない場合には、エラーとして処理するため、当フローを終了して制御部125に制御を返却する。   When the component attribute copy unit 225 acquires the specified content of the component condition input area 2002 from the parameters, the component attribute copy unit 225 searches the component master table 1311 and the component table 1312 and matches the specified content of the component condition with the component master table 1311 and the component table. The record 1312 is loaded into the main memory 5322. If there is no matching record, this flow is terminated and control is returned to the control unit 125 in order to process it as an error.

部品属性コピー部225は、ロードした部品マスタ表1311と部品表1312のレコードそれぞれに対して、以下のステップ265〜269の処理を実施する。   The component attribute copy unit 225 performs the following processes of steps 265 to 269 for each of the loaded component master table 1311 and component table 1312 records.

部品属性コピー部225は、チェックボックス2007がONに設定されているか否かを判定する(ステップ265)。   The component attribute copy unit 225 determines whether or not the check box 2007 is set to ON (step 265).

ステップ265の判定結果がNOである、即ちチェックボックス2607がOFFに設定されている場合、部品属性コピー部225は、ロードした部品マスタ表1311と部品表1312のレコードに対して、実行条件の指定内容を基に処理を行うとともに、その実行内容を編集履歴表1323に記録する(ステップ266)。   If the determination result in step 265 is NO, that is, if the check box 2607 is set to OFF, the component attribute copy unit 225 specifies execution conditions for the loaded records of the component master table 1311 and the component table 1312. The processing is performed based on the contents, and the execution contents are recorded in the editing history table 1323 (step 266).

具体的には、例えば、部品属性コピー部225は、コピー元BOM2022で指定したBOMに含まれる、条件選択2023で指定した部品構成について、親部品コード2025と子部品コード2026に指定した親部品コードと子部品コードを持つレコードに含まれる属性名称2024の属性値をコピーして、ロードした部品マスタ表1311と部品表1312のレコードに対して、そのコピーした属性値を書き込む。   Specifically, for example, the component attribute copy unit 225 includes the parent component code specified in the parent component code 2025 and the child component code 2026 for the component configuration specified in the condition selection 2023 included in the BOM specified in the copy source BOM 2022. The attribute value of the attribute name 2024 included in the record having the child part code is copied, and the copied attribute value is written into the loaded parts master table 1311 and parts table 1312 records.

部品属性コピー部225は、ステップ266を実施したのち、全てのロードした部品マスタ表1311と部品表1312に対して実施したか否かを判定して、YES、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施したのであれば、その処理を終了して編集条件受付部121の部品属性コピー条件受付部215に制御を返却し、部品属性コピー条件受付部215は、その処理を中断し、制御部125に制御を返却する(ステップ267)。   After executing step 266, the component attribute copy unit 225 determines whether or not the processing has been performed for all the loaded component master tables 1311 and the component table 1312, and YES, that is, all the loaded component master tables 1311. And the parts table 1312, the process is terminated and control is returned to the part attribute copy condition accepting unit 215 of the editing condition accepting unit 121, and the part attribute copy condition accepting unit 215 performs the process. The process is interrupted, and control is returned to the control unit 125 (step 267).

部品属性コピー部225は、ステップ267の判定がNOであれば、即ち全てのロードした部品マスタ表1311と部品表1312に対して実施し終えていないのであれば、再度ステップ265から処理を実施する。   If the determination in step 267 is NO, that is, if the execution has not been completed for all the loaded component master table 1311 and the component table 1312, the component attribute copy unit 225 performs the processing from step 265 again. .

また、ステップ265の判定結果がYES、即ちチェックボックス2007がONに設定されている場合、部品属性コピー部225は、ロードした部品マスタ表1311と部品表1312のうち実行対象のレコードの部品コード312、あるいは実行対象の親部品コード321と子部品コード322の組、を含むメッセージを画面に表示させて、実行する対象を使用者に確認させる(ステップ268)。   When the determination result in step 265 is YES, that is, when the check box 2007 is set to ON, the component attribute copy unit 225 selects the component code 312 of the record to be executed from the loaded component master table 1311 and component table 1312. Alternatively, a message including a set of the parent part code 321 and the child part code 322 to be executed is displayed on the screen to make the user confirm the execution target (step 268).

ここで、ステップ268にて表示させるメッセージの画面は、図13に示した対象部品確認画面1300と同様の画面であるため、説明を省略する。   Here, the message screen displayed in step 268 is the same screen as the target component confirmation screen 1300 shown in FIG.

ステップ268で表示させた対象部品確認画面1300のOKボタン1304に対する操作により指定内容が送信されると、部品属性コピー部225は、入力部111を介して使用者の応答を受け付け、その内容が実行を許可するものであるか否かの判定を行う(ステップ269)。例えば、部品表示欄1307に示した部品ごとに、対応するチェック入力欄1306がONであれば、実行を許可するものであると判定する。   When the specified content is transmitted by an operation on the OK button 1304 of the target component confirmation screen 1300 displayed in step 268, the component attribute copy unit 225 receives the user's response via the input unit 111, and the content is executed. It is determined whether or not it is permitted (step 269). For example, for each component shown in the component display field 1307, if the corresponding check input field 1306 is ON, it is determined that the execution is permitted.

ステップ269の判定の結果、YES、つまり受け付けた応答が実行を許可するものであれば、部品属性コピー部225は、ステップ266を実行する。   If the result of determination in step 269 is YES, that is, if the received response permits execution, the component attribute copy unit 225 executes step 266.

ステップ269の判定の結果、NO、つまり受け付けた応答が実行を許可するものでなければ、部品属性コピー部225は、ステップ267を実行する。   If the result of determination in step 269 is NO, that is, if the accepted response does not permit execution, the component attribute copy unit 225 executes step 267.

以上が、部品属性コピー処理の場合の処理フローである。   The processing flow in the case of component attribute copy processing has been described above.

次に、本実施形態による部品表編集システム1におけるスクリプトを用いた編集処理のフローについて図22を用いて説明する。   Next, the flow of editing processing using a script in the parts table editing system 1 according to the present embodiment will be described with reference to FIG.

図22に示すように、まず、制御部125は、スクリプト実行を行う旨の通知を受け付け、受け付けた通知に応じて編集条件受付部121のスクリプト受付部216に制御を受け渡す。そして、制御を受け渡された編集条件受付部121のスクリプト受付部216は、出力部112を介して、条件指定の入力を使用者に促し入力を受け付けるための画面である図23の入力画面80を使用者に表示する。(ステップ91)
ここで、図23の画面80について説明する。図23に示す画面80は、スクリプト実行を行う場合の入力画面である。画面80は、ユーザ名の入力領域81と、パスワードの入力領域82と、対象BOM名の入力領域83と、スクリプトファイル名の入力領域84と、入力したスクリプトを実行する指示を受け付けるボタンである実行ボタン85と、本画面の入力を中止し、キャンセルする指示を受け付けるボタンであるキャンセルボタン86とを有して構成される。
As illustrated in FIG. 22, first, the control unit 125 receives a notification that script execution is performed, and transfers control to the script reception unit 216 of the editing condition reception unit 121 in accordance with the received notification. Then, the script receiving unit 216 of the editing condition receiving unit 121 to which the control has been transferred prompts the user to input a condition designation via the output unit 112 and is an input screen 80 in FIG. Is displayed to the user. (Step 91)
Here, the screen 80 of FIG. 23 will be described. A screen 80 shown in FIG. 23 is an input screen for executing a script. The screen 80 is a button for receiving a user name input area 81, a password input area 82, a target BOM name input area 83, a script file name input area 84, and an instruction to execute the input script. The button 85 and a cancel button 86, which is a button for accepting an instruction to cancel and cancel the input on this screen, are configured.

まず、ユーザ名の入力領域81について説明する。ユーザ名の入力領域81は、当該スクリプトを実行するためのユーザ名を入力するためのテキストボックスである。   First, the user name input area 81 will be described. The user name input area 81 is a text box for inputting a user name for executing the script.

次に、パスワードの入力領域82について説明する。パスワードの入力領域82は、ユーザ名の入力領域81に入力したユーザの真正性を証明するためのパスワードを入力するテキストボックスである。   Next, the password input area 82 will be described. The password input area 82 is a text box for inputting a password for certifying the authenticity of the user input in the user name input area 81.

対象BOM名の入力領域83は、当該スクリプトを実行する対象となるBOMの名称を入力するためのテキストボックスである。   The target BOM name input area 83 is a text box for inputting the name of a BOM that is a target for executing the script.

スクリプトファイル名の入力領域84は、実行するスクリプトを識別するスクリプト名を入力するためのテキストボックスである。   The script file name input area 84 is a text box for inputting a script name for identifying a script to be executed.

実行ボタン85は、ユーザ名の入力領域81と、パスワードの入力領域82と、対象BOM名の入力領域83と、スクリプトファイル名の入力領域84と、により指定した条件を用いて処理を開始する指示を受け付けるボタンである。当該指示を受け取ったスクリプト受付部216は、ユーザ名の入力領域81と、パスワードの入力領域82と、対象BOM名の入力領域83と、スクリプトファイル名の入力領域84と、で指定した条件を受け付け、編集処理実行部122のスクリプト実行部226に制御を受け渡す。   The execute button 85 is an instruction to start processing using the conditions specified by the user name input area 81, the password input area 82, the target BOM name input area 83, and the script file name input area 84. It is a button that accepts. Receiving the instruction, the script receiving unit 216 receives the conditions specified by the user name input area 81, the password input area 82, the target BOM name input area 83, and the script file name input area 84. Then, control is passed to the script execution unit 226 of the editing process execution unit 122.

キャンセルボタン86は、当該スクリプト受付部216の処理を終了させる指示を受け付けるボタンである。当該指示を受け取ったスクリプト受付部216は、その処理を中断し、制御部125に制御を返却する。   The cancel button 86 is a button for accepting an instruction to end the processing of the script accepting unit 216. The script reception unit 216 that has received the instruction interrupts the process and returns control to the control unit 125.

処理の説明に戻る。ステップ91にて表示された画面80が表示されると、スクリプト受付部216は、ユーザ名の入力領域81と、パスワードの入力領域82と、対象BOM名の入力領域83と、スクリプトファイル名の入力領域84と、実行ボタン85と、キャンセルボタン86と、に対する操作を受付け、それぞれの動作を実施する。そのうち、実行ボタン85に対する操作を受け付けると、ユーザ名の入力領域81と、パスワードの入力領域82と、対象BOM名の入力領域83と、スクリプトファイル名の入力領域84と、のそれぞれの指定内容を受け付けて、スクリプト実行部226にパラメータとして受け渡し、制御を受け渡す。   Return to the description of the process. When the screen 80 displayed in step 91 is displayed, the script receiving unit 216 inputs the user name input area 81, the password input area 82, the target BOM name input area 83, and the script file name input. Operations for the area 84, the execution button 85, and the cancel button 86 are accepted, and the respective operations are performed. When an operation for the execution button 85 is received, the specified contents of the user name input area 81, the password input area 82, the target BOM name input area 83, and the script file name input area 84 are displayed. Accept, pass as a parameter to the script execution unit 226, and pass control.

スクリプト実行部226は、受け渡されたパラメータのうち、ユーザ名とパスワードを取り出して、認証を行う(ステップ92)。なお、この認証は、ユーザ名とパスワードを用いて許可を行う仕様の認証であれば、他の装置に存在する認証サーバに認証を依頼するものであってもよい。   The script execution unit 226 extracts the user name and password from the passed parameters and performs authentication (step 92). Note that this authentication may be a request for authentication to an authentication server existing in another device as long as the authentication is a specification that permits using a user name and a password.

次に、スクリプト実行部226は、受け渡されたパラメータのうち、対象BOM名と、スクリプトファイル名と、を用いて、それぞれ、部品表データ格納部131から対象BOM名に合致するBOMと、編集・操作履歴データ格納部132からスクリプトファイル名に合致するスクリプトファイル1324と、を引き当て、主記憶装置5322にロードする。(ステップ93)。   Next, the script execution unit 226 uses the target BOM name and the script file name among the passed parameters, and edits the BOM that matches the target BOM name from the BOM data storage unit 131 and edits, respectively. The script file 1324 that matches the script file name is allocated from the operation history data storage unit 132 and loaded into the main storage device 5322. (Step 93).

スクリプト実行部226は、ステップ93でロードしたスクリプトファイル1324の行ごとに、コマンドを読み出し、部品条件記述と、実行条件記述と、をパラメータとして組み立てる。そして、スクリプト実行部226は、コマンドに応じて編集処理実行部122の各機能部に対してパラメータと共に制御を受け渡す。(ステップ94)
編集処理実行部122の各機能部はステップ94で受け渡されたパラメータから部品条件を用いて、部品マスタ表1311と部品表1312とを検索し、部品条件の指定内容に合致する部品マスタ表1311と部品表1312を、ステップ93にてロードしたBOMから選出して、主記憶装置5322にロードする(ステップ95)。
The script execution unit 226 reads the command for each line of the script file 1324 loaded in step 93 and assembles the component condition description and the execution condition description as parameters. Then, the script execution unit 226 transfers control together with parameters to each function unit of the editing process execution unit 122 according to the command. (Step 94)
Each functional unit of the editing process execution unit 122 searches the parts master table 1311 and the parts table 1312 using the part conditions from the parameters passed in step 94, and the part master table 1311 that matches the specified content of the part conditions. The parts table 1312 is selected from the BOM loaded in step 93 and loaded into the main memory 5322 (step 95).

編集処理実行部122の各機能部はステップ94で受け渡されたパラメータから実行条件を取得する(ステップ96)。   Each functional unit of the editing process execution unit 122 acquires an execution condition from the parameters passed in Step 94 (Step 96).

編集処理実行部122の各機能部は、ステップ95でロードした部品マスタ表1311と部品表1312のすべてに対して、ステップ96で取得した実行条件の指定内容を基にコマンドを実行するとともに、その実行内容であるコマンドとそのパラメータを分割して、コマンド履歴表1322のコマンド欄432、条件(1)欄433、条件関係欄434、条件(2)欄435、実行条件欄436に記憶させる。全てのロードした部品マスタ表1311と部品表1312に対してコマンドを実施し終えると、編集条件受付部121のスクリプト受付部216に制御を返却し、スクリプト受付部216は、図23の下図に示すように、出力部112を介して実施結果画面87を表示させる。   Each functional unit of the editing process execution unit 122 executes a command on all of the parts master table 1311 and the parts table 1312 loaded in Step 95 based on the specified contents of the execution condition acquired in Step 96. The command that is the execution content and its parameters are divided and stored in the command column 432, the condition (1) column 433, the condition relation column 434, the condition (2) column 435, and the execution condition column 436 of the command history table 1322. When the command for all the loaded parts master table 1311 and parts table 1312 has been executed, control is returned to the script receiving unit 216 of the editing condition receiving unit 121, and the script receiving unit 216 is shown in the lower diagram of FIG. As described above, the execution result screen 87 is displayed via the output unit 112.

実施結果画面87には、実施の結果を示す領域と、再実行を受け付けるボタンである再実行ボタン88と、画面を閉じる指示を受け付けるボタンである閉じるボタン89と、が含まれる。   The execution result screen 87 includes an area indicating the execution result, a re-execution button 88 that is a button for accepting re-execution, and a close button 89 that is a button for accepting an instruction to close the screen.

再実行ボタン88は、実行する指示を受け付けると、図22に示したステップ91〜ステップ97を再度実行する指示をスクリプト受付部216に与えるボタンである。   The re-execution button 88 is a button that, when receiving an instruction to execute, gives an instruction to execute the steps 91 to 97 shown in FIG.

閉じる89は、実行する指示を受け付けると、当該処理を終了し、制御部125に制御を返却するボタンである。   Close 89 is a button that, upon receiving an instruction to execute, terminates the process and returns control to the control unit 125.

閉じるボタン89に対する実行指示を受信すると、スクリプト受付部216は、自らの処理を終了し、制御部125に制御を返却する(ステップ97)。   When the execution instruction for the close button 89 is received, the script reception unit 216 ends its own processing and returns control to the control unit 125 (step 97).

次に、本実施形態による部品表編集システム1における編集・操作履歴記録に関する処理のフローについて図24を用いて説明する。   Next, a flow of processing related to editing / operation history recording in the parts table editing system 1 according to the present embodiment will be described with reference to FIG.

制御部125は、図24のステップ101に示すように、編集・操作履歴記録指示を受け付けると、記録開始指示か否かを判定する(ステップ101)。   As shown in Step 101 of FIG. 24, when the control unit 125 receives an editing / operation history recording instruction, it determines whether or not it is a recording start instruction (Step 101).

ステップ101の判定の結果がNO、つまり記録開始指示でなかった場合には、そのまま処理を終了する。   If the result of determination in step 101 is NO, that is, if it is not a recording start instruction, the processing is terminated as it is.

ステップ101の判定の結果がYES、つまり記録開始指示であった場合には、制御部125は、編集・操作履歴管理部123の編集・操作履歴記録部231に対して記録開始指示を受け取ったことを通知し、制御を受け渡す。   If the result of determination in step 101 is YES, that is, a recording start instruction, the control unit 125 has received a recording start instruction to the editing / operation history recording unit 231 of the editing / operation history management unit 123. And pass control.

編集・操作履歴記録部231は、まず、編集・操作履歴データ格納部132に新たなファイルを作成する(ステップ102)。   The editing / operation history recording unit 231 first creates a new file in the editing / operation history data storage unit 132 (step 102).

そして、編集・操作履歴記録部231は、編集処理実行部122の各機能部の実行をフックすることでモニタリングし、実行した操作のパラメータである親部品、子部品、編集操作、編集対象、変更前の値、変更後の値を取得し、ステップ102で作成した新たなファイルに記録する(ステップ103)。   Then, the editing / operation history recording unit 231 monitors execution by hooking the execution of each function unit of the editing processing execution unit 122, and the parent part, child part, editing operation, editing target, and change that are parameters of the executed operation. The previous value and the changed value are acquired and recorded in the new file created in step 102 (step 103).

編集・操作履歴記録部231は、入力部111を介して記録終了指示を受け付けるまでステップ103の処理を実行し続ける。編集・操作履歴記録部231は、入力部111から記録終了指示を受け付けたかどうかを判定する(ステップ104)。   The editing / operation history recording unit 231 continues to execute the process of step 103 until a recording end instruction is received via the input unit 111. The editing / operation history recording unit 231 determines whether a recording end instruction has been received from the input unit 111 (step 104).

記録終了指示を受け付けたら(ステップ104でYES)、編集・操作履歴記録部231は、ステップ103で記録したファイルから、編集履歴の記録開始点から記録終了点までに該当する編集記録を抽出する(ステップ105)。   When the recording end instruction is accepted (YES in step 104), the editing / operation history recording unit 231 extracts the editing record corresponding to the editing history from the recording start point to the recording end point from the file recorded in step 103 ( Step 105).

そして、編集・操作履歴記録部231は、出力部112を介して、当該編集履歴の記録を識別する名称と、管理上のコメントを入力するための入力画面を表示させ、入力を受け付ける(ステップ106)。   Then, the editing / operation history recording unit 231 displays an input screen for inputting a name for identifying the recording of the editing history and a management comment via the output unit 112, and accepts the input (step 106). ).

編集・操作履歴記録部231は、ステップ103で記録した、実行した操作のパラメータである親部品、子部品、編集操作、編集対象、変更前の値、変更後の値を、コマンド履歴表1322の親部品欄422、子部品欄423、編集操作欄424、編集対象欄425、変更前の値欄426、変更後の値欄427、に保存する。そして、ステップ106で受け付けた名称とコメントを備考欄428に保存し、ユニークな値である操作IDを付与して、操作ID421欄と、履歴リスト1321のリンクID欄413と、に記憶させ、履歴リスト1321のID欄411に、履歴リスト1321上の続き番号を割り振って記憶させ、種類412欄に「操作」である旨を記憶させる。そして、処理を終了する(ステップ107)。   The editing / operation history recording unit 231 records the parent part, child part, editing operation, editing target, value before change, and value after change recorded in step 103 in the command history table 1322. The data is stored in a parent part field 422, a child part field 423, an editing operation field 424, an editing target field 425, a value field 426 before change, and a value field 427 after change. Then, the name and comment received in step 106 are stored in the remarks column 428, an operation ID that is a unique value is assigned, and stored in the operation ID 421 column and the link ID column 413 of the history list 1321. A serial number on the history list 1321 is allocated and stored in the ID column 411 of the list 1321, and “operation” is stored in the type 412 column. Then, the process ends (step 107).

また、編集・操作履歴記録部231は、ステップ107において、その記録開始から記録終了までの間に実行したコマンドがあれば、そのコマンドを分解して、コマンド履歴表1322に保存させ、ユニークな値であるコマンドIDを付与して、コマンドID431欄と、履歴リスト1321のリンクID欄413と、に記憶させ、履歴リスト1321のID欄411に、履歴リスト1321上の続き番号を割り振って記憶させ、種類412欄に「コマンド」である旨を記憶させる。   Also, if there is a command executed between the start of recording and the end of recording in step 107, the editing / operation history recording unit 231 disassembles the command and stores it in the command history table 1322, where a unique value is stored. Is stored in the command ID 431 field and the link ID field 413 of the history list 1321, and the serial number on the history list 1321 is allocated and stored in the ID field 411 of the history list 1321, The fact that it is “command” is stored in the type 412 column.

次に、図25を用いて、編集・操作履歴実行に関する処理のフローについて説明する。   Next, a processing flow relating to execution of editing / operation history will be described with reference to FIG.

制御部125は、編集・操作履歴実行を行う旨の指示を受け付けると、編集・操作履歴管理部123の編集・操作履歴実行受付部232に制御を受け渡す。編集・操作履歴実行受付部232は、編集・操作履歴を実行する対象のBOMを決定するために、使用者に対して対象BOMの名称を入力するよう入力画面を表示させ、入力を受け付ける(ステップ1101)。   Upon receiving an instruction to execute editing / operation history, the control unit 125 passes control to the editing / operation history execution receiving unit 232 of the editing / operation history management unit 123. The edit / operation history execution accepting unit 232 displays an input screen for inputting the name of the target BOM to the user and determines the target BOM for executing the edit / operation history, and accepts the input (step) 1101).

編集・操作履歴実行受付部232は、ステップ1101で受け付けた対象BOM名に該当するBOMを主記憶装置5322にロードし、履歴リスト1321を参照して、直近の操作について所定件数(例えば50件)までのレコードを取得する。そして、編集・操作履歴実行受付部232は、取得したレコードの種類欄412に記憶された値が「コマンド」であればコマンド履歴表1322を対象として、リンクID413欄の値と合致する履歴を特定するためにコマンドID欄431を検索して履歴のレコードを特定し、「操作」であれば編集履歴表1323を対象として、リンクID413欄の値と合致する履歴を特定するために操作ID欄421を検索して履歴のレコードを特定し、特定した履歴のレコードを選択入力させるために、その備考に記憶された保存名称とコメントを示す選択画面を表示させる(ステップ1102)。   The editing / operation history execution receiving unit 232 loads the BOM corresponding to the target BOM name received in step 1101 into the main storage device 5322, refers to the history list 1321, and determines a predetermined number of recent operations (for example, 50). Get the records up to. If the value stored in the acquired record type column 412 is “command”, the editing / operation history execution receiving unit 232 identifies the history that matches the value in the link ID 413 column for the command history table 1322. The command ID column 431 is searched to identify a history record. If “operation”, the editing history table 1323 is targeted, and the operation ID column 421 is used to identify a history that matches the value in the link ID 413 column. In order to specify the history record and select and input the specified history record, a selection screen showing the stored name and comment stored in the remark is displayed (step 1102).

ステップ1102で表示する選択画面について、図26を用いて説明する。   The selection screen displayed in step 1102 will be described with reference to FIG.

画面1200は、使用者から、記録済みの編集・操作履歴を選択する入力を受け付ける画面である。画面1200は、保存名称選択入力領域1201と、コメント欄1202と、チェックボックスであるコピーして実行領域1203と、実行ボタン1204と、キャンセルボタン1205と、を有して構成される。   A screen 1200 is a screen that accepts an input from a user to select a recorded editing / operation history. The screen 1200 includes a storage name selection input area 1201, a comment field 1202, a copy execution area 1203 that is a check box, an execution button 1204, and a cancel button 1205.

保存名称入力領域1201は、上記の編集・操作履歴を記録するフローのステップ107で保存した名称を表示する領域である。   The saved name input area 1201 is an area for displaying the name saved in step 107 of the flow for recording the editing / operation history.

コメント欄1202は、上記の編集・操作履歴を記録するフローのステップ107で保存したコメントを表示する領域である。   The comment column 1202 is an area for displaying the comment saved in step 107 of the flow for recording the editing / operation history.

コピーして実行領域1203は、当該編集・操作履歴を実行するに当たって、対象BOMをコピーし、そしてコピーしたBOMに対して処理を実行する、あるいは、対象BOMに直接処理を実行するか、のいずれかの指定を受け付けるチェックボックスである。   In the copy and execution area 1203, when executing the editing / operation history, either the target BOM is copied and the process is executed on the copied BOM, or the process is directly executed on the target BOM. It is a check box that accepts such designation.

実行ボタン1204は、選択した保存名称入力領域1201の指定保存名称と、コピーして実行領域1203のON/OFFと、の指定を受け付けて、パラメータとして編集・操作履歴実行受付部232に受け渡し、実行させるボタンである。   The execute button 1204 accepts the designation of the designated save name of the selected save name input area 1201 and the ON / OFF of the copy area 1203 to be copied, and passes it to the editing / operation history execution accepting unit 232 as a parameter for execution. It is a button to make.

キャンセルボタン1205は、当該編集・操作履歴実行受付部232の処理を終了させる指示を受け付けるボタンである。当該指示を受け取った編集・操作履歴実行受付部232は、その処理を中断し、制御部125に制御を返却する。   A cancel button 1205 is a button for accepting an instruction to end the process of the editing / operation history execution accepting unit 232. Receiving the instruction, the editing / operation history execution receiving unit 232 interrupts the process and returns control to the control unit 125.

処理の説明に戻る。ステップ1102にて表示された図26で示す画面1200が表示されると、編集・操作履歴実行受付部232は、保存名称入力領域1201と、コメント欄1202と、コピーして実行領域1203と、実行ボタン1204と、キャンセルボタン1205と、に対する操作を受付け、それぞれの動作を実施する。そのうち、実行ボタン1204に対する操作を受け付けると、保存名称入力領域1201と、コピーして実行領域1203と、のそれぞれの指定内容を受け付けて、編集・操作履歴実行部124の履歴実行制御部241にパラメータとして受け渡し、制御を受け渡す。   Return to the description of the process. When the screen 1200 shown in FIG. 26 displayed in step 1102 is displayed, the editing / operation history execution receiving unit 232 performs a storage name input area 1201, a comment field 1202, a copy execution area 1203, and an execution. Operations for the button 1204 and the cancel button 1205 are accepted, and the respective operations are performed. Among them, when an operation for the execution button 1204 is accepted, the specified contents of the storage name input area 1201 and the copy and execution area 1203 are accepted, and the history execution control unit 241 of the editing / operation history execution unit 124 receives parameters. And pass control as.

履歴実行制御部241は、受け付けたパラメータのうち、コピーして実行領域1203のON/OFFの指定を受け付ける(ステップ1103)。   The history execution control unit 241 accepts the ON / OFF designation of the execution area 1203 by copying the received parameters (step 1103).

次に、履歴実行制御部241は、受け付けたパラメータから、保存名称名を編集履歴名として取得する(ステップ1104)。   Next, the history execution control unit 241 acquires the storage name name as the editing history name from the received parameters (step 1104).

履歴実行制御部241は、ステップ1103で受け付けたコピーして実行するか否かの指定内容がON(すなわちコピーして実行する)であれば、ステップ1101で受け付けた対象BOMを、別のBOMとしてコピーする。そして、履歴実行制御部241は、ステップ1104で受け付けた編集履歴名から、編集・操作履歴データ格納部132のコマンド履歴表1322のコマンドID431と合致するレコードを特定し、レコードを主記憶装置5322にロードする。ステップ1103で受け付けた指定内容がOFF(すなわちコピーせず実行する)であれば、履歴実行制御部241は、ステップ1101で受け付けた対象BOMを主記憶装置5322にロードして、ステップ1104で受け付けた編集履歴名から、編集・操作履歴データ格納部132のコマンド履歴表1322のコマンドID431と合致するレコードを特定し、レコードを主記憶装置5322にロードする。   The history execution control unit 241 determines that the target BOM received in step 1101 is set as another BOM if the specified content indicating whether or not to copy and execute received in step 1103 is ON (that is, copy and execute). make a copy. Then, the history execution control unit 241 specifies a record that matches the command ID 431 in the command history table 1322 of the editing / operation history data storage unit 132 from the editing history name received in step 1104, and stores the record in the main storage device 5322. Load it. If the specified content received in step 1103 is OFF (that is, execute without copying), the history execution control unit 241 loads the target BOM received in step 1101 to the main storage device 5322 and receives it in step 1104. A record that matches the command ID 431 in the command history table 1322 of the editing / operation history data storage unit 132 is specified from the editing history name, and the record is loaded into the main storage device 5322.

そして、あわせて、履歴実行制御部241は、ステップ1104で受け付けた編集履歴名から、編集・操作履歴データ格納部132の編集履歴表1323の操作ID422と合致するレコードを特定し、レコードを主記憶装置5322にロードする。   In addition, the history execution control unit 241 specifies a record that matches the operation ID 422 of the editing history table 1323 of the editing / operation history data storage unit 132 from the editing history name received in step 1104, and stores the record in the main memory. Load into device 5322.

履歴実行制御部241は、ロードしたコマンド履歴表1322からコマンドを読み出し、部品条件記述と、実行条件記述と、をパラメータとして組み立てる。   The history execution control unit 241 reads a command from the loaded command history table 1322 and assembles the component condition description and the execution condition description as parameters.

具体的には、履歴実行制御部241は、コマンド履歴表1322のコマンド欄432に記憶されたコマンドと、コマンド履歴表1322の条件(1)欄433、条件関係欄434、条件(2)欄435、実行条件436を読み出してその情報を所定のルールに従って結合させることで、コマンドとそのパラメータの文字列を作成する。   Specifically, the history execution control unit 241 includes the command stored in the command column 432 of the command history table 1322, the condition (1) column 433, the condition relation column 434, and the condition (2) column 435 of the command history table 1322. The execution condition 436 is read out and the information is combined according to a predetermined rule, thereby creating a character string of the command and its parameter.

ここで、所定のルールとは、まず、読み出したコマンドの次にブランクを結合させる。そして、部品条件の条件関係欄434の値が「第1条件のみ」であれば条件(1)のみを結合させる。部品条件の条件関係欄434の値が「かつ(And)」であれば、「AND(」を結合させた後に条件(1)を結合させ、さらにカンマ記号を結合させ、カンマ記号に続いて条件(2)を結合し、その後に「)」を結合させる。部品条件の条件関係欄434の値が「または(Or)」であれば、「OR(」を結合させた後に条件(1)を結合させ、さらにカンマ記号を結合させ、カンマ記号に続いて条件(2)を結合し、その後に「)」を結合させる。続いてカンマ記号を結合し、さらに続いて実行条件欄436の値を結合させる。そして、行末記号の「;」を結合させて、コマンドの文を完成させる。   Here, the predetermined rule is that a blank is combined after the read command. If the value in the condition relation column 434 of the component condition is “only the first condition”, only the condition (1) is combined. If the value in the condition relation field 434 of the part condition is “And”, the condition (1) is combined after combining “AND (”, and then the comma symbol is combined, and the condition following the comma symbol Combine (2) and then combine ")". If the value in the condition relation field 434 of the component condition is “or (Or)”, after combining “OR (”, the condition (1) is combined, and then a comma symbol is combined, followed by a comma symbol and a condition. Combine (2) and then combine ")". Subsequently, the comma symbols are combined, and then the values in the execution condition column 436 are combined. Then, the end-of-line symbol “;” is combined to complete the command sentence.

たとえば、図7に示す履歴例では、「ID1」で識別される履歴は、コマンド欄432の値は「SetAttr」であり、部品条件の条件(1)欄433の値は「EQU(部品属性.部品構成.部品種類,"ねじ")」であり、部品条件の条件関係欄434の値は「条件1のみ」であり、条件(2)欄435の値は「(指定なし)」であり、実行条件欄436の値は「(部品構成.組付動作,"[↓][Q]")」である。   For example, in the history example shown in FIG. 7, in the history identified by “ID1”, the value in the command column 432 is “SetAttr”, and the value in the condition (1) column 433 of the component condition is “EQU (part attribute. Part configuration.part type, “screw”) ”, the value of the condition relation column 434 of the part condition is“ condition 1 only ”, the value of the condition (2) column 435 is“ (not specified) ”, The value of the execution condition column 436 is “(part configuration. Assembly operation,“ [↓] [Q] ”)”.

これを基に、履歴実行制御部241は、実行するコマンドを再現する。まず、「SetAttr」の次にブランクを結合させ、次に部品条件の条件関係欄434の値が「条件1のみ」であることから条件(1)のみを結合させる。次にカンマ記号を追加し、続いて実行条件欄436の値を結合させる。そして、行末記号の「;」を結合させて、コマンドの文を完成させる。この結果、「SetAttr(ブランク)EQU(部品属性.部品構成.部品種類,"ねじ"),(部品構成.組付動作,"[↓][Q]");」というコマンド文が得られる。   Based on this, the history execution control unit 241 reproduces the command to be executed. First, a blank is combined after “SetAttr”, and then only the condition (1) is combined because the value of the condition relation column 434 of the part condition is “condition 1 only”. Next, a comma symbol is added, and then the values in the execution condition column 436 are combined. Then, the end-of-line symbol “;” is combined to complete the command sentence. As a result, a command statement “SetAttr (blank) EQU (part attribute.part configuration.part type,“ screw ”), (part configuration.assembly operation,“ [↓] [Q] ”);” is obtained.

そして、履歴実行制御部241は、そのコマンドに応じて、編集・操作履歴実行部124の各機能部に対してパラメータと共に制御を受け渡す。すなわち、コマンドがSetAttrであれば、部品属性一括設置部221へ制御を受け渡し、コマンドがDelPartsであれば、部品削除部222へ制御を受け渡し、コマンドがAddPartsであれば、部品追加部223へ制御を受け渡し、コマンドがRplPartsであれば、部品置換部224へ制御を受け渡し、コマンドがCpyAttrであれば、部品属性コピー部225へ制御を受け渡す。   Then, the history execution control unit 241 transfers control together with parameters to each function unit of the editing / operation history execution unit 124 in accordance with the command. That is, if the command is SetAttr, control is transferred to the component attribute batch installation unit 221. If the command is DelParts, control is transferred to the component deletion unit 222. If the command is AddParts, control is performed to the component addition unit 223. If the command is RplParts, control is transferred to the component replacement unit 224. If the command is CpyAttr, control is transferred to the component attribute copy unit 225.

そして、編集・操作履歴実行部124の各機能部は、受け渡されたパラメータから部品条件を受け付け、部品マスタ表1311と部品表1312とを検索し、部品条件の指定内容に合致する部品マスタ表1311のレコードと部品表1312のレコードとを選出して、主記憶装置5322にロードする。   Then, each functional unit of the editing / operation history execution unit 124 receives the part condition from the transferred parameter, searches the part master table 1311 and the part table 1312, and matches the specified part condition table. The record 1311 and the record of the parts table 1312 are selected and loaded into the main storage device 5322.

編集・操作履歴実行部124の各機能部のうち、実行するコマンドに対応する機能部は、ロードした部品マスタ表1311のレコードと部品表1312のレコードのすべてに対して、処理を行う。   Of the functional units of the editing / operation history executing unit 124, the functional unit corresponding to the command to be executed processes all of the loaded records in the component master table 1311 and the records in the component table 1312.

編集・操作履歴実行部124の各機能部は、コマンドを実施し終わると、続いて、編集履歴を基にした処理を行う。具体的には、上記で特定した編集履歴表1323の編集操作424の値が部品属性の一括設定であれば、編集・操作履歴実行部124は、部品属性一括設定部242に制御を受け渡す。そして、部品属性一括設定部242は、ロードした編集履歴表1323のレコードに記憶されている親部品欄422の値と、子部品欄423の値から特定した部品表1312の部品を対象として、対象BOMの編集対象欄425の値が変更前の値426と一致するものに限り、変更後の値427に変更して記憶させる。その編集履歴が部品の削除であった場合には、編集・操作履歴実行部124は、編集・操作履歴実行部124の部品削除部243に制御を受け渡す。そして、編集・操作履歴実行部124の部品削除部243は、ロードした編集履歴表1323のレコードに記憶されている親部品欄422の値と、子部品欄423の値から特定できる部品表の部品を対象として、削除する。その編集履歴が部品の追加であった場合には、編集・操作履歴実行部124は、編集・操作履歴実行部124の部品追加部243に制御を受け渡す。そして、編集・操作履歴実行部124の部品追加部243は、部品表1312に、親部品欄422の値と、子部品欄423の値と、を備えた新たなレコードを追加する。   When each function unit of the editing / operation history executing unit 124 finishes executing the command, it subsequently performs processing based on the editing history. Specifically, if the value of the editing operation 424 in the editing history table 1323 specified above is a batch setting of component attributes, the editing / operation history execution unit 124 passes control to the component attribute batch setting unit 242. Then, the part attribute batch setting unit 242 targets the parts in the parts table 1312 identified from the values in the parent part field 422 and the values in the child parts field 423 stored in the loaded record of the editing history table 1323. As long as the value in the BOM edit target field 425 matches the value 426 before the change, the value is changed to the value 427 after the change and stored. If the editing history is deletion of a component, the editing / operation history execution unit 124 passes control to the component deletion unit 243 of the editing / operation history execution unit 124. The component deletion unit 243 of the editing / operation history execution unit 124 then identifies a component in the component table that can be identified from the value in the parent component column 422 and the value in the child component column 423 stored in the record of the loaded editing history table 1323. Delete the target. If the editing history is the addition of a component, the editing / operation history execution unit 124 passes control to the component addition unit 243 of the editing / operation history execution unit 124. Then, the component adding unit 243 of the editing / operation history executing unit 124 adds a new record including the value of the parent component column 422 and the value of the child component column 423 to the component table 1312.

そして、編集・操作履歴実行部124は、その処理を終了して編集・操作履歴管理部123の編集・操作履歴実行受付部232に制御を返却して終了する(ステップ1105)。   Then, the editing / operation history execution unit 124 ends the processing, returns control to the editing / operation history execution reception unit 232 of the editing / operation history management unit 123, and ends (step 1105).

以上、本発明の一実施形態について説明した。   The embodiment of the present invention has been described above.

なお、上記の部品表編集システム1は、システムとして取引対象とするだけでなく、各機器単位、またはその機器の動作を実現するプログラム部品単位で取引対象とすることも可能である。   The parts table editing system 1 is not only a transaction target as a system, but can also be a transaction target for each device or for each program component that realizes the operation of the device.

以上が、本発明の実施形態である。   The above is the embodiment of the present invention.

本発明の実施形態におけるシステム構成図である。It is a system configuration figure in an embodiment of the present invention. 本発明の実施形態における編集条件受付部の機能構成図である。It is a functional block diagram of the edit condition reception part in embodiment of this invention. 本発明の実施形態における編集処理実行部の機能構成図である。It is a functional block diagram of the edit process execution part in embodiment of this invention. 本発明の実施形態における編集・操作履歴管理部の機能構成図である。It is a function block diagram of the edit and operation history management part in embodiment of this invention. 本発明の実施形態における編集・操作履歴実行部の機能構成図である。It is a function block diagram of the edit and operation history execution part in embodiment of this invention. 本発明の実施形態における部品表のデータ構造を示す図である。It is a figure which shows the data structure of the components table | surface in embodiment of this invention. 本発明の実施形態における条件履歴のデータ構造を示す図である。It is a figure which shows the data structure of the condition log | history in embodiment of this invention. 本発明の実施形態における編集履歴のデータ構造を示す図である。It is a figure which shows the data structure of the edit history in embodiment of this invention. 本発明の実施形態におけるスクリプトのデータ構造を示す図である。It is a figure which shows the data structure of the script in embodiment of this invention. 本発明の実施形態におけるハードウェア構成を示す図である。It is a figure which shows the hardware constitutions in embodiment of this invention. 本発明の実施形態における編集処理の流れを示すフロー図である。It is a flowchart which shows the flow of the edit process in embodiment of this invention. 本発明の実施形態における部品属性一括設定の入力画面を示す図である。It is a figure which shows the input screen of the component attribute batch setting in embodiment of this invention. 本発明の実施形態における処理実行の確認画面を示す図である。It is a figure which shows the confirmation screen of the process execution in embodiment of this invention. 本発明の実施形態における部品削除処理の流れを示すフロー図である。It is a flowchart which shows the flow of the components deletion process in embodiment of this invention. 本発明の実施形態における部品削除の入力画面を示す図である。It is a figure which shows the input screen of components deletion in embodiment of this invention. 本発明の実施形態における部品追加処理の流れを示すフロー図である。It is a flowchart which shows the flow of the component addition process in embodiment of this invention. 本発明の実施形態における部品追加の入力画面を示す図である。It is a figure which shows the input screen of components addition in embodiment of this invention. 本発明の実施形態における部品置換処理の流れを示すフロー図である。It is a flowchart which shows the flow of the component replacement process in embodiment of this invention. 本発明の実施形態における部品置換の入力画面を示す図である。It is a figure which shows the input screen of component replacement in embodiment of this invention. 本発明の実施形態における部品属性コピー処理の流れを示すフロー図である。It is a flowchart which shows the flow of the component attribute copy process in embodiment of this invention. 本発明の実施形態における部品属性コピーの入力画面を示す図である。It is a figure which shows the input screen of the component attribute copy in embodiment of this invention. 本発明の実施形態におけるスクリプト実行処理の流れを示すフロー図である。It is a flowchart which shows the flow of the script execution process in embodiment of this invention. 本発明の実施形態におけるスクリプト実行の入力画面を示す図である。It is a figure which shows the input screen of script execution in embodiment of this invention. 本発明の実施形態における編集・操作履歴の記録処理の流れを示すフロー図である。It is a flowchart which shows the flow of a recording process of the edit and operation history in embodiment of this invention. 本発明の実施形態における編集・操作履歴実行処理の流れを示すフロー図である。It is a flowchart which shows the flow of the edit and operation log | history execution process in embodiment of this invention. 本発明の実施形態における編集・操作履歴の実行の入力画面を示す図である。It is a figure which shows the input screen of execution of edit and operation history in embodiment of this invention.

符号の説明Explanation of symbols

1:部品表編集システム、11:入出力部、12:BOM管理部、13:データ格納部、51:クライアント、52:ネットワーク、53:サーバ 1: parts table editing system, 11: input / output unit, 12: BOM management unit, 13: data storage unit, 51: client, 52: network, 53: server

Claims (7)

部品表を編集する部品表編集装置であって、
複数の編集命令を実行する制御部と、記憶部と、入力部と、を備え、
前記制御部は、
前記複数の編集命令の中から一の編集命令と、前記部品表から編集の対象となる部品を指定する条件である部品条件と、前記編集命令の編集内容を指定する条件である実行条件とを、前記入力部を介して受け付ける編集受付部と、
前記部品条件受付部で受け付けた部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して前記編集受付部で受け付けた前記実行条件に応じて編集処理を実施する編集部と、
前記部品表に対して行われる編集の履歴を前記記憶部に記憶させる履歴記憶部と、
前記記憶した編集履歴に付加する名前とコメントの入力を、前記入力部を介して受け付けて編集履歴に付加し、前記記憶部に記憶させる履歴保存部と、
処理の対象となる部品表の指定を、前記入力部を介して受け付ける部品表指定受付部と、
前記履歴保存部により前記記憶部に記憶された編集履歴を前記コメントと共に読み出して表示し、そのうちから選択入力された編集履歴を、前記入力部を介して受け付ける編集履歴受付部と、
前記編集履歴受付部により受け付けた前記編集履歴に含まれる前記編集命令と、前記部品条件と、前記実行条件と、を特定し、前記部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して、前記実行条件に指定された条件を付して前記編集命令に応じた編集処理を実施する履歴再生部と、
を備えることを特徴とする部品表編集装置。
A BOM editing device for editing a BOM,
A control unit that executes a plurality of editing instructions, a storage unit, and an input unit;
The controller is
One editing command among the plurality of editing commands, a component condition that is a condition for specifying a component to be edited from the parts table, and an execution condition that is a condition for specifying the editing content of the editing command. , An edit reception unit that receives via the input unit;
An editing unit that acquires a component that satisfies a component condition received by the component condition receiving unit from the parts table, and performs an editing process on the acquired component according to the execution condition received by the editing receiving unit;
A history storage unit that stores in the storage unit a history of editing performed on the parts table;
A history storage unit that accepts an input of a name and a comment to be added to the stored editing history, adds the editing history to the editing history, and stores it in the storage unit;
A bill of materials designation accepting unit that accepts designation of a bill of materials to be processed via the input unit;
An edit history stored in the storage unit by the history storage unit is read and displayed together with the comment, and an edit history selected from the edit history is received via the input unit;
The edit command included in the edit history received by the edit history receiving unit, the part condition, and the execution condition are specified, and a part satisfying the part condition is acquired from the parts table, and the acquired A history reproducing unit that performs an editing process in accordance with the editing command with a condition specified as the execution condition for the component;
A parts table editing apparatus comprising:
請求項1に記載した部品表編集装置であって、
前記制御部は、さらに、
前記入力部を介して、前記履歴記憶部に対する前記編集履歴の記憶を開始する指示を受け付ける開始指示受付部と、
前記編集履歴の記憶を終了する指示を、前記入力部を介して受け付ける終了指示受付部と、を備え、
前記履歴記憶部は、前記開始指示受付部により指示を受け付けると、前記編集の履歴を記憶する処理を開始し、前記終了指示受付部により指示を受け付けると、前記編集の履歴を記憶する処理を終了する、
ことを特徴とする部品表編集装置。
The parts table editing device according to claim 1,
The control unit further includes:
Via the input unit, a start instruction receiving unit that receives an instruction to start storing the editing history to the history storage unit;
An end instruction receiving unit that receives an instruction to end storage of the editing history via the input unit;
The history storage unit starts the process of storing the editing history when receiving an instruction from the start instruction receiving unit, and ends the process of storing the editing history when receiving an instruction from the end instruction receiving unit To
A parts table editing device.
請求項1に記載した部品表編集装置であって、
さらに、出力部を備え、
前記履歴実行受付部は、さらに、編集処理の実施を確認するか否かの指示を、前記入力部を介して受け付け、
前記履歴実行部は、前記履歴実行受付部にて受け付けた前記確認する指示に応じて、その編集の実施前に、前記部品条件を満たす部品ごとに選択可能に前記出力部に表示し、表示した前記部品のうち、前記入力部を介して選択入力された部品の情報を受け付け、選択入力された前記部品に対して編集を実施する、
ことを特徴とする部品表編集装置。
The parts table editing device according to claim 1,
In addition, with an output unit,
The history execution accepting unit further accepts an instruction whether to confirm execution of the editing process via the input unit,
In response to the confirmation instruction received by the history execution reception unit, the history execution unit displays and displays on the output unit selectable for each component that satisfies the part condition before performing the editing. Among the parts, information on a part selected and input via the input unit is received, and editing is performed on the part that is selected and input.
A parts table editing device.
請求項1に記載した部品表編集装置であって、
前記編集受付部は、さらに、前記入力部を介して、前記記憶部に記憶されているスクリプトの指定を受け付け、指定されたスクリプトに記載された編集命令と、前記部品表から編集の対象となる部品を指定する条件である部品条件と、前記編集命令の処理内容を指定する条件である実行条件と、を受け付け、
前記編集部は、受け付けた前記部品条件を満たす部品を前記部品表から取得し、取得した部品に対して前記編集受付部で受け付けた前記実行条件に指定された条件を付して前記編集命令に応じた編集処理を実施する、
ことを特徴とする部品表編集装置。
The parts table editing device according to claim 1,
The edit accepting unit further accepts designation of a script stored in the storage unit via the input unit, and is an object to be edited from the editing command described in the designated script and the parts table. Accepts a component condition that is a condition for specifying a component and an execution condition that is a condition for specifying the processing content of the editing instruction;
The editing unit acquires a part satisfying the received part condition from the parts table, and attaches a condition specified to the execution condition received by the editing receiving unit to the acquired part to the editing command. According to the editing process.
A parts table editing device.
部品表を編集する部品表編集プログラムであって、
複数の編集命令を実行する制御部と、記憶部と、入力部と、を備えたコンピュータに対して、
前記複数の編集命令の中から一の編集命令と、前記部品表から編集の対象となる部品を指定する条件である部品条件と、前記編集命令の編集内容を指定する条件である実行条件とを、前記入力部を介して受け付ける編集受付ステップと、
前記部品条件受付ステップで受け付けた部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して前記編集受付部で受け付けた前記実行条件に応じて編集処理を実施する編集ステップと、
前記部品表に対して行われる編集の履歴を前記記憶部に記憶させる履歴記憶ステップと、
前記記録した編集履歴に付加する名前とコメントの入力を、前記入力部を介して受け付けて編集履歴に付加し、前記記憶部に記憶させる履歴保存ステップと、
処理の対象となる部品表の指定を、前記入力部を介して受け付ける部品表指定受付ステップと、
前記履歴保存ステップによって前記記憶部に記憶された編集履歴を前記コメントと共に読み出して表示し、そのうちから選択入力された編集履歴を、前記入力部を介して受け付ける編集履歴受付ステップと、
前記編集履歴受付ステップにより受け付けた前記編集履歴に含まれる前記編集命令と、前記部品条件と、前記実行条件と、を特定し、前記部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して、前記実行条件に指定された条件を付して前記編集命令に応じた編集処理を実施する履歴再生ステップと、
を実行させることを特徴とする部品表編集プログラム。
A BOM editing program for editing a BOM,
For a computer including a control unit that executes a plurality of editing instructions, a storage unit, and an input unit,
One editing command among the plurality of editing commands, a component condition that is a condition for specifying a component to be edited from the parts table, and an execution condition that is a condition for specifying the editing content of the editing command. , An edit reception step for receiving via the input unit;
An editing step for acquiring a part satisfying the part condition received in the part condition receiving step from the parts table, and performing an editing process on the acquired part according to the execution condition received by the editing receiving unit;
A history storage step of storing a history of editing performed on the parts table in the storage unit;
A history saving step of accepting an input of a name and a comment to be added to the recorded editing history via the input unit, adding it to the editing history, and storing it in the storage unit,
A bill of materials designation accepting step of accepting designation of a bill of materials to be processed via the input unit;
An edit history stored in the storage unit by the history saving step is read and displayed together with the comment, and an edit history selected and input from among the edit history is received via the input unit;
The editing command included in the editing history received by the editing history receiving step, the part condition, and the execution condition are specified, and a part satisfying the part condition is acquired from the parts table, and the acquired A history reproduction step for performing an editing process in accordance with the editing command with a condition designated as the execution condition for the part;
A bill of material editing program characterized in that
部品表を編集する部品表編集システムであって、
前記部品表編集システムは、
部品表編集装置と、操作端末と、を有して構成され、
前記操作端末は、
前記部品表編集装置への操作を受け付ける操作受付手段と、
前記操作受付手段で受け付けた操作を前記部品表編集装置へ伝達する伝達手段と、
を備え、
前記部品表編集装置は、
複数の編集命令を実行する制御部と、記憶部と、を備え、
前記制御部は、
前記複数の編集命令の中から一の編集命令と、前記部品表から編集の対象となる部品を指定する条件である部品条件と、前記編集命令の編集内容を指定する条件である実行条件とを、前記操作端末の前記伝達手段を介して受け付ける編集受付部と、
前記部品条件受付部で受け付けた部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して前記編集受付部で受け付けた前記実行条件に応じて編集処理を実施する編集部と、
前記部品表に対して行われる編集の履歴を前記記憶部に記憶させる履歴記憶部と、
前記記録した編集履歴に付加する名前とコメントの入力を、前記操作端末の前記伝達手段を介して受け付け、編集履歴に付加し、前記記憶部に記憶させる履歴保存部と、
前記履歴保存部により前記記憶部に記憶された編集履歴を前記コメントと共に読み出して表示し、そのうちから選択入力された編集履歴を、前記入力部を介して受け付ける編集履歴受付部と、
前記編集履歴受付部により受け付けた前記編集履歴に含まれる前記編集命令と、前記部品条件と、前記実行条件と、を特定し、前記部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して、前記実行条件に指定された条件を付して前記編集命令に応じた編集処理を実施する履歴再生部と、
を備えることを特徴とする部品表編集システム。
A BOM editing system for editing a BOM,
The parts table editing system
A parts table editing device and an operation terminal;
The operation terminal is
Operation accepting means for accepting an operation to the parts table editing device;
Transmitting means for transmitting the operation received by the operation receiving means to the parts table editing device;
With
The parts table editing device
A control unit that executes a plurality of editing instructions; and a storage unit,
The controller is
One editing command among the plurality of editing commands, a component condition that is a condition for specifying a component to be edited from the parts table, and an execution condition that is a condition for specifying the editing content of the editing command. An edit accepting unit that accepts via the transmission means of the operation terminal;
An editing unit that acquires a component that satisfies a component condition received by the component condition receiving unit from the parts table, and performs an editing process on the acquired component according to the execution condition received by the editing receiving unit;
A history storage unit that stores in the storage unit a history of editing performed on the parts table;
A history storage unit that accepts an input of a name and a comment to be added to the recorded editing history via the transmission unit of the operation terminal, adds the editing history to the editing history, and stores the history in the storage unit;
An edit history stored in the storage unit by the history storage unit is read and displayed together with the comment, and an edit history selected from the edit history is received via the input unit;
The edit command included in the edit history received by the edit history receiving unit, the part condition, and the execution condition are specified, and a part satisfying the part condition is acquired from the parts table, and the acquired A history reproducing unit that performs an editing process in accordance with the editing command with a condition specified as the execution condition for the component;
A parts table editing system comprising:
部品表編集装置が部品表を編集する方法であって、
前記部品表編集装置は、
複数の編集命令を実行する制御部と、記憶部と、入力部と、を備え、
前記制御部は、
前記複数の編集命令の中から一の編集命令と、前記部品表から編集の対象となる部品を指定する条件である部品条件と、前記編集命令の編集内容を指定する条件である実行条件とを、前記入力部を介して受け付ける編集受付部と、
前記部品条件受付部で受け付けた部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して前記編集受付部で受け付けた前記実行条件に応じて編集処理を実施する編集部と、
前記部品表に対して行われる編集の履歴を前記記憶部に記憶させる履歴記憶部と、
前記記録した編集履歴に付加する名前とコメントの入力を、前記入力部を介して受け付けて編集履歴に付加し、前記記憶部に記憶させる履歴保存部と、
処理の対象となる部品表の指定を、前記入力部を介して受け付ける部品表指定受付部と、
前記履歴保存部により前記記憶部に記憶された編集履歴を前記コメントと共に読み出して表示し、そのうちから選択入力された編集履歴を、前記入力部を介して受け付ける編集履歴受付部と、
前記編集履歴受付部により受け付けた前記編集履歴に含まれる前記編集命令と、前記部品条件と、前記実行条件と、を特定し、前記部品条件を満たす部品を前記部品表から取得し、前記取得した部品に対して、前記実行条件に指定された条件を付して前記編集命令に応じた編集処理を実施する履歴再生部と、
を備えることを特徴とする部品表を編集する方法。
A method for editing a bill of materials by a bill of material editing device,
The parts table editing device
A control unit that executes a plurality of editing instructions, a storage unit, and an input unit;
The controller is
One editing command among the plurality of editing commands, a component condition that is a condition for specifying a component to be edited from the parts table, and an execution condition that is a condition for specifying the editing content of the editing command. , An edit reception unit that receives via the input unit;
An editing unit that acquires a component that satisfies a component condition received by the component condition receiving unit from the parts table, and performs an editing process on the acquired component according to the execution condition received by the editing receiving unit;
A history storage unit that stores in the storage unit a history of editing performed on the parts table;
A history storage unit that accepts an input of a name and a comment to be added to the recorded editing history, adds the editing history to the editing history, and stores the history in the storage unit;
A bill of materials designation accepting unit that accepts designation of a bill of materials to be processed via the input unit;
An edit history stored in the storage unit by the history storage unit is read and displayed together with the comment, and an edit history selected from the edit history is received via the input unit;
The edit command included in the edit history received by the edit history receiving unit, the part condition, and the execution condition are specified, and a part satisfying the part condition is acquired from the parts table, and the acquired A history reproducing unit that performs an editing process in accordance with the editing command with a condition specified as the execution condition for the component;
A method of editing a bill of materials, comprising:
JP2007247380A 2007-09-25 2007-09-25 Bom editing device, editing program, editing system and editing method Pending JP2009080536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007247380A JP2009080536A (en) 2007-09-25 2007-09-25 Bom editing device, editing program, editing system and editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007247380A JP2009080536A (en) 2007-09-25 2007-09-25 Bom editing device, editing program, editing system and editing method

Publications (1)

Publication Number Publication Date
JP2009080536A true JP2009080536A (en) 2009-04-16

Family

ID=40655262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007247380A Pending JP2009080536A (en) 2007-09-25 2007-09-25 Bom editing device, editing program, editing system and editing method

Country Status (1)

Country Link
JP (1) JP2009080536A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010003071A1 (en) 2009-03-27 2010-11-25 Honda Motor Co., Ltd. Intake passage structure of a V-type internal combustion engine
US8086337B1 (en) 2009-08-21 2011-12-27 Honda Motor Co., Ltd. Computerized system and method for generating a delivery bill of materials

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010003071A1 (en) 2009-03-27 2010-11-25 Honda Motor Co., Ltd. Intake passage structure of a V-type internal combustion engine
US8086337B1 (en) 2009-08-21 2011-12-27 Honda Motor Co., Ltd. Computerized system and method for generating a delivery bill of materials

Similar Documents

Publication Publication Date Title
US8910117B2 (en) Customizing and performing policy in version control
US7251724B2 (en) Device environment configuration system and method, and data storage therefor
JP5867540B2 (en) PROGRAM GENERATION DEVICE, PROGRAM GENERATION DEVICE CONTROL METHOD, AND PROGRAM
JP2009080536A (en) Bom editing device, editing program, editing system and editing method
JP2010152699A (en) Method, system, device and program for reusing data
KR20040026485A (en) A Proposal Making System And The Method Using The Same
JP2003317078A (en) Image managing method, program, and recording medium
JP2009187401A (en) Document management system, document management apparatus, and document managing method and program
JP4906424B2 (en) Web service design method and apparatus
JP2007164353A (en) Command line generation system, method, and program
US20080022258A1 (en) Custom database system and method of building and operating the same
JP5256112B2 (en) Document management system and method
JP5625757B2 (en) SEARCH CONDITION SETTING DEVICE AND ITS CONTROL METHOD, SEARCH CONDITION SETTING SYSTEM, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP6813782B2 (en) Information processing equipment, information processing system, its control method and program
US8631393B2 (en) Custom database system and method of building and operating the same
JP4559955B2 (en) Electronic form part development device, electronic form part development method, electronic form part development program, and recording medium storing electronic form part development program
JP2006073037A (en) File edition device, file edition method and file edition program
JP5331287B2 (en) Professional information processing system
JP2007128365A (en) Document management system, and control method and computer program for document management client thereof
JP2001134424A (en) Method and device for preparing system parameter and computer readable storage medium recording system parameter preparation program and computer readable storage medium storing system parameter preparation data
JP2004362495A (en) Method for supporting of error log information analysis, executing system thereof, and processing program thereof
JPH09223040A (en) System test supporting device for software and test scenario generator to be used for the same
US20240036890A1 (en) System and method of a modular framework for configuration and reuse of web components
JP2008033815A (en) Project management device, method and program
JP2008021031A (en) Search server apparatus and its control method, information processing apparatus and its control method, information processing system, information search apparatus and its control method, program, and storage medium