Sei sulla pagina 1di 4

Restricting Users From Assigning Items To Organization

Purpose : Restrict Item List To Organization Items Only


Steps :
1. Login to Oracle Apps with the specified user name and password
2. Navigate to Inventory Responsibility > Master Items
3. Click Help > Diagnostics > Custom code > Click on the last selection: 'Personalize'

4. Under Conditions tab > Trigger Event = ' WHEN-NEW-FORM-INSTANCE '


6. Set the Context level to User and Value to
--Note: to simplify setup required, you can choose to set the condition context to responsibility.
This would allow you to assign a group of users to a responsibility, then the setup above would
only need completed once at the responsibility level. Otherwise this setup step would be required
for each user.

7. Click to Actions tab and define following actions -


Seq. Type Object Target Property Value
Type Object Name
10 Property Block MTL_SYST DEFAUL organization_id = :parameter.org_id and eng_item_flag =
EM_ITEMS T_WHER decode(:PARAMETER.SOURCE_MENU, 'ENG', 'Y',
E 'GMD','Y', 'N') and NVL(approval_status,'A') = 'A' AND -1=-
1
8.Save the changes.
Organization Assignment List
Steps :
1. Login to Oracle Apps with the specified user name and password
2. Navigate to Inventory Responsibility > Master Items
3. Click Help > Diagnostics > Custom code > Click on the last selection: 'Personalize'

4. Under Conditions tab > Trigger Event = ' WHEN-NEW-FORM-INSTANCE '


6. Set the Context level to User and Value to
--Note: to simplify setup required, you can choose to set the condition context to responsibility.
This would allow you to assign a group of users to a responsibility, then the setup above would
only need completed once at the responsibility level. Otherwise this setup step would be required
for each user.
7. Click to Actions tab and define following actions -
Seq. Type Object Target Object Propert Value
Type y Name
10 Property Block ORG_ASSIGN DEFAU master_organization_id =
LT_W :STARTUP_INFO.MASTER_ORG_ID AND (
HERE NVL(eam_enabled_flag, 'N') =
NVL(:PARAMETER.EAM_ITEM_FLAG, 'N') OR
NVL(:PARAMETER.EAM_ITEM_FLAG, 'N') = 'N' ) and
exists (select 'x' from hr_organization_information ood where
ood.organization_id = mtl_org_assign_v.organization_id and
ood.org_information2 = 'Y' and ood.org_information1 = 'INV'
and ood.organization_id in
(:STARTUP_INFO.MASTER_ORG_ID,:parameter.org_id)
and (ood.org_information_context||'')='CLASS') AND
inventory_item_id =
:MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID
8.Save the changes.

Potrebbero piacerti anche