Forms Personalizations: Why Was Forms Personalization Introduced by Oracle in 11.5.10?
Forms Personalizations: Why Was Forms Personalization Introduced by Oracle in 11.5.10?
Forms Personalizations: Why Was Forms Personalization Introduced by Oracle in 11.5.10?
Forms Personalizations
Saturday, 21 April 2007 04:06 Anil Passi | Print |
In this article, I would like to explain different possibilities of Forms Personalizations. Surely before explaining what can be
done, first we will touch base upon what exactly it is.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 2 of 42
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 3 of 42
Can I modify SQL Query behind the LOV using Forms Personalizations?
Of course you can. In the below example I am restricting the LOV to less than 3records by introducing where rownum <3 in
record group query.
Step 1. Create a new record group
Step 2. Attach the newly created record group to existing LOV in EBS Form.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 4 of 42
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 5 of 42
You can also call a form function and pass it parameters using Forms Personalizations
You can initialize a global variable. Initialization code is executed if and only if the global variable does not already exist.
Use global variables for passing variables back and forth between two forms.
Please do not use Global Variables if your logic is restricted to a Single form itself.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 6 of 42
Using forms personalizations, you can set the Default where clause of the BLOCK too.
Note: Don't forget to reset this clause after your desired operation has been finished. This will facilitate the form to run in
standalone mode too.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 7 of 42
For displaying messages, you can either enter a plain text, or your message can be displayed from the result of a SQL
Statement.
Local variables can be defined and they will be active for throughout the session of the current form.
Use global variables if you wish to share the variable between multiple forms.
Below, just for demo, I am setting the local variable to 0.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 8 of 42
You can enable SPECIAL1-15 or MENU1-15, to create new menu entries under the Tool menu.
As seen below, the above two setups have instantiated the new Menu Items
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 9 of 42
You can capture the click on those newly created menu items by trapping event MENU1 or SPECIAL1 [or whatever you
defined]
Comments (119)
Subscribe to this comment's feed
...
written by gurumurthy , April 21, 2007
hi anil,
This Forms Personalization Presentation is really helpful .could you help me how to get the return value of an Stored
procedure or Function .
thanks.
Votes: +1 vote up vote down report abuse
...
written by Omkareswar Masala , April 21, 2007
Hi Mr.Anil,
Very useful to me this article.You are giving the lot of information regarding Oracle Apps in your site. I am thankful to
you.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 10 of 42
...
written by m.sridhar , April 22, 2007
thanq u very much this article is very good.
Votes: +1 vote up vote down report abuse
...
written by Rajiv , April 22, 2007
Hi Anil,
Thank you so much for your contribution. Apart from the questions mentioned in ur list, where can I find some more
material on HRMS Interview questions?
Thanks in Advance
Rajiv
Votes: +1 vote up vote down report abuse
...
written by Rakshit , April 23, 2007
Hi Anil,
I tried to put a personalization using WNRI on the quantity field and yes it worked. Now the question is that i tried the
same last friday and it did not work for some mysterious reason. I have heard that forms personalization done through
this screen in front end is not always stable and may sometimes behave weirdly. Is it True? Thanks a lot for the quick
reply.
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , April 23, 2007
Hi Rakshit
It appears that your personalizations are being over-ridden either by standard Oracle code or something in
CUSTOM.pll
As you mentioned, the field gets disabled after you move to quantity field of the next record.
Try to re-enable this in WHEN-NEW-ITEM-INSTANCE of the QUANTITY field itself and also in WNRI
Also, try to open the form and find the code that disables that field. See if any condition is built around and if that can
be bypassed my means of FP.
thanks,
anil
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , April 23, 2007
Hi Rakshit
Forms personalization[FP] is as consistent as any other form of coding, because internally FP gets translated into a
program itself.
Thanks,
Anil Passi
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 11 of 42
...
written by Anil Passi , April 23, 2007
Hi Niraj
http://docs.google.com/Doc?id=dkg3r3j_310dkmcbg
Thanks,
Anil Passi
Votes: +1 vote up vote down report abuse
...
written by Niraj , April 23, 2007
Amazing....thanks a lot Anil for the initcap solution. Really appreciate it.
Niraj
Votes: +0 vote up vote down report abuse
...
written by Joel , April 25, 2007
Hi Anil, I too have an Oracle Apps blog and I was wondering if you can help me with a requirement from one of the
readers on my blog. His requirement is that he wishes that when querying a SO in the Sales Order form, the
ITEM_DESCRIPTION_MIR value of the SO line would populate automatically to the USER_ITEM_DESCRIPTION field
if NULL, and this needs to be done for all lines, if there are many lines on the SO. Here what he has done so far:
CONDITION: Trigger Event: When-New-Item-instance Trigger Object: LINE.USER_ITEM_DESCRIPTION
CONDITION: :LINE.USER_ITEM_DESCRIPTION is NULL ACTIONS TAB: Seq 10 Property Object Type: Item Target
Object: LINE.USER_ITEM_DESCRIPTION PROPERTY NAME: VALUE VALUE:
=${item.line.item_description_mir.value} (This works but it requires the user to click on the
USER_ITEM_DESCRIPTION field of each line for the value to populate automatically. What is he missing in order for
all lines to populate the value from ITEM_DESCRIPTION_MIR to USER_ITEM_DESCRIPTION)? The requirement is :
When querying a Sale Order, click on the Line tab, they want the system to automatically populate, for all lines, the
ITEM_DESCRIPTION_MIR field value to USER_ITEM_DESCRIPTION field thru Forms Personalization. Any help
would be appreciated... Regards, Joel Asselin
Votes: +1 vote up vote down report abuse
...
written by Prabhakar , April 25, 2007
Anil,
You are just awesome..the way things have been explained...just unprecedented...kudos!!!
Prabhakar
Votes: +0 vote up vote down report abuse
...
written by Joel , April 26, 2007
Anil,
Thank you for your prompt and clear response. The information you have on your site is awsome...
Thanks again.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 12 of 42
...
written by anil passi , May 04, 2007
for the record history, in your block add a column named current_record_indicator with appropriate subclass property.
for iproc, if you wish to add further sub-tabs, then add form functions via sub menus
thanks,
anil
Votes: +0 vote up vote down report abuse
...
written by BasavanaGowda , May 08, 2007
Hi Anil,
I would like know how to Add the LOV to text field through Forms Personalization..
Thanks in Advance
B.Gowda
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , May 09, 2007
Greetings Gowda
Thanks,
Anil
Votes: +0 vote up vote down report abuse
...
written by BasavanaGowda , May 16, 2007
Thank u So much Anil for very very quick reply...
please provide me the steps for attaching new LOV(Customized)/Value Set to a text field through custom.pll
Regards,
B.Gowda
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , May 27, 2007
Hi Robert
Please perform this validation in WHEN-VALIDATE-RECORD. I believe that will guarantee you to display the
message.
You can also enable Show Custom Events using Help menu, to see the trigger name that gets transmitted to
FP/CUSTOM.pll when the window is getting closed.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 13 of 42
Thanks,
Anil
Votes: +0 vote up vote down report abuse
...
written by Robert , May 30, 2007
Hi Anil,
I would like to clarify my issue. My error message always displays when the combination of the 3 fields are not
legitimate. My problem is that the assignment screen closes even after throwing the FORMS_TRIGGER_FAILURE.
Specifically:
1. The user changes data on the assigment screen.
2. The user closes the assignment screen.
3. A seeded message asks if user wants to save the changes.
4. The user responds, Yes.
5. My function finds the changed data not legitimate.
6. The personalization displays a message.
7. The personalization throws FORMS_TRIGGER_FAILURE.
8. The assignment screen closes anyway.
How can I prevent the assignment screen from closing if there is an error. The FORMS_TRIGGER_FAILURE does not
prevent the screen from closing. The person screen is displayed and Oracle asks the user to save the changes.
...
written by Robert , May 31, 2007
Hi Anil,
I tried using WHEN_VALIDATE_RECORD but there are many existing records that produce the personalized error
message. The users many times want to just browse the records in production and the error message popup slows
them down. They prefer to be presented with the error message only when inserting or updating the assignment
record. Is there a way to use WHEN_VALIDATE_RECORD but not produce the message unless the user has inserted
or updated the record. I am currently using POST_UPDATE and POST_INSERT but I run into the problem I described
in my earlier post.
Thanks for your help,
Robert
Votes: -1 vote up vote down report abuse
...
written by Puja , May 31, 2007
Anil
In the above URL [docs.google.com]
can you please tell the next step how to do and what builtin to use to move the cursor to the first record.
Thanks
Puja
Votes: +0 vote up vote down report abuse
...
written by Anil PAssi , May 31, 2007
Hi Robert
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 14 of 42
Hence this causes WVR to fire while scrolling through the records.
Please try to fix the source of the problem, then WVR will not fire unless and until record gets modified.
...
written by Puja , May 31, 2007
Hi Anil
Thanks
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , June 05, 2007
Hi Priya
Unfortunately currently FP does not permit changing block property for Current Record Visual Attribute. If that were to
be allowed, then you could have changed the property depending upon the value of attribute column.
As a workaround, you might try changing Visual Attribute for item instance,against each and every item in the record.
However, you will also need to find a way to reset the Visual Attribute after the cursor moves away from current record.
I guess, given the constraints, the best bet is to use CUSTOM.pll for this requirement
Thanks,
Anil Passi
Votes: +1 vote up vote down report abuse
...
written by Priya Viswantha , June 05, 2007
Hi Anil
...
written by Srinivas , June 06, 2007
my client want to hide the TaxPayerID (SSN) no. for the suppliers accross all modules PO, AP, payments. so i started
creating the new recordgroups for the LOV those displaying the SSN info like supplier name, supplier Number columns
on Find purchase order form .....
For those record groups which dont have bind variables i am able to hide the ssn info in the LOV but on the find
payments form when i tried to create the record group with the same standard record group that was taken from the
form which contains bind variables is not working.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 15 of 42
Thanks in advance
Srini
Votes: -1 vote up vote down report abuse
...
written by Priya Viswantha , June 14, 2007
Hi Anil,
...
written by Avinash , June 15, 2007
Hi Anil,
I am working on Receivables - Transaction Information DFF, there are about 8 segments in the DFF structure which is
referenced to $PROFILE$.ORG_ID (context sensitive). As well there are about 8-10 Receivables responsibilities,
which are having Transactions functions.
Out of the 8 segments I want to disable 2 segments to specific responsibilities. How can I achieve this through form
personalization? I tried different ways but not able to catch the DFF form and specific segment Item,property on it on
ARXTWMAI form.
Thanks
Avinash
Votes: +0 vote up vote down report abuse
...
written by Vamsi , June 18, 2007
I have to call a OA page from form. Can you please provide the steps.....
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , June 19, 2007
Hi Vamsi
I think the call to fnd_function.execute [i.e. Launch a Function] should wor for OA Page too provided you have
registered your OAF Page as a Function.
Thanks,
Anil
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , June 19, 2007
Hi Sudhir
Thanks,
Anil
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 16 of 42
...
written by Manoj , June 22, 2007
Hi Anil,
I have a requirement where based on the value selected for a item numeber in the Purchase Order Screen the DFF
value set value must change.
Is this possible using Forms Personilization.
Regards,
Manoj
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , June 22, 2007
Hi Manoj
Alternately, consider using that that field as the context for DFF.
Thanks,
Anil
Votes: +0 vote up vote down report abuse
...
written by Ravi Thota , June 27, 2007
Dear Anil,
Can u explain more on creating RECORD GROUPS and attaching to LOV, to restrict the results.
i have gone thru your documents on FP, but something is missing about creating RECORD Groups since the whole
process is explaing in short screens in one page.
Thanks in advance
Ravi kumar thota
Votes: +0 vote up vote down report abuse
...
written by kiran , June 27, 2007
Hi Anil,
I have got a unique kind of requirement on the ARXTWMAI ( AR -> TRansactions Screen).
1. We have a DFF on TRansaction Headers (Transaction Information) where we capture the Company segment of
Acct FF for Deposit Class.
2. Now I have to Duplicate the Value in this DFF into the Segment4 of Accounting FF. we have Rec and Rev
Accounting for Deposits.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 17 of 42
-kiran
Votes: +0 vote up vote down report abuse
...
written by Mohan , June 27, 2007
Hi Anil,
We have a requirement to create a new LOV based on a Record group, which will display 10 fields. As soon as the
user selects a value in the LOV, we should default few other fields.
You explained in the earlier threads that it is not possible through Forms Personalizations. Can we do it using
CUSTOM.PLL??
Or is it possible to modify an existing Record group to add couple of additional columns and allow the user to search
based on the new columns?
If we open up the form and create a new LOV, the changes will go off if we apply a patch that has newer version of the
form.
Thanks in advance,
Mohan.
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , June 28, 2007
Hi Mohan
Structure of the Record Group must not change, because you can not define the mappings to LOV columns using FP.
Thanks
Anil
Votes: +0 vote up vote down report abuse
...
written by Vamsi , July 10, 2007
Anil,
As you mentioned above I have created Menu Items and attached function to call OA page......
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 18 of 42
...
written by Marcus , July 12, 2007
Hi Anil,
do you know of a way to create new menu items in the tools menu with PL/SQL?
Thanks
Marcus
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , July 12, 2007
Hi Marcus
Thanks
Anil
Votes: +0 vote up vote down report abuse
...
written by veera , August 15, 2007
Hi Anil
I would like to know what queries are used by a perticular form (for ex: PO creation form) when i perform save
opertation.
Is there any consolidated help page from oracle where it displays all the operations like search, update etc queries?
Rgds,
Veera
Votes: +0 vote up vote down report abuse
...
written by mv , August 18, 2007
Anil..Really useful site...Good source of contributions from yourself and others...
Question to you now regarding one area of personalization which I am getting confused and not able to get the syntax
right...
Using the 'Execute Procedure' builtin, I need to read and assign values from form fields.
for eg: There is a block 'ADDR_SU' with a field name 'TAX_CODE'
I need to write a condition in the procedure that if TAX_CODE is null then set TAX_CODE to be 'Exempt'
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 19 of 42
But would like to know how to handle this from within 'execute procedure' builtin.
I have been reading the SPEL and the R12 doco but I should admit I am just going bonkers getting the syntax right..
Thanx
...
written by Ashwathy , August 28, 2007
Hi,
Thanks
ashwathy
...
written by Sridhar A R S , September 01, 2007
Hi Anil
The articles on your site are simply Awesome .We are implementing Oracle HRMS here in Middle east .My question is
can we launcgh a URL with parameters at run time through Form personalisation.for example
An ORACLE user is navigating an ORACLE form that is displaying the “annual leave†information of an
employee dated 12/11/2006, the parameters to be sent to url are:
a.Employee Number: 1123
b.Document Type: Leaves
c.Document Sub Type: Annual
d.Document Date: 12/11/2006
The button should call the custom integration page; The following HTTP Request will summarize the above:
http://.........../IntegrationPage.jsp?EmpNo=1123&DocType=Leaves&DocSubType=Annual&DocDate=20061112
Thanks in advance
Rgds
Sridhar
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , September 01, 2007
Hi Sridhar,
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 20 of 42
Do let me know if the jsp page in question is hosted outside of eBusiness Suite environment. In which case I can
suggest you a separate approach.
Thanks,
Anil Passi
Votes: +0 vote up vote down report abuse
...
written by Sridhar A R S , September 03, 2007
Hi Anil
You guessed it right this JSP page is a third party page and resides outside the EBS
Rgds
Sridhar
Votes: +0 vote up vote down report abuse
...
written by Sridhar A R S , September 04, 2007
Hi
The JSP resides outside the E Business Suite (a third party page) .Please suggest how to call that web url by passing
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 21 of 42
Rgds
Sridhar
Votes: +0 vote up vote down report abuse
...
written by Paw , September 05, 2007
Hi,
when i again query the same order what i see the same value is appering in intmed_ship_to_location
like intmed_ship_to(10072DE).
Thanks in advance.
Regards
Pawan
Votes: +0 vote up vote down report abuse
...
written by Andrew , September 07, 2007
Hi Anil,
I follwed the directions you gave in
"Can I modify SQL Query behind the LOV using Forms Personalizations?"
to overwrite country of birth LOV on the PERWSHRG form with the following SQL:
When applying and navigation back to the person form. The LOV returns no list of values. When running this SQL
outside the application, it returns 238 rows. Any ideas on what I am doing wrong.
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 22 of 42
...
written by Deepak Prabhakar , September 11, 2007
Dear Anil, Can you please suggest how to disable delete button on Oracle standard Toolbar for any oracle form.
...
written by Suree , September 17, 2007
Hi Anil.
In Action: Building and Builtin Type: Execute a Procedure, I am calling a procedure as below:
='Declare
l_chr_retcode Varchar2(1000);
l_chr_errbuf Varchar2(1000);
l_chr_out_value Varchar2(1000);
Begin
xxx_pkg.xxx_proc(out_chr_errbuf => l_chr_errbuf,
out_chr_retcode => l_chr_retcode,
out_chr_out_val => l_chr_out_value);
End'
Now, in this procedure, I need to assign l_chr_out_value that I got from the procedure call to a form item. There are
way of doing it like assigning this to package variable and then assigning the package variable back to the form item.
But is there any way that I can direcly assign it to form item?
Warm Regards,
Suree
Votes: +0 vote up vote down report abuse
...
written by Mohan1 , September 26, 2007
Hi Anil,
Can I use FP to calculate the Collectable Amount at run-time and display it on the screen using one of the DFF
attributes???
If yes, where should I write my logic?? Which event should i use to reflect this change on each and every record in
Transactions Tab of Collections Form?
I'm not able to capute the when-new-record-instance trigger on the "Transactions" Tab. Also, I'm not able to get the
values of Amount_due_remaining and Amount_in_dispute fields for a particular Transaction on Transactions Tab.
Please advise.
Thanks,
Mohan.
Votes: +0 vote up vote down report abuse
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 23 of 42
IT consultant
written by anjali , October 04, 2007
hi Anil
I want to retrieve a value from a stored procedure during Forms Personalization
In Action: Building and Builtin Type: Execute a Procedure, I am calling a procedure as below:
='begin
genPKG.COUNT_ALL(†’||${item.po_lines.desc_flex.value& #125;||†’,,†â
€™||${global.g_null.value}†’);
END'
i dnt know if the code is ok but im getting error from executing this statement
in fact i want to call the procedure and retrieve a value from the procedure and use it back in the form
how can i do that?
ive tried several ways but could not find any
Votes: +0 vote up vote down report abuse
Is there any way to specify that the action be performed only once ?
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , October 25, 2007
Indeed there is, that is if you raise an form trigger failure.
Thanks,
Anil Passi
Votes: +0 vote up vote down report abuse
Changing the DFF(Attribute16) read only in Sales Order Line using Form Personalization
written by Prashanth , October 26, 2007
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 24 of 42
As you have shown in 2nd screen shot that we can enter upto 100 personalization. It's basically sequence should be in
the range of 1-100 but we can repeat the sequence number and I guess personalization can also by this can be more
than 100.
Once again thanks for putting such a wonderfull efforts on documents all are almost near to perfection.
Thanks Again...!!!!
Regards
Sachin Ahuja
Votes: +0 vote up vote down report abuse
Regards,
Mani
Votes: +0 vote up vote down report abuse
I think Anil has already covered the point under section below on this page only
Can I modify SQL Query behind the LOV using Forms Personalizations?
Regards
Sachin
I have gone thru the examples you have given on forms personalization.I got a request to personalize the form and I
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 25 of 42
want to use the Type = "Builtin" and Builtin Type = "Create Record Group from Query" for that form personalization
which you have given as an example in the link "http://oracle.anilpassi.com/forms-personalizations.html".But I could not
find Bultin Type = "Create Record Group from Query". I am using 11.5.10.2 version of Oracle Apps.I checked in earlier
version 11.5.8 also.But I could not find. May I know by using which version you have given that example and in which
versions it is available?
Thanks
Vinay
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , October 31, 2007
Hi Vinay
It certainly works on CU4. This feature was added in a later release of 11.5.10, which explains why this option isn't
available for CU2
Thanks,
Anil Passi
Votes: +0 vote up vote down report abuse
CU4 is not available to download in metalink. So may I know what is the appropriate patch # to apply. I am planning to
personalize the "Reason" field (which is LOV) in the form INVTTMTX.fmb in Inventory module of R11.5.10.2. I will be
thankful if you can provide the exact info that we needed.Appreciate your reply.
Thanks
Vinay
Votes: +0 vote up vote down report abuse
I have been through all your threads on form personalization but couldn't find solution to my problem. I want to enter
Lot/Sublot/Qty through FP while receiving goods. The problem is that there can be multiple lot/sublot for the item being
received. We normally scan the lot/sublot info from the item barcode and store it in a custom table. Now i want is that
when i click on lot entry form it should automatically fill the lot/sublot/qty for that item in the form.
TIA
Vivek
Votes: +1 vote up vote down report abuse
...
written by Anil Passi , November 05, 2007
Hi Vivek
You can loop through the records in the table and create multiple records.
See my response to the query raised by Joel on April 25, 2007 [in above thread]
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 26 of 42
Thanks
Anil Passi
Votes: +1 vote up vote down report abuse
Dev
written by Ron , November 09, 2007
I would like to replace a user entered value during a query function. Say the form has a varchar field and the user
enters 'ABC' and when the execute query (Ctl/F11), the actual value is 'XYZ'. This hidden value is derived from a
standard plsql function. Any idea?
Votes: +0 vote up vote down report abuse
...
written by Vivek Jain , November 12, 2007
Thanks a lot ANIL. Your solution worked.
Votes: +0 vote up vote down report abuse
Form Personalization
written by S.Kumar , November 19, 2007
Hi Anil,
I have entered the Order line. Now I'll be calling some procedure which will either return Y or N.
Based on the return value I want to set one attribute on line to this Y or N.
I want all this to happen before line is saved. So I am using FP and trigger When-Validate-Record with Action =
Property
Object Type= Item
Target Object=LINE.ATTRIBUTE16
Property Name=Value
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 27 of 42
Value = *************
Here I am confused how to return the value and assign it to line so that it gets saved when i save my record.
When I open a catalog form from PO form, Add and Remove buttons are grayed out in the order pad. Is there any way
to enable these buttons. But these buttons are enabled when I open the catalog window from Requesition form.
Thanks.
Votes: +0 vote up vote down report abuse
Is there any way we can call the inbuilt program unit(package.procedure) of a standard oracle form using forms
personalization? I tried the below code for FORMS_DDL and "Execute a Sotred Procedure" builtins but went invain.
='declare
v_event VARCHAR2(50) := 'WHEN-VALIDATE-ITEM';
begin
prof_local.class_profile(v_event);
end'
Sayeed
Votes: +1 vote up vote down report abuse
Question... I'm trying to change the visual attribute of a field, the font color using form personalization and have not
been successful... Have you tried or know how or is it even possible?
...
written by Krishna reddy81 , December 10, 2007
Not able to see the images of the personalizations.
Votes: +0 vote up vote down report abuse
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 28 of 42
Your website helped me a lot in creating an LOV using Forms Personalization. I am struck up with a problem and I
need your advice on this if I am missing some thing. I am using Forms Personalization to create an LOV using builtin.
In the Builtin, I have put the sql query under create record group from query. In the query, when I hardcode a value, in
a where condition, the LOV works fine but when I replace the hardcoded value with :block.field value, it gives the error,
FRM-40502: ORACLE error: unable to read list of values. Below is the part of the sql query where I am facing this
issue.
"WHERE related_customer_id = :ORDER.INVOICE_TO_CUSTOMER_ID"
Please get back to me if you have faced with this kind of problem.
Regards,
AN
Votes: +0 vote up vote down report abuse
How can i use a procedure, that returns boolean value, in persinalization condition field?
Thanks.
-- Wolfie
Votes: +0 vote up vote down report abuse
Thanks
Aravind
Votes: +0 vote up vote down report abuse
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 29 of 42
In purchase order lines, i have a DFF with value set as yes/no. What i want is that if there are n lines(records) then only
one of them has DFF value as yes and rest of the lines should have value no. I tried using when-validate-record
instance but it validates only for the current record and does not compare t with other records. Is there any way we can
do it through form personalization
Regards,
Vivek
Votes: -1 vote up vote down report abuse
The personalization is done for the activity when the user enters invoice through invoice batches, and enters
distribution info for each invoice line. and now when the user selects a code combination in the account field it is
verified from the account code segment (as to whether it is not a liability account). Now i have restricted the user to
move ahead or back in the form, and have also shown him an error message through personalization. But ironically if
the user just presses the OK button of the message box, he can still save the record. I dont want the users to save the
record after entering restricted account codes
...
written by Anil Passi , January 05, 2008
Hi VV Bharghav
You need to raise form trigger failure.
Please see a comment above posted on October 25, 2007
Thanks
Anil Passi
Votes: +0 vote up vote down report abuse
...
written by V V Bhargav , January 05, 2008
Hi Anil,
I agree for raising the form trigger failure. But the distributions window has many lines. so suppose if didnt have that
personalization and the user had entered some few correct lines and some few wrong codes in some lines. how to stop
the user from saving.. that is if i put the code in when-validate-record... the trigger will only verify the latest record... will
the trigger get fired for all lines in the block.
Please help.
...
written by Anil Passi , January 05, 2008
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 30 of 42
Hi Bhargav
WHEN-VALIDATE-RECORD will fire for each record that gets modified. Hence when you raise exception, user will not
be allowed to proceed to next record
Thanks
Anil
Votes: +0 vote up vote down report abuse
THanks
written by V V Bhargav , January 05, 2008
Thanks a ton dude.
And by the way i have the same kind of issue but its a bit varied..
like i have done one more personalization in Order management (Sales Orders) form. When you enter the line items
for a sales order.. the requirement was that we need to disable the DFF when the user selects an item of the same
company but different organization ID.. so when i disable the DFF for the first line with personalization.. and if the user
again selects a valid item in the next line.. then the dff which was disabled in the previous line(s) gets enabled again
V. V. Bhargav
Votes: +0 vote up vote down report abuse
WHEN_VALIDATE_RECORD
written by Santhosh ND , January 05, 2008
Dear Anil,
I have a basic doubt in Form Personalization.
Level - Function
Trigger Event - WHEN_VALIDATE_RECORD
Trigger Object - ASSIGNMENT
condition - 1=TRIDENT_UNIQUE_POSITION(:ASSIGNMENT.POSITION_ID)
Processing Mode- Not in Enter-Query Mode
Level - Site
in Action Type - Message
Message Type - Error
Message - You have entered a Position Flexfield combination which is already assigned to an employee. Please
choose an unassigned Position Flexfield combination.
l_count NUMBER:= 0;
BEGIN
SELECT COUNT(*)
INTO l_count
FROM per_all_assignments_f
WHERE position_id = p_pos_id;
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 31 of 42
RETURN( 1);
ELSE
RETURN(0);
END IF;
EXCEPTION
WHEN OTHERS THEN
return (9);
END;
/
Here the error message is coming always ie. whenever the record is querying from db also.
Could u pls suggest one solution to prevent the error message whenever the record is querying.
Thanks
Santhosh
Votes: +0 vote up vote down report abuse
Tech
written by Madhubala , January 13, 2008
Dear Anil,
I have 1 requirement in FP.. I have enable a DFF in Purchase Requisition form at header level.Also 1 DFF with the
same name in PO at header level.My requirement is when going thru Autocreate , the value entered in the requisition
form should come default in the PO form when using Autocreate. How to do this?
Votes: +0 vote up vote down report abuse
I've used when-validate-item trigger to validate the item field there by calling a procedure in it. The procedure is
validating and when failed raising an exception which is gettign captured as folows.
begin
if then
EXCEPTION
WHEN error_location THEN
message('Invalid carton for this transaction, please check carton location.');
raise form_trigger_failure;
end if;
Exception
WHEN error_pick_released THEN
message('Order is already Pick Released');
raise form_trigger_failure;
.
.
this is the proc which is gettign called in when-validate-item trigger
as
begin
if then
end if;
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 32 of 42
exception
when others then
raise form_trigger_failure;
end;
in the form when the validation fails I do see the error message 'Order is already Pick Released' thrice. The trigger is
getting fired thrice. When the validation fails the control it movign back tot eh same field and it gets fired again i
guess..How can I overcome this.
thanks
MAnu
Best regards,
Joel Asselin
Votes: +0 vote up vote down report abuse
I need to call a pocedure with out parameter using forms personalization and based on the value of the out parameter
need to do some more validations.
Can you tell me how this can be done?
or do we have to use custom.pll only??
Sanjay
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 33 of 42
custom menu item is clicked but im unable to fire the trigger when it is for standard menu item ( for me its "Actions"
menu item in the form). How can I handle this through personalization.
Votes: +1 vote up vote down report abuse
Is it possible to update a key flexfield definition through personalization (like with custom.pll)?
I would only need to update the where_clause:
FND_KEY_FLEX.UPDATE_DEFINITION(
BLOCK => 'BLOCK_NAME',
FIELD => 'FIELD_NAME',
ENABLED => 'N',
WHERE_CLAUSE => '1=1'
);
Regards
Jason
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , March 05, 2008
Jason
Thanks
Anil
Votes: +0 vote up vote down report abuse
...
written by Premal Mehta , April 14, 2008
hi anil,
This Forms Personalization Presentation is really helpful .could you help me how to get the return value of an Stored
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 34 of 42
procedure or Function. and on the basis of return value i want to perfom certain action like prompting a message
...
written by Anil Passi- , April 26, 2008
Hi Premal
But surely, in that pl/sql procedure/function, you can set a pl/sql package session variable.
Next, in FP, you can create another personalization, which has a where clause depending upon that pl/sql package
session variable.
Needless to say, you will define a function in package that returns the value of package variable.
Forms uses one single session, hence package variable values will be retained between different trigger calls
Cheers
Anil
Votes: +0 vote up vote down report abuse
I have a customization to do in Oracle Projects and I am not sure if I can go with forms personalization. While creating
projects the users are now entering all the attributes of location (like area, district etc), what they want to do is, to enter
a location and the information related to location(area, district etc) should be sent to projects instead of them entering
the data. The area, district are the fields in the same form. Can I put the condition as location not null and in the action
Value 'select district from *** where location=location_value?. Would appreciate your help
Votes: +0 vote up vote down report abuse
...
written by Anil Passi- , May 08, 2008
Hi Sharmila
You can achieve that by altering the query of the record group.
THere is example to achieve the same in this article, just seafrch on record group on thihs page
Thanks
Anil Passi
Votes: +1 vote up vote down report abuse
default value
written by adi , June 02, 2008
Hi,
I am new in FP and I have a questions regarding FP. I want to do this: in a Purchase Order, when I enter an item, the
default price should be populate with the minimum price that I bought that item or 0. Can i do that using Form
Personalization?
Thanks
Adi
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 35 of 42
OM Personalization
written by Melchor , June 25, 2008
hi
i need help,
i need make a personalization to Sales order form, I have a sales order but i need validate an item when user press the
book-order button,
any suggestion?
tkns
...
written by Anil Passi , June 25, 2008
Hi Melchor
If that is not suitable, then find out the trigger that fires using show custom event in help diagnostics menu.
OM Personalization
written by Melchor , June 25, 2008
Hi Anil Passi,
I try WHEN-VALIDATE-RECORD, but the user want save order sales without validate this item, and when press
the button validate the item.
...
written by Anil Passi , June 25, 2008
If that trigger is not being passed to FP or CUSTOM.pll, then your options are limited.
Thanks,
Anil
Votes: +0 vote up vote down report abuse
Can we use SQL to give value to an item, just like using SQL for message text?
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 36 of 42
Thanks,
Sharmila
Votes: +0 vote up vote down report abuse
...
written by Anil Passi , August 11, 2008
Hi Sharmila
Sure you can use syntax as shown below, to default value into a field from result of a SQL Statement.
The syntax is exactly the same as that of SQL used in displaying message text.
Thanks,
Anil Passi
Something strange is happening in apps when I work with a custom form. So far, none of my teammates have had any
ideas, so of course I turn to you By the way, this is not directly related to personalizations - I just wasn't sure where
else I could post this.
When I have a custom form open, I may want to look at some properties of the form. So I go to Help -> Diagnostics ->
Properties -> Item. When the properties window opens, it takes the exact shape of the custom form (i.e., its height and
width). This can become a hassle for the user, since parts of the properties form can be cut off by the dimensions of
the custom form (for example, items below the Object 1 and Object 2 drop downs may not be visible). Some kind of
inheritance is occurring and I'm hoping to stop it from happening.
If you have encountered this issue, could you tell me how I can stop it from happening?
Regards,
Rick
Votes: +0 vote up vote down report abuse
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 37 of 42
it would be great if you could help me in finding a solution for this issue
Many thanks
Ashish
Votes: -1 vote up vote down report abuse
...
written by Anil Passi , October 08, 2008
Hi Ashish
You can simply make your personalizations applicable to a specific set of Responsibilities.
Hence you do not need a profile option in the first place
Thanks
Anil Passi
Votes: +0 vote up vote down report abuse
My requirement is that every time a value is entered in ordered_quantity column in Order lines, it should get validated
against MIN_MINMAX_QUANTITY column from mtl_system_items_b table for that item. If the user enters line quantity
as 5, whereas the minimum quantity defined in MIN_MINMAX_QUANTITY column for the item is 10, the value should
get changed to 10. Please let me know how this is possible. If possible, please mention steps for the same in
personalization as I am new to it.
Thanks,
Vishal
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 38 of 42
I tried what you suggested in the previous posting like I want to pass user_id to FND_REQUEST.SUBMIT_REQUEST
as $PROFILES$.USER_ID.value but it didn't work.
Now I am going for a different approach. I have written another procedure an called
FND_REQUEST.SUBMIT_REQUEST in it and call that procedure from Form Personalization and hardcoded the user
id.
The question is how can I pass a literal argument to my proceudre in form personalization which in turn calls
FND_REQUEST.SUBMIT_REQUEST.
I am calling the procedure in Form personalization as follows:
= 'declare
v_field_value NUMBER;
begin
XX_SUBMIT_JOURNAL_REPORT('''||${item.HEADER.BATCH_NAME.value}||''');
end'
Any ideas?
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 39 of 42
Thanks in Advance
Regards
Lakshmi
Votes: +0 vote up vote down report abuse
I'm trying to customize a LOV (when searching voor vendors while creating an invoice). I want to add a item in
displayed field.
I thougt i could modify the sql query behind the LOV.
How can i do that??
Thanks.
Personalization
written by Ninan Issac , May 18, 2009
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 40 of 42
Anil,
Thanks a lot for sharing your knowledge with others thru your columns.
Can you please tell me whether we can change the Window Title in APPS Form thru Forms personalization.
Ninan
Votes: +0 vote up vote down report abuse
I'm need the entire PNTLEASE form as read only except for the notes block. I'm tried creating a new function for the
same form
with parameter as QUERY_ONLY ="YES". But still some of the blocks in the form is updatabe. Can you please help
me resolve this.
Thanks
Pooja
Votes: +0 vote up vote down report abuse
Its urgent. My custom module is going UAT within 2 days. I have one requirement pending. I need to display and
change Keyflexfield Segments value Dynamically. For Example.
I have one field on First Form in that we are having the value in Tree Structure. After Saving the Data the value is
showing in this field is like "A.B.C". Now if i press Button it
should open Second Form and we have one field in the Second form call Category Code if i click on that field LOV it
should display only 3 segments call A.B.C. If i have A.B.C.D
value in First Form Field it should Display 4 Segments call A.B.C.D in second Form. Please give me some idea to work
on this field.
thanks,
Phani Reddy
Votes: +0 vote up vote down report abuse
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 41 of 42
Hi
I want to submit a concurrent request in my personalization form and it has to view or print directly from there.
I need a solution
Thanks
Wasim
Votes: +0 vote up vote down report abuse
Write comment
Name
Title
Comment
6
smaller | bigger
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010
Forms Personalizations Page 42 of 42
Add Comment
http://apps2fusion.com/apps/apps/147-forms-personalizations?tmpl=component&print=1&p... 9/7/2010