document for restricting lov using form personalization
DESCRIPTION
This document will guide you on how to Restrict the LOV values using Form PersonalizationTRANSCRIPT
![Page 1: Document for Restricting LOV Using Form Personalization](https://reader036.vdocuments.net/reader036/viewer/2022082211/55cf913e550346f57b8bdb24/html5/thumbnails/1.jpg)
Document for Restricting the Sub Inventory LOV in Sub Inventory
Transfer form
Developed By Arsalan Dilawar
ERP Supervisor
Step 1: Go to Form Personalization window
![Page 2: Document for Restricting LOV Using Form Personalization](https://reader036.vdocuments.net/reader036/viewer/2022082211/55cf913e550346f57b8bdb24/html5/thumbnails/2.jpg)
Document for Restricting the Sub Inventory LOV in Sub Inventory
Transfer form
Developed By Arsalan Dilawar
ERP Supervisor
Step 2: enter the new personalization description and trigger events etc as per below image
![Page 3: Document for Restricting LOV Using Form Personalization](https://reader036.vdocuments.net/reader036/viewer/2022082211/55cf913e550346f57b8bdb24/html5/thumbnails/3.jpg)
Document for Restricting the Sub Inventory LOV in Sub Inventory
Transfer form
Developed By Arsalan Dilawar
ERP Supervisor
Step 3: Get the LOV query either from Oracle Form or from Trace file
![Page 4: Document for Restricting LOV Using Form Personalization](https://reader036.vdocuments.net/reader036/viewer/2022082211/55cf913e550346f57b8bdb24/html5/thumbnails/4.jpg)
Document for Restricting the Sub Inventory LOV in Sub Inventory
Transfer form
Developed By Arsalan Dilawar
ERP Supervisor
Step 4: Modify the query as per requirement
select secondary_inventory_name,
description,
quantity_tracked,
asset_inventory,
locator_type,
material_account
from mtl_subinventories_val_v
where organization_id = :parameter.org_id
and secondary_inventory_name not in ('BOOKED')
and inv_material_status_grp.is_status_applicable(:parameter.wms_installed,
:mtl_trx_header.trx_status_enabled,
decode(:mtl_trx_header.transaction_type_id,
-99,
:mtl_trx_line.transaction_type_id,
:mtl_trx_header.transaction_type_id),
NULL,
NULL,
:parameter.org_id,
:mtl_trx_line.inventory_item_id,
secondary_inventory_name,
NULL,
NULL,
NULL,
nvl(:mtl_trx_header.material_status_object_type,
'Z')) = 'Y'
order by secondary_inventory_name
![Page 5: Document for Restricting LOV Using Form Personalization](https://reader036.vdocuments.net/reader036/viewer/2022082211/55cf913e550346f57b8bdb24/html5/thumbnails/5.jpg)
Document for Restricting the Sub Inventory LOV in Sub Inventory
Transfer form
Developed By Arsalan Dilawar
ERP Supervisor
Step 5: create the action type and paste the query as shown in the below screen
![Page 6: Document for Restricting LOV Using Form Personalization](https://reader036.vdocuments.net/reader036/viewer/2022082211/55cf913e550346f57b8bdb24/html5/thumbnails/6.jpg)
Document for Restricting the Sub Inventory LOV in Sub Inventory
Transfer form
Developed By Arsalan Dilawar
ERP Supervisor
Step 6: Create another Action type as shown in the below image
![Page 7: Document for Restricting LOV Using Form Personalization](https://reader036.vdocuments.net/reader036/viewer/2022082211/55cf913e550346f57b8bdb24/html5/thumbnails/7.jpg)
Document for Restricting the Sub Inventory LOV in Sub Inventory
Transfer form
Developed By Arsalan Dilawar
ERP Supervisor
Done Good luck…