Showing posts with label Form Personalization. Show all posts
Showing posts with label Form Personalization. Show all posts

Handful AOL stuff with Oracle Apps R12

Friday, November 9, 2012 by Ajay Atre



Handful AOL stuff with Oracle Apps R12

Explaining some basic AOL tips by which things can become bit simple.
1.   Setting the diagnostics profile
2.   Enabling view output button
3.   Submit the program/report from menu

1.   Diagnostics profile-

To get the Diagnostics –examine working without entering the apps password.


Set the profile Utilities:Diagnostics value as Yes either of the profile options.





2.   To view other users requests output.
System Administrator: Navigation- Requests/View
You can view the requests run by other users but by default the output button is disabled.



To enable the button you can add below form personalization by which you can see the output of the request.
Open the view request form and click on personalization



And add the actions

Save and now check the view request again you will see the output button enabled.


3.   To get the concurrent program available form menu


 Navigate to application, function. Create a new function


Enter form name under forms tab

Parameter test is –
CONCURRENT_PROGRAM_NAME="FNDSCURS" PROGRAM_APPL_SHORT_NAME="FND" SUBMIT_ONCE="Y"

Where you need to provide concurrent program and application short name. Submit_once decides multiple submits.

Save your work.


Identify the menu of system administrator responsibility

Add above created function to the menu


Save your work and compile the menu.
Switch the responsibility and you shall see the new menu created.


Click on it. This will submit the active user report





Thanks,
Ajay

Submitting the concurrent program from Tools menu using form personalization

Wednesday, August 8, 2012 by Ajay Atre


Submitting the concurrent program from tools menu using form personalization

Requirement
You have an invoice form opened with a particular invoice number and wanted to print the particular invoice from the same from instead of submitting the report request separately. This can be achieved using form personalization and user can able to submit the print program directly from the tools menu.
The solution can be applied at various places like printing a sales order, purchase order etc.
 
In this example I am putting up the form personalization on invoice transaction form.
Step#1
Switch to Receivables super user responsibility
N> transactions->transactions
Then Click on Help from toolbar Help-> diagnostics-> custom code-> personalize
I am rendering Menu first, let’s say Print selected invoice

Then click on actions

 
 
Once done save the changes. Come back to personalization form and add menu actions



And click on the action




Here I am setting up the global variable with value and the value is the string construct by which we pass the parameters to a concurrent program so make sure you pass values correctly.
So this is my actual string constuct
=select 'Transaction Number:::'||${item.TGW_HEADER.TRX_NUMBER_MIR.value}||':'||${item.TGW_HEADER.TRX_NUMBER_MIR.value}||'::::::No:No:' from dual
When you submit the form the sting will pass on the value to the concurrent report as 


 
Once done add new action as built-in and select the type as Launch SRS Form and pass the invoice printing program name there.

Step#2
Add personalization on FND_FNDRSRUN form (request submission form)

 
Click on action and pass on the same global variable we defined in earlier stages


Save the personalization.

And come back to invoice form query an invoice number and click on tools and click on the new menu you have added (print selected invoice). Once you clicked on the menu the concurrent request submission form will get opened and you can check the parameters are being passed correctly if not please check the SQL which we have built in earlier stage.






Filed under having 11 comments