Home » Applications » Oracle Fusion Apps & E-Business Suite » Enabling Zoom though custom.pll (DB version 11.2.0.2 EBS version 12.1.3 Forms 10g)
Enabling Zoom though custom.pll [message #554129] Thu, 10 May 2012 10:00 Go to next message
knsreedevi
Messages: 25
Registered: May 2012
Location: Bangalore
Junior Member
Hi All,

I am trying to enable zoom functionality by modifying the custom.pll.
Click on zoom will take to a new form which has 2 fields carried over from the calling form.
Now the requirement is "Only if there is a record in the called form the zoom should be enabled."
I have added the following code in the custom.pll

form_name varchar2(30) := name_in('system.current_form');
block_name varchar2(30) := name_in('system.cursor_block');
blk_status varchar2(10) := NULL;
begin
if (form_name = 'FNDPOMPO' and block_name = 'PROFILE_OPTIONS') then
message('Inside If');
blk_status := get_block_property(block_name, STATUS);
message('Block status is ' || blk_status);
if blk_status != 'NEW' then
return TRUE;
else
return FALSE;
end if;
end if;
end zoom_available;

But I see the message "Inside If" and "Block status is NEW"
When the form is opened, but when i query for the records, these are not displayed again.
Please let me know how to get this done.
Re: Enabling Zoom though custom.pll [message #554136 is a reply to message #554129] Thu, 10 May 2012 12:01 Go to previous messageGo to next message
knsreedevi
Messages: 25
Registered: May 2012
Location: Bangalore
Junior Member
Hi, I added the logic in event function and it is working
Re: Enabling Zoom though custom.pll [message #554668 is a reply to message #554136] Wed, 16 May 2012 06:21 Go to previous messageGo to next message
knsreedevi
Messages: 25
Registered: May 2012
Location: Bangalore
Junior Member
This is still open.

In the event function, if the event is zoom and the parameters to be passed to the new form are NULL...
then a message is displayed.
But the zoom will still be enabled.
How to disable the zoom itself when the parameters have no values?
Re: Enabling Zoom though custom.pll [message #554783 is a reply to message #554668] Thu, 17 May 2012 06:21 Go to previous message
knsreedevi
Messages: 25
Registered: May 2012
Location: Bangalore
Junior Member
Rephrasing "Only if there is a record in the calling form the zoom should be enabled."
Previous Topic: change distribution
Next Topic: Creation of Custom Dunning Letters in R12 Instance
Goto Forum:
  


Current Time: Thu Nov 21 14:15:45 CST 2024