0% found this document useful (0 votes)
143 views2 pages

How To Prevent To Create Purchase Requisition of Item Not Assigned To User Inventory Organization

The document provides instructions on how to prevent users in Oracle Purchase from selecting items that are not assigned to their inventory organization when creating purchase requisitions. It describes creating a function to verify the organization of an item, then personalizing the purchase requisition form to call that function and display a message if an invalid item is selected.

Uploaded by

sanjujob99
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views2 pages

How To Prevent To Create Purchase Requisition of Item Not Assigned To User Inventory Organization

The document provides instructions on how to prevent users in Oracle Purchase from selecting items that are not assigned to their inventory organization when creating purchase requisitions. It describes creating a function to verify the organization of an item, then personalizing the purchase requisition form to call that function and display a message if an invalid item is selected.

Uploaded by

sanjujob99
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

How to prevent to Create Purchase Requisition of Item not assigned to User Inventory Organization

Oracle Purchase in EBS R12, does not restrict to select Item other then User s Inventory Organization. Following is personalization to prevent to select Items assigned to other organization.

1. Create a Function
CREATE OR REPLACE function VerifyOrg(Myitem_id in number,org_id in number) return number is Result number; begin if Myitem_id is not null then SELECT nvl(count(*),0) into Result FROM mtl_system_items_b_kfv t, org_organization_definitions o WHERE t.organization_id=o.ORGANIZATION_ID and t.inventory_item_id = Myitem_id and o.OPERATING_UNIT = org_id ; else Result := 1; end if; return(Result); end; 2. Select Purchase Requisition form and go to personalization by Help=>Diagonostic => Custom code=>Personalize.

3. Setup Action as following snapshot (10)

4. Setup Message as following snapshot (20)

You might also like