キーサービス (材料マスター構築ブロック)
材料マスター構築ブロックには、材料マスターデータベーステーブルの CRUD サービスが含まれています。PTC.MaterialMasterImpl.Manager_TT にある次のその他のサービスは、データベーステーブルに挿入する前にデータを検証します。
• MaterialClassMasterLinksPreCreate - ValidateMaterialClassMasterLinks サービスを呼び出して、材料クラスマスターリンク関係の事前作成検証を実行します。
• MaterialClassMasterLinksPreUpdate - ValidateMaterialClassMasterLinks サービスを呼び出して、材料クラスマスターリンク関係の更新前検証を実行します。
• MaterialMasterLinksPreCreate - ValidateMaterialMasterLinks サービスを呼び出して、材料マスターリンク関係の事前作成検証を実行します。
• MaterialMasterLinksPreUpdate - ValidateMaterialMasterLinks サービスを呼び出して、材料マスターリンク関係の更新前検証を実行します。
• MaterialMasterToClassLinksPreCreate - ValidateMaterialMasterToClassLinks サービスを呼び出して、材料マスターとクラス間のリンク関係の事前作成検証を実行します。
• RegisterActionListeners -
PTC.MaterialMaster.MaterialMasterToClassLink、
PTC.MaterialMaster.MaterialMasterLink、および
PTC.MaterialMaster.MaterialClassMasterLink の作成および更新の操作リスナーを登録します。操作リスナーは、データベーステーブルを作成または更新するとトリガーされます。詳細については、
操作前、操作中、操作後のイベントのディスパッチと検証を参照してください。
• ValidateMaterialClassMasterLinks - 材料クラスマスターリンクの親の材料クラスマスターと子の材料クラスマスターが同じサイトに属していることを検証します。
• ValidateMaterialMasterLinks - 材料マスターリンクの親の材料マスターと子の材料マスターが同じサイトに属していることを検証します。
• ValidateMaterialMasterToClassLinks - 材料マスターとクラス間のリンクの材料マスターと材料マスタークラスが同じサイトに属していることを検証します。