機械翻訳について

個人プロファイル学歴: 例外と適応

このビジネス・オブジェクトには例外はありません。 「学歴」リージョンのUIに表示できるすべてのフィールドで、デフォルト設定および検証を行えるわけではありません。 使用可能な属性は前述しています。

個人プロファイル学歴ビジネス・オブジェクトのルールを作成する場合は、次の点に注意してください。

  • すべてのルールについて、個人プロファイルの「学位」行を検証するという条件を必ず追加してください。そうしない場合、モデル・プロファイルの「学位」に対しても同じルールがトリガーされます。

  • 特定の個人の学位セクションに対してこのルールをトリガーする場合は、属性コンテキストに条件を追加します。

  • このビジネス・オブジェクトではすべてのルール・タイプがサポートされていますが、スコープに基づいてオブジェクト検証ルールのみを検証しています。

サンプル・ルールを次に示します。

Name: Education_rule1 
Rule Type: Object Validation Rule Type
Business Object: Person Profile Education
Description: Check Year Acquired must have a value if Instructional Program <> blank and Education Level is <> 14, 16, 18, 20, or 22
Status: Active 
 
Rule Logic :
{ 
 
    profileRow = Get first row ( Person Profile Education.Get Profile)
    If ( 
   profileRow.Current row Is not null AND
   profileRow.Person ID Is not null AND
   Person Profile Education.Attribute Context Equal to "DEGREE_300100205258753"
   )
 {
      ( 
Person Profile Education.Attribute 3 Is not null  AND
Person Profile Education.Education Level Does not match { 14|16|18|20|22 } AND
Person Profile Education.Year Acquired Is null 
      )
     {
       Show an error message : "You must enter a value for Year Acquired ."
     }
  }
}