How To enable ZOOM button In Oracle Apps : Part2

To know block and item name:

How To enable ZOOM trigger In Oracle Apps, askhareesh blog for Oracle Apps
How To enable ZOOM trigger In Oracle Apps, askhareesh blog for Oracle Apps

Open CUSTOM.pll body using form builder.
How To enable ZOOM trigger In Oracle Apps, askhareesh blog for Oracle Apps

Replace the above code with below code.
How To enable ZOOM trigger In Oracle Apps, askhareesh blog for Oracle Apps

Code to Copy:
  form_name VARCHAR2(30):=NAME_IN('system.current_form');
  block_name VARCHAR2(30):=NAME_IN('system.current_block');
  item_name VARCHAR2(30):=NAME_IN('system.current_item');

BEGIN
   IF (    form_name = 'POXPOEPO'
       AND block_name = 'PO_LINES'
       AND item_name = 'MARKET_PRICE')
   THEN
      RETURN TRUE;
   ELSE
      RETURN FALSE;
   END IF;

Copy the CUSTOM.pll to resources path and compile.
Open the Purchase Orders form and move to Price reference tab -->
Market price to see the zoom button.
How To enable ZOOM trigger In Oracle Apps, askhareesh blog for Oracle Apps


*/