ユーザーに割り当てられた責任のサブ項目 (フォームや機能) を監視するには、auditorObject をスキーママップに追加します。auditorObject は、responsibility オブジェクトのセットを含む複雑な属性です。次の属性は、常に責任オブジェクトに返されます。
responsibility
userMenuNames
menuIds
userFunctionNames
functionIds
formIds
formNames
userFormNames
readOnlyFormIds
readWriteOnlyFormIds
readOnlyFormNames
readOnlyUserFormNames
readWriteOnlyFormNames
readWriteOnlyUserFormNames
functionNames
readOnlyFunctionNames
readWriteOnlyFunctionNames
readOnly 属性と ReadWrite 属性は、fnd_form_functions テーブルの PARAMETERS 列で次のいずれかのクエリーを行うことによって識別します。
QUERY_ONLY=YES
QUERY_ONLY="YES"
QUERY_ONLY = YES
QUERY_ONLY = "YES"
QUERY_ONLY=Y
QUERY_ONLY="Y"
QUERY_ONLY = Y
QUERY_ONLY = "Y"
「SOB または組織、あるいはその両方を返す」リソースパラメータを TRUE に設定すると、次の属性も返されます。
setOfBooksName
setOfBooksId
organizationalUnitName
organizationalUnitId
responsibility、setOfBooksName、setOfBooksId、organizationalUnitId、および organizationalUnitName 属性を除いて、属性名はスキーママップに追加されるアカウント属性名に一致します。アカウント属性には、ユーザーに割り当てられる値の集合が含まれます。responsibility オブジェクトに含まれている属性は、その責任に固有のものです。
auditorResps[] ビューは、responsibility 属性へのアクセスを提供します。次に示すフォームの部分は、ユーザーに割り当てられたすべてのアクティブな責任 (およびそれらの属性) を返します。
<defvar name=’audObj’> <invoke name=’get’> <ref>accounts[Oracle ERP 11i VIS].auditorObject</ref> </invoke> </defvar> <!-- this returns list of responsibility objects --> <defvar name=’respList’> <invoke name=’get’> <ref>audObj</ref> <s>auditorResps[*]</s> </invoke> </defvar> |
たとえば、次のようにします。
auditorResps[0].responsibility は、最初の責任オブジェクトの名前を返します。
auditorResps[0].formNames は、最初の責任オブジェクトの formNames を返します。